AI summary · arXiv: 2306.08543v1 · cs.CL
Knowledge Distillation of Large Language Models
The essentials
- Knowledge Distillation (KD) is used to reduce the computational demand of large language models (LLMs)
- Previous KD methods have focused on white-box classification models or training small models to imitate black-box model APIs
- Limited exploration on effectively distilling knowledge from white-box generative LLMs
- Authors propose MiniLLM, a method for distilling smaller language models from larger generative language models
- Forward Kullback-Leibler divergence (KLD) objective replaced with reverse KLD to prevent overestimation of low-probability regions
- Effective optimization approach developed to learn this objective
- MiniLLM demonstrated through extensive experiments in an instruction-following setting
- Results show more precise responses, higher overall quality, lower exposure bias, better calibration, and improved long-text generation performance
- Scalable and applicable to different model families ranging from 120M to 13B parameters
- Code and model checkpoints will be released for further exploration
- White-box KD becomes valuable for leveraging teacher parameters in addition to existing techniques like black-box KD
- MiniLLM offers a promising approach for reducing computational demands while maintaining high-quality responses
Key points written by AI: they may contain errors, check them against the paper.
Ask questions about this paper to our AI assistant
How to chat with this paper? Illustrated guide
You can also chat with multiple papers at once here.
Keep this conversation — a free account saves your questions and answers, your collections of papers and your alerts.
Continue with Google Create a free accountTools for this paper
Advanced tools Premium
For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium
Among the 31 papers around this one, the name that comes back most: Li Dong (2 papers)
1 more person signs several of them. The full map adds their institutions and approaches, from the papers of the last years.
Papers around this one
See them on a mapRanked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
MiniPLM: Knowledge Distillation for Pre-Training Language ModelsYuxian Gu, Hao Zhou, Fandong Meng et al. · 2024 · Computation and Language · cited 38 times · AI summary available
MiniPLM distills teacher knowledge during language-model pre-training by refining the training-data distribution, whereas MiniLLM distills generative LLMs using reverse KL divergence.
Abstract
Knowledge distillation (KD) is widely used to train small, high-performing student language models (LMs) using large teacher LMs. While effective in fine-tuning, KD during pre-training faces challenges in efficiency, flexibility, and effectiveness. Existing methods either incur high computational costs due to online teacher inference, require tokenization matching between teacher and student LMs, or risk losing the difficulty and diversity of the teacher-generated training data. To address these issues, we propose MiniPLM, a KD framework for pre-training LMs by refining the training data distribution with the teacher's knowledge. For efficiency, MiniPLM performs offline teacher LM inference,…
-
Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and ApplicationChuanpeng Yang, Wang Lu, Yao Zhu et al. · 2024 · Computation and Language · cited 154 times · AI summary available
This survey organizes LLM knowledge distillation methods, evaluation, and applications, while MiniLLM proposes a specific reverse-KL distillation method.
Abstract
Large Language Models (LLMs) have showcased exceptional capabilities in various domains, attracting significant interest from both academia and industry. Despite their impressive performance, the substantial size and computational demands of LLMs pose considerable challenges for practical deployment, particularly in environments with limited resources. The endeavor to compress language models while maintaining their accuracy has become a focal point of research. Among the various methods, knowledge distillation has emerged as an effective technique to enhance inference speed without greatly compromising performance. This paper presents a thorough survey from three aspects: method, evaluation…
-
Pre-training Distillation for Large Language Models: A Design Space ExplorationHao Peng, Xin Lv, Yushi Bai et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cited 31 times · Not summarized yet
This work explores distillation during LLM pre-training, whereas MiniLLM distills generative LLMs in an instruction-following setting.
Abstract
Knowledge distillation (KD) aims to transfer knowledge from a large teacher model to a smaller student model. Previous work applying KD in the field of large language models (LLMs) typically focused on the post-training phase, where the student LLM learns directly from instructions and corresponding responses generated by the teacher model. In this paper, we extend KD to the pre-training phase of LLMs, named pre-training distillation (PD). We first conduct a preliminary experiment using GLM-4-9B as the teacher LLM to distill a 1.9B parameter student LLM, validating the effectiveness of PD. Considering the key impact factors of distillation, we systematically explore the design space of pre-t…
-
Being Strong Progressively! Enhancing Knowledge Distillation of Large Language Models through a Curriculum Learning FrameworkLing-Yuan Liu, Meng-Xiang Zhang · 2025 · arXiv.org · preprint, not peer reviewed · cited 7 times · Not summarized yet
This work adds progressive curriculum learning to white-box LLM distillation to address distribution shifts, while MiniLLM changes the divergence objective to reverse KL.
Abstract
Knowledge Distillation (KD) compresses large language models (LLMs) by transferring the teacher model's capabilities to a smaller student model, reducing inference cost and memory usage while maintaining performance. However, existing KD methods for LLMs often fail to prevent significant shifts in the student model's distribution during training, leading to issues such as catastrophic forgetting, mode collapse, and training-inference mismatch. To address these challenges, we propose a novel, plug-in curriculum learning framework inspired by the strength training principle of"progressive overload"(POCL), which can be seamlessly integrated into existing white-box KD approaches with minimal com…
-
Direct Preference Knowledge Distillation for Large Language ModelsYi-Xing Li, Yu-Xian Gu, Li Dong et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 21 times · Not summarized yet
DPKD formulates LLM distillation around preference loss and an implicit reward, while MiniLLM uses reverse KL to distill generative distributions.
Abstract
In the field of large language models (LLMs), Knowledge Distillation (KD) is a critical technique for transferring capabilities from teacher models to student models. However, existing KD methods face limitations and challenges in distillation of LLMs, including efficiency and insufficient measurement capabilities of traditional KL divergence. It is shown that LLMs can serve as an implicit reward function, which we define as a supplement to KL divergence. In this work, we propose Direct Preference Knowledge Distillation (DPKD) for LLMs. DPKD utilizes distribution divergence to represent the preference loss and implicit reward function. We re-formulate KD of LLMs into two stages: first optimi…
-
ADDL: Adaptive Dynamic Distillation for Large Language ModelsRun-Min Zhang, Ke-Qin Zhou, Huan Zhang et al. · 2025 · 2025 5th International Conference on Computer Science and Blockchain (CCSB) · cited 1 time · Not summarized yet
ADDL targets efficient autoregressive LLM distillation with adaptive dynamic training, while MiniLLM optimizes a reverse-KL objective for generative models.
Abstract
Knowledge Distillation (KD) has emerged as a powerful approach for compressing large language models (LLMs) by transferring insights from a high-capacity teacher to a compact student, thus achieving substantial size reduction with minimal performance loss. However, existing KD strategies for auto-regressive sequence models often rely on suboptimal objectives and incur extra computational overhead-particularly when they depend on the student to generate training data online. To address these challenges, we introduce Adaptive Dynamic Distillation for Large Language Models(ADDL), a framework specifically designed for efficient distillation of LLMs. At its core, ADDL employs a novel dynamic dist…
-
DistiLLM: Towards Streamlined Distillation for Large Language ModelsJongwoo Ko, Sungnyun Kim, Tianyi Chen et al. · 2024 · International Conference on Machine Learning · cited 200 times · Not summarized yet
DistiLLM uses skew KL and student-generated outputs for autoregressive distillation, whereas MiniLLM derives an optimization approach for reverse KL.
Abstract
Knowledge distillation (KD) is widely used for compressing a teacher model to a smaller student model, reducing its inference cost and memory footprint while preserving model capabilities. However, current KD methods for auto-regressive sequence models (e.g., large language models) suffer from missing a standardized objective function. Moreover, the recent use of student-generated outputs to address training-inference mismatches has significantly escalated computational costs. To tackle these issues, we introduce DistiLLM, a more effective and efficient KD framework for auto-regressive language models. DistiLLM comprises two components: (1) a novel skew Kullback-Leibler divergence loss, wher…
-
MixKD: Towards Efficient Distillation of Large-scale Language ModelsKevin J Liang, Weituo Hao, Dinghan Shen et al. · 2020 · International Conference on Learning Representations · cited 93 times · Not summarized yet
MixKD proposes efficient distillation of large-scale language models and is cited by MiniLLM, which instead focuses on reverse-KL distillation of generative LLMs.
Abstract
Large-scale language models have recently demonstrated impressive empirical performance. Nevertheless, the improved results are attained at the price of bigger models, more power consumption, and slower inference, which hinder their applicability to low-resource (memory and computation) platforms. Knowledge distillation (KD) has been demonstrated as an effective framework for compressing such big models. However, large-scale neural network systems are prone to memorize training instances, and thus tend to make inconsistent predictions when the data distribution is altered slightly. Moreover, the student model has few opportunities to request useful information from the teacher model when the…
Prior work it builds on
-
LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale InstructionsMinghao Wu, Abdul Waheed, Chiyu Zhang et al. · 2023 · Conference of the European Chapter of the Association for Computational Linguistics · cited 180 times · Not summarized yet
LaMini-LM distills instruction-tuned LLMs using a diverse instruction collection, and MiniLLM cites it while proposing reverse-KL training for generative models.
Abstract
Large language models (LLMs) with instruction fine-tuning demonstrate superior generative capabilities. However, these models are resource-intensive. To alleviate this issue, we explore distilling knowledge from instruction-tuned LLMs into much smaller ones. While other similar works have been done, they are often conducted on a limited set of (usually still large) models and are not accompanied by proper evaluations. To this end, we carefully develop a large set of 2.58M instructions based on both existing and newly-generated instructions. In addition to being sizable, we design our instructions to cover a broad set of topics to ensure diversity. Extensive analysis of our instruction datase…
-
f-Divergence Minimization for Sequence-Level Knowledge DistillationYu-Qiao Wen, Zichao Li, Wenyu Du et al. · 2023 · Annual Meeting of the Association for Computational Linguistics · cited 156 times · Not summarized yet
FDISTILL formulates sequence-level distillation through generalized f-divergences, and MiniLLM cites it while developing reverse-KL distillation for generative LLMs.
Abstract
Knowledge distillation (KD) is the process of transferring knowledge from a large model to a small one.It has gained increasing attention in the natural language processing community, driven by the demands of compressing ever-growing language models. In this work, we propose an FDISTILL framework, which formulates sequence-level knowledge distillation as minimizing a generalized f-divergence function. We propose four distilling variants under our framework and show that existing SeqKD and ENGINE approaches are approximations of our FDISTILL methods. We further derive step-wise decomposition for our FDISTILL, reducing intractable sequence-level divergence to word-level losses that can be comp…
-
Knowledge Distillation: A SurveyJianping Gou, Baosheng Yu, Stephen John Maybank et al. · 2020 · Machine Learning · cited 4,861 times · Not summarized yet
This survey reviews neural-network compression methods including knowledge distillation, while MiniLLM studies distillation of generative LLMs.
Abstract
In recent years, deep neural networks have been very successful in the fields of both industry and academia, especially for the applications of visual recognition and neural language processing. The great success of deep learning mainly owes to its great scalabilities to both large-scale data samples and billions of model parameters. However, it also poses a great challenge for the deployment of these cumbersome deep models on devices with limited resources, e.g., mobile phones and embedded devices, not only because of the great computational complexity but also the storage. To this end, a variety of model compression and acceleration techniques have been developed, such as pruning, quantiza…
-
Self-Knowledge Distillation via DropoutHyoje Lee, Yeachan Park, Hyun Seo et al. · 2022 · Computer Vision and Image Understanding · cited 32 times · Not summarized yet
SD-Dropout distills posterior distributions among dropout-sampled versions of one model, whereas MiniLLM distills a large generative LLM into a smaller student.
Abstract
To boost the performance, deep neural networks require deeper or wider network structures that involve massive computational and memory costs. To alleviate this issue, the self-knowledge distillation method regularizes the model by distilling the internal knowledge of the model itself. Conventional self-knowledge distillation methods require additional trainable parameters or are dependent on the data. In this paper, we propose a simple and effective self-knowledge distillation method using a dropout (SD-Dropout). SD-Dropout distills the posterior distributions of multiple models through a dropout sampling. Our method does not require any additional trainable modules, does not rely on data, …
-
TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yi-Chun Yin, Li-Feng Shang et al. · 2019 · Findings · cited 2,630 times · Not summarized yet
TinyBERT develops Transformer distillation for BERT-based language understanding, an earlier model-compression approach cited by MiniLLM.
Abstract
Language model pre-training, such as BERT, has significantly improved the performances of many natural language processing tasks. However, pre-trained language models are usually computationally expensive, so it is difficult to efficiently execute them on resource-restricted devices. To accelerate inference and reduce model size while maintaining accuracy, we first propose a novel Transformer distillation method that is specially designed for knowledge distillation (KD) of the Transformer-based models. By leveraging this new KD method, the plenty of knowledge encoded in a large “teacher” BERT can be effectively transferred to a small “student” TinyBERT. Then, we introduce a new two-stage lea…
Papers that cite it
-
On-Policy Distillation of Language Models: Learning from Self-Generated MistakesRishabh Agarwal, Nino Vieillard, Yongchao Zhou et al. · 2023 · International Conference on Learning Representations · cited 1,267 times · Not summarized yet
GKD trains students on self-generated outputs with teacher feedback to address distribution mismatch, extending the LLM distillation line that includes MiniLLM.
Abstract
Knowledge distillation (KD) is widely used for compressing a teacher model to reduce its inference cost and memory footprint, by training a smaller student model. However, current KD methods for auto-regressive sequence models suffer from distribution mismatch between output sequences seen during training and those generated by the student during inference. To address this issue, we introduce Generalized Knowledge Distillation (GKD). Instead of solely relying on a fixed set of output sequences, GKD trains the student on its self-generated output sequences by leveraging feedback from the teacher on such sequences. Unlike supervised KD approaches, GKD also offers the flexibility to employ alte…
-
Rethinking Large Language Model Distillation: A Constrained Markov Decision Process PerspectiveMatthieu Zimmer, Xiao-Tong Ji, Tu Nguyen et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet
This work casts LLM distillation as constrained reinforcement learning with task rewards and teacher-divergence limits, citing MiniLLM as prior distillation research.
Abstract
We introduce a novel approach to large language model (LLM) distillation by formulating it as a constrained reinforcement learning problem. While recent work has begun exploring the integration of task-specific rewards into distillation processes, existing methods typically rely on ad-hoc reward weighting. We propose a principled optimization framework that maximizes task-specific rewards while constraining the divergence from the teacher model to remain below a specified threshold. Our approach adapts constrained state augmented reinforcement learning to the distillation setting, introducing a modified reward function that maintains theoretical guarantees of constraint satisfaction without …
-
LLAVADI: What Matters For Multimodal Large Language Models DistillationShilin Xu, Xiang-Tai Li, Haobo Yuan et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 29 times · Not summarized yet
LLAVADI studies training strategies and model choices for distilling multimodal LLMs, applying knowledge distillation to a multimodal object rather than MiniLLM's generative LLMs.
Abstract
The recent surge in Multimodal Large Language Models (MLLMs) has showcased their remarkable potential for achieving generalized intelligence by integrating visual understanding into Large Language Models.Nevertheless, the sheer model size of MLLMs leads to substantial memory and computational demands that hinder their widespread deployment. In this work, we do not propose a new efficient model structure or train small-scale MLLMs from scratch. Instead, we focus on what matters for training small-scale MLLMs through knowledge distillation, which is the first step from the multimodal distillation perspective. Our extensive studies involve training strategies, model choices, and distillation al…
-
Towards the Law of Capacity Gap in Distilling Language ModelsChen Zhang, Dawei Song, Zheyu Ye et al. · 2023 · Computation and Language · cited 61 times · AI summary available
This work studies how teacher-student capacity gaps affect language-model distillation, a scaling concern adjacent to MiniLLM's LLM compression method.
Abstract
Language model (LM) distillation is a trending area that aims to distil the knowledge resided in a large teacher LM to a small student one. While various methods have been proposed to push the distillation to its limits, it is still a pain distilling LMs when a large capacity gap is exhibited between the teacher and the student LMs. The pain is mainly resulted by the curse of capacity gap, which describes that a larger teacher LM cannot always lead to a better student LM than one distilled from a smaller teacher LM due to the affect of capacity gap increment. That is, there is likely an optimal point yielding the best student LM along the scaling course of the teacher LM. Even worse, the cur…
-
Knowledge Fusion of Large Language ModelsFanqi Wan, Xinting Huang, Deng Cai et al. · 2024 · Computation and Language · cited 151 times · AI summary available
Knowledge Fusion transfers capabilities from several pretrained LLMs into one model using their generative distributions, rather than compressing a teacher into a smaller student.
Abstract
While training large language models (LLMs) from scratch can generate models with distinct functionalities and strengths, it comes at significant costs and may result in redundant capabilities. Alternatively, a cost-effective and compelling approach is to merge existing pre-trained LLMs into a more potent model. However, due to the varying architectures of these LLMs, directly blending their weights is impractical. In this paper, we introduce the notion of knowledge fusion for LLMs, aimed at combining the capabilities of existing LLMs and transferring them into a single LLM. By leveraging the generative distributions of source LLMs, we externalize their collective knowledge and unique streng…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 5 November 2026.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.