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.
翻译:在对机器学习模型进行数据平行优化时,工人协作改善模型的估算:更精确的梯度允许他们使用更大的学习率和更快的优化。我们考虑的是同一数据集中所有工人抽样的设置,并通过一个分散的图表进行交流(分散化 ) 。 在这种设置中,当前理论无法捕捉真实世界行为的重要方面。 首先,通信图的“光谱差距”无法预测其在(深)学习方面的经验性表现。 其次,当前理论并不解释合作能够带来比培训本身更大的学习率。 事实上,它规定了更低的学习率,随着图表变得更大而进一步下降,无法用无限的图表解释趋同性。 本文旨在描绘在工人共享相同数据分布时分散分布优化的准确图景。 我们量化图形表层如何影响四重重问题中的趋同,并为一般的平稳和(强)矩形目标提供理论结果。 我们的理论与深层次学习中的经验性观察相匹配,并准确描述不同图表表象的相对优点。