Intermediate layer knowledge distillation (KD) can improve the standard KD technique (which only targets the output of teacher and student models) especially over large pre-trained language models. However, intermediate layer distillation suffers from excessive computational burdens and engineering efforts required for setting up a proper layer mapping. To address these problems, we propose a RAndom Intermediate Layer Knowledge Distillation (RAIL-KD) approach in which, intermediate layers from the teacher model are selected randomly to be distilled into the intermediate layers of the student model. This randomized selection enforce that: all teacher layers are taken into account in the training process, while reducing the computational cost of intermediate layer distillation. Also, we show that it act as a regularizer for improving the generalizability of the student model. We perform extensive experiments on GLUE tasks as well as on out-of-domain test sets. We show that our proposed RAIL-KD approach outperforms other state-of-the-art intermediate layer KD methods considerably in both performance and training-time.
Dept. Computing Science & Alberta Machine Intelligence Institute (Amii), University of Alberta(计算科学系及阿尔伯塔人工智能研究所(Amii),阿尔伯塔大学);Canada CIFAR AI Chair, Amii(加拿大CIFAR人工智能主席,Amii)
ALP-KD: Attention-Based Layer Projection for Knowledge Distillation
Huawei(华为)
知识蒸馏被认为是一种训练和压缩策略,其中两个神经网络,即教师和学生,在训练过程中耦合在一起。教师网络应该是一个值得信赖的预测器,学生试图模仿它的预测。通常,选择具有较轻架构的学生,以便我们可以实现压缩,同时提供高质量的结果。在这种情况下,蒸馏只发生在最终的预测,而学生也可以受益于教师的监督内部组件。受此启发,我们研究了中间层的精馏问题。由于在学生层和教师层之间可能不存在一对一的对齐,因此现有技术跳过一些教师层并且仅从其中的子集提取。这个缺点直接影响质量,所以我们提出了一种依赖于注意力的组合技术。我们的模型融合了教师端的信息,并考虑到每一层的重要性,然后进行合并的教师层和学生层之间的蒸馏。使用我们的技术,我们将12层BERT(Devlin et al. 2019)提取为6层、4层和2层对应物,并在GLUE任务中对其进行评估(Wang et al. 2018)。实验结果表明,我们的组合方法是能够优于其他现有的技术。
Learning from Repaired Reasoning: Root-Cause-Guided On-Policy Distillation
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);School of Information Technology and Management, University of International Business and Economics(对外经济贸易大学信息与技术管理学院)
MiCoTA: Bridging the Learnability Gap with Intermediate CoT and Teacher Assistants
South China Agricultural University(华南农业大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));University of Electronic Science and Technology of China(电子科技大学)
GAPD: Gold-Action Policy Distillation for Agentic Reinforcement Learning in Knowledge Base Question Answering
University of Science and Technology of China(中国科学技术大学);NLPR, MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);ShanghaiTech University(上海科技大学);Ant Group(蚂蚁集团)
Chain-based Distillation for Effective Initialization of Variable-Sized Small Language Models
School of Computer Science and Engineering, Southeast University, Nanjing, China(东南大学计算机科学与工程学院,南京,中国);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China(新一代人工智能技术及其交叉应用重点实验室(东南大学),教育部,中国)
Teaching Audio Models to Reason: A Unified Framework for Source- and Layer-wise Distillation
Jiutian Artificial Intelligence Research Institute, China Mobile, Beijing, China(九天人工智能研究院,中国移动,北京);The State Key Laboratory of Multimedia Information Processing, Peking University, Beijing, China(多媒体信息处理国家重点实验室,北京大学,北京)