cs.LGApr 2, 2026

On the Geometric Structure of Layer Updates in Deep Language Models

Authors: Jun-Sik Yoo

Organizations: Institute of Basic Science, Korea University, 145 Anam-ro, Seoul, South Korea 02841.

Abstract

We study the geometric structure of layer updates in deep language models. Rather than analyzing what information is encoded in intermediate representations, we ask how representations change from one layer to the next. We show that layerwise updates admit a decomposition into a dominant tokenwise component and a residual that is not captured by restricted tokenwise function classes. Across multiple architectures, including Transformers and state-space models, we find that the full layer update is almost perfectly aligned with the tokenwise component, while the residual exhibits substantially weaker alignment, larger angular deviation, and significantly lower projection onto the dominant tokenwise subspace. This indicates that the residual is not merely a small correction, but a geometrically distinct component of the transformation. This geometric separation has functional consequences: approximation error under the restricted tokenwise model is strongly associated with output perturbation, with Spearman correlations often exceeding 0.7 and reaching up to 0.95 in larger models. Together, these results suggest that most layerwise updates behave like structured reparameterizations along a dominant direction, while functionally significant computation is concentrated in a geometrically distinct residual component. Our framework provides a simple, architecture-agnostic method for probing the geometric and functional structure of layer updates in modern language models.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. LLM Layers Immediately Correct Each Other

    Sep 7, 2026Arjun Patrawala, Jiahai Feng, Erik Jones +1Transformer InterpretabilityRepresentation Geometry in Language Models

  2. A Geometric Perspective on Next-Token Prediction in Large Language Models: Three Emerging Phases

    May 9, 2026Gianfranco Lombardo, Giuseppe Trimigno, Stefano CagnoniNeural Representation GeometryLLM Interpretability

  3. Dynamics of the Transformer Residual Stream: Coupling Spectral Geometry to Network Topology

    May 14, 2026Jesseba Fernando, Grigori GuitchountsDynamical SystemsTransformer