mlsanityData to 14 Oct 2026

RiemannFormer: A Framework for Attention in Curved Spaces

arXiv 2506.07405 ↗First posted 9 Jun 2025cs.LGcited by 8

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2020End-to-End Object Detection with Transformerscited by 7,414
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  7. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  8. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  9. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  10. 2021Conditional Positional Encodings for Vision Transformerscited by 406
  11. 2024Rotary Position Embedding for Vision Transformercited by 236
  12. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
3 more
  1. 2022A Length-Extrapolatable Transformercited by 127
  2. 2024Contextual Position Encoding: Learning to Count What's Importantcited by 54
  3. 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 31

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 7.

8 papers.