Layer‐parallel training of residual networks with auxiliary variable networks

Author:

Sun Qi12ORCID,Dong Hexin3,Chen Zewei4,Sun Jiacheng4,Li Zhenguo4,Dong Bin35

Affiliation:

1. School of Mathematical Sciences Tongji University Shanghai China

2. Key Laboratory of Intelligent Computing and Applications (Ministry of Education) Tongji University Shanghai China

3. Beijing International Center for Mathematical Research Peking University Beijing China

4. Huawei Noah's Ark Lab Shenzhen China

5. Center for Data Science Peking University Beijing China

Abstract

AbstractGradient‐based methods for training residual networks (ResNets) typically require a forward pass of input data, followed by back‐propagating the error gradient to update model parameters, which becomes time‐consuming as the network structure goes deeper. To break the algorithmic locking and exploit synchronous module parallelism in both forward and backward modes, auxiliary‐variable methods have emerged but suffer from communication overhead and a lack of data augmentation. By trading off the recomputation and storage of auxiliary variables, a joint learning framework is proposed in this work for training realistic ResNets across multiple compute devices. Specifically, the input data of each processor is generated from its low‐capacity auxiliary network (AuxNet), which permits the use of data augmentation and realizes forward unlocking. Backward passes are then executed in parallel, each with a local loss function derived from the penalty or augmented Lagrangian (AL) method. Finally, the AuxNet is adjusted to reproduce updated auxiliary variables through an end‐to‐end training process. We demonstrate the effectiveness of our method on ResNets and WideResNets across CIFAR‐10, CIFAR‐100, and ImageNet datasets, achieving speedup over the traditional layer‐serial training approach while maintaining comparable testing accuracy.

Funder

National Natural Science Foundation of China

Science and Technology Commission of Shanghai Municipality

Publisher

Wiley

Reference60 articles.

1. E.Belilovsky L.Leconte L.Caccia M.Eickenberg andE.Oyallon.Decoupled greedy learning of CNNs for synchronous and asynchronous distributed learning. arXiv preprint arXiv:2106.064012021.

2. Machine Learning for Fluid Mechanics

3. Direct and Indirect Multiple Shooting for Parabolic Optimal Control Problems

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3