Abstract
The exponential growth of Large Language Models (LLMs) continues to highlight the need for efficient strategies to meet ever-expanding computational and data demands. This survey provides a comprehensive analysis of two complementary paradigms: Knowledge Distillation (KD) and Dataset Distillation (DD), both aimed at compressing LLMs while preserving their advanced reasoning capabilities and linguistic diversity. We first examine key methodologies in KD, such as task-specific alignment, rationale-based training, and multi-teacher frameworks, alongside DD techniques that synthesize compact, high-impact datasets through optimization-based gradient matching, latent space regularization, and generative synthesis. Building on these foundations, we explore how integrating KD and DD can produce more effective and scalable compression strategies. Together, these approaches address persistent challenges in model scalability, architectural heterogeneity, and the preservation of emergent LLM abilities. We further highlight applications across domains such as healthcare and education, where distillation enables efficient deployment without sacrificing performance. Despite substantial progress, open challenges remain in preserving emergent reasoning and linguistic diversity, enabling efficient adaptation to continually evolving teacher models and datasets, and establishing comprehensive evaluation protocols. By synthesizing methodological innovations, theoretical foundations, and practical insights, our survey charts a path toward sustainable, resource-efficient LLMs through the tighter integration of KD and DD principles.
Introduction
The "bigger is better" paradigm in artificial intelligence has led to the development of massive models like GPT-4 and LLaMA, which have redefined state-of-the-art performance across numerous tasks. However, this progress comes at a significant cost: these models require thousands of GPU hours for training and inference, leading to substantial energy consumption and hardware barriers. Furthermore, the industry faces a "data efficiency crisis," where training on increasingly massive, redundant datasets yields diminishing returns.
To address these challenges, researchers are exploring two powerful paradigms: Knowledge Distillation (KD), which focuses on compressing model architectures, and Dataset Distillation (DD), which aims to compress the training data itself. This paper provides a unified survey of these fields, highlighting how they are merging to create "data-frugal" training strategies that allow smaller models to inherit the complex reasoning and linguistic diversity of their trillion-parameter teachers.
Methodological Taxonomy
The landscape of distillation for LLMs is diverse, encompassing various strategies to transfer intelligence from large-scale teachers to compact students.
Knowledge Distillation (KD) for LLMs
Modern KD for LLMs has evolved beyond simple label-matching. Key approaches include:
- Rationale-Based KD: Instead of just teaching the student the final answer, this method transfers the "Chain-of-Thought" (the why), enabling the student to learn the underlying reasoning process.
- Uncertainty-Aware KD: By using Bayesian frameworks, the teacher's confidence levels are transferred, helping student models avoid overconfidence in their predictions.
- Multi-Teacher Frameworks: These frameworks fuse expertise from several specialized models—such as one optimized for coding and another for medical knowledge—into a single, versatile student model.
Dataset Distillation (DD) for LLMs
DD involves creating a tiny, synthetic "gold" dataset that carries the same learning signal as a massive corpus. Primary techniques include:
- Gradient/Trajectory Matching: This involves optimizing synthetic data so that a model trained on it follows a similar learning trajectory to one trained on the full dataset.
- Generative Synthesis: LLMs are used to "hallucinate" high-impact training examples that specifically target reasoning gaps identified in the student model.
Integrated Frameworks
The most advanced approaches now integrate KD and DD. For instance, "SRe2L" (Statistical Relabeling and Latent Learning) approaches use DD to identify high-impact data, which then serves as the foundation for more efficient KD, creating a synergistic effect that enhances both data and model efficiency.
Comparing KD and DD Paradigms
While both KD and DD aim for efficiency, they differ in their goals, outputs, and typical use cases.
As shown in the comparison, KD primarily focuses on model compression for efficient inference, while DD focuses on data-efficient training and privacy-aware learning. KD typically requires access to original or augmented data, whereas DD can work with minimal access to the original dataset.
Key Insights and Results
Research in this field has yielded several critical insights:
- The Synergy of KD and DD: DD acts as a filter, identifying the "rare reasoning patterns" that a student model needs to see to match a teacher's performance.
- Architectural Heterogeneity: Modern distillation is moving away from "same-architecture" transfer, successfully distilling knowledge from sparse Mixture-of-Experts (MoE) teachers to dense, small student models.
- Efficiency Gains: Student models often retain 90-95% of their teacher's performance while being 5-10x smaller. DD techniques can condense millions of training samples into just a few hundred synthetic examples while maintaining 80-90% of the original performance.
Real-World Impact
The practical benefits of these techniques are evident in domain-specific applications:
- Healthcare: The ClinRaGen model, with only 80M parameters, achieved diagnostic performance comparable to a 7B LLaMA model—an 80x reduction in size.
- Education: EduChat reduced memory requirements from 40GB to 8GB, enabling real-time tutoring on standard school servers.
Challenges and Future Directions
Despite significant progress, several hurdles remain:
- Preserving Emergent Abilities: Shrinking models while maintaining long-range narrative coherence and complex reasoning remains a difficult task.
- The Cost of Distillation: The process of distilling a trillion-parameter model is itself computationally expensive. Future research must focus on "one-shot" or "data-free" distillation.
- Trust and Bias: Students can inherit and sometimes amplify the biases of their teachers. "Trustworthy Distillation" with automatic bias detection is a critical area for future work.
- Evaluation Gaps: There is a need for better metrics beyond simple accuracy, such as "Identity Consistency," to ensure students understand the substance rather than just mimicking the teacher's style.
Conclusion
The integration of Knowledge Distillation and Dataset Distillation offers a promising path toward sustainable, resource-efficient LLMs. By addressing both model and data scalability, these paradigms enable the deployment of advanced AI capabilities in resource-constrained environments without sacrificing the "intelligence" that makes LLMs so transformative.
Summary updated