The Global Convergence of the Alternating Minimization Algorithm for Deep Neural Network Problems

Junxiang Wang, Fuxun Yu, Xiang Chen, Liang ZhaoarXiv 2018

Abstract

In recent years, stochastic gradient descent (SGD) and its variants have been the dominant optimization methods for training deep neural networks. However, SGD suffers from limitations such as the lack of theoretical guarantees, vanishing gradients, excessive sensitivity to input, and difficulties solving highly non-smooth constraints and functions. To overcome these drawbacks, alternating minimization-based methods for deep neural network optimization have attracted fast-increasing attention recently. As an emerging and open domain, however, several new challenges need to be addressed, including: 1) there is no guarantee of global convergence under mild, practical conditions, and 2) cubic time complexity in the size of feature dimensions. We therefore propose a novel Deep Learning Alternating Minimization (DLAM) algorithm to deal with these two challenges. Our innovative inequality-constrained formulation infinitely approximates the original problem with non-convex equality constraints, enabling our proof of global convergence of the DLAM algorithm under mild, practical conditions. The time complexity is successfully reduced from $O(d^3)$ to $O(d^2)$ via a dedicated algorithm design for subproblems that is enhanced by iterative quadratic approximations and backtracking. Experiments on benchmark datasets demonstrate the effectiveness of our proposed DLAM algorithm.

Introduction

For years, Stochastic Gradient Descent (SGD) and its cousins (like Adam) have been the "gold standard" for training deep networks. However, they come with significant baggage: they lack strong theoretical convergence guarantees for non-convex deep models, suffer from vanishing gradients, and are notoriously sensitive to hyperparameter tuning.

Alternating Minimization (AM) is a promising alternative that breaks a complex problem into simpler subproblems. While AM methods like ADMM have shown potential, they historically faced two massive hurdles in deep learning: a lack of global convergence proofs under realistic conditions and a computational bottleneck where solving subproblems typically required matrix inversions, leading to a cubic time complexity ($O(d^3)$) relative to the feature dimension $d$. This paper introduces the DLAM (Deep Learning Alternating Minimization) algorithm to bridge these theoretical and practical gaps.

Methodology

The DLAM algorithm redefines the optimization problem using two primary innovations: an inequality-constrained formulation and a quadratic approximation strategy. The mathematical framework relies on the notations defined below:

Table of Notations used in the DLAM framework.

Inequality-Constrained Formulation

Instead of forcing strict equality constraints between layers (e.g., $a_l = h_l(z_l)$), the authors relax the problem into a convex inequality constraint using a small tolerance $\epsilon_l$. This "$\epsilon$-ball" approach allows them to transform a non-convex problem into a "multi-convex" one, which is significantly easier to solve and analyze mathematically.

Quadratic Approximation & Backtracking

To eliminate the $O(d^3)$ complexity, the authors avoid direct matrix inversions. Instead, they use a quadratic approximation of the subproblems. By combining this with a backtracking search to ensure stability, they successfully bring the per-iteration complexity down to $O(d^2)$.

Theoretical Convergence

The authors prove global convergence to a critical point under two mild, practical assumptions: multi-coercivity (ensuring the function doesn't disappear at infinity) and quasilinearity (a property satisfied by common activations like ReLU, Sigmoid, and Tanh). They establish a convergence rate of $o(1/k)$, meaning the error decreases reliably as iterations ($k$) increase.

Experimental Results

The algorithm was evaluated on two standard computer vision benchmarks: MNIST (handwritten digits) and Fashion MNIST (clothing items).

  • Superior Accuracy: On the MNIST dataset, DLAM outperformed SGD, Adagrad, and Adadelta in terms of training and test accuracy. On Fashion MNIST, it performed competitively with state-of-the-art methods.
  • Stability: Unlike SGD, which is highly sensitive to the learning rate, the convergence of DLAM is theoretically independent of the choice of hyperparameters like $\rho$ and $\epsilon$.
  • Efficiency: The $O(d^2)$ design was verified experimentally; running time per iteration scaled linearly with the number of training samples.
  • Fast Early Convergence: DLAM exhibits a "soaring" behavior in the early stages of training. Unlike SGD, which can crawl at the start, DLAM jumps to high accuracy very quickly, likely because it behaves more like a second-order optimization method.

Conclusion and Future Work

DLAM represents a significant step forward in making alternating minimization a viable alternative to gradient-based methods for deep learning. By relaxing constraints and utilizing quadratic approximations, the authors provide the first global convergence proof for such methods under mild conditions while maintaining computational efficiency.

While the current validation focused on fully-connected networks, the framework is generic and extendable to Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs). Future research will address the "wall-clock" time trade-off for massive-scale models like Transformers and explore automated tuning for the parameters that govern convergence speed.

Summary updated

BibTeX
@misc{wang2018global,
  author = {Junxiang Wang and Fuxun Yu and Xiang Chen and Liang Zhao},
  title = {{The Global Convergence of the Alternating Minimization Algorithm for Deep Neural Network Problems}},
  year = {2018},
  eprint = {1811.04187},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.04187},
}
Figure