[Paper Review] 2D-CTC for Scene Text Recognition
This paper proposes 2D-CTC, an extension of Connectionist Temporal Classification that models scene text as 2D probability distributions instead of 1D sequences, enabling better handling of curved, oriented, and noisy text. It achieves state-of-the-art accuracy on both regular and irregular text benchmarks while maintaining high inference speed, outperforming both vanilla CTC and attention-based methods.
Scene text recognition has been an important, active research topic in computer vision for years. Previous approaches mainly consider text as 1D signals and cast scene text recognition as a sequence prediction problem, by feat of CTC or attention based encoder-decoder framework, which is originally designed for speech recognition. However, different from speech voices, which are 1D signals, text instances are essentially distributed in 2D image spaces. To adhere to and make use of the 2D nature of text for higher recognition accuracy, we extend the vanilla CTC model to a second dimension, thus creating 2D-CTC. 2D-CTC can adaptively concentrate on most relevant features while excluding the impact from clutters and noises in the background; It can also naturally handle text instances with various forms (horizontal, oriented and curved) while giving more interpretable intermediate predictions. The experiments on standard benchmarks for scene text recognition, such as IIIT-5K, ICDAR 2015, SVP-Perspective, and CUTE80, demonstrate that the proposed 2D-CTC model outperforms state-of-the-art methods on the text of both regular and irregular shapes. Moreover, 2D-CTC exhibits its superiority over prior art on training and testing speed. Our implementation and models of 2D-CTC will be made publicly available soon later.
Motivation & Objective
- To address the limitation of vanilla CTC in handling 2D spatial distributions of scene text, which are inherently two-dimensional but are collapsed into 1D sequences.
- To preserve spatial context in text features by extending CTC to operate over 2D probability distributions along the height dimension.
- To improve recognition accuracy for irregular text forms such as curved, rotated, or oriented text, which are poorly handled by 1D sequence models.
- To maintain high inference speed by designing an efficient dynamic programming algorithm for 2D-CTC computation.
- To provide more interpretable intermediate predictions by enabling attention-like feature focusing without requiring character-level annotations.
Proposed method
- Extends vanilla CTC by introducing a second dimension (height) in the probability distribution, allowing path search over both time and height dimensions.
- Reformulates the CTC loss function to compute conditional probabilities over 2D distributions, preserving spatial structure and reducing noise interference.
- Uses dynamic programming to efficiently compute the 2D-CTC loss, reducing time complexity to a nearly negligible cost despite the added dimension.
- Employs a fully convolutional network architecture to support end-to-end training and inference, enabling parallelization and high speed.
- Introduces a path transition mechanism that adaptively focuses on relevant text features while suppressing background clutter.
- Enables weakly supervised character localization by visualizing attention-like behavior in the height dimension without requiring bounding box annotations.
Experimental results
Research questions
- RQ1Can extending CTC to two dimensions improve recognition accuracy for scene text, especially for irregular and curved text instances?
- RQ2Does modeling 2D spatial distributions in text recognition reduce sensitivity to background noise and clutter compared to 1D sequence modeling?
- RQ3Can 2D-CTC achieve higher accuracy than both vanilla CTC and attention-based decoders while maintaining or improving inference speed?
- RQ4To what extent does the 2D-CTC formulation enable interpretable intermediate predictions, such as character location estimation, without explicit supervision?
- RQ5How does the computational cost of 2D-CTC scale, and can an efficient dynamic programming algorithm make it practical for real-world deployment?
Key findings
- 2D-CTC achieves state-of-the-art performance on standard benchmarks, including IIIT-5K, ICDAR 2015, SVP-Perspective, and CUTE80, with significant improvements on irregular text datasets like CUTE80 and Total-Text.
- On the CUTE80 benchmark, 2D-CTC achieves a recognition accuracy of 91.8%, outperforming prior methods, and shows strong robustness to curved and rotated text.
- The model runs at 36.22 FPS on a single GPU, which is 3–4 times faster than the attention-based ASTER model (11.35 FPS), demonstrating superior inference efficiency.
- The dynamic programming algorithm reduces the computational overhead of 2D-CTC to a nearly ignorable cost, making the method practical despite the increased dimensionality.
- 2D-CTC produces more interpretable predictions, as visualizations reveal approximate character locations and orientations without requiring character-level annotations.
- The method consistently outperforms both vanilla CTC and vanilla CTC with added 2D attention, confirming the superiority of the 2D-CTC formulation over alternative attention integration strategies.
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.