arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.10207cs.LGcs.DC
收藏

开放协作中的分布式深度学习

Distributed Deep Learning in Open Collaborations

Yandex;Hugging Face;HSE University(高等经济学院);Moscow Institute of Physics and Technology(莫斯科物理技术学院);University of Toronto(多伦多大学);Vector Institute
Michael Diskin, Alexey Bukhtiyarov, Max Ryabinin, Lucile Saulnier, Quentin Lhoest, Anton Sinitsin, Dmitry Popov, Dmitry Pyrkin, Maxim Kashirin, Alexander Borzun… 展开作者

Michael Diskin, Alexey Bukhtiyarov, Max Ryabinin, Lucile Saulnier, Quentin Lhoest, Anton Sinitsin, Dmitry Popov, Dmitry Pyrkin, Maxim Kashirin, Alexander Borzunov, Albert Villanova del Moral, Denis Mazur, Ilia Kobelev, Yacine Jernite, Thomas Wolf, Gennady Pekhimenko

摘要:

现代深度学习应用需要越来越多的计算来训练最先进的模型。为了满足这一需求,大型企业和机构使用专用的高性能计算集群,其构建和维护既环保又超出了大多数组织的预算。因此,一些研究方向成为少数大型工业和更少的学术行为者的专属领域。为了缓解这种差异,较小的小组可以集中他们的计算资源,并运行有利于所有参与者的协作实验。这种被称为网格或志愿者计算的范例已经在许多科学领域得到了成功的应用。然而,使用这种方法进行机器学习是困难的,由于高延迟,不对称的带宽,以及一些独特的志愿者计算的挑战。在这项工作中,我们仔细分析了这些限制,并提出了一种新的算法框架,专门为协作训练。我们证明了我们的方法在现实条件下的SwAV和ALBERT预训练的有效性,并以一小部分成本实现了与传统设置相当的性能。最后,我们提供了一个详细的报告,成功的协作语言模型预训练与40名参与者。

英文摘要:

Modern deep learning applications require increasingly more compute to train state-of-the-art models. To address this demand, large corporations and institutions use dedicated High-Performance Computing clusters, whose construction and maintenance are both environmentally costly and well beyond the budget of most organizations. As a result, some research directions become the exclusive domain of a few large industrial and even fewer academic actors. To alleviate this disparity, smaller groups may pool their computational resources and run collaborative experiments that benefit all participants. This paradigm, known as grid- or volunteer computing, has seen successful applications in numerous scientific areas. However, using this approach for machine learning is difficult due to high latency, asymmetric bandwidth, and several challenges unique to volunteer computing. In this work, we carefully analyze these constraints and propose a novel algorithmic framework designed specifically for collaborative training. We demonstrate the effectiveness of our approach for SwAV and ALBERT pretraining in realistic conditions and achieve performance comparable to traditional setups at a fraction of the cost. Finally, we provide a detailed report of successful collaborative language model pretraining with 40 participants.

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

↑