Efficient Training of Large Vision Models via Advanced Automated Progressive Learning
Changlin Li, Jiawei Zhang, Sihao Lin, Zongxin Yang, Junwei Liang, Xiaodan Liang, Xiaojun Chang
TL;DR
This work tackles the high computational cost of training large vision models by introducing Advanced AutoProg, a framework that automates progressive learning for both pre-training (ViTs) and fine-tuning (diffusion models). It combines a robust manual baseline (MoGrow) with AutoProg-One, which uses a one-shot elastic supernet to efficiently search growth schedules, and AutoProg-Zero, which applies zero-shot metrics and Unique Stage Identifiers to enable lossless unfreezing during fine-tuning. Empirical results show ViT pre-training can be accelerated up to $1.85\times$ and diffusion-model fine-tuning up to $2.86\times$, without sacrificing accuracy, and sometimes even improving it; AutoProg-Zero also demonstrates substantial speedups in text-to-image and DreamBooth tasks with improved generative quality. The framework’s use of zero-shot proxies (NTK-based trainability via condition number, and ZiCo-gradient metrics) and an elastic supernet for rapid sub-network evaluation yields scalable, broadly applicable improvements for efficient training of large vision models.
Abstract
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
