RiemannFormer: A Framework for Attention in Curved Spaces
Not on the map. Why?
Abstract (arXiv)
This research endeavors to offer insights into unlocking the further potential of transformer-based architectures. One of the primary motivations is to offer a geometric interpretation for the attention mechanism in transformers. In our framework, the attention mainly involves metric tensors, tangent spaces, inner product, and how they relate to each other. These quantities and structures at discrete positions are intricately interconnected via the parallel transport of tangent vectors. To make the learning process more efficient, we reduce the number of parameters through ingenious predefined configurations. Moreover, we introduce an explicit mechanism to highlight a neighborhood by attenuating the remote values, given that transformers inherently neglect local inductive bias. Experimental results demonstrate that our modules deliver significant performance improvements relative to the baseline. More evaluation experiments on visual and large language models will be launched successively.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 15 of its 16 references that are in the map. First posted on arXiv 9 Jun 2025.
Builds on
15 of 16 references.
References · 15
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2024Rotary Position Embedding for Vision Transformercited by 236
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
3 more
- 2022A Length-Extrapolatable Transformercited by 127
- 2024Contextual Position Encoding: Learning to Count What's Importantcited by 54
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 31
Built on by
Citing papers per year: 2025: 1; 2026: 7.
8 papers.
- 2026CliffordNet: All You Need is Geometric Algebracited by 7
- 2025The Curved Spacetime of Transformer Architecturescited by 5
- 2026IsoQuant: Hardware-Aligned SO(4) Isoclinic Rotations for LLM KV Cache Compressioncited by 2
- 2026The Transformer as a Polar State Estimatorcited by 0
- 2026The Token Is a Group Element: On Lie-Algebra Attention over Matrix Lie Groupscited by 0
- 2026Riemannian Geometry for Pre-trained Language Model Embeddingscited by 0
- 2026Riemannian Attention Mechanisms for Transformers: A Theoretical Framework and Architecture Designcited by 0
- 2026QSV: Quat-Sphere-Vision for Coupled Quaternion Attention on Spherical Latticescited by 0
- 2026QSV: Quat-Sphere-Vision for Coupled Quaternion Attention on Spherical Lattices24 Sep 2026
- 2026Riemannian Attention Mechanisms for Transformers: A Theoretical Framework and Architecture Design2 Aug 2026
- 2026Riemannian Geometry for Pre-trained Language Model Embeddings8 Jul 2026
- 2026The Token Is a Group Element: On Lie-Algebra Attention over Matrix Lie Groups18 Jun 2026
- 2026The Transformer as a Polar State Estimator10 May 2026
- 2026IsoQuant: Hardware-Aligned SO(4) Isoclinic Rotations for LLM KV Cache Compression30 Mar 2026
- 2026CliffordNet: All You Need is Geometric Algebra11 Jan 2026
- 2025The Curved Spacetime of Transformer Architectures4 Nov 2025