Training Neural Networks Without Gradients: A Scalable ADMM Approach

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

For decades, backpropagation—specifically stochastic gradient descent (SGD)—has been the undisputed king of neural network training. However, as models and datasets grow exponentially, SGD reveals two major Achilles' heels. First, it struggles with scalability: SGD relies on a massive number of "cheap" sequential steps. While this is highly efficient on GPUs, it becomes a bottleneck for distributed CPU clusters because the overhead of communicating tiny updates between thousands of cores often outweighs the computation itself. Second, it is prone to optimization traps: gradient-based methods frequently get stuck in "dead zones" where gradients vanish (a common issue in deep networks) or linger near saddle points and local minima.

To address these limitations, researchers have developed a novel way to train neural networks without using a single gradient descent step. By reframing training as a constrained optimization problem solved via the Alternating Direction Method of Multipliers (ADMM), this approach achieves linear scalability across thousands of CPU cores and mathematically bypasses classic issues like vanishing gradients.

The ADMM Method: Decoupling the Network

The core innovation of this paper is combining a scalable ADMM approach with Bregman iteration. Instead of treating the entire neural network as one giant nested function to differentiate via the chain rule, the authors "decouple" the layers.

  • Splitting: The method introduces auxiliary variables for the linear outputs ($z$) and the non-linear activations ($a$) at every layer. This transforms the network into a set of strict constraints (e.g., "the output of layer 1 must exactly equal the input of layer 2").
  • Global Sub-steps: The training problem is broken down into three main sub-problems:
  • Weight Update: Solved via a simple linear least-squares problem.
  • Activation Update: Also formulated as a least-squares problem.
  • Output Update: Because the non-linearity is decoupled, this becomes a series of one-dimensional problems that can be solved globally and in closed form (using simple if-then logic for activation functions like ReLUs).
  • Bregman Iteration: To ensure the network converges to a valid state where all layers connect properly, a Lagrange multiplier update acts as a "correction" term, enforcing the constraints.

Because the weights are updated via least squares based on local targets rather than a chain-rule product of derivatives, the "vanishing gradient" problem is entirely avoided. Furthermore, while the overall problem remains non-convex, each individual sub-step is solved to its global optimum, making the algorithm highly robust to the poor conditioning and "flat" regions of the loss landscape that typically frustrate SGD.

Key Results and Scalability

The authors evaluated their method on two primary benchmarks: the SVHN (Street View House Numbers) dataset for a baseline comparison, and the massive Higgs Dataset (10.5 million datapoints from particle physics) to test extreme scaling.

Unlike SGD, which needs to synchronize gradients constantly, the ADMM sub-steps involve heavy local computation. This allows the latency of network communication to be amortized over a large amount of work, leading to near-perfect linear scaling on distributed systems.

Time to benchmark accuracy vs. number of cores on the Higgs dataset.

As demonstrated on the Higgs dataset, the method exhibited almost perfect linear speedup as the number of CPU cores increased. When scaled up to 7,200 CPU cores, the ADMM approach reached a benchmark accuracy of 64% in just 7.8 seconds.

Test set accuracy over time comparing ADMM to traditional methods on the Higgs dataset.

This rapid convergence dramatically outperformed traditional methods. In comparison, a GPU-optimized version of L-BFGS took 181 seconds to reach the same threshold, and standard SGD failed to reach that accuracy level within the test timeframe. Even on the smaller SVHN dataset, the ADMM approach on a CPU cluster remained highly competitive with state-of-the-art GPU implementations of SGD and Conjugate Gradient methods.

Limitations and Future Work

While highly promising for distributed environments, the approach does have current limitations:

  • Architecture Constraints: The paper focuses primarily on fully connected feed-forward networks. While the authors suggest the underlying math can handle Recurrent Neural Networks (RNNs) and Convolutional Neural Networks (CNNs), extensive results for those architectures are pending.
  • Hyperparameter Tuning: The method introduces new penalty parameters ($\gamma$ and $\beta$). While the authors found stable values across their tests, finding optimal settings for novel architectures may require additional tuning.
  • Memory Overhead: Storing the auxiliary variables ($z$ and $a$) for every layer and every datapoint increases the memory footprint compared to standard backpropagation, though this is naturally mitigated by distributing the data across many cluster nodes.

Ultimately, while ADMM may not replace backpropagation for every standard GPU-based workflow, it offers a powerful, highly scalable alternative for researchers with access to large CPU clusters who need to train on massive datasets where traditional gradient-based methods stall.

Summary updated

BibTeX
@inproceedings{taylor2016training,
  author = {Gavin Taylor and Ryan Burmeister and Zheng Xu and Bharat Singh and Ankit 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