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

Comparative Knowledge Distillation(比较知识蒸馏)

Comparative Knowledge Distillation

Carnegie Mellon University(卡内基梅隆大学)

Alex Wilf, Alex Tianyi Xu, Paul Pu Liang, Alexander Obolenskiy, Daniel Fried, Louis-Philippe Morency

AI总结:

针对传统知识蒸馏依赖频繁教师模型推理的问题,提出比较知识蒸馏(CKD),通过样本比较提供额外学习信号,在少教师推理场景下效果优于现有数据增强和KD技术。

摘要:

在大规模预训练模型时代,知识蒸馏(Knowledge Distillation, KD)在将计算密集型教师模型的知识迁移到轻量高效的学生模型并保留性能方面发挥着重要作用。然而,传统KD范式假设可随时访问教师模型以进行频繁推理——这一假设与成本高昂且通常专有的大规模模型的现实状况日益矛盾。为解决这一差距,本文研究了如何在我们称之为“少教师推理知识蒸馏(Few Teacher Inference Knowledge Distillation, FTI KD)”的场景下最小化对教师模型推理的依赖。我们发现,主流的KD技术和最先进的数据增强策略在这种受限场景下效果不佳。受强调通过比较进行学习的教育原则启发,我们提出了Comparative Knowledge Distillation(CKD,比较知识蒸馏),该方法鼓励学生模型理解教师模型对样本解读的细微差异。关键在于,CKD无需额外调用教师模型就能为学生提供额外的学习信号。我们还将CKD的原理扩展到样本组,使得从有限的教师调用中能实现更高效的学习。跨多种实验设置的实证评估表明,CKD始终优于最先进的数据增强和KD技术。

英文摘要:

In the era of large scale pretrained models, Knowledge Distillation (KD) serves an important role in transferring the wisdom of computationally heavy teacher models to lightweight, efficient student models while preserving performance. Traditional KD paradigms, however, assume readily available access to teacher models for frequent inference -- a notion increasingly at odds with the realities of costly, often proprietary, large scale models. Addressing this gap, our paper considers how to minimize the dependency on teacher model inferences in KD in a setting we term Few Teacher Inference Knowledge Distillation (FTI KD). We observe that prevalent KD techniques and state of the art data augmentation strategies fall short in this constrained setting. Drawing inspiration from educational principles that emphasize learning through comparison, we propose Comparative Knowledge Distillation (CKD), which encourages student models to understand the nuanced differences in a teacher model's interpretations of samples. Critically, CKD provides additional learning signals to the student without making additional teacher calls. We also extend the principle of CKD to groups of samples, enabling even more efficient learning from limited teacher calls. Empirical evaluation across varied experimental settings indicates that CKD consistently outperforms state of the art data augmentation and KD techniques.

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

↑