mlsanityData to 7 Oct 2026

Riemannian Geometry for Pre-trained Language Model Embeddings

arXiv 2607.07047 ↗First posted 8 Jul 2026cs.CL cs.AIcited by 0

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  4. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
  5. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  6. 2016Understanding intermediate layers using linear classifier probescited by 1,279
  7. 2018Neural Network Acceptability Judgmentscited by 952
  8. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  9. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  10. 2017Poincar'e Embeddings for Learning Hierarchical Representationscited by 674
  11. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
  12. 2018Learning Continuous Hierarchies in the Lorentz Model of Hyperbolic Geometrycited by 261
22 more
  1. 2018Representation Tradeoffs for Hyperbolic Embeddingscited by 204
  2. 2017Latent Space Oddity: on the Curvature of Deep Generative Modelscited by 169
  3. 2019Towards Debiasing Fact Verification Modelscited by 143
  4. 2023The geometry of hidden representations of large transformer modelscited by 108
  5. 2021CREAK: A Dataset for Commonsense Reasoning over Entity Knowledgecited by 88
  6. 2019Riemannian batch normalization for SPD neural networkscited by 72
  7. 2024Emergence of a High-Dimensional Abstraction Phase in Language Transformerscited by 56
  8. 2020Differentiating through the Fr'echet Meancited by 52
  9. 2024The largest EEG-based BCI reproducibility study for open science: the MOABB benchmarkcited by 28
  10. 2025Token embeddings violate the manifold hypothesiscited by 14
  11. 2026Truth as a Trajectory: What Internal Representations Reveal About Large Language Model Reasoningcited by 9
  12. 2024RMLR: Extending Multinomial Logistic Regression into General Geometriescited by 8
  13. 2025RiemannFormer: A Framework for Attention in Curved Spacescited by 8
  14. 2017Curvature-aware Manifold Learningcited by 7
  15. 2025The Geometry of Truth: Layer-wise Semantic Dynamics for Hallucination Detection in Large Language Modelscited by 7
  16. 2025Curved Inference: Concern-Sensitive Geometry in Large Language Model Residual Streamscited by 6
  17. 2025Measuring Intrinsic Dimension of Token Embeddingscited by 5
  18. 2025The Curved Spacetime of Transformer Architecturescited by 5
  19. 2025Emergent Riemannian geometry over learning discrete computations on continuous manifoldscited by 3
  20. 2024A Comparative Study of Learning Paradigms in Large Language Models via Intrinsic Dimensioncited by 1
  21. 2025The Riemannian Means Field Classifier for EEG-Based BCI Datacited by 1
  22. 2026Local Intrinsic Dimension Unveils Hallucinations in Diffusion Modelscited by 1

Built on by

Not cited yet.