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

用于同步和异步分布式学习的CNN解耦贪婪学习

Decoupled Greedy Learning of CNNs for Synchronous and Asynchronous Distributed Learning

Concordia University(康考迪亚大学);Mila(米拉人工智能研究所);Sorbonne University(索邦大学);Ecole Polytechnique(巴黎综合理工学院);McGill University(麦吉尔大学);Flatiron Institute(弗莱提荣研究所);CNRS(法国国家科学研究中心)

Eugene Belilovsky, Louis Leconte, Lucas Caccia, Michael Eickenberg, Edouard Oyallon

摘要:

使用反向传播的神经网络训练的一个常见的低效率是更新锁定问题:每一层在更新之前必须等待信号通过整个网络传播。已经提出了几种可以缓解这个问题的替代方案。在这种情况下,我们考虑一种基于最小反馈的简单替代方案,我们称之为解耦贪婪学习(DGL)。它是基于一个经典的贪婪松弛的联合训练目标,最近被证明是有效的卷积神经网络(CNN)的大规模图像分类的上下文中。我们考虑对这个目标进行优化,使我们能够解耦层训练,允许网络中的层或模块以潜在的线性并行化进行训练。使用一个重放缓冲区,我们表明,这种方法可以扩展到异步设置,模块可以操作,并继续更新可能会有很大的通信延迟。为了解决带宽和内存问题,我们提出了一种基于在线矢量量化的方法。这允许大幅减少模块之间的通信带宽和重放缓冲器所需的存储器。我们从理论上和经验表明,这种方法收敛,并比较它的顺序求解器。我们在CIFAR-10数据集和大规模ImageNet数据集上证明了DGL对替代方法的有效性。

英文摘要:

A commonly cited inefficiency of neural network training using back-propagation is the update locking problem: each layer must wait for the signal to propagate through the full network before updating. Several alternatives that can alleviate this issue have been proposed. In this context, we consider a simple alternative based on minimal feedback, which we call Decoupled Greedy Learning (DGL). It is based on a classic greedy relaxation of the joint training objective, recently shown to be effective in the context of Convolutional Neural Networks (CNNs) on large-scale image classification. We consider an optimization of this objective that permits us to decouple the layer training, allowing for layers or modules in networks to be trained with a potentially linear parallelization. With the use of a replay buffer we show that this approach can be extended to asynchronous settings, where modules can operate and continue to update with possibly large communication delays. To address bandwidth and memory issues we propose an approach based on online vector quantization. This allows to drastically reduce the communication bandwidth between modules and required memory for replay buffers. We show theoretically and empirically that this approach converges and compare it to the sequential solvers. We demonstrate the effectiveness of DGL against alternative approaches on the CIFAR-10 dataset and on the large-scale ImageNet dataset.

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

↑