arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.09388cs.CVcs.AI
收藏

知识蒸馏所需的一切只是一个定制的坐标系

All You Need in Knowledge Distillation Is a Tailored Coordinate System

Nanjing University(南京大学);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院)

Junjie Zhou, Ke Zhu, Jianxin Wu

AI总结:

针对现有知识蒸馏依赖特定任务大型教师网络的问题,提出定制坐标系(TCS)方法,利用SSL预训练模型作教师,仅需一次前向传播定制坐标系,实现高效跨架构蒸馏,精度超现有方法且训练成本减半。

摘要:

知识蒸馏(KD)对于将暗知识从大型教师网络迁移到小型学生网络至关重要,这样学生网络可以比教师网络高效得多,同时精度相当。然而,现有KD方法依赖为目标任务专门训练的大型教师网络,这既不灵活又低效。本文认为,自监督学习(SSL)预训练模型可有效充当教师,其暗知识可通过特征所在的坐标系或线性子空间捕获。我们只需教师网络一次前向传播,然后为学生网络定制坐标系(TCS)。TCS方法无需教师网络,适用于多种架构,在KD和实际少样本学习中表现良好,且允许存在大容量差距的跨架构蒸馏。实验表明,TCS的精度显著高于最先进的KD方法,同时仅需约一半的训练时间和GPU内存成本。

英文摘要:

Knowledge Distillation (KD) is essential in transferring dark knowledge from a large teacher to a small student network, such that the student can be much more efficient than the teacher but with comparable accuracy. Existing KD methods, however, rely on a large teacher trained specifically for the target task, which is both very inflexible and inefficient. In this paper, we argue that a SSL-pretrained model can effectively act as the teacher and its dark knowledge can be captured by the coordinate system or linear subspace where the features lie in. We then need only one forward pass of the teacher, and then tailor the coordinate system (TCS) for the student network. Our TCS method is teacher-free and applies to diverse architectures, works well for KD and practical few-shot learning, and allows cross-architecture distillation with large capacity gap. Experiments show that TCS achieves significantly higher accuracy than state-of-the-art KD methods, while only requiring roughly half of their training time and GPU memory costs.

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

↑