[Paper Review] PAN++: Towards Efficient and Accurate End-to-End Spotting of Arbitrarily-Shaped Text
PAN++ proposes an efficient and accurate end-to-end framework for arbitrarily-shaped text spotting using a novel kernel representation that models text as a central kernel surrounded by peripheral pixels. By leveraging a fully convolutional architecture with lightweight components—stacked Feature Pyramid Enhancement Modules, a Pixel Aggregation-aware detection head, and a Masked RoI-based recognition head—PAN++ achieves 64.9 F-measure at 29.2 FPS on Total-Text, outperforming prior methods in both speed and accuracy.
Scene text detection and recognition have been well explored in the past few years. Despite the progress, efficient and accurate end-to-end spotting of arbitrarily-shaped text remains challenging. In this work, we propose an end-to-end text spotting framework, termed PAN++, which can efficiently detect and recognize text of arbitrary shapes in natural scenes. PAN++ is based on the kernel representation that reformulates a text line as a text kernel (central region) surrounded by peripheral pixels. By systematically comparing with existing scene text representations, we show that our kernel representation can not only describe arbitrarily-shaped text but also well distinguish adjacent text. Moreover, as a pixel-based representation, the kernel representation can be predicted by a single fully convolutional network, which is very friendly to real-time applications. Taking the advantages of the kernel representation, we design a series of components as follows: 1) a computationally efficient feature enhancement network composed of stacked Feature Pyramid Enhancement Modules (FPEMs); 2) a lightweight detection head cooperating with Pixel Aggregation (PA); and 3) an efficient attention-based recognition head with Masked RoI. Benefiting from the kernel representation and the tailored components, our method achieves high inference speed while maintaining competitive accuracy. Extensive experiments show the superiority of our method. For example, the proposed PAN++ achieves an end-to-end text spotting F-measure of 64.9 at 29.2 FPS on the Total-Text dataset, which significantly outperforms the previous best method. Code will be available at: https://git.io/PAN.
Motivation & Objective
- Address the challenge of efficient and accurate end-to-end spotting of arbitrarily-shaped text in natural scenes.
- Overcome limitations of existing text representations—such as quadrilateral, pixel-wise, and bbox-pixel—by introducing a kernel-based representation that supports curved and adjacent text.
- Design a one-stage, fully convolutional pipeline that enables real-time inference while maintaining high accuracy.
- Improve generalization across datasets by training on synthetic and real-world data, achieving strong cross-dataset performance.
Proposed method
- Propose a kernel representation that models a text line as a central kernel (text core) surrounded by peripheral pixels, enabling tight and flexible boundary prediction for curved and adjacent text.
- Design a feature enhancement network using stacked Feature Pyramid Enhancement Modules (FPEMs) to aggregate multi-scale features efficiently.
- Implement a lightweight detection head with Pixel Aggregation (PA) to predict kernel and peripheral regions in a single forward pass.
- Introduce a Masked RoI-based recognition head that attends to kernel regions and suppresses background noise, improving recognition accuracy.
- Train the entire end-to-end pipeline using a single fully convolutional network, enabling real-time inference on GPU.
- Enable speed optimization via parallelization of the recognition head, reducing inference time by half in practice.
![Figure 1: Comparisons of different scene text representations. (a) The quadrilateral representation [ 9 , 3 , 7 ] fail to locate curved text lines. (b) The pixel-wise representation [ 10 ] is not able to separate adjacent text lines. (c) Although the bounding-box-pixel (bbox-pixel) representation [](https://ar5iv.labs.arxiv.org/html/2105.00405/assets/x1.png)
Experimental results
Research questions
- RQ1Can a kernel-based representation effectively model arbitrarily-shaped and adjacent text lines while enabling one-stage, end-to-end prediction?
- RQ2How does the proposed kernel representation compare to existing representations (quadrilateral, pixel-wise, bbox-pixel) in terms of accuracy and efficiency?
- RQ3Can a fully convolutional, lightweight architecture achieve state-of-the-art performance in both detection and recognition with real-time inference speed?
- RQ4To what extent does the model generalize across diverse datasets, including synthetic and real-world benchmarks?
- RQ5What are the key failure modes of the system, and how can they be mitigated with better data or architectural improvements?
Key findings
- PAN++ achieves an end-to-end text spotting F-measure of 64.9 at 29.2 FPS on the Total-Text dataset, significantly outperforming previous state-of-the-art methods.
- The model trained on SynthText alone achieves a 51.5 F-measure on Total-Text and 53.9 on IC15, demonstrating strong zero-shot generalization capability.
- On cross-dataset evaluation at the text line level, all models exceed 78 F-measure, with 79.7 on CTW1500→MSRA-TD500 and 78.2 on MSRA-TD500→CTW1500, indicating strong generalization.
- The recognition head accounts for nearly half of the total inference time, and parallelization reduces latency to 1/2, enabling real-time deployment.
- Failure cases include large character spacing, text-like non-text regions, and stylized fonts—issues primarily attributed to data sparsity and lack of linguistic context.
- The kernel representation enables tight, accurate segmentation of curved and adjacent text lines, outperforming quadrilateral and pixel-wise representations in both flexibility and separation capability.
![Figure 2: End-to-end text spotting F-measure and inference speed on Total-Text. Our PAN++ has extreme advantages compared with counterparts. “PAN++ 736” (the short size of the input image being 736 pixels) is 5.0 points better than ABCNet [ 22 ] and the inference speed is faster. “PAN++ 512” execute](https://ar5iv.labs.arxiv.org/html/2105.00405/assets/x2.png)
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.