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

VanillaKD:重新审视从大规模到小规模下普通知识蒸馏的力量

VanillaKD: Revisit the Power of Vanilla Knowledge Distillation from Small Scale to Large Scale

Beijing Institute of Technology(北京理工大学);The University of Sydney(悉尼大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Zhiwei Hao, Jianyuan Guo, Kai Han, Han Hu, Chang Xu, Yunhe Wang

AI总结:

本文揭示以往知识蒸馏研究中的“小数据陷阱”,证明普通KD在大规模数据和强增强下即可达到与复杂变体相当甚至更优的效果,并在ImageNet上取得多个模型的最新准确率。

摘要:

在大规模数据集上训练的大型模型取得了巨大成功,这表明规模是实现卓越结果的关键因素。因此,反思仅基于小规模数据集为有限容量架构设计知识蒸馏(KD)方法的合理性,如今被认为是势在必行的。在本文中,我们识别出以往KD方法中存在的“小数据陷阱”,该陷阱导致低估了普通KD框架在ImageNet-1K等大规模数据集上的能力。具体而言,我们表明采用更强的数据增强技术和使用更大的数据集可以直接缩小普通KD与其他精心设计的KD变体之间的差距。这凸显了在实际场景背景下设计和评估KD方法的必要性,摆脱小规模数据集的限制。我们在更复杂的方案中(包括更强的训练策略和不同的模型容量)对普通KD及其变体进行了研究,结果表明普通KD在大规模场景下简单优雅但效果惊人。在不添加额外技巧的情况下,我们获得了ImageNet上最先进的ResNet-50、ViT-S和ConvNeXtV2-T模型,其top-1准确率分别达到83.1%、84.3%和85.0%。PyTorch代码和检查点可在https://github.com/Hao840/vanillaKD获取。

英文摘要:

The tremendous success of large models trained on extensive datasets demonstrates that scale is a key ingredient in achieving superior results. Therefore, the reflection on the rationality of designing knowledge distillation (KD) approaches for limited-capacity architectures solely based on small-scale datasets is now deemed imperative. In this paper, we identify the \emph{small data pitfall} that presents in previous KD methods, which results in the underestimation of the power of vanilla KD framework on large-scale datasets such as ImageNet-1K. Specifically, we show that employing stronger data augmentation techniques and using larger datasets can directly decrease the gap between vanilla KD and other meticulously designed KD variants. This highlights the necessity of designing and evaluating KD approaches in the context of practical scenarios, casting off the limitations of small-scale datasets. Our investigation of the vanilla KD and its variants in more complex schemes, including stronger training strategies and different model capacities, demonstrates that vanilla KD is elegantly simple but astonishingly effective in large-scale scenarios. Without bells and whistles, we obtain state-of-the-art ResNet-50, ViT-S, and ConvNeXtV2-T models for ImageNet, which achieve 83.1\%, 84.3\%, and 85.0\% top-1 accuracy, respectively. PyTorch code and checkpoints can be found at https://github.com/Hao840/vanillaKD.

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

↑