arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.05180cs.CV
收藏

知识蒸馏作为有效的预训练:更快的收敛,更高的数据效率和更好的可移植性

Knowledge Distillation as Efficient Pre-training: Faster Convergence, Higher Data-efficiency, and Better Transferability

The University of Hong Kong(香港大学);University of Oxford(牛津大学);ByteDance(字节跳动)

Ruifei He, Shuyang Sun, Jihan Yang, Song Bai, Xiaojuan Qi

摘要:

大规模的预训练已被证明是各种计算机视觉任务的关键。然而,随着预训练数据量、模型架构量以及私有/不可访问数据的增加,在大规模数据集上预训练所有模型架构不是非常有效或可能的。在这项工作中,我们研究了一种预训练的替代策略,即知识蒸馏作为有效的预训练(KDEP),旨在有效地将学习到的特征表示从现有的预训练模型转移到新的学生模型,用于未来的下游任务。我们观察到,现有的知识蒸馏(KD)的方法是不适合的预训练,因为他们通常提取的logits将被丢弃时,转移到下游的任务。为了解决这个问题,我们提出了一种基于特征的KD方法与非参数特征尺寸对齐。值得注意的是,我们的方法在3个下游任务和9个下游数据集中使用监督预训练对应物进行了重复训练,需要的数据少10倍,预训练时间少5倍。代码可在https://github.com/CVMI-Lab/KDEP上获得。

英文摘要:

Large-scale pre-training has been proven to be crucial for various computer vision tasks. However, with the increase of pre-training data amount, model architecture amount, and the private/inaccessible data, it is not very efficient or possible to pre-train all the model architectures on large-scale datasets. In this work, we investigate an alternative strategy for pre-training, namely Knowledge Distillation as Efficient Pre-training (KDEP), aiming to efficiently transfer the learned feature representation from existing pre-trained models to new student models for future downstream tasks. We observe that existing Knowledge Distillation (KD) methods are unsuitable towards pre-training since they normally distill the logits that are going to be discarded when transferred to downstream tasks. To resolve this problem, we propose a feature-based KD method with non-parametric feature dimension aligning. Notably, our method performs comparably with supervised pre-training counterparts in 3 downstream tasks and 9 downstream datasets requiring 10x less data and 5x less pre-training time. Code is available at https://github.com/CVMI-Lab/KDEP.

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

↑