Skip to content

The Gradient That Top-k Distillation Never Computes

Oct 2026 · 1 citation · 38 references
Computer Science

TL;DR

It is proved that it removes the visibility of tail mass, not the freedom to move it, in the top-k distillation pipeline: keep the top-k probabilities, renormalize, and minimize a divergence on what remains.

Abstract

Many deployed distillation pipelines show the student a truncated view of the teacher: keep the top-k probabilities, renormalize, and minimize a divergence on what remains. Renormalization is assumed to account for the missing mass. We prove that it removes the visibility of tail mass, not the freedom to move it. The renormalized objective depends only on log-odds among the retained tokens, so at each position its gradient along the directions that control tail mass is exactly zero; on a real teacher that component measures $2$-$3\times10^{-15}$ of the gradient. The full-vocabulary gradient equals the truncated gradient plus a residual weighted by the tail masses, and training acts only on the first term. Without the cross-entropy term, a top-k student's tail mass drifts away from the teacher's while a full-vocabulary control moves slightly toward it; with it, the gap shrinks about fourfold but persists. On seven open-weight teachers, the retained set determines the teacher's distribution only from $k=d+1$ ($d$ the hidden dimension): recovery is exact from there on all seven, and commonly cached sizes sit below it. In our off-policy runs the practical effect is real but smaller than the choice of teacher-student pair. Renormalization is a normalization, not a safeguard. The code is available at https://github.com/KurbanIntelligenceLab/top-k-distillation.

View source

Similar papers

ReTaCo: Residual-Target Control for On-Policy Distillation

On-policy distillation (OPD) trains a student on its own generated prefixes with token-level teacher feedback, but transmitting or storing the teacher's full-vocabulary distribution at every token is costly. Entropy-aware OPD (EOPD) adds forward supervision to reverse KL to help the student recover plausible tokens it...

Zi-Xiang Ni, Zhuo-Lun Hu, Ren-Jie Cao et al. · 0 citations
Preprint Oct 2026

On Learning Expand-and-Sparsify Representations

This work sweeps OpenML classification tasks and regression tasks under a protocol that holds the datasets, expanded dimensions, sparsity levels and splits fixed across every method, and summarises each comparison by a median over datasets and a Wilcoxon signed rank test.

Alireza Asghari, P. Ram, K. Sinha · 0 citations
#machine learning Preprint Sep 2026

Why Adaptive Optimizers Underestimate Rare Tokens

In the softmax output layer, a rare token receives a small positive logit gradient on most steps and a much larger negative gradient on the few steps when it is the target. SGD simply adds these contributions. Coordinate-wise adaptive methods such as Adam, RMSProp, and sign descent instead divide each update by a runni...

Sangsidhya Kar · 0 citations
#machine learning Preprint Oct 2026

Divergence controls entropy in distillation

Distillation has become a core primitive of large language model training, but its properties are not yet well understood. We take an entropic perspective, studying how the entropy of the student depends on the data and the divergence that define the distillation objective. We prove that forward KL inflates the entropy...

Nicolas Zucchet, Scott W. Linderman · 0 citations
#machine learning Preprint Oct 2026

Underscoring the Problem: Why Softpick Fails at Initialization

Softmax attention gives every token a nonzero weight, which in trained models concentrates into attention sinks and massive activations that widen the dynamic range low-precision inference must cover. Softpick removes this constraint by rectifying scores, eliminating sinks and lowering hidden-state kurtosis, but its ad...

Aryan Sood, Jaikaran Singh, Ishaan Bansal · 0 citations
#artificial intelligence Preprint Sep 2026

Do We Really Need KL Divergence for On-Policy Distillation of Large Language Models?

Since the advent of knowledge distillation, KL divergence has been the standard loss in distillation. Recently, on-policy distillation (OPD) has emerged as an efficient post-training paradigm for LLMs. As a distillation method, OPD naturally inherits KL divergence as its standard loss. However, in this work, we find th...

Wen-Ze Lin, Ji-Yuan Long, Jia-Le Zhao et al. · 0 citations

Related blog posts

MIT News · Artificial Intelligence Dec 1, 2026

A new form of memory helps robots learn complex skills

The method uses large vision-language models to teach smaller models how to remember key details about a robot’s surroundings, making the machines more reactive and resourceful.

MIT News · Artificial Intelligence Nov 17, 2026

Learning the language of machine learning

By studying the computational foundations of language learning, Associate Professor Jacob Andreas builds intelligent systems that can communicate effectively with humans.

MIT News · Artificial Intelligence Aug 27, 2026

Looking beyond natural sequences

A new machine-learning framework aims to improve the success rate of computational protein design while moving away from results that reproduce sequences found in nature.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.