Embedding Rotation Invariance for Provable Multi-Oriented Scene Text Recognition

Zhibin Ma, Pengwen Dai, Yi Liu, Xugong Qin, Chenyun Yu, Xiaochun CaoarXiv 2026

TL;DR

RISTER introduces a provably rotation-invariant framework for Scene Text Recognition (STR) by combining a rotation-equivariant encoder with a rotation-invariant decoder. By leveraging the inherent geometric properties of cross-attention, it eliminates the need for computationally heavy text-rectification modules or rotation-based data augmentation, boosting accuracy on multi-oriented text by up to 4.0% with zero additional inference overhead.

What Problem Does This Paper Address?

Most Scene Text Recognition (STR) models are designed under a simple assumption: text is written horizontally from left to right. However, real-world text—found on product packaging, street signs, and logos—frequently appears at arbitrary angles.

To handle multi-oriented text, existing methods typically rely on one of two strategies:

  1. Explicit Rectification Modules: Networks (like ASTER or ESIR) that attempt to predict the text's orientation and warp it back to horizontal before recognition. If this preprocessing step fails, the recognition fails completely, and it adds significant computational overhead.
  2. Heavy Data Augmentation: Rotating training images so the model learns to recognize text at all angles. This forces the network to use its limited capacity to memorize the same characters at multiple orientations, reducing overall feature efficiency.

The authors of this paper tackle these limitations by embedding rotation invariance directly into the network architecture itself, providing theoretical guarantees that the model's output remains identical regardless of how the input image is rotated.

Methods

The proposed network, RISTER (Rotation-Invariant Scene TExt Recognition), follows an encoder-decoder paradigm but splits the geometric responsibilities between the two components:

Fig. 2: An overview of RISTER. It employs RELG for feature representation learning and decodes character sequences from the resulting visual features using RITD. When the image undergoes spatial rotation, we obtain equivariant visual features and atten- tion maps (as shown in the blue dash boxes); after being attended in the decoder, the model produces rotation-invariant predictions.

1. The Encoder: Rotation-Equivariant Local-Global Extractor (RELG)

An end-to-end rotation-invariant network requires an encoder where rotating the input image results in a predictably rotated feature map (rotation equivariance). RELG achieves this through a hierarchical structure:

  • Rot-E Local Extraction: Uses group-equivariant convolutions ($F\text{-}Conv$) to extract local features while progressively downsampling the image. This preserves fine-grained visual details.
  • Rot-E Global Extraction: Integrates self-attention mechanisms to model dependencies between characters across the entire image, which is vital for text recognition.

2. The Decoder: Rotation-Invariant Text Decoder (RITD)

The core mathematical "aha moment" of the paper is the proof that the cross-attention mechanism is naturally rotation-invariant when operating on 2D features, provided the query tokens remain fixed.

Illustration of the rotation invariance of the cross-attention mechanism.

When an image is rotated, the encoder produces rotated keys ($K$) and values ($V$). Because cross-attention maps unordered feature sets, the attention weights ($A$) shift equivariantly. When the attention operation executes, the spatial rotation is canceled out, producing an identical attended output ($Q'$) and ensuring identical character predictions.

Datasets

The model was trained and evaluated using several prominent English text datasets:

  • Training: Union14M-Filter, a large-scale dataset containing 3.2 million real-world training images across 17 distinct subsets.
  • Evaluation (Standard Benchmarks): IIIT5k, SVT, IC13, IC15, SVTP, and CUTE80.
  • Evaluation (Multi-Oriented Benchmarks): Union14M-benchmarks (which includes specific subsets for Curved, Multi-Oriented, and Artistic text) and ASOT (3,000 text images with diverse orientations).

Key Insights and Ideas

  • Equivariance + Invariance = Robustness: You don't want a completely invariant encoder; you want the features to track the rotation of the image (equivariance). The magic happens when those tracking features hit the cross-attention decoder, which naturally resolves the rotation to output a standardized text string (invariance).
  • Zero Inference Overhead: Because group-equivariant convolutions can have their parameters fixed via cyclic shifting after training, RISTER performs identically to standard convolutions during inference. It achieves rotation robustness without costing extra FLOPs or reducing frames per second (FPS).
  • Data Efficiency: Because the architecture is mathematically guaranteed to be invariant at canonical angles ($0^\circ, 90^\circ, 180^\circ, 270^\circ$), it does not require rotation-based data augmentation. The model can be trained purely on horizontal text and still generalize perfectly to rotated text.

Key Results

RISTER was evaluated in multiple sizes (Tiny, Small, Base, Large) and demonstrated state-of-the-art performance:

  • Multi-Oriented Text Superiority: On the challenging Union14M Multi-Oriented benchmark, RISTER-S achieved 96.0% accuracy, outperforming the second-best model (IGTR) by 3.1%, and RISTER-L pushed this to 96.6% (+4.0%).
  • Maintained Horizontal Performance: Unlike other rotation-aware models that sacrifice accuracy on standard horizontal text ($0^\circ$), RISTER matched or exceeded top-tier models like SVTRv2 on standard benchmarks.
  • Strict Canonical Invariance: Testing confirmed that cosine similarity between output logits before and after $90^\circ, 180^\circ,$ and $270^\circ$ rotations was exactly 1.0, proving perfect mathematical invariance.

Limitations and Future Work

The primary limitation acknowledged by the authors is that RISTER currently relies on square input resolutions ($128 \times 128$) to maintain its strict rotation-equivariant properties in the encoder. Most standard STR models use rectangular aspect ratios (e.g., $32 \times 128$), which are better suited for long words.

As a next step, the authors plan to extend this rotation-invariant framework to non-square input configurations. This will expand its viability for highly specialized tasks like long-text recognition and mathematical expression parsing.

Summary updated

BibTeX
@misc{ma2026embedding,
  author = {Zhibin Ma and Pengwen Dai and Yi Liu and Xugong Qin and Chenyun Yu and Xiaochun Cao},
  title = {{Embedding Rotation Invariance for Provable Multi-Oriented Scene Text Recognition}},
  year = {2026},
  eprint = {2608.10684},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.10684},
}
Figure