The geometry of hidden representations of large transformer models
Not on the map. Why?
Abstract (arXiv)
Large transformers are powerful architectures used for self-supervised data analysis across various data types, including protein sequences, images, and text. In these models, the semantic structure of the dataset emerges from a sequence of transformations between one representation and the next. We characterize the geometric and statistical properties of these representations and how they change as we move through the layers. By analyzing the intrinsic dimension (ID) and neighbor composition, we find that the representations evolve similarly in transformers trained on protein language tasks and image reconstruction tasks. In the first layers, the data manifold expands, becoming high-dimensional, and then contracts significantly in the intermediate layers. In the last part of the model, the ID remains approximately constant or forms a second shallow peak. We show that the semantic information of the dataset is better expressed at the end of the first peak, and this phenomenon can be observed across many models trained on diverse datasets. Based on our findings, we point out an explicit strategy to identify, without supervision, the layers that maximize semantic content: representations at intermediate layers corresponding to a relative minimum of the ID profile are more suitable for downstream learning tasks.
Key facts. Cited by 108 papers in the map (data through 7 Oct 2026). Builds on 21 of its 53 references that are in the map. First posted on arXiv 1 Feb 2023.
Builds on
21 of 53 references.
References · 21
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
- 2019Intrinsic dimension of data representations in deep neural networkscited by 276
9 more
- 2018Estimating the intrinsic dimension of datasets by a minimal neighborhood informationcited by 246
- 2020ProtTrans: Towards Cracking the Language of Life's Code Through Self-Supervised Deep Learning and High Performance Computingcited by 162
- 2018Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging Taskscited by 56
- 2019ProteinNet: a standardized data set for machine learning of protein structurecited by 39
- 2020Emergence of Separable Manifolds in Deep Language Representationscited by 39
- 2018Deep RNNs Encode Soft Hierarchical Syntaxcited by 34
- 2020Hierarchical nucleation in deep neural networkscited by 31
- 2020What is a meaningful representation of protein sequences?cited by 22
- 2022DADApy: Distance-based Analysis of DAta-manifolds in Pythoncited by 22
Built on by
Citing papers per year: 2023: 3; 2024: 29; 2025: 28; 2026: 48.
108 papers.
Sort:
By area:
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 293
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 151
- 2023Intrinsic Dimension Estimation for Robust Detection of AI-Generated Textscited by 111
- 2025EQ-VAE: Equivariance Regularized Latent Space for Improved Generative Image Modelingcited by 85
- 2024Emergence of a High-Dimensional Abstraction Phase in Language Transformerscited by 56
- 2024Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengthscited by 44
- 2024A Geometric View of Data Complexity: Efficient Local Intrinsic Dimension Estimation with Diffusion Modelscited by 41
- 2025Shared Global and Local Geometry of Language Model Embeddingscited by 34
- 2023Large language models implicitly learn to straighten neural sentence trajectories to construct a predictive representation of natural languagecited by 32
- 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
- 2024Residual Stream Analysis with Multi-Layer SAEscited by 18
- 2025Latent Thinking Optimization: Your Latent Reasoning Language Model Secretly Encodes Reward Signals in Its Latent Thoughtscited by 18
38 more
- 2025The Intrinsic Dimension of Prompts in Internal Representations of Large Language Modelscited by 17
- 2024The representation landscape of few-shot learning and fine-tuning in large language modelscited by 14
- 2024Geometric Signatures of Compositionality Across a Language Model's Lifetimecited by 14
- 2025Large Language Models Encode Semantics and Alignment in Linearly Separable Representationscited by 14
- 2024Pareto Low-Rank Adapters: Efficient Multi-Task Learning with Preferencescited by 13
- 2024Evidence from fMRI Supports a Two-Phase Abstraction Process in Language Modelscited by 13
- 2024Persistent Topological Features in Large Language Modelscited by 11
- 2025Geometry of Decision Making in Language Modelscited by 8
- 2023On convex decision regions in deep network representationscited by 7
- 2025A quantitative analysis of semantic information in deep representations of text and imagescited by 7
- 2026The Truthfulness Spectrum Hypothesiscited by 7
- 2025Unlocking Pretrained Vision Transformers for Time Series Classificationcited by 6
- 2025On the Predictive Power of Representation Dispersion in Language Modelscited by 6
- 2024Structured Unrestricted-Rank Matrices for Parameter Efficient Fine-tuningcited by 5
- 2024Lines of Thought in Large Language Modelscited by 5
- 2024Analyzing Deep Transformer Models for Time Series Forecasting via Manifold Learningcited by 5
- 2024Lightweight Safety Classification Using Pruned Language Modelscited by 5
- 2026Latent Semantic Manifolds in Large Language Modelscited by 5
- 2024Intrinsic Dimension Correlation: uncovering nonlinear connections in multimodal representationscited by 4
- 2024ResiDual Transformer Alignment with Spectral Decompositioncited by 4
- 2024The Narrow Gate: Localized Image-Text Communication in Native Multimodal Modelscited by 4
- 2025ProtFlow: Fast Protein Sequence Design via Flow Matching on Compressed Protein Language Model Embeddingscited by 4
- 2025Superior Molecular Representations from Intermediate Encoder Layerscited by 4
- 2025Exploratory Causal Inference in SAEncecited by 4
- 2026Bi-Orthogonal Factor Decomposition for Vision Transformerscited by 4
- 2026Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Interventioncited by 4
- 2024Scale adaptive and robust intrinsic dimension estimation via optimal neighbourhood identificationcited by 3
- 2025Prediction hubs are context-informed frequent tokens in LLMscited by 3
- 2025LF2AR: Accounting for Layerwise Dynamics to Improve Multimodal Adaptation of Language Modelscited by 3
- 2025Bridging the Dimensional Chasm: Uncover Layer-wise Dimensional Reduction in Transformers through Token Correlationcited by 3
- 2025TRACE for Tracking the Emergence of Semantic Representations in Transformerscited by 3
- 2025On Entity Identification in Language Modelscited by 3
- 2026Tracing the complexity profiles of different linguistic phenomena through the intrinsic dimension of LLM representationscited by 3
- 2024A Manifold Representation of the Key in Vision Transformerscited by 2
- 2024Balanced Data, Imbalanced Spectra: Unveiling Class Disparities with Spectral Imbalancecited by 2
- 2024Local Topology Measures of Contextual Language Model Latent Spaces With Applications to Dialogue Term Extractioncited by 2
- 2024Unsupervised detection of semantic correlations in big datacited by 2
- 2024Topological Data Analysis Applications in Natural Language Processing: A Surveycited by 2
50 most cited of 108 All 108 (JSON)
- 2026The Geometry of Inference in Transformer Residual Streams29 Sep 2026
- 2026Predictive Geometry of Hidden Trajectories in Transformers29 Sep 2026
- 2026Virtual Encoders in Multimodal Transformers22 Sep 2026
- 2026Artificial Structure Function Search: Preserving Artificial Functional Connectivity for Structured Pruning21 Sep 2026
- 2026A Hyperbolicity Atlas of Large Language Model Hidden States7 Sep 2026
- 2026A Hub of Short Rows Inflates Intrinsic Dimension Estimation of Token Embeddings30 Aug 2026
- 2026Interpreting Latent Protein Language Model Features with Geometric Annotations26 Aug 2026
- 2026Seeing Before Answering: Training-Free Visual Layer Profiling for Vision-Language Models17 Aug 2026
- 2026What Makes a Good Layer? Assessing the Layer-Wise Intrinsic Properties of Music Foundation Models14 Aug 2026
- 2026Local and Global Regimes of Geometric Complexity in Language Model Representations14 Aug 2026
- 2026Function Lives Where Variance Doesn't: Task-Weighted Charts of a Language Model's Computation12 Aug 2026
- 2026Task- and dataset-specific information in protein language models12 Aug 2026
38 more
- 2026HUGIN: Enhancing Vision-Language Planning for Autonomous Logistics Sorting12 Aug 2026
- 2026Transformer Geometry Observatory TGO-IV: Developmental Topology Observatory7 Aug 2026
- 2026Relation Geometry in Semantic Space of Language Models29 Jul 2026
- 2026When and Why Do Linear Bias Probes Fail? A Geometric and Statistical Theory of Bias Detectability in Large Language Model Representations21 Jul 2026
- 2026Texture Representations in Deep Vision Models: Comparing CNNs, Vision Transformers, and Human Perception9 Jul 2026
- 2026Riemannian Geometry for Pre-trained Language Model Embeddings8 Jul 2026
- 2026Gen4U: Unifying Video Generation and Understanding via Diffusion7 Jul 2026
- 2026A Geometric Perspective on Composable Emotion Steering in Text-to-Speech Models1 Jul 2026
- 2026Where Do Models Find Happiness? Emotion Vectors in Open-Source LLMs25 Jun 2026
- 2026Visual Instruction Tuning Aligns Modalities through Abstraction2 Jun 2026
- 2026IdEst: Assessing Self-Supervised Learning Representations via Intrinsic Dimension2 Jun 2026
- 2026The Crowded Embedding Space: A Mean-Field Mechanism for Emergent Marginalization in Retrieval-Augmented Agents1 Jun 2026
- 2026On the Persistent Effects of Lexicality in Large Language Models1 Jun 2026
- 2026What Makes Linguistic Representations Good Models of High-Level Visual Perception in the Human Brain?22 May 2026
- 2026Optimal Representation Size: High-Dimensional Analysis of Pretraining and Linear Probing19 May 2026
- 2026Scale Determines Whether Language Models Organize Representation Geometry for Prediction16 May 2026
- 2026Layer-wise Representation Dynamics: An Empirical Investigation Across Embedders and Base LLMs12 May 2026
- 2026The Geometric Wall: Manifold Structure Predicts Layerwise Sparse Autoencoder Scaling Laws11 May 2026
- 2026ProteinJEPA: Latent prediction improves protein language model pretraining8 May 2026
- 2026Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Intervention7 May 2026
- 2026Gated Subspace Inference for Transformer Acceleration4 May 2026
- 2026Rethinking Intrinsic Dimension Estimation in Neural Representations22 Apr 2026
- 2026RDP LoRA: Geometry-Driven Identification for Parameter-Efficient Adaptation in Large Language Models21 Apr 2026
- 2026A High-Resolution Landscape Dataset for Concept-Based XAI With Application to Species Distribution Models14 Apr 2026
- 2026Pseudo-Unification: Entropy Probing Reveals Divergent Information Patterns in Unified Multimodal Models13 Apr 2026
- 2026Stratifying Reinforcement Learning with Signal Temporal Logic6 Apr 2026
- 2026Latent Semantic Manifolds in Large Language Models17 Mar 2026
- 2026Disentangling Geometry, Performance, and Training in Language Models24 Feb 2026
- 2026The Truthfulness Spectrum Hypothesis23 Feb 2026
- 2026The Confusion is Real: GRAPHIC -- A Network Science Approach to Confusion Matrices in Deep Learning23 Feb 2026
- 2026Characterizing Human Semantic Navigation in Concept Production as Trajectories in Embedding Space5 Feb 2026
- 2026Abstraction Induces the Brain Alignment of Language and Speech Models3 Feb 2026
- 2026Repurposing Protein Language Models for Latent Flow-Based Fitness Optimization2 Feb 2026
- 2026Trust in One Round: Confidence Estimation for Large Language Models via Structural Signals1 Feb 2026
- 2026Bi-Orthogonal Factor Decomposition for Vision Transformers8 Jan 2026
- 2026Tracing the complexity profiles of different linguistic phenomena through the intrinsic dimension of LLM representations7 Jan 2026
- 2025Freeze, Diffuse, Decode: Task-Aware Adaptation of Transformer Embeddings for Antimicrobial Peptide Design28 Nov 2025
- 2025Geometry of Decision Making in Language Models25 Nov 2025
50 newest of 108 All 108 (JSON)
- 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
- 2025Latent Thinking Optimization: Your Latent Reasoning Language Model Secretly Encodes Reward Signals in Its Latent Thoughtscited by 18
- 2024Lines of Thought in Large Language Modelscited by 5
- 2026Pseudo-Unification: Entropy Probing Reveals Divergent Information Patterns in Unified Multimodal Modelscited by 1
- 2026Pseudo-Unification: Entropy Probing Reveals Divergent Information Patterns in Unified Multimodal Models13 Apr 2026
- 2025The Geometry of Reasoning: Flowing Logics in Representation Space10 Oct 2025
- 2025Latent Thinking Optimization: Your Latent Reasoning Language Model Secretly Encodes Reward Signals in Its Latent Thoughts30 Sep 2025
- 2024Lines of Thought in Large Language Models2 Oct 2024
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 293
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 151
- 2023Intrinsic Dimension Estimation for Robust Detection of AI-Generated Textscited by 111
- 2025EQ-VAE: Equivariance Regularized Latent Space for Improved Generative Image Modelingcited by 85
- 2024Emergence of a High-Dimensional Abstraction Phase in Language Transformerscited by 56
- 2024Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengthscited by 44
- 2025Shared Global and Local Geometry of Language Model Embeddingscited by 34
- 2023Large language models implicitly learn to straighten neural sentence trajectories to construct a predictive representation of natural languagecited by 32
- 2024Residual Stream Analysis with Multi-Layer SAEscited by 18
- 2025The Intrinsic Dimension of Prompts in Internal Representations of Large Language Modelscited by 17
- 2024The representation landscape of few-shot learning and fine-tuning in large language modelscited by 14
- 2024Geometric Signatures of Compositionality Across a Language Model's Lifetimecited by 14
12 most cited of 97 All 97 (JSON)
- 2026The Geometry of Inference in Transformer Residual Streams29 Sep 2026
- 2026Predictive Geometry of Hidden Trajectories in Transformers29 Sep 2026
- 2026Artificial Structure Function Search: Preserving Artificial Functional Connectivity for Structured Pruning21 Sep 2026
- 2026A Hyperbolicity Atlas of Large Language Model Hidden States7 Sep 2026
- 2026A Hub of Short Rows Inflates Intrinsic Dimension Estimation of Token Embeddings30 Aug 2026
- 2026Interpreting Latent Protein Language Model Features with Geometric Annotations26 Aug 2026
- 2026What Makes a Good Layer? Assessing the Layer-Wise Intrinsic Properties of Music Foundation Models14 Aug 2026
- 2026Local and Global Regimes of Geometric Complexity in Language Model Representations14 Aug 2026
- 2026Function Lives Where Variance Doesn't: Task-Weighted Charts of a Language Model's Computation12 Aug 2026
- 2026Task- and dataset-specific information in protein language models12 Aug 2026
- 2026HUGIN: Enhancing Vision-Language Planning for Autonomous Logistics Sorting12 Aug 2026
- 2026Transformer Geometry Observatory TGO-IV: Developmental Topology Observatory7 Aug 2026
12 newest of 97 All 97 (JSON)