ADMM for Efficient Deep Learning with Global Convergence

Junxiang Wang, Fuxun Yu, Xiang Chen, Liang ZhaoKDD 2019 · DOI

Abstract

Alternating Direction Method of Multipliers (ADMM) has been used successfully in many conventional machine learning applications and is considered to be a useful alternative to Stochastic Gradient Descent (SGD) as a deep learning optimizer. However, as an emerging domain, several challenges remain, including 1) The lack of global convergence guarantees, 2) Slow convergence towards solutions, and 3) Cubic time complexity with regard to feature dimensions. In this paper, we propose a novel optimization framework for deep learning via ADMM (dlADMM) to address these challenges simultaneously. The parameters in each layer are updated backward and then forward so that the parameter information in each layer is exchanged efficiently. The time complexity is reduced from cubic to quadratic in (latent) feature dimensions via a dedicated algorithm design for subproblems that enhances them utilizing iterative quadratic approximations and backtracking. Finally, we provide the first proof of global convergence for an ADMM-based method (dlADMM) in a deep neural network problem under mild conditions. Experiments on benchmark datasets demonstrated that our proposed dlADMM algorithm outperforms most of the comparison methods.

Introduction

For decades, Stochastic Gradient Descent (SGD) and its variants, such as Adam, have been the primary optimizers for deep learning. Despite their success, these methods face significant challenges, including the vanishing gradient problem in deep architectures and extreme sensitivity to hyperparameter tuning and data conditioning.

ADMM has emerged as a potential alternative by decomposing complex optimization problems into smaller, manageable subproblems. However, its application to deep learning has been hindered by three major obstacles: the lack of theoretical convergence proofs in non-convex environments, slow convergence rates, and a cubic computational complexity ($O(n^3)$) relative to neuron count due to required matrix inversions. This paper introduces dlADMM, a framework designed to overcome these limitations.

The dlADMM Framework

The proposed dlADMM algorithm introduces three key innovations to make ADMM viable for deep neural networks.

Backward-Forward Update Scheme

Unlike traditional ADMM implementations that update layers sequentially, dlADMM employs a "backward-forward" update cycle. Parameters are updated from the final layer to the first (backward) and then from the first to the last (forward). This bidirectional flow ensures that parameter information is exchanged efficiently across the entire network within each iteration, preventing the information bottlenecks common in sequential updates.

The dlADMM update cycle illustrating the bidirectional parameter exchange.

Efficiency and Convergence

To address the $O(n^3)$ complexity, dlADMM avoids direct matrix inversions. Instead, it utilizes iterative quadratic approximations of the subproblems combined with a backtracking technique to determine optimal step sizes. This refinement reduces the computational cost to $O(n^2)$, making it competitive with standard gradient-based methods.

Furthermore, the authors provide a rigorous mathematical proof of global convergence. They demonstrate that dlADMM converges to a critical point regardless of initialization, provided the penalty parameter ($\rho$) is sufficiently large. This provides a theoretical foundation previously missing for ADMM in deep learning.

Experimental Evaluation

The performance of dlADMM was evaluated on the MNIST and Fashion MNIST datasets, comparing it against standard ADMM and popular SGD variants.

Accuracy and Convergence

Empirical results show that dlADMM consistently outperforms standard ADMM and several SGD variants, including Adagrad and Adadelta. Notably, dlADMM exhibits a rapid initial increase in accuracy, often reaching high performance levels much earlier in the training process than its competitors.

Training and test accuracy comparison on MNIST, showing dlADMM's competitive performance against Adam and SGD.

While Adam may achieve slightly higher final test accuracy in some scenarios, dlADMM's robustness to vanishing gradients and its theoretical convergence guarantees make it a compelling alternative. Additionally, experiments confirmed that the algorithm's running time scales linearly with the number of training samples and quadratically with the number of neurons, validating the efficiency of the $O(n^2)$ approach.

Conclusion

This work presents dlADMM as a robust and efficient optimization framework for deep learning. By introducing a backward-forward update scheme and reducing computational complexity to $O(n^2)$, the authors have addressed the primary practical barriers to using ADMM in this domain. The first-of-its-kind proof of global convergence further solidifies the framework's theoretical standing. Future research will focus on extending this framework to more complex architectures, such as Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs).

Summary updated

BibTeX
@inproceedings{wang2019admm,
  author = {Junxiang Wang and Fuxun Yu and Xiang Chen and Liang Zhao},
  title = {{ADMM for Efficient Deep Learning with Global Convergence}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2019},
  doi = {10.1145/3292500.3330936},
}
Figure