[Paper Review] Visual-Semantic Transformer for Scene Text Recognition
This paper proposes the Visual-Semantic Transformer (VST), a novel end-to-end scene text recognition model that jointly learns visual and semantic features via a weight-shared visual-semantic alignment module and multi-head self-attention interactions. By explicitly extracting and fusing semantic information with visual features through a transformer-based interaction module, VST achieves state-of-the-art performance on four of seven public benchmarks, outperforming prior methods with faster inference and no reliance on external language models.
Modeling semantic information is helpful for scene text recognition. In this work, we propose to model semantic and visual information jointly with a Visual-Semantic Transformer (VST). The VST first explicitly extracts primary semantic information from visual feature maps with a transformer module and a primary visual-semantic alignment module. The semantic information is then joined with the visual feature maps (viewed as a sequence) to form a pseudo multi-domain sequence combining visual and semantic information, which is subsequently fed into an transformer-based interaction module to enable learning of interactions between visual and semantic features. In this way, the visual features can be enhanced by the semantic information and vice versus. The enhanced version of visual features are further decoded by a secondary visual-semantic alignment module which shares weights with the primary one. Finally, the decoded visual features and the enhanced semantic features are jointly processed by the third transformer module obtaining the final text prediction. Experiments on seven public benchmarks including regular/ irregular text recognition datasets verifies the effectiveness our proposed model, reaching state of the art on four of the seven benchmarks.
Motivation & Objective
- To address the challenge of recognizing scene text in complex, degraded, or irregular conditions where visual cues alone are insufficient.
- To improve recognition accuracy by explicitly modeling semantic context without relying on external language models or lexicons.
- To enable effective visual-semantic feature interaction through a unified, end-to-end trainable transformer architecture.
- To achieve non-autoregressive, parallel decoding for faster inference compared to CTC-based or autoregressive models.
Proposed method
- The model uses a ConvNet to extract initial visual features from cropped scene images.
- A primary visual-semantic alignment module extracts semantic features from visual feature maps using a transformer-based module.
- Semantic and visual features are concatenated into a pseudo multi-domain sequence and fed into a transformer interaction module to enable cross-modality attention and feature enhancement.
- A secondary visual-semantic alignment module, sharing weights with the primary, decodes the enhanced visual features.
- The final enhanced visual and semantic features are jointly processed by a third transformer module and a softmax layer for end-to-end text prediction.
- The model employs online data augmentation and is trained with Adam optimizer on a multi-dataset mixture (ST, MJ, SA) with class-balanced sampling.
Experimental results
Research questions
- RQ1Can explicit semantic feature learning improve scene text recognition performance in low-quality or irregular text scenarios?
- RQ2How effective is visual-semantic interaction through multi-head self-attention in enhancing both visual and semantic representations?
- RQ3Can a unified, non-autoregressive transformer model outperform autoregressive or CTC-based models in speed and accuracy?
- RQ4Does weight-sharing between visual-semantic alignment modules improve feature alignment and generalization?
- RQ5How does the proposed method compare to SOTA models that rely on external pre-trained language models?
Key findings
- VST-B and VST-F achieve state-of-the-art performance on four out of seven public benchmarks, including significant improvements on IC03 (+0.8%) and CUTE (+2.8%).
- The model outperforms a recent SOTA method that uses cumbersome pre-trained language models, while being approximately three times faster during inference.
- Ablation studies confirm that each module—especially the visual-semantic alignment and interaction modules—contributes significantly to performance gains.
- Visualization of attention heatmaps confirms that the interaction module effectively focuses on relevant spatial regions corresponding to predicted characters.
- The model demonstrates strong generalization on challenging, irregular, and distorted text, as shown in successful case visualizations (Fig. 5).
- The performance gain from adding modules is consistent, with each incremental component improving accuracy, validating the modular design.
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.