Emergence of a High-Dimensional Abstraction Phase in Language Transformers

Emily Cheng, Diego Doimo, Corentin Kervadec, Iuri Macocco, Jade Yu, Alessandro Laio, Marco Baroni · DOI

Introduction

Large Language Models (LLMs) are often viewed as black boxes that gradually refine information. However, recent research reveals a more complex internal geometric evolution. Instead of a linear progression, LLMs undergo a dramatic "phase transition" in their intermediate layers. This transition is characterized by a sharp peak in the intrinsic dimensionality (ID) of their representations, marking the point where the model moves from processing literal surface features to achieving linguistic abstraction.

Geometric Methodology

To uncover these internal dynamics, the researchers analyzed five major causal LMs (OPT, Llama 3, Pythia, OLMo, and Mistral) using two primary geometric tools:

  1. Intrinsic Dimension (ID) Estimation: Using the GRIDE (Generalized Ratios Intrinsic Dimension Estimator) algorithm, the authors estimated the minimum number of variables needed to describe the data manifold at each layer. Unlike linear methods like PCA, GRIDE captures the nonlinear structure of high-dimensional data.
  2. Information Imbalance ($\Delta$): This rank-based statistical measure quantifies how well the neighborhood structure of one layer's representation predicts another. It allows for comparing different layers within a model or even across different architectures.

The Expansion-then-Refinement Profile

A universal pattern emerged across all studied models: an "expansion-then-refinement" profile. As data moves through the network, the intrinsic dimension initially rises, peaking in the middle layers before compressing back down towards the final output layer.

Figure 1: Intrinsic dimensionality profiles across models, showing the universal peak in middle layers (left), the absence of this peak in shuffled text controls (middle), and its emergence over training steps (right).

This high-ID peak—typically reaching values of 30–45, despite an embedding dimension of 4096—is not a random artifact. It is entirely absent in untrained models and disappears when models are fed randomized, "shuffled" text. This confirms that the high-dimensional phase is a geometric signature of learned linguistic structure.

Functional Abstraction and the "Universal Meeting Ground"

The onset of the ID peak coincides with a significant functional shift. Probing tasks show that "surface" information (like sentence length or word identity) is discarded at this stage, while performance on "abstract" tasks (syntax and semantics) reaches a plateau.

Figure 2: Information imbalance ($\Delta$) for the OPT model. The grey line shows divergence from the first layer, while the red line shows convergence toward the final layer. The ID peak (orange) marks the point where the representation is most distinct from the input.

Interestingly, the representations at this peak act as a "universal meeting ground." The high-dimensional spaces of different models (e.g., Llama and Pythia) predict each other better than they predict their own early or late layers. This suggests that diverse architectures converge on a shared abstract representation of language during this phase.

Performance and Quality

The timing of this phase transition matters. The researchers found a significant correlation ($\rho = 0.65$) between the early onset of the ID peak and better language modeling performance (lower surprisal). Models that reach the abstraction phase earlier in their architecture tend to be more efficient and accurate.

Conclusion

The discovery of a high-dimensional abstraction phase provides a new lens for understanding LLM internals. By identifying the geometric signatures of learning, researchers can better map the functional "thought process" of Transformers. Future work may leverage these ID profiles for more efficient model pruning, stitching, or targeted fine-tuning.

Summary updated

BibTeX
@inproceedings{cheng2025emergence,
  author = {Emily Cheng and Diego Doimo and Corentin Kervadec and Iuri Macocco and Jade Yu and Alessandro Laio and Marco Baroni},
  title = {{Emergence of a High-Dimensional Abstraction Phase in Language Transformers}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=0fD3iIBhlV},
}
Figure