Metraipolis › archive › dc_51d5d0bf66b7
Efficient Knowledge Distillation for LLMs: Offline Top-K Logits and a Fused Chunked KL Loss — arXiv:2608.03796
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.03796
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T12:19:35.524Z
- SHA-256 of the archived text
67e1715f27eb9edbc6f6359ec85f2121bbd550fa85a3e1f0d9cbed3926f0f552- Stable URL of this page
https://metraipolis.com/documento/dc_51d5d0bf66b7
How to cite
Efficient Knowledge Distillation for LLMs: Offline Top-K Logits and a Fused Chunked KL Loss — arXiv:2608.03796 — arXiv (en), https://arxiv.org/abs/2608.03796 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_51d5d0bf66b7 (Metraipolis archive dc_51d5d0bf66b7, sha256 67e1715f27eb9edbc6f6359ec85f2121bbd550fa85a3e1f0d9cbed3926f0f552)
BibTeX
@misc{dc51d5d0bf66b7,
title = {Efficient Knowledge Distillation for LLMs: Offline Top-K Logits and a Fused Chunked KL Loss — arXiv:2608.03796},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.03796},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_51d5d0bf66b7; sha256 67e1715f27eb9edbc6f6359ec85f2121bbd550fa85a3e1f0d9cbed3926f0f552},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.03796. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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 \emph{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: this https URL .
Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-05 in cs.AI).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2608.03796 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-31T12:05:53.082Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).