TLDR: Delta Knowledge Distillation (Delta-KD) is a new method for compressing large language models (LLMs) into smaller student models. Unlike traditional methods that directly match teacher and student outputs, Delta-KD focuses on preserving the “distributional shift” that occurs when a teacher model is finetuned. This allows the student to learn the teacher’s behavioral changes, leading to significantly improved performance and more effective knowledge transfer, as demonstrated by superior ROUGE scores on instruction-following and reasoning tasks.
Large Language Models (LLMs) have transformed many areas of natural language processing, showcasing impressive capabilities across various tasks. Their success stems from their massive scale, allowing them to learn extensive world knowledge and follow human instructions with remarkable accuracy. However, the sheer size of these models comes with a significant drawback: high computational costs. Deploying LLMs can be incredibly expensive in terms of both memory and processing power, making them impractical for applications with limited resources. This challenge has driven the need for effective model compression techniques that can reduce the size of LLMs while retaining their powerful abilities.
One of the most widely adopted solutions for model compression is Knowledge Distillation (KD). This technique involves transferring knowledge from a large, powerful “teacher” model to a smaller, more efficient “student” model. The goal is for the student model to learn to mimic the behavior of the teacher, thereby achieving comparable performance at a much lower computational cost. In the realm of LLMs, token-level KD, which typically involves minimizing the difference between the output probability distributions of the student and teacher models, has shown promising results.
However, existing knowledge distillation methods often face two key limitations. Firstly, they frequently assume that both the student and teacher models operate within the same optimal representation space. This assumption may not hold true, especially when compressing a very large teacher model into a significantly smaller student model, leading to less effective knowledge transfer. Secondly, many prior methods tend to overlook the valuable knowledge embedded in the teacher’s pretrained state and fail to capture the crucial distributional shift that occurs when the teacher model undergoes supervised finetuning (SFT). By focusing only on the final finetuned teacher, these methods might miss important intermediate signals.
Introducing Delta Knowledge Distillation (Delta-KD)
To overcome these challenges, researchers Yihan Cao, Yanbin Kang, Zhengming Xing, and Ruijie Jiang from LinkedIn Corporation have proposed a novel approach called Delta Knowledge Distillation (Delta-KD). This method extends traditional token-level KD by encouraging the student model to approximate an optimal representation space. It achieves this by explicitly preserving the “distributional shift” (∆) that is introduced during the teacher’s supervised finetuning process. Instead of directly forcing the student to match the teacher’s absolute output distribution, Delta-KD guides the student to replicate the behavioral change the teacher experienced from its initial pretrained state to its finetuned state.
The core idea behind Delta-KD is to define a “delta” term that quantifies how much the teacher model’s preference for a response changes after finetuning compared to its raw, pretrained state. This delta term captures the knowledge shift from pretraining to finetuning. Delta-KD then constructs a synthetic target distribution for the student model, which incorporates this knowledge shift. By aligning the student with this synthetic distribution, the method enriches the distillation process with both pretraining and finetuning signals from the teacher, all while maintaining alignment within the student’s own representation space. This approach acknowledges that a smaller student model has different representational capacities and should not be forced to exactly match the large teacher’s outputs, but rather learn its transformation pattern.
Also Read:
- Enhancing Speech LLMs: A Dual-Channel Approach to Overcome Forgetting and Modality Gaps
- Enhancing Reasoning Model Compression Through Chain-of-Thought Reconstruction
Practical Implementation and Results
Implementing Delta-KD presents unique architectural challenges because it requires retrieving output logits from multiple large language models (the raw teacher, the finetuned teacher, and the student) simultaneously. Running all these memory-intensive models on the same GPU is often infeasible. To address this, the authors developed a specialized training architecture that decouples inference from training. Teacher models are deployed as standalone services on dedicated GPUs, and communication with the student training process is handled efficiently using ZeroMQ sockets and Python shared memory. This design allows for scalable, memory-efficient training, even with long input sequences and large models.
The effectiveness of Delta-KD was rigorously tested through extensive token-level and sequence-level knowledge distillation experiments. Using Qwen2.5 model series, the method was evaluated on instruction tuning (ultrachat-200k) and reasoning (OpenMathReasoning) datasets. Performance was primarily measured using ROUGE scores. The empirical results demonstrated that Delta-KD consistently and substantially outperforms state-of-the-art KD baselines. For instance, on the Ultrachat dataset, Delta-KD achieved a ROUGE-1 score of 0.5407, significantly surpassing the next-best Forward KL (FKL) method and naive supervised finetuning (SFT). Similar improvements were observed across ROUGE-2 and ROUGE-L metrics on both datasets, indicating better capture of patterns and more coherent long-form outputs.
In conclusion, Delta-KD offers a significant advancement in knowledge distillation for large language models. By focusing on the distributional shift induced by teacher supervised finetuning, it provides a more robust and effective way to transfer knowledge, leading to smaller, more efficient student models that retain a high degree of the teacher’s performance. This innovative framework highlights the importance of modeling behavioral changes rather than absolute outputs in distillation, paving the way for more generalizable and practical LLM compression strategies. You can read the full research paper here.


