Riemannian Geometry for Pre-trained Language Model Embeddings
Not on the map. Why?
Abstract (arXiv)
Understanding the geometric structure of pre-trained language model embeddings matters for interpretability and safety. We ask whether sentence-level classification signal lives in the Riemannian geometry of contextual token embeddings, and probe it by extracting per-token pullback metrics from a learned encoder's analytical Jacobian and aggregating them with the Fr'echet mean on the symmetric positive definite (SPD) manifold; we call this procedure Riemannian Mean Pooling (RMP). Across three datasets with non-trivial linguistic structure (CoLA, CREAK, RTE), RMP outperforms Euclidean mean pooling, while on FEVER-Symmetric, a benchmark constructed to remove annotation-driven lexical artifacts, the method correctly stays at chance. Ablations show that a randomly initialised encoder combined with Fr'echet aggregation already beats Euclidean pooling on two of the three signal-bearing datasets, localising the source of the gain to the geometric aggregation rather than to learned manifold structure; the trained encoder contributes additional signal specifically on CREAK, the most knowledge-heavy of the three signal-bearing datasets.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 34 of its 55 references that are in the map. First posted on arXiv 8 Jul 2026.
Builds on
34 of 55 references.
References · 34
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
- 2016Understanding intermediate layers using linear classifier probescited by 1,279
- 2018Neural Network Acceptability Judgmentscited by 952
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2017Poincar'e Embeddings for Learning Hierarchical Representationscited by 674
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
- 2018Learning Continuous Hierarchies in the Lorentz Model of Hyperbolic Geometrycited by 261
22 more
- 2018Representation Tradeoffs for Hyperbolic Embeddingscited by 204
- 2017Latent Space Oddity: on the Curvature of Deep Generative Modelscited by 169
- 2019Towards Debiasing Fact Verification Modelscited by 143
- 2023The geometry of hidden representations of large transformer modelscited by 108
- 2021CREAK: A Dataset for Commonsense Reasoning over Entity Knowledgecited by 88
- 2019Riemannian batch normalization for SPD neural networkscited by 72
- 2024Emergence of a High-Dimensional Abstraction Phase in Language Transformerscited by 56
- 2020Differentiating through the Fr'echet Meancited by 52
- 2024The largest EEG-based BCI reproducibility study for open science: the MOABB benchmarkcited by 28
- 2025Token embeddings violate the manifold hypothesiscited by 14
- 2026Truth as a Trajectory: What Internal Representations Reveal About Large Language Model Reasoningcited by 9
- 2024RMLR: Extending Multinomial Logistic Regression into General Geometriescited by 8
- 2025RiemannFormer: A Framework for Attention in Curved Spacescited by 8
- 2017Curvature-aware Manifold Learningcited by 7
- 2025The Geometry of Truth: Layer-wise Semantic Dynamics for Hallucination Detection in Large Language Modelscited by 7
- 2025Curved Inference: Concern-Sensitive Geometry in Large Language Model Residual Streamscited by 6
- 2025Measuring Intrinsic Dimension of Token Embeddingscited by 5
- 2025The Curved Spacetime of Transformer Architecturescited by 5
- 2025Emergent Riemannian geometry over learning discrete computations on continuous manifoldscited by 3
- 2024A Comparative Study of Learning Paradigms in Large Language Models via Intrinsic Dimensioncited by 1
- 2025The Riemannian Means Field Classifier for EEG-Based BCI Datacited by 1
- 2026Local Intrinsic Dimension Unveils Hallucinations in Diffusion Modelscited by 1
Built on by
Not cited yet.