DisaggKD: Efficient Knowledge Distillation through Teacher-Student Disaggregation and a Fused Loss
cs.LG, cs.CL, cs.DC
Submitted: 2026-10-13
Updated: 2026-10-13
Code: https://github.com/NVIDIA/Model-Optimizer
License: http://creativecommons.org/licenses/by-sa/4.0/
The gist: Knowledge distillation (KD) frameworks place teacher and student on the same GPUs, so per-GPU memory limits the teachers that fit.
Terminology
Abstract
Knowledge distillation (KD) frameworks place teacher and student on the same GPUs, so per-GPU memory limits the teachers that fit. DisaggKD separates them across nodes: teacher replicas stream hidden states to the student, a KD loss over row windows and vocabulary shards equals the full-vocabulary loss in exact arithmetic without forming the full-vocabulary logits, and a prefetch ring paces producer and trainer. Closed-form memory and traffic models locate the memory limits of each layout. On the Qwen3.5-35B-A3B to 9B pair, the disaggregated layout matches the LM loss of the colocated run with the same loss and is faster than that run; our fused loss also lets a colocated run train on as few nodes at faster speed, while the split is memory efficient when the student spans several nodes. On the larger pairs, colocated runs with a fused loss still run OOM where the split trains, because teacher weights and student states fill the budget.
Sources
- Gemma 2: Improving Open Language Models at a Practical Size
- Distilling the Knowledge in a Neural Network
- Liger Kernel: Efficient Triton Kernels for LLM Training
- The Llama 3 Herd of Models
- Strong Teacher Not Needed? On Distillation in LLM Pretraining
- Online normalizer calculation for softmax
- Ministral 3
- NVIDIA Nemotron 3: Efficient and Open Intelligence
- NVIDIA Nemotron Nano 2: An Accurate and Efficient Hybrid Mamba-Transformer Reasoning Model
- Nemotron 3 Ultra: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoning
- Qwen3 Technical Report
- Efficient Knowledge Distillation for LLMs: Offline Top-K Logits and a Fused Chunked KL Loss
- Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
- Accelerating Compound LLM Training Workloads with Maestro
- KDFlow: A User-Friendly and Efficient Knowledge Distillation Framework for Large Language Models
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks