VL-Reader: Vision and Language Reconstructor is an Effective Scene Text Recognizer

Humen Zhong, Zhibo Yang, Zhaohai Li, Peng Wang, Jun Tang, Wenqing Cheng, Cong Yao

TL;DR

VL-Reader is a novel scene text recognition (STR) system that leverages a masked visual-linguistic reconstruction (MVLR) objective to jointly learn from visual and textual information. This approach achieves state-of-the-art performance by effectively integrating both modalities throughout the entire model, from encoding to decoding, leading to significant improvements on challenging datasets.

What Problem Does This Paper Address?

Reading text from natural scenes (Scene Text Recognition or STR) is a fundamental yet challenging task in computer vision. Existing methods often struggle with issues like occlusions, blur, and varied lighting conditions. The core problem is that text recognition inherently involves both visual cues (the shape of characters) and linguistic context (how characters form words and sentences). Previous approaches tended to focus on one modality over the other, or used linguistic information only as a post-processing step. This paper addresses the need for a unified approach that deeply integrates vision and language at all stages of the recognition process, specifically tackling three key challenges:

  1. Representativeness: Developing an encoder that can capture both visual and semantic distributions.
  2. Alignment: Ensuring the decoder effectively aligns visual and semantic information.
  3. Consistency: Maintaining a consistent framework from pre-training to fine-tuning.

Methods

VL-Reader introduces a novel approach inspired by masked autoencoding techniques, commonly used in both vision (e.g., MAE) and language (e.g., BERT). The key innovations are:

  • Masked Visual-Linguistic Reconstruction (MVLR) Objective: Instead of just reconstructing masked visual patches (like in MAE) or masked text tokens, VL-Reader reconstructs both masked visual patches and masked text tokens simultaneously. This forces the model to learn a richer, cross-modal representation by leveraging the interplay between visual and linguistic information.
  • Masked Visual-Linguistic Decoder (MVLD): A specialized decoder designed to facilitate bi-modal feature interaction. It uses a sequence of query tokens to gather information from both visual and linguistic modalities through self-attention and cross-attention mechanisms. This allows for a deeper integration of vision and language during the decoding process.
  • Two-Phase Training:
    1. Pre-training (MVLR): The model is trained with the MVLR objective, reconstructing both visual and text tokens. This phase builds a strong foundation of cross-modal understanding.
  • Fine-tuning (Text Recognition): The visual reconstruction task is disabled, and the model focuses solely on linguistic reconstruction (i.e., text recognition). This phase leverages the learned cross-modal representations for the final task.
  • Architectural Consistency: The VL-Reader architecture maintains consistency across both training phases, simplifying the transition from pre-training to fine-tuning.

Datasets

The paper utilizes a comprehensive set of datasets for training and evaluation:

  • Training:
    • Synthetic datasets: MJSynth (MJ) and SynthText (ST).
  • Real-world datasets: ArT, COCO-Text, LSVT, MLT-19, RCTW17, ReCTS, Uber, TextOCR, and OpenVINO.
  • Evaluation:
    • Standard Benchmarks: IIIT5K, ICDAR2013 (IC13), ICDAR2015 (IC15), Street View Text (SVT), Street View Text-Perspective (SVTP), and CUTE80.
  • Challenging Benchmarks: * Occluded: WOST, HOST.
  • Handwritten: IAM, CVL.
  • Large-scale/Irregular: COCO-Text (low-resolution, occluded), ArT (curved, rotated), Uber (vertical, rotated).

Key Insights and Ideas

  • The Power of Joint Reconstruction: The core insight is that simultaneously reconstructing both visual and linguistic information during pre-training is crucial for building robust scene text recognition models. This goes beyond simply using linguistic information as a post-hoc correction.
  • Vision and Language as Intertwined: The paper demonstrates that vision and language are not independent components but rather deeply intertwined. The MVLR objective effectively forces the model to learn how visual features inform linguistic predictions and vice-versa.
  • Decoder's Role is Critical: Unlike previous methods that might discard the decoder from pre-training, VL-Reader's MVLD is designed to actively participate in gathering and integrating cross-modal information, making it a key component for the final recognition task.
  • Consistency is Key: Maintaining a consistent architecture and training paradigm from pre-training to fine-tuning simplifies the process and likely contributes to better performance transfer.

Key Results

VL-Reader achieves impressive results across various benchmarks:

  • State-of-the-Art Performance: Achieves an average accuracy of 97.1% on six typical datasets, surpassing the previous SOTA by 1.1%.
  • Challenging Datasets: Shows even more significant improvements on challenging datasets, highlighting its robustness. For instance, it achieves +4.4% on WOST and +7.8% on HOST (occluded datasets).
  • Model Size Analysis: Even smaller versions of VL-Reader (e.g., ViT-Tiny) outperform existing methods like ABINet, demonstrating efficiency. The ViT-Base version achieves 96.9% on standard and 86.28% on occluded benchmarks.
  • Qualitative Improvements: VL-Reader demonstrates superior performance on challenging samples, including occluded, artistic, blurred, and rotated text, often correctly identifying characters or words where other methods fail (e.g., distinguishing "rock" from "book" in occluded images, or correctly recognizing "symphony" in a rotated scenario).

Limitations and Future Work

  • Limitations:
    • The paper notes that while VL-Reader performs well on various benchmarks, it might not show improved results on the Uber dataset, possibly due to the dataset's predominantly vertical text which may not be fully captured by the synthetic training data's horizontal bias.
  • The maximum label length for training is set to 25 characters, meaning images with longer text sequences might be neglected.
  • Future Work: The authors suggest two promising directions:
  • Developing a multilingual variant of VL-Reader to handle text in different languages.
  • Extending the approach to line recognition and whole-image recognition, moving beyond individual text instances.

Summary updated

BibTeX
@inproceedings{zhong2024vl,
  author = {Humen Zhong and Zhibo Yang and Zhaohai Li and Peng Wang and Jun Tang and Wenqing Cheng and Cong Yao},
  title = {{VL-Reader: Vision and Language Reconstructor is an Effective Scene Text Recognizer}},
  booktitle = {ACM Multimedia},
  year = {2024},
  url = {https://openreview.net/forum?id=eGNXda1ooK},
}
Figure