Problem-Parameter-Free Decentralized Nonconvex Stochastic Optimization

Jiaxiang Li, Xuxing Chen, Shiqian Ma, Mingyi HongarXiv 2024 · DOI

Abstract

Decentralized stochastic optimization is a critical tool for large-scale machine learning, yet its practical application is often hindered by the need for precise knowledge of problem parameters, such as Lipschitz constants and network spectral gaps, to tune learning rates. This paper introduces D-NASA (Decentralized Normalized Averaged Stochastic Approximate gradient tracking), the first decentralized algorithm for nonconvex problems that operates without prior knowledge of these parameters. D-NASA achieves optimal convergence rates and maintains linear speedup while eliminating the need for manual hyperparameter tuning.

Introduction

Decentralized optimization enables multiple nodes to process data locally and share updates with neighbors, enhancing privacy and scalability in large-scale systems. However, a significant gap exists between theoretical guarantees and practical implementation. Existing state-of-the-art algorithms, such as Decentralized SGD (D-SGD) and Gradient Tracking (D-SGT), typically require knowledge of the objective function's Lipschitz constant and the communication network's spectral gap to set effective learning rates.

In real-world scenarios, these parameters are often unknown or dynamic, leading to exhaustive and costly hyperparameter tuning. D-NASA addresses this challenge by providing a "plug-and-play" solution that requires zero prior information about the problem or the network topology.

Comparison of information requirements across decentralized optimization algorithms.

Methodology: The D-NASA Framework

D-NASA's robustness stems from two primary technical innovations:

  1. Normalization: Instead of following the raw stochastic gradient, D-NASA uses a normalized update direction ($z_i^t / \|z_i^t\|$). By fixing the magnitude of the update, the algorithm decouples its stability from the unknown Lipschitz constant. This allows the stepsize to directly control the "consensus error"—the disagreement between nodes—regardless of the network's connectivity.
  2. Moving-Average Gradient Tracking: The algorithm employs a momentum-based technique to track the global gradient across the network. This mechanism effectively mitigates "client drift," a common issue in decentralized settings where local data heterogeneity can lead nodes away from the global optimum.

The authors also provide a refined analysis of D-SGT, demonstrating that while it can be made parameter-free under certain conditions, it requires much stricter assumptions (e.g., bounded gradients) and loses efficiency compared to D-NASA.

Key Insights and Theoretical Results

  • Optimal Convergence: D-NASA matches the theoretical lower bound for nonconvex stochastic optimization, requiring $O(n^{-1}\epsilon^{-4})$ oracle calls to reach an $\epsilon$-stationary point.
  • Linear Speedup: The algorithm preserves "linear speedup," meaning the convergence rate improves proportionally as more nodes are added to the network.
  • Robustness to Curvature: Experiments on a synthetic "spike model" with high-curvature dimensions showed that D-NASA significantly outperforms D-SGD and D-SGT. While traditional methods are forced to use tiny stepsizes to avoid instability in high-curvature regions, D-NASA's normalized updates allow it to navigate these landscapes efficiently.
  • Emergent Generalization: D-NASA naturally exhibits "catapult" phenomena—oscillatory behaviors that have been linked to better generalization in deep learning—without requiring the precise large-stepsize tuning usually needed to trigger this effect.

Experimental Evaluation

The researchers evaluated D-NASA across various datasets and network topologies:

  • Benchmarks: MNIST (LeNet architecture), a9a (census data), and miniboone (particle physics).
  • Topologies: Ring, Random, Ladder, and Complete graphs.
  • Performance: Using a fixed theoretical stepsize, D-NASA matched or exceeded the performance of baseline algorithms that were manually tuned via extensive grid search.

Conclusion and Future Work

D-NASA represents a significant step toward making decentralized optimization more accessible and robust. By removing the dependency on problem-specific parameters, it simplifies the deployment of large-scale learning systems. Future research directions include extending this parameter-free approach to convex and nonsmooth regimes, as well as exploring more flexible adaptive stepsize schedules similar to Adam in a decentralized context.

Summary updated

BibTeX
@misc{li2024problem,
  author = {Jiaxiang Li and Xuxing Chen and Shiqian Ma and Mingyi Hong},
  title = {{Problem-Parameter-Free Decentralized Nonconvex Stochastic Optimization}},
  year = {2024},
  eprint = {2402.08821},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.08821},
}
Figure