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

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

Abstract

We analyze identifiability as a possible explanation for the ubiquity of linear properties across language models, such as the vector difference between the representations of “easy” and “easiest” being parallel to that between “lucky” and “luckiest”. For this, we ask whether finding a linear property in one model implies that any model that induces the same distribution has that property, too. To answer that, we first prove an identifiability result to characterize distribution-equivalent next-token predictors, lifting a diversity requirement of previous results. Second, based on a refinement of relational linearity, we show how many notions of linearity are amenable to our analysis. Finally, we show that under suitable conditions, these linear properties either hold in all or none distribution equivalent next-token predictors.

Introduction

For over a decade, researchers have observed that the internal representations of language models exhibit surprising linear structures. This is evident in word analogies (e.g., "king - man + woman = queen"), linear probing for fact extraction, and model steering. However, the origin of this ubiquity remains a mystery. Since different models with varying architectures can produce nearly identical next-token distributions, does this shared performance imply a shared internal linear structure? This paper uses the concept of identifiability to investigate whether a model's output distribution uniquely determines its internal linear properties.

Theoretical Framework

The authors develop a formal framework to analyze "distribution-equivalent" next-token predictors through three primary steps:

  1. Generalizing Identifiability: They extend previous results to show that models producing the same output distribution are "extended-linearly equivalent" ($\sim_{EL}$). This proof is robust even when models have different internal dimensions or do not fully occupy their vector space.
  2. Effective Complexity: They define a subspace ($\mathcal{M}$) where embeddings and unembeddings interact. This "effective" part of the representation is what truly drives the model's output.
  3. Relational Linearity: By unifying definitions for various types of linearity (analogies, probing, steering), they can treat diverse geometric operations under a single mathematical umbrella.
Mapping between models of different dimensions through effective subspaces.

The "All or None" Principle

The core finding of this work is the "All or None" principle (Theorem 14). It posits that if a linear property holds within the "effective" subspace of one model, it must hold for all equivalent models. This suggests that the linearity observed in Large Language Models (LLMs) may be a fundamental requirement of the probability distribution of human language itself, rather than a mere artifact of specific training regimes.

Key Results

  • Theorem 5 (Identifiability): Establishes a one-to-one correspondence between a model's output distribution and its equivalence class of internal representations, lifting previous constraints in the field.
  • Theorem 14 (Shared Linearity): Defines the conditions under which relational linearity is an identifiable property. If the effective parts of the model are involved, the property is "All or None."
Visualization of model equivalence and the 'All or None' principle for linear properties.

The research also clarifies why simple vector parallelism is often elusive. Parallelism is preserved only within specific subspaces, explaining why techniques like Principal Component Analysis (PCA) are often necessary to uncover these structures in high-dimensional space.

Limitations and Future Directions

While providing a strong theoretical foundation, the study notes several limitations:

  • Global Maximizer Assumption: The proofs assume models have perfectly learned the data distribution, which may not hold for under-trained or over-fitted models.
  • Inductive Biases: The role of specific architectures (e.g., Transformers) in pushing models toward linearity beyond distributional requirements remains to be explored.
  • Vocabulary and Emergence: Future work is needed to extend the theory to models with different tokenizers and to investigate why these linear properties emerge from natural language data in the first place.

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