mlsanityData to 14 Oct 2026

Efficient Knowledge Distillation for LLMs: Offline Top-K Logits and a Fused Chunked KL Loss

arXiv 2608.03796 ↗First posted 4 Aug 2026cs.CL cs.AI cs.LGcited by 2

On the map: Knowledge distillation → Knowledge distillation for LLMs

Abstract (arXiv)

Small language models are often the only option for deployment under tight latency, cost, and on-premises constraints, but they are rarely trained from scratch: a compressed model is usually recovered through knowledge distillation (KD). This recovery step largely decides the final quality, yet it is expensive. We present a practitioner's study of how to make distillation training efficient, organised around two systems contributions. First, we show that offline KD (caching the teacher's top-K logits once and training the student against the cache) matches online distillation at near-identical training loss while removing the teacher from memory, running about 29% faster per iteration, and reaching up to 41% higher throughput on a single H200 GPU. Second, we introduce a fused, chunked KL loss that never materialises the full vocabulary-sized logit tensor, making peak memory linear in the sequence length. This removes the memory spike that otherwise caps context length and lets us train at four times the context (32,768 tokens) on a single GPU. A separate output-head-only toy benchmark isolates the loss kernel and confirms its memory and iteration-rate scaling from 4K to 256K tokens. Together these make large-scale healing and hundreds of ablations affordable. We also report supporting ablations on loss design and sequence packing. We release our chunked-loss implementation: https://github.com/CompactifAI/Full-Chunked-KL-Loss.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 15 of its 18 references that are in the map. First posted on arXiv 4 Aug 2026.

Builds on

15 of 18 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Compact Language Models via Pruning and Knowledge Distillation19 Jul

Other references · 14

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  5. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  6. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  7. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  8. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  9. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  10. 2024How to Train Long-Context Language Models (Effectively)cited by 146
  11. 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 130
  12. 2024HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughlycited by 125
2 more
  1. 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 40
  2. 2023A Comparative Analysis of Task-Agnostic Distillation Methods for Compressing Transformer Language Modelscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Towards Cross-Tokenizer Distillation: the Universal Logit Distillation Loss for LLMs
  2. 2024DistiLLM: Towards Streamlined Distillation for Large Language Models
  3. 2026KDFlow: A User-Friendly and Efficient Knowledge Distillation Framework for Large Language Models
  4. 2024Dynamic Self-Distillation via Previous Mini-batches for Fine-tuning Small Language Models
  5. 2025Sparse Logit Sampling: Accelerating Knowledge Distillation in LLMs
  6. 2023Knowledge Distillation for Efficient Sequences of Training Runs
  7. 2026KDFP: A first-principles approach to knowledge distillation in large language models
  8. 2024Pre-training Distillation for Large Language Models: A Design Space Exploration