Training Neural Networks Without Gradients: A Scalable ADMM Approach

Gavin Taylor, Ryan Burmeister, Zheng Xu, Bharat Singh, Ankit B. Patel, Tom Goldstein

Introduction

The dominant paradigm for training neural networks relies on backpropagation via Stochastic Gradient Descent (SGD). While effective, SGD faces significant challenges in modern computing environments. It suffers from poor "strong scaling" due to high communication overhead in distributed clusters, and it is prone to vanishing gradients and local minima in deep, non-convex landscapes. This paper introduces a training method that bypasses gradient descent entirely, reformulating the objective using the Alternating Direction Method of Multipliers (ADMM) and Bregman iteration.

The ADMM Framework

The proposed method uses a splitting technique to decouple network weights from non-linear activation functions. By introducing auxiliary variables—$z_l$ for linear outputs ($W_l a_{l-1}$) and $a_l$ for non-linear activations ($h_l(z_l)$)—the training problem is transformed into a constrained optimization task. ADMM then decomposes this into three iterative sub-steps:

  1. Weight Update: Solved globally via linear least squares using the Moore-Penrose pseudoinverse.
  2. Activation Update: Also formulated as a linear least squares problem.
  3. Output Update ($z$): A non-convex but entry-wise decoupled step. For common activations like ReLU or Sigmoid, the global minimum is found exactly using simple logic or lookup tables.

To ensure stability in deep architectures, the authors incorporate Bregman iteration, using Lagrange multiplier updates to strictly enforce constraints.

Experimental Evaluation

The method was benchmarked on the SVHN (Street View House Numbers) dataset and the Higgs Dataset, a massive physics dataset with 10.5 million instances.

On the Higgs task, the ADMM approach demonstrated a massive speed advantage. It reached a 64% test accuracy benchmark in just 7.8 seconds using a large-scale CPU cluster. In contrast, traditional methods like L-BFGS on a high-end GPU took 181 seconds, and standard SGD failed to reach the benchmark even after 7 hours of training.

Comparison of training speed on the Higgs dataset. ADMM (blue) reaches the benchmark accuracy significantly faster than traditional batch methods (green, red).

Scalability and Parallelism

A key insight of this research is the algorithm's "embarrassingly parallel" nature. Because the sub-steps involve large-batch matrix operations rather than frequent mini-batch updates, the communication bottleneck is significantly reduced. The authors achieved near-linear "strong scaling," where increasing the computational resources directly translates to proportional reductions in training time.

Strong scaling of the ADMM approach. The time to reach benchmark accuracy decreases as the number of CPU cores increases, demonstrating efficiency up to 7,200 cores.

Conclusion and Future Work

While ADMM is exceptionally fast at reaching initial benchmarks and bypassing gradient-related issues, it may lack the fine-grained precision of second-order methods like L-BFGS in the final convergence stages. Future work aims to extend this framework to Convolutional Neural Networks (CNNs) using Fast Fourier Transforms and to Recurrent Neural Networks (RNNs), where the decoupling of time steps could solve long-standing vanishing gradient problems.

Summary updated

BibTeX
@inproceedings{taylor2016training,
  author = {Gavin Taylor and Ryan Burmeister and Zheng Xu and Bharat Singh and Ankit B. Patel and Tom Goldstein},
  title = {{Training Neural Networks Without Gradients: A Scalable ADMM Approach}},
  booktitle = {International Conference on Machine Learning},
  year = {2016},
  url = {https://openreview.net/forum?id=rJbH1j-ubH},
}
Figure