L-DQN: An Asynchronous Limited-Memory Distributed Quasi-Newton Method

Bugra Can, Saeed Soori, Maryam Mehri Dehnavi, Mert Gürbüzbalaban

Overview

L-DQN is a novel asynchronous, distributed limited-memory quasi-Newton optimization algorithm designed for large-scale machine learning. By leveraging L-BFGS-style updates, it addresses the critical memory and communication bottlenecks of existing second-order methods, reducing complexity from $O(d^2)$ to $O(md)$. This makes second-order optimization feasible for high-dimensional datasets while providing the first provable global linear convergence guarantees in an asynchronous setting with network delays.

The Problem: Stragglers and Memory Bloat

In distributed machine learning, models are typically trained using a master-worker architecture. Synchronous training methods often suffer from the "straggler" problem, where the master node must wait for the slowest worker to finish before updating the model, leading to significant compute waste. Asynchronous methods mitigate this by allowing the master to update the model whenever any worker completes a task.

However, existing asynchronous methods present a difficult trade-off. First-order methods (like gradient descent) are memory-efficient but struggle with "ill-conditioned" problems where the loss landscape is complex. Second-order (quasi-Newton) methods solve this by estimating the curvature of the loss landscape (the Hessian matrix), but traditional distributed versions like DAve-QN require storing and communicating a massive $d \times d$ matrix. For modern models with tens of thousands of parameters, this $O(d^2)$ cost is prohibitively expensive and often leads to system crashes.

The L-DQN Framework

The authors propose L-DQN (Limited-Memory Distributed Quasi-Newton) to bridge this gap. Instead of maintaining a full $d \times d$ Hessian matrix, L-DQN adapts the classic L-BFGS algorithm for an asynchronous distributed setting. Each worker node stores a "memory" of only the last $m$ gradient and iterate differences (where $m$ is typically a small value like 20).

The asynchronous communication protocol between the Master and Worker nodes in L-DQN.

As illustrated in the architecture above, workers compute local Hessian estimates using their stored vectors and transmit only $O(d)$-sized update vectors ($\Delta u, y, q, \alpha, \beta$) back to the master. The master node then aggregates these lightweight vectors to update the global model on the fly, without waiting for other workers. This approach ensures that the communication and memory footprint remains manageable even as the number of parameters grows.

Theoretical and Empirical Performance

Beyond its practical efficiency, L-DQN is supported by a rigorous mathematical foundation. The authors provide proof that L-DQN achieves global linear convergence for strongly convex functions, even when workers are operating on delayed, out-of-sync versions of the model parameters due to network latency.

Suboptimality vs. time (ms) for the mnist8m dataset, comparing L-DQN against several baselines.

Empirical evaluations on real-world datasets like mnist8m (shown above) demonstrate that L-DQN matches the fast convergence rate of the memory-heavy DAve-QN baseline while using a fraction of the resources. On the high-dimensional rcv1 dataset ($d=47,000$), L-DQN successfully converged where DAve-QN crashed due to out-of-memory errors. Furthermore, L-DQN significantly outperformed first-order methods like DAve-RPG on highly ill-conditioned versions of cifar10 and covtype datasets.

Conclusion

L-DQN offers a robust solution for distributed optimization by combining the convergence speed of second-order methods with the memory efficiency of limited-memory approaches. While first-order methods may still hold an advantage on extremely sparse data due to lower per-iteration costs, L-DQN dominates on dense or ill-conditioned data, providing a scalable and mathematically sound framework for modern distributed training.

Summary updated

BibTeX
@inproceedings{can2021l,
  author = {Bugra Can and Saeed Soori and Maryam Mehri Dehnavi and Mert Gürbüzbalaban},
  title = {{L-DQN: An Asynchronous Limited-Memory Distributed Quasi-Newton Method}},
  booktitle = {CDC},
  year = {2021},
  doi = {10.1109/cdc45484.2021.9682985},
}
Figure