Abstract
The Pixel Aggregation Network (PAN) is a high-speed, high-accuracy framework designed to detect text of any shape—including curved and extremely long lines—in real-time. By combining a lightweight backbone with a novel "cascadable" feature enhancement module and a learnable pixel-grouping strategy, PAN achieves state-of-the-art performance on curved text benchmarks while running at over 80 FPS.
Introduction
Scene text detection is a critical component for applications ranging from translation apps to autonomous navigation. However, existing methods often struggle with two primary challenges: the speed-accuracy trade-off and the detection of arbitrary shapes. Accurate detectors typically rely on heavy neural networks that are too slow for real-time use, while faster models often fail to capture non-rectangular text, such as text on curved surfaces or long banners. Modeling these shapes usually requires complex, slow post-processing steps to group pixels into coherent words or lines.
Methodology
PAN adopts a segmentation-based pipeline optimized for efficiency across every stage of the process.
Lightweight Backbone and Enhancement
The framework uses ResNet18 as a backbone. To compensate for its limited receptive field, the authors introduced the Feature Pyramid Enhancement Module (FPEM). This U-shaped, cascadable module utilizes depthwise separable convolutions to boost feature quality efficiently. Multiple FPEMs can be stacked to expand the receptive field without significant computational overhead. The Feature Fusion Module (FFM) then aggregates these multi-level features into a final map for prediction.
Pixel Aggregation (PA)
The core innovation of PAN is the Pixel Aggregation strategy. Instead of a simple text mask, the network predicts similarity vectors for every pixel. The network identifies "kernels" (central parts of text instances) and uses similarity vectors to "pull" surrounding text pixels toward the correct kernel. This learnable clustering approach is significantly faster and more robust than traditional hand-crafted grouping rules.
Datasets and Evaluation
The authors evaluated PAN on several major benchmarks to ensure its versatility:
- CTW1500 & Total-Text: Focused on curved and multi-oriented text.
- ICDAR 2015: A standard for multi-oriented English text in complex scenes.
- MSRA-TD500: Dedicated to multi-lingual, long text lines.
- SynthText: A large-scale synthetic dataset used for pre-training.
Key Results
PAN demonstrates a remarkable balance of speed and precision, particularly on the CTW1500 dataset.
- Speed: PAN-320 achieves 84.2 FPS, making it one of the fastest arbitrary-shaped text detectors. It is roughly 4 times faster than the popular EAST detector.
- Accuracy: PAN-640 achieves an F-measure of 83.7%, outperforming previous state-of-the-art methods like CTD+TLOC by over 10%.
- Versatility: The model remains competitive on rectangular text (ICDAR 2015) and long text (MSRA-TD500), proving its general-purpose utility.
Conclusion
PAN effectively bridges the gap between speed and accuracy in scene text detection. By turning post-processing into a learnable clustering problem and using efficient cascading modules, it enables real-time detection of complex text shapes. Future work may focus on improving performance in cluttered environments with text-like textures and integrating the detector into end-to-end OCR systems.
Summary updated