arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2107.07110cs.CVcs.LG
收藏

具有递归参数生成器的紧凑和优化的深度学习

Compact and Optimal Deep Learning with Recurrent Parameter Generators

UC Berkeley(加州大学伯克利分校);ICSI(国际计算机科学研究所);University of Michigan(密歇根大学);Meta AI;New York University(纽约大学);MIT(麻省理工学院)

Jiayun Wang, Yubei Chen, Stella X. Yu, Brian Cheung, Yann LeCun

摘要:

深度学习通过训练越来越大的模型取得了巨大的成功,然后将其压缩以供实际部署。我们提出了一种完全不同的紧凑和优化深度学习的方法:我们解耦了模型的自由度(DoF)和实际参数数量,在一个阶段的端到端学习中,针对任意架构的大型模型,使用预定义的随机线性约束优化小DoF。具体来说,我们创建了一个循环参数生成器(RPG),它重复地从环中获取参数,并将它们解压缩到一个具有随机排列和符号翻转的大型模型中,以促进参数去相关。我们表明,梯度下降可以自动找到最好的模型下的约束,收敛速度更快。我们广泛的实验揭示了模型DoF和精度之间的对数线性关系。我们的RPG演示了显着的自由度减少,可以进一步修剪和量化额外的运行时性能增益。例如,在ImageNet上的前1精度方面,RPG仅使用$18\%$ DoF(相当于一个卷积层)实现了ResNet 18性能的$96\%$,并且仅使用$0.25\%$ DoF实现了ResNet 34性能的$52\%$!我们的工作显示了约束神经优化在紧凑和优化深度学习中的巨大潜力。

英文摘要:

Deep learning has achieved tremendous success by training increasingly large models, which are then compressed for practical deployment. We propose a drastically different approach to compact and optimal deep learning: We decouple the Degrees of freedom (DoF) and the actual number of parameters of a model, optimize a small DoF with predefined random linear constraints for a large model of arbitrary architecture, in one-stage end-to-end learning. Specifically, we create a recurrent parameter generator (RPG), which repeatedly fetches parameters from a ring and unpacks them onto a large model with random permutation and sign flipping to promote parameter decorrelation. We show that gradient descent can automatically find the best model under constraints with faster convergence. Our extensive experimentation reveals a log-linear relationship between model DoF and accuracy. Our RPG demonstrates remarkable DoF reduction and can be further pruned and quantized for additional run-time performance gain. For example, in terms of top-1 accuracy on ImageNet, RPG achieves $96\%$ of ResNet18's performance with only $18\%$ DoF (the equivalent of one convolutional layer) and $52\%$ of ResNet34's performance with only $0.25\%$ DoF! Our work shows a significant potential of constrained neural optimization in compact and optimal deep learning.

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

↑