arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.07870cs.LGcs.AIstat.ML
收藏

动量残差神经网络

Momentum Residual Neural Networks

Ecole Normale Supérieure(巴黎高等师范学院);CNRS(法国国家科学研究中心);Google Research(谷歌研究院)

Michael E. Sander, Pierre Ablin, Mathieu Blondel, Gabriel Peyré

摘要:

使用反向传播训练深度残差神经网络(ResNets)具有相对于网络深度线性增加的存储器成本。规避这个问题的一种方法是使用可逆架构。在本文中,我们建议通过添加动量项来改变ResNet的前向规则。由此产生的网络,动量剩余神经网络(动量ResNets),是可逆的。与以前的可逆架构不同,它们可以用作任何现有ResNet块的直接替代品。我们表明,动量ResNets可以在无限小步长范围内解释为二阶常微分方程(ODE),并准确地描述了如何逐步增加动量ResNets的表示能力。我们的分析表明,Momentum ResNets可以学习任何线性映射到乘法因子,而ResNets不能。在学习优化设置,收敛到一个固定点是必需的,我们从理论上和经验表明,我们的方法成功,而现有的可逆架构失败。我们在CIFAR和ImageNet上展示了Momentum ResNets与ResNets具有相同的准确性,同时具有更小的内存占用,并表明预训练的Momentum ResNets有希望用于微调模型。

英文摘要:

The training of deep residual neural networks (ResNets) with backpropagation has a memory cost that increases linearly with respect to the depth of the network. A way to circumvent this issue is to use reversible architectures. In this paper, we propose to change the forward rule of a ResNet by adding a momentum term. The resulting networks, momentum residual neural networks (Momentum ResNets), are invertible. Unlike previous invertible architectures, they can be used as a drop-in replacement for any existing ResNet block. We show that Momentum ResNets can be interpreted in the infinitesimal step size regime as second-order ordinary differential equations (ODEs) and exactly characterize how adding momentum progressively increases the representation capabilities of Momentum ResNets. Our analysis reveals that Momentum ResNets can learn any linear mapping up to a multiplicative factor, while ResNets cannot. In a learning to optimize setting, where convergence to a fixed point is required, we show theoretically and empirically that our method succeeds while existing invertible architectures fail. We show on CIFAR and ImageNet that Momentum ResNets have the same accuracy as ResNets, while having a much smaller memory footprint, and show that pre-trained Momentum ResNets are promising for fine-tuning models.

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

↑