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

通过高效的多模态分布对齐增强大语言模型的知识蒸馏

Enhancing Knowledge Distillation of Large Language Models through Efficient Multi-Modal Distribution Alignment

School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Wuhan AI Research(武汉人工智能研究院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Tianyu Peng, Jiajun Zhang

AI总结:

本文提出基于排序损失的知识蒸馏方法RLKD,通过引入词级排序损失对齐教师与学生模型的多模态分布峰值预测排序,显著提升了学生模型在下游任务中的性能。

摘要:

知识蒸馏(KD)是一种有效的模型压缩方法,能够将大语言模型(LLMs)的内部能力转移到较小的模型中。然而,教师 LLMs 预测的多模态概率分布给学生模型的学习带来了困难。在本文中,我们首先通过实验证明了多模态分布对齐的重要性,然后强调了现有 KD 方法在学习多模态分布时的低效性。为了解决这个问题,我们提出了基于排序损失的知识蒸馏(RLKD),该方法鼓励教师和学生模型之间峰值预测排序的一致性。通过引入词级排序损失,我们确保了与现有蒸馏目标的出色兼容性,同时充分利用了两个预测分布峰值中不同类别之间的细粒度信息。实验结果表明,我们的方法使学生模型能够更好地学习教师模型的多模态分布,从而在各种下游任务中带来显著的性能提升。

英文摘要:

Knowledge distillation (KD) is an effective model compression method that can transfer the internal capabilities of large language models (LLMs) to smaller ones. However, the multi-modal probability distribution predicted by teacher LLMs causes difficulties for student models to learn. In this paper, we first demonstrate the importance of multi-modal distribution alignment with experiments and then highlight the inefficiency of existing KD approaches in learning multi-modal distributions. To address this problem, we propose Ranking Loss based Knowledge Distillation (RLKD), which encourages the consistency of the ranking of peak predictions between the teacher and student models. By incorporating word-level ranking loss, we ensure excellent compatibility with existing distillation objectives while fully leveraging the fine-grained information between different categories in peaks of two predicted distribution. Experimental results demonstrate that our method enables the student model to better learn the multi-modal distributions of the teacher model, leading to a significant performance improvement in various downstream tasks.

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

↑