A Distributed Second-Order Algorithm You Can Trust

Celestine Dünner, Aurélien Lucchi, Matilde Gargiani, Yatao Bian, Thomas Hofmann, Martin Jaggi

In distributed machine learning, communication between nodes is often the primary bottleneck. While first-order optimization methods (like Stochastic Gradient Descent) are easy to implement, they require many rounds of communication to converge. Second-order methods (like Newton’s method) converge in far fewer rounds by utilizing curvature information via the Hessian matrix. However, they come with a massive downside: the Hessian is typically too large to store or communicate efficiently across a network of workers.

Existing distributed Newton-type methods attempt to solve this by approximating the Hessian or using line-search strategies. Unfortunately, these approaches often require the objective function to be "strongly convex" to work reliably. They can become unstable or require heavy manual tuning of step sizes when applied to common, non-strongly convex problems like $L_1$-regularized models (e.g., Lasso).

To bridge this gap, researchers have introduced ADN (Adaptive Distributed Newton), a communication-efficient second-order optimization algorithm that achieves state-of-the-art convergence speeds and provides the first theoretical guarantees for distributed second-order methods on non-strongly convex problems.

The ADN Algorithm

The core of the ADN algorithm relies on three main pillars designed to minimize communication while maintaining stable convergence:

1. Block-Separable Model Instead of computing and sharing the full Hessian matrix, each worker computes only the Hessian block corresponding to its local data. This eliminates the need to communicate massive matrices; workers only share small updates.

Distributed architecture and block-diagonal Hessian

2. The Adaptive "Trust" Mechanism Because a block-diagonal Hessian is merely an approximation of the true curvature, it can sometimes be inaccurate. ADN introduces an adaptive parameter, $\sigma$, to control the "trust" in this local model. After each round, the algorithm calculates a ratio between the actual objective decrease and the predicted decrease:

  • If the model predicted the decrease well, $\sigma$ is decreased, allowing the algorithm to take more aggressive steps.
  • If the model's prediction was poor, $\sigma$ is increased, forcing the algorithm to be more conservative.

3. Communication Efficiency Instead of sending the full parameter vector (which could be massive), workers communicate a much smaller shared vector. In many machine learning problems, the number of features is much smaller than the number of examples, significantly reducing bandwidth usage.

Key Insights and Results

The researchers evaluated ADN on four large-scale benchmark datasets (url, webspam, kdda, and criteo) representing diverse sparsity levels and scales.

  • Robustness to Initialization: One of the most significant practical benefits of ADN is its insensitivity to the initial value of the trust parameter, $\sigma_0$. Whether initialized aggressively or conservatively, the adaptive mechanism quickly finds the optimal operating point. This essentially makes the update rule parameter-free, saving engineers from tedious hyperparameter grid searches.
Convergence of adaptive sigma from various initializations
  • Scalability: As the number of workers ($K$) increases, the block-diagonal approximation naturally becomes less accurate. While fixed step-size methods eventually fail under these conditions, ADN’s adaptive $\sigma$ automatically senses this "misfit" and adjusts, allowing it to scale to more workers without stalling.
  • Superior Performance: In tests on $L_1$-regularized logistic regression, ADN significantly outperformed popular first-order frameworks like CoCoA and proved much more stable than line-search Newton methods, which exhibited erratic behavior on certain datasets.

Limitations and Future Work

While ADN represents a significant step forward, it does have limitations. The current version is synchronous, meaning the master node must wait for all workers to finish their local subproblems before aggregating. In real-world clusters, "straggler" machines could hinder overall performance. Additionally, calculating the trust ratio requires evaluating the global objective function. While optimized for communication efficiency, this still requires a computational pass through the local data on each worker per round.

Future work could explore extending this trust-region approach to non-linear models beyond Generalized Linear Models, or developing an asynchronous version to completely eliminate straggler bottlenecks.

Summary updated

BibTeX
@inproceedings{dunner2018distributed,
  author = {Celestine Dünner and Aurélien Lucchi and Matilde Gargiani and Yatao Bian and Thomas Hofmann and Martin Jaggi},
  title = {{A Distributed Second-Order Algorithm You Can Trust}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=SJbOlhZdZH},
}
Figure