All or None: Identifiable Linear Properties of Next-token Predictors in Language Modeling

Emanuele Marconato, Sébastien Lachapelle, Sebastian Weichwald, Luigi Gresele · DOI

The ubiquity of linear structures in language models—famously exemplified by the vector analogy king - man + woman ≈ queen—has long been a cornerstone of natural language processing. Yet, why these structures emerge consistently across diverse architectures, dimensions, and training runs remains a fundamental mystery. In their paper, "All or None: Identifiable Linear Properties of Next-token Predictors in Language Modeling," Marconato et al. provide a rigorous theoretical framework to explain this phenomenon through the lens of identifiability theory.

The Problem of Identifiability

In machine learning, a model is considered "identifiable" if its internal parameters or representations can be uniquely determined from its output. Neural networks are notoriously non-identifiable; one can rotate, scale, or shift the hidden representations (the "thought space") without altering the final output distribution. This ambiguity makes it difficult to determine if an observed property, such as a "truth direction" found via linear probing, is a fundamental feature of the language task or merely a stochastic artifact of a specific model's training.

The authors address the "puzzling ubiquity" of linearity by asking a central question: Are the linear properties we observe shared across all models that predict the same next-token distribution?

A Unified Framework for Linearity

To answer this, the researchers developed a theoretical tour de force using Identifiability Theory, introducing two critical concepts:

  1. Extended Linear Equivalence ($\sim_{EL}$): Traditional comparisons often require models to share the same dimensionality. The authors relaxed these constraints by focusing on "Effective Complexity"—the idea that only the specific subspace of a representation that actually influences the model's output matters for comparison.
  2. Relational Linearity: They created a mathematical framework that unifies several popular concepts, including linear probing (separating concepts with a hyperplane), linear steering (shifting outputs by adding a constant vector), and relational mapping (modeling relations as matrix multiplications).

The "All or None" Law

The paper’s central contribution is the "All or None" Law (Theorem 14). It demonstrates that for a broad class of relational properties, if the property holds for one model that perfectly captures a specific next-token distribution, it must hold for every model that captures that same distribution (after a linear transformation).

This suggests that linearity is often an inherent property of the task (the distribution $p(y|x)$) rather than the specific model architecture. If the underlying data distribution contains certain symmetries or structures, any model that learns the distribution perfectly is mathematically "locked" into representing those structures linearly within its identifiable subspace.

Key Theoretical Results

  • Theorem 5 (Characterization): The authors establish a one-to-one correspondence between a next-token distribution and a specific equivalence class of models. This implies that the output distribution largely dictates the linear structure of the internal representations.
  • Theorem 14 (The All-or-None Law): This proves that relational linearity is a shared property. If you can linearly probe for a concept in one "perfect" model, you can do it in all of them.
  • Theorem 15 (The Exception of Vector Parallelism): Interestingly, the authors found that simple vector parallelism (the classic "king - man" analogy) is not always shared across the entire equivalence class. It holds only within specific subspaces, suggesting that the perfect analogies we see in practice may be partially driven by the inductive biases of our training algorithms (like SGD) rather than the distribution alone.

Discussion and Limitations

While this work provides a robust mathematical foundation for understanding LLM internal structures, it relies on the "perfect model" assumption—the idea that models have reached a global optimum and perfectly represent the data distribution. In reality, models are often under-trained or biased by their specific architecture (such as the Transformer's attention mechanism).

Furthermore, the paper focuses on why linearity is identifiable, but it does not fully explain why models prefer linear solutions over more complex non-linear ones. The authors acknowledge that exploring the "push" provided by inductive biases is a key next step. Finally, while the paper focuses on linear properties, the framework could potentially be extended to study non-linear manifold structures, such as the circular representations recently discovered in some large language models.

Summary updated

BibTeX
@inproceedings{marconato2025all,
  author = {Emanuele Marconato and Sébastien Lachapelle and Sebastian Weichwald and Luigi Gresele},
  title = {{All or None: Identifiable Linear Properties of Next-token Predictors in Language Modeling}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=deBU7Dbcgz},
}
Figure