1 Introduction
We consider the following supervised learning problem:
where is the training loss, denotes the neural network (NN), and are its parameters. The tuple is an input-target pair in the labeled data set with cardinality p. The loss function measures the difference between the predicted target and the exact target [21]. Minimizing (8.1) is called training and successful training implies the model’s capability to accurately predict unseen data [42], that is, the data not contained in the data set .
Several optimization techniques are applicable for training neural networks. The most prominent approaches include for example stochastic gradient descent (SGD) [52], [6], [14], ADAptive Moment estimation (Adam) [32], [46], [47], and the limited-memory Broyden–Fletcher–Goldfarb–Shanno (LBFGS) algorithm [44], each with unique features and challenges. The SGD method is efficient, and generalizes well, but requires careful hyperparameter tuning and diminishing step sizes for global convergence [52], [6], [14]. Adam is efficient and adjusts its learning rate adaptively but lacks theoretical global convergence guarantees for nonconvex problems and may even face issues with convex problems [32], [46]. The LFBGS method approximates the Hessian using the secant pairs [44] and it is therefore suited for solving ill-conditioned problems. However, the LBFGS method is computationally more expensive than the first-order methods and it requires a use of novel techniques for evaluating the secant pairs in stochastic settings [4], [3]. Trust-Region (TR) methods [11], though less common, are gaining recognition in machine learning. Their popularity arises mostly from the fact that they adjust the step size dynamically at each iteration and that they offer global convergence for convex as well as nonconvex minimization problems [44], [11]. However, its extension to multi-level settings [25] and to stochastic settings requires nontrivial theoretical and algorithmic adjustments; see, for example, [45], [13], [20], [22], [23], [34].
With growing data and network complexity, parallelization approaches become essential [9], [5], [49], [27]. Current parallel approaches include data-parallel and model-parallel methods. Data parallelism divides data among processing units, each training a model copy, which is especially useful for large data sets [48]. This paradigm has been applied in SGD variants [52], [43], [51], ensemble learning [31], [15], and federated learning [40], [41], [38]. In contrast, model parallelism aims at training different parts of the NN across different processing units [2].
Recently, domain decomposition (DD) methods show promise in parallelizing NN’s training [48], [2], [43]. DD methods were originally proposed for solving discretized partial differential equations. The idea behind these methods is to subdivide the main problem into smaller subproblems, a solution of which is used to enhance the solution process of the original problem. The subproblems are typically solved independently of each other, that is, in an additive manner, which in turn enables parallel computing [10], [50], [19], [17], [39]. Notable examples of additive nonlinear DD methods include ASPIN [8], GASPIN [26], RASPEN [16], or APTS [24]. While most of these methods were developed for solving nonlinear systems of equations, APTS and GASPIN were specifically designed for addressing nonconvex minimization problems, such as one given in Equation (8.1). Furthermore, both APTS and GASPIN employ a TR globalization strategy and, therefore, provide global convergence guarantees.
In the field of machine learning, DD approaches are increasingly utilized to enhance NN training. The decomposition and composition of deep Convolutional Neural Networks (CNNs), as discussed in [28], [29], offer insights into accelerating training through subnetwork transfer learning. In [30], the authors explore layer-parallel training of deep residual neural networks (ResNets), demonstrating their effectiveness in tasks like image classification. In [35], the authors introduce preconditioning strategies for physics-informed neural networks (PINNs), employing a nonlinear layerwise preconditioner for the LFBGS optimizer. Finally, in [33], the authors present a novel CNN-Deep Neural Network (DNN) architecture that is inspired by DD methods, specifically made for model-parallel training. This architecture is designed to handle various image recognition tasks effectively. It incorporates local CNN models or subnetworks that process either overlapping or nonoverlapping segments of the input data, such as subimages, demonstrating its adaptability and efficiency in different image recognition scenarios. These studies collectively underscore the significance of DD methods in training NNs across different domains.
In this work, we introduce a variant of the APTS method [24] to the field of machine learning. Unlike conventional NN-training methods, the unique aspect of our proposed algorithm is its ability to:
-
Guarantee global convergence in deterministic settings,
-
Eliminate the need for extensive hyperparameter tuning, and
-
Enable parallelization.
Thus, APTS allows for a first step to perform training on large supercomputers with efficient and parameter-free approaches. We demonstrate the convergence properties of the proposed method numerically by utilizing benchmark problems from the field of classification. Our numerical study includes a comparative analysis with the SGD, Adam, and LFBGS methods.
The paper is organized as follows. In Section 2, we briefly recall the TR method and we provide a detailed explanation of the APTS optimizer. Then, in Section 3, we show numerical results comparing APTS with classic optimization strategies using two famous data sets, that is, MNIST and CIFAR-10. Finally, in Section 4, we draw conclusions.