[Paper Review] A Survey on Knowledge Distillation of Large Language Models
This survey analyzes how knowledge distillation (KD) transfers capabilities from proprietary LLMs to open-source ones, with emphasis on data augmentation, skill enhancement, and vertical applications.
In the era of Large Language Models (LLMs), Knowledge Distillation (KD) emerges as a pivotal methodology for transferring advanced capabilities from leading proprietary LLMs, such as GPT-4, to their open-source counterparts like LLaMA and Mistral. Additionally, as open-source LLMs flourish, KD plays a crucial role in both compressing these models, and facilitating their self-improvement by employing themselves as teachers. This paper presents a comprehensive survey of KD's role within the realm of LLM, highlighting its critical function in imparting advanced knowledge to smaller models and its utility in model compression and self-improvement. Our survey is meticulously structured around three foundational pillars: extit{algorithm}, extit{skill}, and extit{verticalization} -- providing a comprehensive examination of KD mechanisms, the enhancement of specific cognitive abilities, and their practical implications across diverse fields. Crucially, the survey navigates the intricate interplay between data augmentation (DA) and KD, illustrating how DA emerges as a powerful paradigm within the KD framework to bolster LLMs' performance. By leveraging DA to generate context-rich, skill-specific training data, KD transcends traditional boundaries, enabling open-source models to approximate the contextual adeptness, ethical alignment, and deep semantic insights characteristic of their proprietary counterparts. This work aims to provide an insightful guide for researchers and practitioners, offering a detailed overview of current methodologies in KD and proposing future research directions. Importantly, we firmly advocate for compliance with the legal terms that regulate the use of LLMs, ensuring ethical and lawful application of KD of LLMs. An associated Github repository is available at https://github.com/Tebmer/Awesome-Knowledge-Distillation-of-LLMs.
Motivation & Objective
- Explain the role of KD in the LLM era, including model compression, capability transfer, and self-improvement.
- Describe how data augmentation augments KD and enables skill-focused distillation.
- Provide a structured taxonomy of KD methods: algorithms, skill distillation, and verticalization.
- Discuss practical implications across domains and outline future research directions.
Proposed method
- Present a taxonomy of KD for LLMs based on three pillars: algorithms, skill distillation, and verticalization.
- Introduce a general distillation pipeline with four stages: steering the teacher, seed knowledge input, generation of distillation knowledge, and training the student.
- Formalize knowledge elicitation and distillation as two core objectives with equations that define input fusion and learning loss.
- Highlight data augmentation as a key paradigm to generate context-rich training data for targeted skills.
- Describe knowledge elicitation methods (labeling, expansion, data curation, feature, feedback, self-knowledge).
- Review distillation strategies including supervised fine-tuning, divergence/minimization, reinforcement learning, and rank optimization.
Experimental results
Research questions
- RQ1How can KD bridge the performance gap between proprietary and open-source LLMs?
- RQ2What roles do data augmentation and prompting play in effective KD for LLMs?
- RQ3What taxonomy best captures KD methods, skills, and domain-specific applications for LLMs?
- RQ4What are the practical implications and challenges of applying KD across vertical domains?
Key findings
- KD serves three core roles: enhancing capabilities, compressing models for efficiency, and enabling self-improvement via self-generated knowledge.
- Data augmentation is integral to KD in LLMs, enabling generation of high-quality, domain-specific training data beyond traditional expansion.
- A structured taxonomy (algorithms, skill distillation, verticalization) organizes KD approaches and guides future research.
- Distillation advances various skills such as instruction following, reasoning, alignment, and multi-modality integration.
- Verticalization distills LLMs to domain-specific needs in law, healthcare, finance, science, and more, improving practical applicability.
- The survey emphasizes ethical and lawful use of KD and points to open problems and directions for future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.