SVTR: Scene Text Recognition with a Single Visual Model

Yongkun Du, Zhineng Chen, Caiyan Jia, Xiaoting Yin, Tianlun Zheng, Chenxia Li, Yuning Du, Yu-Gang Jiang

Introduction

Scene Text Recognition (STR) has traditionally relied on hybrid architectures that combine a visual model for feature extraction with a sequential model for character ordering. SVTR (Single Visual model for scene Text Recognition) challenges this paradigm by introducing a unified, patch-based visual model that eliminates the need for complex sequential components like RNNs or Transformers.

The Problem: Redundancy in Hybrid Architectures

Most modern STR systems are "hybrids" (e.g., CRNN). They typically use a CNN to extract features and an RNN to handle character sequences. While effective, this approach is often computationally heavy and sensitive to image distortions like occlusion or warping.

Comparison of SVTR with traditional hybrid STR architectures.

The authors of SVTR argue that if a visual model is designed correctly, the sequential modeling step becomes redundant. The challenge lies in creating a visual backbone capable of capturing both fine-grained "stroke-level" details (to distinguish 'E' from 'F') and global "character-level" relationships (to understand word context) simultaneously.

Methods: A Height-Progressive Visual Network

SVTR introduces a three-stage, height-progressive network that treats an image as a series of small 2D patches, termed character components.

The SVTR architecture featuring three stages of mixing and merging.

Key Components

  • Progressive Overlapping Patch Embedding: Instead of a single large-stride projection, SVTR uses two consecutive $3 \times 3$ convolutions to preserve local detail while transforming the image into tokens.
  • Mixing Blocks: The core innovation involves two types of attention-based blocks:
  • Global Mixing: Evaluates dependencies across all patches to capture long-term context and inter-character patterns.
  • Local Mixing: Uses a sliding window (e.g., $7 \times 11$) to focus on associations between components within a single character (intra-character patterns).
  • Merging and Combining: The network progressively reduces the feature map height while maintaining width, reflecting the horizontal nature of most text. A final "Combining" layer pools the height to 1, followed by a simple linear prediction.

Key Insights

  • Dispensing with RNNs: By combining local and global mixing, the model learns text "language" purely through spatial relationships, proving that explicit sequential modeling isn't a requirement for high performance.
  • The "Local-First" Advantage: The authors found that placing local mixing blocks before global ones is crucial. It guides the model to focus on fine-grained features first, which then inform the broader global context—much like how humans recognize strokes before identifying a whole character.
  • Efficiency via Dimensionality: Progressively decreasing the height of feature maps reduces redundant computations while maintaining the horizontal resolution necessary to distinguish closely packed characters.

Key Results

SVTR achieves state-of-the-art results across various benchmarks, particularly in complex scenarios:

  • State-of-the-Art in Chinese: SVTR-L outperformed the previous best model (SAR) on the Chinese Scene Dataset by a massive 9.6% (72.1% vs 62.5%), despite being faster.
  • Competitive in English: On English benchmarks, SVTR-L achieved results on par with or better than advanced vision-language models that use complex linguistic priors.
  • Speed and Scale: The "Tiny" version (SVTR-T) is exceptionally efficient, with only 6.03M parameters and an inference speed of 4.5ms per image on an NVIDIA 1080Ti, making it highly suitable for mobile or edge applications.

Conclusion

SVTR demonstrates that a single visual model can outperform complex hybrid systems in scene text recognition. By focusing on multi-grained character components and spatial relationships, it offers a faster, more compact, and more accurate alternative for both English and Chinese text recognition. Future work may explore how this paradigm handles more extreme cases, such as vertical text or highly stylized artistic fonts.

Summary updated

BibTeX
@inproceedings{du2022svtr,
  author = {Yongkun Du and Zhineng Chen and Caiyan Jia and Xiaoting Yin and Tianlun Zheng and Chenxia Li and Yuning Du and Yu-Gang Jiang},
  title = {{SVTR: Scene Text Recognition with a Single Visual Model}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/124},
}
Figure