Boosting Semi-Supervised Scene Text Recognition via Viewing and Summarizing

Yadong Qu, Yuxin Wang, Bangbang Zhou, Zixiao Wang, Hongtao Xie, Yongdong Zhang

Abstract

Scene Text Recognition (STR) often suffers from a performance gap between synthetic training data and real-world artistic or distorted text. We present ViSu, a semi-supervised framework that mimics human learning through "viewing" and "summarizing." By implementing an Online Generation Strategy (OGS) to diversify character morphology and a Character Unidirectional Alignment (CUA) Loss to rectify feature ambiguity, ViSu achieves state-of-the-art performance, particularly on artistic benchmarks, while maintaining computational efficiency.

Introduction: The Challenge of Scene Text Recognition

Scene Text Recognition (STR)—the task of reading text in natural images—faces a significant "data gap." Most models are trained on synthetic datasets like MJSynth and SynthText, which are relatively simple and monotonous. Consequently, these models struggle with real-world "hard cases": artistic fonts, severe distortions, and unusual orientations (e.g., vertical or curved text).

Researchers identify two main bottlenecks:

  1. Insufficient Morphology Exploration: Training data lacks the stylistic diversity found in the wild.
  2. Feature Ambiguity: Existing contrastive loss functions used in semi-supervised learning contain a derivation error that mistakenly treats some similar characters as "negative" samples, hindering the model's ability to cluster identical characters effectively.
Challenges in STR including morphological diversity and character ambiguity.

The ViSu Framework: Viewing and Summarizing

The ViSu framework, based on a Mean Teacher architecture, is divided into two conceptual steps:

1. Viewing (Online Generation Strategy - OGS)

To help the model "see" more variety, OGS generates background-free text samples with diverse styles and orientations on the fly during training. Unlike standard data augmentation, OGS uses labels from simple synthetic data to create complex, multi-morphic character glyphs without background noise. This forces the model to focus purely on character shape (morphology) rather than distracting background textures. Additionally, Unified Representation Forms (URF) simplify the eight possible orientations of text into two primary forms, reducing the convergence burden on the network.

2. Summarizing (Character Unidirectional Alignment - CUA Loss)

Once the model has "seen" many shapes, it needs to "summarize" them into distinct character categories. The authors mathematically prove that the widely used Character Contrastive (CC) loss contains an error: it treats other instances of the same character class in a batch as negative samples. The CUA Loss corrects this formula, ensuring that all instances of the same character (across different views and augmentations) are aligned toward a unified feature representation. It uses features from the "Teacher" model to guide the "Student" model.

Experimental Results

ViSu sets a new bar for STR performance across various benchmarks:

  • Common Benchmarks: Achieved 94.7% average accuracy.
  • Union14M-Benchmark: Reached 70.9% average accuracy, a significant jump over previous methods.
  • Artistic Text: On the WordArt dataset, ViSu improved accuracy by 11.7% compared to the previous state-of-the-art.
t-SNE visualization of character features learned by ViSu, showing distinct clustering.

The t-SNE visualization in Figure 4 demonstrates that ViSu effectively clusters identical characters in the latent space, validating the effectiveness of the CUA loss in resolving feature ambiguity compared to previous methods. Despite these performance gains, the model remains efficient, with a parameter count (24.4M) significantly lower than competing high-performance models like MGP-STR (141.1M).

Conclusion and Future Work

ViSu provides a clear roadmap for improving semi-supervised tasks by separating data expansion (Viewing) from feature refinement (Summarizing). While it excels at artistic text, the authors note that ViSu still struggles with extreme aspect ratios. When a text string is exceptionally long, standard resizing causes severe squashing and information loss. Future work will explore "splitting" strategies—breaking long text into multiple segments for recognition—to handle these extreme cases.

Summary updated

BibTeX
@inproceedings{qu2024boosting,
  author = {Yadong Qu and Yuxin Wang and Bangbang Zhou and Zixiao Wang and Hongtao Xie and Yongdong Zhang},
  title = {{Boosting Semi-Supervised Scene Text Recognition via Viewing and Summarizing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=7NrYnCN2be},
}
Figure