NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Communication-Efficient Distributed Optimization using an Approximate Newton-type Method

Ohad Shamir, Nathan Srebro, Tong Zhang

In the world of large-scale machine learning, data is often spread across hundreds or thousands of machines. The "old school" way to handle this was to have machines talk to each other constantly (e.g., via distributed Gradient Descent), but in modern data centers, communication is often the primary bottleneck. This paper introduces DANE (Distributed Approximate NEwton), a method that uses local "intelligence" to drastically reduce the number of times machines need to sync up.

TL;DR

DANE is a distributed optimization algorithm that mimics a Newton-type method by solving clever local sub-problems on each machine. Unlike standard gradient methods, DANE’s efficiency actually improves as you add more data per machine, often converging in a nearly constant number of communication rounds regardless of the total dataset size.

What Problem Does This Paper Address?

When training a model across multiple machines, we face a trade-off between computation (processing data locally) and communication (sending updates across the network).

Existing approaches fall into two camps:

  1. One-Shot Averaging: Each machine trains a model on its local data, and you average the results once. It’s fast but often produces a sub-optimal model, especially when the problem is "ill-conditioned" (i.e., the loss surface is very elongated).
  2. Distributed Gradient Descent/ADMM: These methods are robust but require many rounds of communication. If your network is slow, your training time explodes.

The authors aim to find a "middle way": an iterative method that uses more local computation to significantly reduce the total number of communication rounds needed to reach a high-accuracy solution.

Methods

The authors propose DANE (Distributed Approximate NEwton-type method). The core idea is that as the amount of data per machine ($n$) grows, the local objective function on each machine starts to look very much like the global objective function.

The Algorithm: 1. Gradient Sync: At each step, all machines compute their local gradients at the current point, and these are averaged to get the global gradient. 2. Local Sub-problem: Instead of just taking a small step in the direction of the gradient, each machine solves a full optimization problem locally. This sub-problem is designed to "mirror" the global objective by using the local data to approximate the global curvature (the Hessian). 3. Averaging: The solutions from all machines are averaged to form the next global iterate.

Crucially, DANE doesn't require machines to compute or communicate large Hessian matrices. It only requires solving a local optimization problem, which is something most ML frameworks are already optimized to do.

Datasets

The authors evaluated DANE on both synthetic and real-world datasets:

  • Synthetic: A ridge regression problem where the data distribution and condition number could be precisely controlled.
  • COV1: A dataset for forest cover type prediction.
  • ASTRO-PH: A dataset derived from physics paper abstracts.
  • MNIST-47: A subset of the famous MNIST digit dataset, specifically focused on distinguishing the digits 4 and 7.

Key Insights and Ideas

Convergence behavior for different numbers of machines ($m$) and data sizes ($N$).
  • Statistical Similarity is Key: The "aha moment" is realizing that in a stochastic setting, local data provides a great approximation of global curvature. DANE exploits this "statistical similarity" to take much larger, more meaningful steps than Gradient Descent.
  • The Failure of One-Shot: The paper provides a theoretical proof showing that one-shot averaging has an inherent bias that doesn't disappear just by adding more machines. This justifies why multi-round communication (like DANE) is necessary for high performance.
  • Newton-like Behavior without the Cost: Standard Newton methods are powerful but require communicating $d \times d$ matrices (where $d$ is the number of features). DANE achieves similar convergence benefits while only communicating vectors of size $d$.
  • Data-Dependent Convergence: For quadratic problems, the number of iterations required scales as $1/n$. This means the more data you have on each machine, the fewer rounds of communication you need.

Key Results

Performance comparison on the MNIST-47 dataset.
  • Faster Convergence: In experiments, DANE consistently reached high accuracy ($10^{-6}$) in far fewer iterations than ADMM. For example, on the COV1 dataset with 64 machines, DANE converged in just 3 iterations, while ADMM took over 30.
  • Robustness to Machine Count: Unlike some methods that degrade as you add more machines, DANE's performance remained stable or even improved as the total data size increased.
  • Superiority over One-Shot: The experiments showed that the "One-Shot Averaging" (OSA) approach often stalled at a much higher error rate than DANE or the exact global minimizer.

Limitations and Future Work

  • Theory vs. Practice for Non-Quadratics: While the theory is rock-solid for quadratic objectives (like Ridge Regression), the theoretical guarantees for general convex functions (like Logistic Regression) are more conservative and don't yet fully reflect the excellent performance seen in experiments.
  • Parameter Tuning: DANE introduces two parameters: a learning rate ($\eta$) and a regularizer ($\mu$). While the authors found that $\eta=1, \mu=0$ often works best, in some "unfavorable" cases (very little data per machine), these need careful tuning to prevent the algorithm from diverging.
  • Non-Convexity: The paper focuses on convex problems. How DANE behaves in the non-convex landscape of deep learning remains an open question for future research.

Summary updated

BibTeX
@inproceedings{shamir2014communication,
  author = {Ohad Shamir and Nathan Srebro and Tong Zhang},
  title = {{Communication-Efficient Distributed Optimization using an Approximate Newton-type Method}},
  booktitle = {International Conference on Machine Learning},
  year = {2014},
  url = {https://openreview.net/forum?id=BJ43KoWd-B},
}
Figure