arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.00949cs.LG
收藏

通过最小化运动方案实现残差网络的分块训练

Block-wise Training of Residual Networks via the Minimizing Movement Scheme

LIP6(利皮6实验室);Criteo AI Lab(Criteo人工智能实验室);Criteo(Criteo公司);Theresis lab(泰雷兹研究实验室);Thales(泰雷兹公司)

Skander Karkar, Ibrahim Ayed, Emmanuel de Bézenac, Patrick Gallinari

AI总结:

针对端到端反向传播的内存与锁定问题,论文提出受最小化运动方案启发的 ResNets 分块训练方法,通过块级动能正则化缓解停滞并提升顺序或并行训练的测试准确率。

摘要:

端到端反向传播存在若干缺点:训练时需要加载整个模型,这在资源受限的环境中可能无法实现;并且它受到三种锁定问题(前向锁定、更新锁定和反向锁定)的制约,导致各层无法并行训练。求解逐层优化问题可以解决这些问题,并已用于神经网络的设备端训练。受分布空间中梯度流的最小化运动方案启发,我们开发了一种特别适配 ResNets 的逐层训练方法。该方法相当于对每个块进行动能正则化,使这些块成为最优传输映射,并赋予其正则性。它通过缓解逐层训练中观察到的停滞问题发挥作用;在该问题中,贪婪训练的早期层会过拟合,而更深层在达到一定深度后便不再提高测试准确率。我们在分类任务上表明,无论各块是顺序训练还是并行训练,使用我们的方法都能提升分块训练 ResNets 的测试准确率。

英文摘要:

End-to-end backpropagation has a few shortcomings: it requires loading the entire model during training, which can be impossible in constrained settings, and suffers from three locking problems (forward locking, update locking and backward locking), which prohibit training the layers in parallel. Solving layer-wise optimization problems can address these problems and has been used in on-device training of neural networks. We develop a layer-wise training method, particularly welladapted to ResNets, inspired by the minimizing movement scheme for gradient flows in distribution space. The method amounts to a kinetic energy regularization of each block that makes the blocks optimal transport maps and endows them with regularity. It works by alleviating the stagnation problem observed in layer-wise training, whereby greedily-trained early layers overfit and deeper layers stop increasing test accuracy after a certain depth. We show on classification tasks that the test accuracy of block-wise trained ResNets is improved when using our method, whether the blocks are trained sequentially or in parallel.

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

↑