Sequences of Logits Reveal the Low Rank Structure of Language Models
Noah Golowich, Allen Liu, Abhishek Shetty
TL;DR
The paper investigates the intrinsic low-rank structure of language models by analyzing the extended logit matrix, which encodes log-probabilities across histories and futures. Empirically, the authors show that this matrix is well-approximated by a low-rank representation across diverse models and datasets, with a power-law decay of singular values and a rank that remains manageable as the horizon grows. They exploit this structure to develop Lingen, a linear-generation method that can sample continuations from a target prompt using logits from unrelated prompts, and they construct a time-varying ISAN as a simple, provably equivalent generative model for low-rank logit behavior, with learning guarantees via logit queries. The work bridges empirical observations with theory, suggesting broad implications for efficiency, interpretability, and safety, and pointing to future directions in training dynamics, model-stealing risks, and robust defense strategies.
Abstract
A major problem in the study of large language models is to understand their inherent low-dimensional structure. We introduce an approach to study the low-dimensional structure of language models at a model-agnostic level: as sequential probabilistic models. We first empirically demonstrate that a wide range of modern language models exhibit low-rank structure: in particular, matrices built from the model's logits for varying sets of prompts and responses have low approximate rank. We then show that this low-rank structure can be leveraged for generation -- in particular, we can generate a response to a target prompt using a linear combination of the model's outputs on unrelated, or even nonsensical prompts. On the theoretical front, we observe that studying the approximate rank of language models in the sense discussed above yields a simple universal abstraction whose theoretical predictions parallel our experiments. We then analyze the representation power of the abstraction and give provable learning guarantees.
