๐ฎ
๐ฎ
The Ethereal
Beyond spectral gap (extended): The role of the topology in decentralized learning
January 05, 2023 ยท Entered Twilight ยท ๐ arXiv.org
Repo contents: .gitignore, README.md, deep-learning-experiments, demo.py, random_isotropic_quadratics.py, random_walks.py, requirements.txt, topologies.py, utils.py
Authors
Thijs Vogels, Hadrien Hendrikx, Martin Jaggi
arXiv ID
2301.02151
Category
cs.LG: Machine Learning
Cross-listed
cs.DC,
math.OC
Citations
5
Venue
arXiv.org
Repository
https://github.com/epfml/topology-in-decentralized-learning
โญ 13
Last Checked
3 months ago
Abstract
In data-parallel optimization of machine learning models, workers collaborate to improve their estimates of the model: more accurate gradients allow them to use larger learning rates and optimize faster. In the decentralized setting, in which workers communicate over a sparse graph, current theory fails to capture important aspects of real-world behavior. First, the `spectral gap' of the communication graph is not predictive of its empirical performance in (deep) learning. Second, current theory does not explain that collaboration enables larger learning rates than training alone. In fact, it prescribes smaller learning rates, which further decrease as graphs become larger, failing to explain convergence dynamics in infinite graphs. This paper aims to paint an accurate picture of sparsely-connected distributed optimization. We quantify how the graph topology influences convergence in a quadratic toy problem and provide theoretical results for general smooth and (strongly) convex objectives. Our theory matches empirical observations in deep learning, and accurately describes the relative merits of different graph topologies. This paper is an extension of the conference paper by Vogels et. al. (2022). Code: https://github.com/epfml/topology-in-decentralized-learning.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Machine Learning
๐ฎ
๐ฎ
The Ethereal
Continuous control with deep reinforcement learning
๐
๐
Old Age
Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks
๐
๐
Old Age
Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor
๐
๐
Old Age
SGDR: Stochastic Gradient Descent with Warm Restarts
๐ฎ
๐ฎ
The Ethereal