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

$\mathcal{X}$-KD:用于大型语言模型的通用经验知识蒸馏

$\mathcal{X}$-KD: General Experiential Knowledge Distillation for Large Language Models

Beijing University of Posts and Telecommunications(北京邮电大学)

Yuang Cai, Yuyu Yuan

AI总结:

本文提出$\mathcal{X}$-KD,通过模拟教师的原始学习环境,提升大型语言模型的蒸馏效果,优于现有基线方法。

摘要:

知识蒸馏(KD)对于大型语言模型(LLMs)而言,随着模型规模和复杂性的增加,其重要性日益凸显。尽管现有的蒸馏方法侧重于模仿教师的行为,但往往忽略了塑造教师知识的原始学习环境。受经验学习理论和逆强化学习的启发,我们提出了经验知识蒸馏($\mathcal{X}$-KD),这是一种新的通用框架,使学生模型能够在教师的原始学习环境中学习。$\mathcal{X}$-KD采用近似变分奖励模仿学习(AVRIL)框架,共同建模教师的原始奖励函数并执行策略蒸馏,鼓励学生策略与原始奖励函数之间的一致性。我们的推导表明,$\mathcal{X}$-KD遵循监督学习框架,并适用于序列级和基于差异的蒸馏方法,突显了我们方法的简洁性和灵活性。实验结果表明,$\mathcal{X}$-KD在摘要生成、机器翻译和算术推理任务上优于通用KD和MiniLLM基线。此外,$\mathcal{X}$-KD在性能-多样性权衡和数据效率方面优于基线KD方法。

英文摘要:

Knowledge Distillation (KD) for Large Language Models (LLMs) has become increasingly important as models grow in size and complexity. While existing distillation approaches focus on imitating teacher behavior, they often overlook the original learning environment that shaped the teacher's knowledge. Inspired by the experiential learning theory and inverse reinforcement learning, we propose Experiential Knowledge Distillation ($\mathcal{X}$-KD), a novel and general framework that enables student models to learn in the teacher's original learning environment. $\mathcal{X}$-KD adopts the Approximated Variational Reward Imitation Learning (AVRIL) framework to jointly model the teacher's original reward function and perform policy distillation, encouraging consistency between the student policy and the original reward function. Our derivation demonstrates that $\mathcal{X}$-KD follows the supervised learning framework and applies to both sequence-level and divergence-based distillation methods, underlining the simplicity and flexibility of our approach. Empirical results show that $\mathcal{X}$-KD outperforms the generalized KD and MiniLLM baselines on abstractive summarization, machine translation, and arithmetic reasoning tasks. Additionally, $\mathcal{X}$-KD achieves better performance-diversity trade-off and data efficiency than baseline KD approaches.

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

↑