Dual-Space Knowledge Distillation for Large Language Models
Songming Zhang, Xue Zhang, Zengkui Sun, Yufeng Chen, Jinan Xu

TL;DR
This paper introduces a dual-space knowledge distillation framework that unifies output spaces and aligns representations between large language models, enabling more effective knowledge transfer especially across models with different vocabularies.
Contribution
The paper proposes a novel dual-space KD framework with a cross-model attention mechanism to improve knowledge transfer between LLMs with different vocabularies and output spaces.
Findings
Significantly outperforms existing white-box KD methods.
Effective across models with different vocabularies.
Compatible with various distance functions for KD.
Abstract
Knowledge distillation (KD) is known as a promising solution to compress large language models (LLMs) via transferring their knowledge to smaller models. During this process, white-box KD methods usually minimize the distance between the output distributions of the two models so that more knowledge can be transferred. However, in the current white-box KD framework, the output distributions are from the respective output spaces of the two models, using their own prediction heads. We argue that the space discrepancy will lead to low similarity between the teacher model and the student model on both representation and distribution levels. Furthermore, this discrepancy also hinders the KD process between models with different vocabularies, which is common for current LLMs. To address these issues, we propose a dual-space knowledge distillation (DSKD) framework that unifies the output spaces…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques
MethodsSoftmax · Attention Is All You Need · ALIGN · Knowledge Distillation
