DistiLLM: Towards Streamlined Distillation for Large Language Models

Jongwoo Ko, Sungnyun Kim, Tianyi Chen, SeYoung Yun
2/12/2026

No official code found. Best implementation: jongwooko/distillm (259 stars, last commit 2025-03-13).

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, where we unveil and leverage its theoretical properties, and (2) an adaptive off-policy approach designed to enhance the efficiency in utilizing student-generated outputs. Extensive experiments, including instruction-following tasks, demonstrate the effectiveness of DistiLLM in building high-performing student models while achieving up to 4.3$\times$ speedup compared to recent KD methods.

View on arXivView PDF

Code Implementations(1)

jongwooko/distillmCommunity100%

Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)

25928Shell, PythonFeb 6, 20241 years ago

Similar Papers

Cite this paper

@article{ko2026distillm,
  title  = {DistiLLM: Towards Streamlined Distillation for Large Language Models},
  author = {Jongwoo Ko and Sungnyun Kim and Tianyi Chen and SeYoung Yun},
  year   = {2026},
  eprint = {2402.03898},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.03898},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.03898.svg)](https://codeofpaper.com/paper/2402.03898)

Discussion