[Paper Review] A Holistic Representation Guided Attention Network for Scene Text Recognition
This paper proposes a holistic representation guided attention network for scene text recognition that directly connects 2D CNN features to an attention-based sequence decoder without intermediate sequence representations. By using a holistic image representation to guide 2D spatial attention, the model achieves state-of-the-art performance on irregular and regular scene text benchmarks while enabling parallel training, resulting in 1.5× to 9.4× faster backward passes and 1.3× to 7.9× faster forward passes compared to RNN-based counterparts, all with only word-level annotations.
Reading irregular scene text of arbitrary shape in natural images is still a challenging problem, despite the progress made recently. Many existing approaches incorporate sophisticated network structures to handle various shapes, use extra annotations for stronger supervision, or employ hard-to-train recurrent neural networks for sequence modeling. In this work, we propose a simple yet strong approach for scene text recognition. With no need to convert input images to sequence representations, we directly connect two-dimensional CNN features to an attention-based sequence decoder which guided by holistic representation. The holistic representation can guide the attention-based decoder focus on more accurate area. As no recurrent module is adopted, our model can be trained in parallel. It achieves 1.5x to 9.4x acceleration to backward pass and 1.3x to 7.9x acceleration to forward pass, compared with the RNN counterparts. The proposed model is trained with only word-level annotations. With this simple design, our method achieves state-of-the-art or competitive recognition performance on the evaluated regular and irregular scene text benchmark datasets.
Motivation & Objective
- To address the challenge of recognizing irregularly shaped text in natural images, which remains difficult due to complex spatial layouts.
- To eliminate the need for intermediate sequence representations and RNN-based encoders, which are inherently sequential and hard to train in parallel.
- To improve attention localization accuracy in 2D feature space by introducing a holistic image representation as a guide for the decoder.
- To achieve strong recognition performance using only word-level annotations, avoiding the need for costly character-level annotations.
- To enable faster training and inference by replacing recurrent networks with a non-recurrent, parallelizable attention-based decoder.
Proposed method
- The model uses a 2D CNN to extract feature maps and a holistic representation from the input image, bypassing sequence conversion.
- The holistic representation is concatenated with the decoder's hidden states to guide 2D spatial attention over the feature map during decoding.
- An attention-based decoder with 2D cross-attention is used to attend to relevant spatial regions in the feature map for each character prediction.
- The decoder is non-recurrent and fully differentiable, enabling parallel training and faster convergence.
- The model is trained end-to-end with only word-level annotations, without requiring character-level labels or post-processing.
- The holistic representation is computed via global average pooling and projected into a context vector to modulate attention weights.
Experimental results
Research questions
- RQ1Can a holistic image representation improve attention localization in 2D feature maps for irregular scene text recognition?
- RQ2Does replacing RNNs with a non-recurrent, parallelizable decoder improve training speed without sacrificing accuracy?
- RQ3Can a simple model architecture with only word-level annotations achieve state-of-the-art performance on irregular text recognition benchmarks?
- RQ4How does the proposed method compare in speed and accuracy to RNN-based and sequence-to-sequence models on both regular and irregular text datasets?
- RQ5What are the main failure modes of the model, and how do they relate to image quality and text orientation?
Key findings
- The proposed model achieves 79.5% accuracy on IC15-1811, a 3.4% improvement over the previous best word-level method (76.1%).
- On CT80, the model achieves 85.4% accuracy, a 1.0% improvement over the prior state-of-the-art word-level method (84.4%).
- On IIIT5K, the model achieves 94.7% accuracy, outperforming the best word-level baseline (94.3%) and being competitive with character-level models.
- The model is 1.5× to 9.4× faster in backward pass and 1.3× to 7.9× faster in forward pass than RNN-based models, due to non-recurrent design.
- Failure cases are primarily due to blurry images, low resolution, vertical text, lighting variations, and occlusion, with vertical text posing a particular challenge due to data scarcity in synthetic datasets.
- The attention mechanism successfully focuses on relevant character regions, though minor position drifts are occasionally observed in attention maps.
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.