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

An Accelerated Second-Order Method for Distributed Stochastic Optimization

Artem Agafonov, Pavel E. Dvurechensky, Gesualdo Scutari, Alexander V. Gasnikov, Dmitry Kamzolov, Aleksandr Lukashevich, Amir DaneshmandCDC 2021

Abstract

We consider distributed stochastic optimization problems that are solved with master/workers computation architecture. Statistical arguments allow to exploit statistical similarity and approximate this problem by a finite-sum problem, for which we propose an inexact accelerated cubic-regularized Newton's method that achieves lower communication complexity bound for this setting and improves upon existing upper bound. We further exploit this algorithm to obtain convergence rate bounds for the original stochastic optimization problem and compare our bounds with the existing bounds in several regimes when the goal is to minimize the number of communication rounds and increase the parallelization by increasing the number of workers.

Introduction

In large-scale machine learning and distributed optimization, the "master/worker" architecture is standard: a central server coordinates multiple machines, each holding a portion of the data. The primary bottleneck in these systems is typically communication rather than raw computation. Moving gradients or second-order information (Hessians) between nodes is slow and expensive.

Existing approaches generally fall into two camps: Stochastic Approximation (SA), which requires many communication rounds to converge, and Sample Average Approximation (SAA), which solves a fixed proxy problem. The challenge is to find an algorithm that minimizes the number of communication rounds ($T$) while maximizing the number of workers ($m$) that can effectively work in parallel. This paper aims to break through existing performance walls using second-order information without the massive overhead typically associated with it.

Methodology: Accelerated Cubic Newton

The authors propose a Restarted Distributed Accelerated Cubic Regularized Newton’s Method. The key components are:

  • Statistical Similarity: The authors assume that because data is distributed randomly, the local objective function at any single worker is "statistically similar" to the global objective. Specifically, their Hessians are close.
  • Inexact Hessian via Local Computation: Instead of communicating a massive $d \times d$ Hessian matrix from every worker, the master node uses its own local Hessian as a proxy for the global one. To account for the "inexactness" of this proxy, they add a specific regularization term ($3\beta I$) based on the statistical similarity bound.
  • Cubic Regularization: Unlike standard Newton's method, cubic regularization adds a term proportional to the cube of the step size. This ensures better global convergence and handles regions where the Hessian might be poorly conditioned.
  • Nesterov Acceleration & Restarting: They integrate an acceleration scheme into the cubic Newton framework to speed up the convergence rate. To exploit strong convexity, they use a restarting technique that turns sub-linear convergence into fast, linear convergence.

Theoretical Analysis and Complexity

The paper is primarily theoretical, focusing on proving convergence rate bounds and communication complexity. The "aha moment" is that the master's local Hessian is a "good enough" approximation to guide global optimization if data is i.i.d. across workers. Because the master only needs to collect gradients (vectors of size $d$) and not Hessians (matrices of size $d^2$), the communication overhead per round is the same as first-order methods, but the total number of rounds required is much lower.

Comparison of communication rounds (T) and number of workers (m) for various optimization methods.

As shown in the table above, the proposed method pushes the communication complexity down to $T \simeq N^{1/6}$, allowing for much faster training on massive datasets compared to the previous state-of-the-art $N^{1/4}$. Furthermore, the method scales effectively up to $m \simeq N^{2/3}$ workers, a significant improvement over many previous methods that could only scale up to $m \simeq N^{1/2}$ before communication costs outweighed parallelization gains.

The paper's results are summarized by the convergence bound for the error $EF(x^T) - F(x^*)$: $$\exp \left( -\min \left\{ \frac{T}{N^{1/6}}, \frac{T}{m^{1/4}} \right\} \right) + \frac{1}{\sqrt{N}}$$

Discussion and Limitations

While the theoretical bounds are promising, several practical limitations exist:

  • Computational Complexity at the Master Node: The master node must solve a cubic subproblem in every iteration, which is computationally more demanding than a simple gradient update.
  • I.I.D. Assumption: The "statistical similarity" relies on data being distributed identically across workers. In many real-world scenarios like Federated Learning, data is "Non-IID," which might degrade performance.
  • Lack of Empirical Testing: As a theoretical paper, it remains to be seen how these $N^{1/6}$ bounds translate to wall-clock time on actual GPU clusters with real-world deep learning models.

Future work may involve adapting this second-order approach for non-convex problems or settings with even more restrictive communication constraints.

Summary updated

BibTeX
@inproceedings{agafonov2021accelerated,
  author = {Artem Agafonov and Pavel E. Dvurechensky and Gesualdo Scutari and Alexander V. Gasnikov and Dmitry Kamzolov and Aleksandr Lukashevich and Amir Daneshmand},
  title = {{An Accelerated Second-Order Method for Distributed Stochastic Optimization}},
  booktitle = {CDC},
  year = {2021},
  url = {https://openreview.net/forum?id=RaZK9ghtv7P},
}
Figure