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:
- 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.
- 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.
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.
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