Dynamic Self-Distillation via Previous Mini-batches for Fine-tuning Small Language Models
On the map: Knowledge distillation → Knowledge distillation for LLMs
Abstract (arXiv)
Knowledge distillation (KD) has become a widely adopted approach for compressing large language models (LLMs) to reduce computational costs and memory footprints. However, the availability of complex teacher models is a prerequisite for running most KD pipelines. Thus, the traditional KD procedure can be unachievable or budget-unfriendly, particularly when relying on commercial LLMs like GPT4. In this regard, Self-distillation (SelfD) emerges as an advisable alternative, enabling student models to learn without teachers' guidance. Nonetheless, existing SelfD approaches for LMs often involve architectural modifications, assuming the models are open-source, which may not always be practical. In this work, we introduce a model-agnostic and task-agnostic method named dynamic SelfD from the previous minibatch (DynSDPB), which realizes current iterations' distillation from the last ones' generated logits. Additionally, to address prediction inaccuracies during the early iterations, we dynamically adjust the distillation influence and temperature values to enhance the adaptability of fine-tuning. Furthermore, DynSDPB is a novel fine-tuning policy that facilitates the seamless integration of existing self-correction and self-training techniques for small language models (SLMs) because they all require updating SLMs' parameters. We demonstrate the superior performance of DynSDPB on both encoder-only LMs (e.g., BERT model families) and decoder-only LMs (e.g., LLaMA model families), validating its effectiveness across natural language understanding (NLU) and natural language generation (NLG) benchmarks.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 85 of its 109 references that are in the map. First posted on arXiv 25 Nov 2024.
Builds on
85 of 109 references.
Closest ancestors · 13
Same direction, newest first
- 2024DistiLLM: Towards Streamlined Distillation for Large Language Models6 Feb
- 2023MCC-KD: Multi-CoT Consistent Knowledge Distillation23 Oct
- 2023Symbolic Chain-of-Thought Distillation: Small Models Can Also "Think" Step-by-Step24 Jun
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes23 Jun
- 2023A Study on Knowledge Distillation from Weak Teacher for Scaling Up Pre-trained Language Models26 May
- 2023AD-KD: Attribution-Driven Knowledge Distillation for Language Model Compression17 May
- 2023SCOTT: Self-Consistent Chain-of-Thought Distillation3 May
- 2023HomoDistil: Homotopic Task-Agnostic Distillation of Pre-trained Transformers19 Feb
- 2023Improved Knowledge Distillation for Pre-trained Language Models via Knowledge Selection1 Feb
- 2022Distilling Reasoning Capabilities into Smaller Language Models1 Dec
- 2022Gradient Knowledge Distillation for Pre-trained Language Models2 Nov
- 2021Distilling Linguistic Context for Language Model Compression17 Sep
1 more
Other references · 72
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
38 more
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2023A Survey of Large Language Modelscited by 2,576
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,254
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
- 2023Bias and Fairness in Large Language Models: A Surveycited by 639
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
- 2018Born Again Neural Networkscited by 546
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
- 2023Reinforced Self-Training (ReST) for Language Modelingcited by 500
- 2019Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self Distillationcited by 497
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
- 2019Multi-Task Deep Neural Networks for Natural Language Understandingcited by 350
- 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 349
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
- 2022Large Language Models Are Reasoning Teacherscited by 329
- 2022Teaching Small Language Models to Reasoncited by 284
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
- 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 251
- 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 245
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
- 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 153
- 2020Regularizing Class-wise Predictions via Self-knowledge Distillationcited by 144
- 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 126
- 2017Natural Language Processing: State of The Art, Current Trends and Challengescited by 114
50 most cited of 72 All 72 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Efficient Knowledge Distillation for LLMs: Offline Top-K Logits and a Fused Chunked KL Loss
- 2026SelFusion: Self-distillation for Diffusion Language Models
- 2023MiniLLM: On-Policy Distillation of Large Language Models
- 2024A Survey on Knowledge Distillation of Large Language Models
- 2024Towards Cross-Tokenizer Distillation: the Universal Logit Distillation Loss for LLMs
- 2025Knowledge Distillation and Dataset Distillation of Large Language Models: Emerging Trends, Challenges, and Future Directions
- 2024Self-Evolution Knowledge Distillation for LLM-based Machine Translation
- 2024Pre-training Distillation for Large Language Models: A Design Space Exploration