Efficient scene text image super-resolution with semantic guidance

LeoWu TomyEnrique, Xiangcheng Du, Kangliang Liu, Han Yuan, Zhao Zhou, Cheng Jin

TL;DR

SGENet is a lightweight framework designed for Scene Text Image Super-Resolution (STISR) that prioritizes deployment on resource-constrained devices. By combining a lightweight pre-trained text recognizer with a novel bidirectional visual-semantic alignment module, it achieves a superior trade-off between reconstruction accuracy and computational efficiency, reducing FLOPs by up to 85% compared to heavy state-of-the-art models.

What Problem Does This Paper Address?

Scene text images captured in the wild often suffer from low resolution, motion blur, or poor lighting, which severely degrades the performance of downstream Optical Character Recognition (OCR) systems. While Super-Resolution (SR) can "recover" these images, existing models are often too computationally expensive for real-world deployment on mobile or edge devices.

Many current methods rely on massive, pre-trained language models or complex multi-branch architectures to provide "semantic guidance"—essentially telling the model what characters it should be seeing to help it reconstruct them better. The authors of this paper argue that these "heavy" models ignore the practical need for efficiency, creating a gap between academic performance and industrial utility.

Methods

The authors propose SGENet (Semantic Guidance Efficient Network), which consists of two main branches:

  1. Semantic Guidance Branch: Instead of using a massive recognizer, SGENet employs SVTR-T, a lightweight pre-trained recognizer, to extract a "text distribution" from the low-resolution input.
  2. Visual-Semantic Alignment Module: This is the core innovation. It uses bidirectional cross-attention layers to align the abstract text semantics with the shallow visual features of the image. This ensures the model understands exactly which image regions correspond to specific characters.
  3. Super-Resolution Branch: This branch takes the aligned semantic guidance and fuses it with image features using a Semantic Fusion Block. It then uses Sequential Recurrent Blocks (SRB) to reconstruct the final high-resolution image.
Fig. 2. The overall architecture of SGENet. It consists of two branches, the semantic guidance branch and the super-resolution branch. The output of the semantic guidance branch is used to guide super-resolution reconstruction.

The model is trained using a combination of reconstruction loss (MSE), recognition loss (to ensure the output is readable), and a fine-tuning loss to adapt the recognizer to low-resolution inputs.

Datasets

The model was evaluated on TextZoom, the standard benchmark for real-world scene text super-resolution. TextZoom contains 17,367 training pairs and 4,373 testing pairs of low-resolution (LR) and high-resolution (HR) images captured with different camera focal lengths. The test set is categorized into three difficulty levels: Easy, Medium, and Hard.

Key Insights and Ideas

  • Efficiency is a First-Class Citizen: The authors demonstrate that you don't need a massive backbone to achieve good results. By optimizing the alignment module and choosing a lightweight recognizer, they created a model with only 0.73 million parameters.
  • Bidirectional Alignment Matters: Simply concatenating text features and image features isn't enough. The bidirectional cross-attention mechanism allows the model to "look back and forth" between the visual evidence and the predicted text, leading to much sharper character edges.
  • The Pareto Front of STISR: As shown in Figure 1, SGENet occupies a unique spot in the design space, offering significantly higher accuracy than early lightweight models (like SRCNN) while being much smaller than high-accuracy heavyweights (like TATT).
Fig. 1. Total number of parameters vs. scene text recognition accuracy in different STISR networks. Our model achieves satisfactory results considering that it has fewer parameters.

Key Results

  • Computational Savings: SGENet reduces computational complexity (FLOPs) by 85% compared to the state-of-the-art LEMMA model (0.98G vs 6.70G FLOPs).
  • Accuracy Boost: Compared to the baseline TSRN model, SGENet improved average recognition accuracy by 3.1% on the ASTER recognizer and 7.6% on the CRNN recognizer.
  • Qualitative Quality: Visual results show that SGENet successfully recovers legible text from highly blurred inputs where baseline methods fail.
Fig. 3. Visualization results of SGENet on TextZoom dataset.

Limitations and Future Work

The authors acknowledge a slight performance gap between SGENet and the absolute top-performing "heavy" models like TATT or LEMMA. While SGENet is much more efficient, the use of a larger recognizer (like ABINet) does yield higher accuracy, suggesting there is still room to find even more efficient ways to distill knowledge from large models into lightweight ones.

Future work may involve exploring even more compact alignment modules or investigating how to better handle extremely "Hard" cases in TextZoom where the input is nearly unrecognizable.

Summary updated

BibTeX
@inproceedings{tomyenrique2024efficient,
  author = {LeoWu TomyEnrique and Xiangcheng Du and Kangliang Liu and Han Yuan and Zhao Zhou and Cheng Jin},
  title = {{Efficient scene text image super-resolution with semantic guidance}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10446964},
}
Figure