SVTRv2: CTC Beats Encoder-Decoder Models in Scene Text Recognition

Yongkun Du, Zhineng Chen, Hongtao Xie, Caiyan Jia, Yu-Gang Jiang

TL;DR

SVTRv2 is a purely CTC-based scene text recognition model that matches or exceeds the accuracy of complex encoder-decoder models while maintaining significantly higher inference speeds. By introducing aspect-ratio-aware resizing, a feature rearrangement module, and a training-time semantic guidance module, it effectively tackles irregular layouts and linguistic context without the computational overhead of an attention-based decoder.

What Problem Does This Paper Address?

Scene Text Recognition (STR) involves reading text from natural images, which is notoriously difficult due to background noise, artistic fonts, and irregular layouts (curved, rotated, or occluded text).

Currently, the field is split into two main approaches:

  1. CTC-based methods: These use Connectionist Temporal Classification. They are fast and simple but struggle with irregular text because they assume a standard left-to-right reading order. They also lack "linguistic context"—the ability to use surrounding letters to guess a blurry or missing character.
  2. Encoder-Decoder (EDTR) methods: These use attention mechanisms to handle irregularities and language modeling. While accurate, they are often slow, computationally expensive, and limited by fixed maximum sequence lengths (e.g., they often fail on strings longer than 25 characters).

SVTRv2 aims to bridge this gap, proving that a CTC-based model can beat EDTRs if the visual features are properly prepared and the backbone is "taught" linguistic context during training.

Methods

The authors introduce three key innovations to the SVTR architecture:

  • Multi-size Resizing (MSR): Standard models force all images into a fixed size (like 32x128), which severely distorts very long or very tall text. MSR uses four predefined "buckets" based on the image's aspect ratio, minimizing distortion and preserving character shapes.
  • Feature Rearrangement Module (FRM): To solve the "alignment puzzle" of irregular text, FRM uses horizontal and vertical rearrangement steps (powered by self-attention) to map 2D visual features into a 1D sequence that matches the actual reading order. This effectively "unrolls" curved or rotated text for the classifier.
  • Semantic Guidance Module (SGM): This is a novel training strategy. During training, an auxiliary module uses the ground-truth text to guide the visual model, teaching it to incorporate linguistic context into its features. Crucially, SGM is discarded during inference, meaning the model gains the benefits of language modeling without any extra time cost when running in production.
An illustrative overview of the SVTRv2 architecture

Datasets

The paper evaluates SVTRv2 across a massive range of benchmarks:

  • Standard Benchmarks: IIIT5K, SVT, IC13, IC15, SVTP, and CUTE80.
  • Union14M-Benchmark: A challenging set for irregular and artistic text.
  • U14M-Filter: The authors discovered significant data leakage in existing large-scale datasets. They introduced this rigorously filtered version to ensure fair training and evaluation.
  • BCTR: A Chinese scene text recognition benchmark.
  • LTB (Long Text Benchmark): Specifically for strings between 25 and 35 characters.
  • OST (Occluded Scene Text): For text partially hidden by other objects.

Key Insights and Ideas

  • CTC is not the bottleneck: The common belief was that CTC-based models were inherently less accurate than attention-based ones. SVTRv2 shows that the limitation was actually in the visual backbone's inability to handle layout and context.
  • Training-time supervision is enough: You don't need a heavy language model active during inference to benefit from linguistic context. By supervising the visual features during training (via SGM), the backbone learns to "see" context.
  • Resizing is a silent killer: The simple act of forcing an image into a fixed aspect ratio destroys discriminative features. MSR provides a massive boost (up to 15.3% in some scenarios) just by being smarter about image dimensions.
  • Handling Long Text: Because it avoids the fixed-length constraints of attention decoders, SVTRv2 excels at long text recognition where other SOTA models fail completely.
Qualitative comparison showing SVTRv2 succeeding on irregular and long text where others fail

Key Results

  • SOTA Performance: SVTRv2-B achieved top results in 9 out of 15 evaluated scenarios, outperforming most advanced encoder-decoder models.
  • Speed vs. Accuracy: Compared to MAERec (a top EDTR), SVTRv2-B is 0.97% more accurate and 8x faster.
  • Efficiency: Even when compared to CPPD (known for speed), SVTRv2-B is 10% faster while being 4.23% more accurate on the Union14M benchmark.
  • Long Text: On the Long Text Benchmark (LTB), SVTRv2 achieved a score of 50.2, while many previous models (like SVTR with TPS or MAERec) scored near zero due to sequence length limitations.
Comparison of SVTRv2 with previous methods across various scenarios

Limitations and Future Work

Despite its strengths, the authors identified specific failure modes through qualitative analysis:

  • Extreme Blur: Blurry text remains a major challenge, accounting for about 30.8% of errors.
  • Highly Artistic Fonts: While improved, complex business signage and handwriting still cause issues (24.2% of errors).
  • Incomplete Text: Text that is severely cropped or occluded remains difficult (31.8% of errors).
  • Label Noise: The authors noted that many "errors" are actually due to incorrect ground-truth labels in standard benchmarks, suggesting a need for cleaner evaluation datasets in the future.

Summary updated

BibTeX
@inproceedings{du2025svtrv,
  author = {Yongkun Du and Zhineng Chen and Hongtao Xie and Caiyan Jia and Yu-Gang Jiang},
  title = {{SVTRv2: CTC Beats Encoder-Decoder Models in Scene Text Recognition}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure