arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.08768cs.CVcs.AIcs.LG
收藏

EfficientTrain++:面向高效视觉骨干网络训练的广义课程学习

EfficientTrain++: Generalized Curriculum Learning for Efficient Visual Backbone Training

Tsinghua University(清华大学);Beijing Academy of Artificial Intelligence(北京人工智能研究院)

Yulin Wang, Yang Yue, Rui Lu, Yizeng Han, Shiji Song, Gao Huang

AI总结:

针对视觉骨干网络训练成本高的问题,提出广义课程学习方法EfficientTrain++,通过频域裁剪和增强强度调节实现样本内难度递进,在多个数据集和任务中大幅缩短训练时间且不损失精度。

摘要:

现代视觉骨干网络的优异性能通常伴随着高昂的训练成本。我们通过将课程学习的理念拓展至其原始定义之外——即不再采用“从易到难”的数据训练模式——来解决这一问题。具体而言,我们将训练课程重构为一种软选择函数,它会在训练过程中逐步揭示每个样本内部更难的模式,而非执行从易到难的样本筛选。我们的工作受启发于一项关于视觉骨干网络学习动态的有趣发现:在训练早期阶段,模型主要学习识别数据中一些“易学习”的判别性模式。从频域和空域观察这些模式,它们包含更低频的分量,以及未经失真或数据增强的自然图像内容。基于这些发现,我们提出了一种课程方案:模型在每个学习阶段都会利用全部训练数据,但首先会接触每个样本的“易学习”模式,随着训练推进再逐步引入更难的模式。为了以计算高效的方式实现这一思路,我们在输入的傅里叶频谱中引入了裁剪操作,使模型仅从低频分量中学习。随后我们证明,通过调节数据增强的强度,就可以轻松实现自然图像内容的逐步暴露。最后,我们整合了这些方面,并通过定制化的搜索算法设计了课程调度方案。由此产生的方法EfficientTrain++简单、通用,且效果出人意料地出色。它在ImageNet-1K/22K数据集上将多种主流模型的训练时间缩短了1.5-3.0倍,且不会损失精度。它在自监督学习(例如MAE)中也展现出了有效性。

英文摘要:

The superior performance of modern visual backbones usually comes with a costly training procedure. We contribute to this issue by generalizing the idea of curriculum learning beyond its original formulation, i.e., training models using easier-to-harder data. Specifically, we reformulate the training curriculum as a soft-selection function, which uncovers progressively more difficult patterns within each example during training, instead of performing easier-to-harder sample selection. Our work is inspired by an intriguing observation on the learning dynamics of visual backbones: during the earlier stages of training, the model predominantly learns to recognize some 'easier-to-learn' discriminative patterns in the data. These patterns, when observed through frequency and spatial domains, incorporate lower-frequency components, and the natural image contents without distortion or data augmentation. Motivated by these findings, we propose a curriculum where the model always leverages all the training data at every learning stage, yet the exposure to the 'easier-to-learn' patterns of each example is initiated first, with harder patterns gradually introduced as training progresses. To implement this idea in a computationally efficient way, we introduce a cropping operation in the Fourier spectrum of the inputs, enabling the model to learn from only the lower-frequency components. Then we show that exposing the contents of natural images can be readily achieved by modulating the intensity of data augmentation. Finally, we integrate these aspects and design curriculum schedules with tailored search algorithms. The resulting method, EfficientTrain++, is simple, general, yet surprisingly effective. It reduces the training time of a wide variety of popular models by 1.5-3.0x on ImageNet-1K/22K without sacrificing accuracy. It also demonstrates efficacy in self-supervised learning (e.g., MAE).

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

↑