arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2206.03093cs.LGmath.OCstat.ML
收藏

超越谱隙:拓扑结构在分散式学习中的作用

Beyond spectral gap: The role of the topology in decentralized learning

EPFL(洛桑联邦理工学院)

Thijs Vogels, Hadrien Hendrikx, Martin Jaggi

摘要:

在机器学习模型的数据并行优化中,工作人员协作以改进他们对模型的估计:更准确的梯度允许他们使用更大的学习率并更快地优化。我们考虑所有工人从同一数据集采样,并通过稀疏图(分散式)进行通信的设置。在这种情况下,当前的理论未能捕捉到现实世界行为的重要方面。首先,通信图的“频谱间隙”不能预测其在(深度)学习中的经验表现。第二,目前的理论并没有解释合作比单独训练能够实现更大的学习率。事实上,它规定了较小的学习率,随着图变得更大,学习率进一步降低,无法解释无限图中的收敛。本文的目的是描绘一个精确的图片稀疏连接的分布式优化时,工人共享相同的数据分布。我们量化了图的拓扑结构如何影响二次玩具问题的收敛性,并为一般光滑和(强)凸目标提供了理论结果。我们的理论与深度学习中的经验观察相匹配,并准确地描述了不同图拓扑的相对优点。

英文摘要:

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. We consider the setting in which all workers sample from the same dataset, and communicate over a sparse graph (decentralized). In this setting, 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 in infinite graphs. This paper aims to paint an accurate picture of sparsely-connected distributed optimization when workers share the same data distribution. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑