[Paper Review] Towards End-to-End Text Spotting in Natural Scenes
This paper proposes an end-to-end deep learning framework for scene text spotting that jointly detects and recognizes text in a single forward pass using shared convolutional features. By integrating a 2D attention mechanism in the recognition branch, the model accurately locates characters within irregularly shaped text, enabling robust recognition and bounding box refinement, achieving state-of-the-art performance on both regular and irregular text benchmarks.
Text spotting in natural scene images is of great importance for many image understanding tasks. It includes two sub-tasks: text detection and recognition. In this work, we propose a unified network that simultaneously localizes and recognizes text with a single forward pass, avoiding intermediate processes such as image cropping and feature re-calculation, word separation, and character grouping. In contrast to existing approaches that consider text detection and recognition as two distinct tasks and tackle them one by one, the proposed framework settles these two tasks concurrently. The whole framework can be trained end-to-end and is able to handle text of arbitrary shapes. The convolutional features are calculated only once and shared by both detection and recognition modules. Through multi-task training, the learned features become more discriminate and improve the overall performance. By employing the $2$D attention model in word recognition, the irregularity of text can be robustly addressed. It provides the spatial location for each character, which not only helps local feature extraction in word recognition, but also indicates an orientation angle to refine text localization. Our proposed method has achieved state-of-the-art performance on several standard text spotting benchmarks, including both regular and irregular ones.
Motivation & Objective
- Address the challenge of end-to-end text spotting in natural scenes, where text varies in shape, orientation, and layout.
- Overcome limitations of two-stage pipelines that rely on intermediate cropping and feature re-extraction.
- Improve performance on irregular text (e.g., curved or oriented) by leveraging attention-based localization and recognition.
- Enable joint optimization of detection and recognition through shared features and multi-task training.
- Reduce computational cost and improve inference speed by eliminating redundant feature computation and using efficient architecture design.
Proposed method
- Uses a ResNet-FPN backbone to extract multi-scale features, shared across detection and recognition branches.
- Employs a Text Proposal Network (TPN) at multiple FPN levels to generate region proposals for text instances.
- Applies RoI pooling to extract fixed-size 2D features from each proposal for both detection and recognition.
- Introduces a 2D attention-based encoder-decoder network in the recognition branch to localize character positions and improve transcription accuracy.
- Leverages attention weights to refine bounding boxes by estimating orientation and spatial alignment, especially for irregular text.
- Adopts a shared feature encoding strategy with modified LSTM architecture (reduced parameters and inference time) for improved efficiency.
Experimental results
Research questions
- RQ1Can a unified end-to-end framework jointly optimize text detection and recognition while maintaining high accuracy on both regular and irregular text?
- RQ2How effective is a 2D attention mechanism in modeling spatial relationships between characters for irregular text recognition?
- RQ3To what extent can attention-based localization improve bounding box quality and reduce reliance on precise initial proposals?
- RQ4Does multi-task training with shared features enhance feature discriminability and overall performance compared to separate training?
- RQ5Can architectural modifications such as reduced LSTM layers and optimized inference pipelines significantly improve speed without sacrificing accuracy?
Key findings
- The proposed method achieves state-of-the-art performance on multiple benchmarks, including ICDAR2013 (F-measure: 58.72%) and Total-Text (F-measure: 59.11%) with box refinement.
- Box refinement using attention heatmaps improves detection performance by approximately 3% on ICDAR2013 and 7% on Total-Text for irregular text.
- Fitting 6-point polygons from attention maps yields a 0.4% average F-measure improvement over quadrilateral fitting on Total-Text.
- The model runs at ~2× faster inference speed (0.5s per 720×1280 image on Titan X) compared to the conference version, with 4M fewer parameters.
- The ablation study confirms that the modified LSTM architecture reduces parameters and inference time without significant accuracy drop.
- Failure cases are primarily due to low-contrast text, small size, uncommon fonts, blur, and imperfect attention-based box refinement.
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.