mlsanityData to 7 Oct 2026

The geometry of hidden representations of large transformer models

arXiv 2302.00294 ↗First posted 1 Feb 2023cs.LG cs.AI stat.MLcited by 108

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  7. 2017Billion-scale similarity search with GPUscited by 2,477
  8. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  9. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  10. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
  11. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  12. 2019Intrinsic dimension of data representations in deep neural networkscited by 276
9 more
  1. 2018Estimating the intrinsic dimension of datasets by a minimal neighborhood informationcited by 246
  2. 2020ProtTrans: Towards Cracking the Language of Life's Code Through Self-Supervised Deep Learning and High Performance Computingcited by 162
  3. 2018Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging Taskscited by 56
  4. 2019ProteinNet: a standardized data set for machine learning of protein structurecited by 39
  5. 2020Emergence of Separable Manifolds in Deep Language Representationscited by 39
  6. 2018Deep RNNs Encode Soft Hierarchical Syntaxcited by 34
  7. 2020Hierarchical nucleation in deep neural networkscited by 31
  8. 2020What is a meaningful representation of protein sequences?cited by 22
  9. 2022DADApy: Distance-based Analysis of DAta-manifolds in Pythoncited by 22

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 29; 2025: 28; 2026: 48.

108 papers.

Sort:

By area:

  1. 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 293
  2. 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 151
  3. 2023Intrinsic Dimension Estimation for Robust Detection of AI-Generated Textscited by 111
  4. 2025EQ-VAE: Equivariance Regularized Latent Space for Improved Generative Image Modelingcited by 85
  5. 2024Emergence of a High-Dimensional Abstraction Phase in Language Transformerscited by 56
  6. 2024Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengthscited by 44
  7. 2024A Geometric View of Data Complexity: Efficient Local Intrinsic Dimension Estimation with Diffusion Modelscited by 41
  8. 2025Shared Global and Local Geometry of Language Model Embeddingscited by 34
  9. 2023Large language models implicitly learn to straighten neural sentence trajectories to construct a predictive representation of natural languagecited by 32
  10. 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
  11. 2024Residual Stream Analysis with Multi-Layer SAEscited by 18
  12. 2025Latent Thinking Optimization: Your Latent Reasoning Language Model Secretly Encodes Reward Signals in Its Latent Thoughtscited by 18
38 more
  1. 2025The Intrinsic Dimension of Prompts in Internal Representations of Large Language Modelscited by 17
  2. 2024The representation landscape of few-shot learning and fine-tuning in large language modelscited by 14
  3. 2024Geometric Signatures of Compositionality Across a Language Model's Lifetimecited by 14
  4. 2025Large Language Models Encode Semantics and Alignment in Linearly Separable Representationscited by 14
  5. 2024Pareto Low-Rank Adapters: Efficient Multi-Task Learning with Preferencescited by 13
  6. 2024Evidence from fMRI Supports a Two-Phase Abstraction Process in Language Modelscited by 13
  7. 2024Persistent Topological Features in Large Language Modelscited by 11
  8. 2025Geometry of Decision Making in Language Modelscited by 8
  9. 2023On convex decision regions in deep network representationscited by 7
  10. 2025A quantitative analysis of semantic information in deep representations of text and imagescited by 7
  11. 2026The Truthfulness Spectrum Hypothesiscited by 7
  12. 2025Unlocking Pretrained Vision Transformers for Time Series Classificationcited by 6
  13. 2025On the Predictive Power of Representation Dispersion in Language Modelscited by 6
  14. 2024Structured Unrestricted-Rank Matrices for Parameter Efficient Fine-tuningcited by 5
  15. 2024Lines of Thought in Large Language Modelscited by 5
  16. 2024Analyzing Deep Transformer Models for Time Series Forecasting via Manifold Learningcited by 5
  17. 2024Lightweight Safety Classification Using Pruned Language Modelscited by 5
  18. 2026Latent Semantic Manifolds in Large Language Modelscited by 5
  19. 2024Intrinsic Dimension Correlation: uncovering nonlinear connections in multimodal representationscited by 4
  20. 2024ResiDual Transformer Alignment with Spectral Decompositioncited by 4
  21. 2024The Narrow Gate: Localized Image-Text Communication in Native Multimodal Modelscited by 4
  22. 2025ProtFlow: Fast Protein Sequence Design via Flow Matching on Compressed Protein Language Model Embeddingscited by 4
  23. 2025Superior Molecular Representations from Intermediate Encoder Layerscited by 4
  24. 2025Exploratory Causal Inference in SAEncecited by 4
  25. 2026Bi-Orthogonal Factor Decomposition for Vision Transformerscited by 4
  26. 2026Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Interventioncited by 4
  27. 2024Scale adaptive and robust intrinsic dimension estimation via optimal neighbourhood identificationcited by 3
  28. 2025Prediction hubs are context-informed frequent tokens in LLMscited by 3
  29. 2025LF2AR: Accounting for Layerwise Dynamics to Improve Multimodal Adaptation of Language Modelscited by 3
  30. 2025Bridging the Dimensional Chasm: Uncover Layer-wise Dimensional Reduction in Transformers through Token Correlationcited by 3
  31. 2025TRACE for Tracking the Emergence of Semantic Representations in Transformerscited by 3
  32. 2025On Entity Identification in Language Modelscited by 3
  33. 2026Tracing the complexity profiles of different linguistic phenomena through the intrinsic dimension of LLM representationscited by 3
  34. 2024A Manifold Representation of the Key in Vision Transformerscited by 2
  35. 2024Balanced Data, Imbalanced Spectra: Unveiling Class Disparities with Spectral Imbalancecited by 2
  36. 2024Local Topology Measures of Contextual Language Model Latent Spaces With Applications to Dialogue Term Extractioncited by 2
  37. 2024Unsupervised detection of semantic correlations in big datacited by 2
  38. 2024Topological Data Analysis Applications in Natural Language Processing: A Surveycited by 2

50 most cited of 108 All 108 (JSON)