[Paper Review] Masked Vision-Language Transformers for Scene Text Recognition
This paper proposes Masked Vision-Language Transformers (MVLT), a two-stage STR model that jointly learns explicit and implicit linguistic semantics via a Vision Transformer encoder and a multi-modal Transformer decoder. By pretraining with a dual-masking strategy to reconstruct both visual patches and masked text tokens—while also learning from fully masked inputs—the model achieves state-of-the-art performance on multiple benchmarks, outperforming prior methods by up to 2.1% on CUTE.
Scene text recognition (STR) enables computers to recognize and read the text in various real-world scenes. Recent STR models benefit from taking linguistic information in addition to visual cues into consideration. We propose a novel Masked Vision-Language Transformers (MVLT) to capture both the explicit and the implicit linguistic information. Our encoder is a Vision Transformer, and our decoder is a multi-modal Transformer. MVLT is trained in two stages: in the first stage, we design a STR-tailored pretraining method based on a masking strategy; in the second stage, we fine-tune our model and adopt an iterative correction method to improve the performance. MVLT attains superior results compared to state-of-the-art STR models on several benchmarks. Our code and model are available at https://github.com/onealwj/MVLT.
Motivation & Objective
- Address the challenge of scene text recognition (STR) under poor lighting, occlusion, and deformation by integrating linguistic semantics into visual models.
- Overcome the limitation of existing language-aware STR models that rely on either explicit language models or implicit visual cues, but not both.
- Develop a unified framework that captures both explicit (word-level) and implicit (contextual) linguistic knowledge during pretraining.
- Improve real-world applicability by leveraging unlabeled real-world data during pretraining and using iterative correction during fine-tuning.
Proposed method
- Propose a two-stage training pipeline: (1) pretraining with a novel masking strategy to learn visual and linguistic semantics, and (2) fine-tuning with iterative correction.
- Use a Vision Transformer (ViT) as the encoder to extract visual features from image patches.
- Design a multi-modal Transformer decoder with two sub-decoders: one masks and predicts character-level tokens (explicit semantics), and another masks all text to learn implicit semantics from visual cues alone.
- Share parameters between the two sub-decoders during pretraining to improve efficiency and feature alignment.
- Introduce a masked pretraining objective inspired by MAE, where visual patches and text tokens are masked and reconstructed, with joint optimization of visual and textual losses.
- Apply iterative correction during fine-tuning: the model refines predictions across multiple forward passes using the image and previous predictions as input.
Experimental results
Research questions
- RQ1Can jointly learning explicit and implicit linguistic semantics improve scene text recognition under challenging real-world conditions?
- RQ2Does pretraining with a dual-masking strategy—masking both visual patches and text tokens—enhance model generalization and robustness?
- RQ3How effective is the use of unlabeled real-world data in improving STR performance in practical scenarios?
- RQ4To what extent does iterative correction during inference improve recognition accuracy, especially on irregular or degraded text?
- RQ5Is the ability to learn from fully masked text inputs (implicit semantics) more beneficial than relying on explicit word-level cues?
Key findings
- MVLT achieves state-of-the-art performance on all evaluated benchmarks, outperforming ABINet by 1.2%, 0.6%, 1.2%, 1.6%, and 2.1% on SVT, IIIT, IC15, SVTP, and CUTE respectively.
- MVLT*—which uses unlabeled real-world data in pretraining—achieves further gains, especially on irregular text, demonstrating improved real-world robustness.
- The ablation study confirms that learning both explicit and implicit semantics is essential: removing either leads to a drop in accuracy, with implicit learning contributing more significantly.
- Iterative correction significantly improves performance, particularly when explicit textual supervision is used during training.
- The pretraining stage enables the model to reconstruct both visual patches and masked text tokens, showing that it learns meaningful visual-linguistic representations.
- Visualization results confirm that the model successfully handles occluded, blurred, deformed, and complex-font text after fine-tuning, indicating strong generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.