Logit Distance Bounds Representational Similarity
Beatrix M. G. Nielsen, Emanuele Marconato, Luigi Gresele, Andrea Dittadi, Simon Buchholz
TL;DR
The paper introduces a logit-distance framework to study representational similarity in a broad discriminative model class where internal representations are identifiable up to invertible linear transformations. It proves that small logit distance $d_{ ext{logit}}$ implies strong linear similarity (via $m_{ ext{CCA}}$) and small linear-identifiability dissimilarity $d_{ ext{rep}}$, and it derives bounds showing $d_{ ext{logit}}$ controls both embeddings and unembeddings through the unembedding matrices. While KL divergence can bound $d_{ ext{logit}}$ under strong $ au$-lower-boundedness, those bounds are often impractical, motivating logit-distance objectives for distillation. Empirically, distillation using $d_{ ext{logit}}$-based losses (including $L_1$ variants) yields substantially more linearly similar teacher-student representations and better preservation of linearly recoverable concepts than KL-based distillation, across synthetic and real datasets. The results advocate replacing KL with logit-distance objectives in settings where preserving linear interpretable structure is important, with implications for distillation and interpretability research.
Abstract
For a broad family of discriminative models that includes autoregressive language models, identifiability results imply that if two models induce the same conditional distributions, then their internal representations agree up to an invertible linear transformation. We ask whether an analogous conclusion holds approximately when the distributions are close instead of equal. Building on the observation of Nielsen et al. (2025) that closeness in KL divergence need not imply high linear representational similarity, we study a distributional distance based on logit differences and show that closeness in this distance does yield linear similarity guarantees. Specifically, we define a representational dissimilarity measure based on the models' identifiability class and prove that it is bounded by the logit distance. We further show that, when model probabilities are bounded away from zero, KL divergence upper-bounds logit distance; yet the resulting bound fails to provide nontrivial control in practice. As a consequence, KL-based distillation can match a teacher's predictions while failing to preserve linear representational properties, such as linear-probe recoverability of human-interpretable concepts. In distillation experiments on synthetic and image datasets, logit-distance distillation yields students with higher linear representational similarity and better preservation of the teacher's linearly recoverable concepts.
