mlsanityData to 7 Oct 2026

2D Rotary Position Embedding for Scene Text Recognition with Transformers

arXiv 2607.13458 ↗First posted 15 Jul 2026cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Scene Text Recognition (STR) remains challenging due to the diversity of text appearances, including curvature, rotation, and perspective distortion. Recent Transformer-based approaches perform well but usually rely on one-dimensional positional encodings that ignore the 2D spatial structure of text images. Axial 2D extensions of Rotary Position Embedding (RoPE) exist for vision Transformers, but they assume roughly square, isotropic image content and apply the rotation only within encoder self-attention. Scene text violates both assumptions: crops are markedly anisotropic, and STR models are encoder-decoder, so the decoder must relate its queries to the encoder's 2D layout through cross-attention. We introduce 2D-RoPE-STR, which adapts axial 2D-RoPE to this setting through (1) an anisotropic row/column dimension allocation matched to the aspect ratio of text, and (2) an extension of the rotary coupling into encoder-decoder cross-attention, letting autoregressive decoding steps attend to encoder tokens by their 2D layout, a setting not addressed by prior encoder-only formulations. Both changes are essentially parameter-free and require no architectural redesign beyond the positional-encoding module. We further introduce a diagnostic protocol (a controlled ablation pair isolating only the positional encoding, an image-level net-win disagreement analysis, and encoder attention visualization) that identifies where and why relative 2D position helps: curved, rotated, and perspective-distorted layouts where reading order departs from a straight horizontal line. On six standard benchmarks (IIIT5K, SVT, ICDAR 2013, ICDAR 2015, CUTE80, SVTP), gains concentrate on exactly these irregular layouts, with ablations isolating each design choice against 1D RoPE and 2D sinusoidal and learnable alternatives.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 29 of its 49 references that are in the map. First posted on arXiv 15 Jul 2026.

Builds on

29 of 49 references.

References · 29

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  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. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  8. 2020End-to-End Object Detection with Transformerscited by 7,384
  9. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  10. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  11. 2018Self-Attention with Relative Position Representationscited by 1,112
  12. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
17 more
  1. 2015An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognitioncited by 519
  2. 2021Conditional Positional Encodings for Vision Transformerscited by 402
  3. 2016Synthetic Data for Text Localisation in Natural Imagescited by 396
  4. 2024Rotary Position Embedding for Vision Transformercited by 226
  5. 2021Read Like Humans: Autonomous, Bidirectional and Iterative Language Modeling for Scene Text Recognitioncited by 194
  6. 2019What Is Wrong With Scene Text Recognition Model Comparisons? Dataset and Model Analysiscited by 191
  7. 2022Scene Text Recognition with Permuted Autoregressive Sequence Modelscited by 148
  8. 2018Show, Attend and Read: A Simple and Strong Baseline for Irregular Text Recognitioncited by 130
  9. 2014Reading Text in the Wild with Convolutional Neural Networkscited by 122
  10. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 111
  11. 2017Focusing Attention: Towards Accurate Text Recognition in Natural Imagescited by 110
  12. 2021Vision Transformer for Fast and Efficient Scene Text Recognitioncited by 81
  13. 2018ESIR: End-to-end Scene Text Recognition via Iterative Image Rectificationcited by 79
  14. 2016Recursive Recurrent Nets with Attention Modeling for OCR in the Wildcited by 74
  15. 2019Symmetry-constrained Rectification Network for Scene Text Recognitioncited by 45
  16. 2022Reading and Writing: Discriminative and Generative Modeling for Self-Supervised Text Recognitioncited by 45
  17. 2026Spiral RoPE: Rotate Your Rotary Positional Embeddings in the 2D Planecited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.