arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.00350cs.CVcs.AI
收藏

通过先进自动化渐进学习实现大型视觉模型的高效训练

Efficient Training of Large Vision Models via Advanced Automated Progressive Learning

Australian Artificial Intelligence Institute, University of Technology Sydney(悉尼科技大学澳大利亚人工智能研究所);North China Electric Power University(华北电力大学);School of Computing Technologies, RMIT University(皇家墨尔本理工大学计算技术学院);Harvard University(哈佛大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));HKUST CSE(香港科技大学计算机科学与工程系);Sun Yat-sen University(中山大学)

Changlin Li, Jiawei Zhang, Sihao Lin, Zongxin Yang, Junwei Liang, Xiaodan Liang, Xiaojun Chang

AI总结:

本文提出自动化渐进学习框架AutoProg,通过动量增长、一次性增长调度搜索、零样本解冻调度搜索和唯一阶段标识符等创新,在ImageNet上使ViT预训练加速达1.85倍、扩散模型微调加速达2.86倍,实现大型视觉模型的高效训练。

摘要:

大型视觉模型(LVMs),如视觉Transformer(ViTs)和扩散模型,其快速发展导致对计算资源的需求不断增加,从而带来了巨大的经济和环境成本。这一日益严峻的挑战凸显了开发LVMs高效训练方法的必要性。渐进学习是一种在训练过程中模型容量逐步增加的训练策略,已在应对这些挑战方面展现出潜力。本文提出了一种先进的自动化渐进学习(AutoProg)框架,用于LVMs的高效训练。我们首先以ViTs为案例研究,聚焦于LVMs的预训练,并提出AutoProg-One,这是一种具备动量增长(MoGrow)和一次性增长调度搜索的AutoProg方案。除预训练外,我们将方法扩展到解决LVMs的迁移学习和微调问题。我们进一步扩大AutoProg的适用范围,以覆盖更广泛的LVMs,包括扩散模型。首先,我们通过引入一种新颖的零样本解冻调度搜索来增强AutoProg框架,从而提出AutoProg-Zero,消除了对一次性超网训练的需求。其次,我们引入一种新颖的唯一阶段标识符(SID)方案,以弥合网络增长过程中的差距。这些创新与AutoProg的核心原则相结合,为各种LVM场景下的高效训练提供了一种全面的解决方案。大量实验表明,AutoProg在ImageNet上将ViT预训练加速高达1.85倍,并将扩散模型的微调加速高达2.86倍,同时性能相当甚至更高。这项工作为LVMs的高效训练提供了一种稳健且可扩展的方法,在广泛的视觉任务中具有潜在应用价值。代码:https://github.com/changlin31/AutoProg-Zero

英文摘要:

The rapid advancements in Large Vision Models (LVMs), such as Vision Transformers (ViTs) and diffusion models, have led to an increasing demand for computational resources, resulting in substantial financial and environmental costs. This growing challenge highlights the necessity of developing efficient training methods for LVMs. Progressive learning, a training strategy in which model capacity gradually increases during training, has shown potential in addressing these challenges. In this paper, we present an advanced automated progressive learning (AutoProg) framework for efficient training of LVMs. We begin by focusing on the pre-training of LVMs, using ViTs as a case study, and propose AutoProg-One, an AutoProg scheme featuring momentum growth (MoGrow) and a one-shot growth schedule search. Beyond pre-training, we extend our approach to tackle transfer learning and fine-tuning of LVMs. We expand the scope of AutoProg to cover a wider range of LVMs, including diffusion models. First, we introduce AutoProg-Zero, by enhancing the AutoProg framework with a novel zero-shot unfreezing schedule search, eliminating the need for one-shot supernet training. Second, we introduce a novel Unique Stage Identifier (SID) scheme to bridge the gap during network growth. These innovations, integrated with the core principles of AutoProg, offer a comprehensive solution for efficient training across various LVM scenarios. Extensive experiments show that AutoProg accelerates ViT pre-training by up to 1.85x on ImageNet and accelerates fine-tuning of diffusion models by up to 2.86x, with comparable or even higher performance. This work provides a robust and scalable approach to efficient training of LVMs, with potential applications in a wide range of vision tasks. Code: https://github.com/changlin31/AutoProg-Zero

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

↑