自动渐进训练让大视觉模型更快更省资源
Efficient Training of Large Vision Models via Advanced Automated Progressive Learning
- 用动态增长策略逐步提升模型能力,避免初始阶段资源浪费
- 在ImageNet上预训练提速1.85倍,扩散模型微调提速2.86倍
- 适用于ViT和扩散模型,支持零样本调度搜索,无需额外训练
大型视觉模型(如Vision Transformers和扩散模型)的快速发展带来了巨大的计算资源需求,导致高昂的财务与环境成本。为应对这一挑战,本文提出一种先进的自动化渐进学习(AutoProg)框架,用于高效训练大视觉模型。以ViT为例,提出AutoProg-One,结合动量增长(MoGrow)和一次性增长调度搜索,优化预训练过程。进一步扩展至迁移学习与微调,引入AutoProg-Zero,通过新颖的零样本解冻调度搜索,无需一次性的超网训练;同时设计唯一阶段标识(SID)机制,解决网络增长过程中的结构断层问题。大量实验表明,AutoProg在ImageNet上可将ViT预训练加速1.85倍,在扩散模型微调中提速达2.86倍,性能相当或更优。该方法为多种大视觉模型提供了可扩展、高效的训练方案。
原文摘要 · Abstract (English)
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
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。