SPTS: Single-Point Text Spotting

Dezhi Peng, Xinyu Wang, Yuliang Liu, Jiaxin Zhang, Mingxin Huang, Songxuan Lai, Jing Li, Shenggao Zhu, Dahua Lin, Chunhua Shen, Xiang Bai, Lianwen Jin

TL;DR

Existing scene text spotting models rely on expensive, meticulously drawn bounding boxes or polygons. This paper introduces SPTS (Single-Point Text Spotting), the first end-to-end text spotter trained using only a single-point annotation per text instance. By formulating text spotting as an auto-regressive sequence prediction task using a Transformer, SPTS drastically reduces data labeling costs while achieving state-of-the-art performance on arbitrarily shaped text benchmarks.

What Problem Does This Paper Address?

In the Optical Character Recognition (OCR) community, the focus has shifted from reading horizontal text to arbitrarily shaped and curved text in complex scenes. To handle this, researchers have developed increasingly complex annotation formats—from rectangles to quadrilaterals, polygons, and character-level boxes. Labeling this data is incredibly tedious and expensive.

Furthermore, these complex annotations have led to highly customized, heavily engineered network architectures. Most models rely on Region of Interest (RoI) pooling or complex post-processing to crop features from a detection module and feed them to a recognition module. If the detection is slightly off, the recognition module fails. The authors ask: can we strip away this complexity and train a highly accurate text spotter using the cheapest possible annotation—a single point?

Methods

Inspired by recent advances in generic object detection (specifically Pix2Seq), the authors reframe text spotting as a pure language modeling task.

  1. Architecture: The model uses a standard CNN and Transformer Encoder to extract visual and contextual features from an image. A Transformer Decoder then auto-regressively predicts a sequence of discrete tokens.
  2. Sequence Construction: Instead of predicting bounding boxes, the model predicts a sequence containing the discretized [x, y] coordinates of a single point (e.g., the center of the word) followed by the text transcription itself.
  3. No Task-Specific Modules: Because the output is just a sequence of tokens, SPTS completely discards traditional object detection modules like Region Proposal Networks (RPNs), RoI pooling, and complex grouping algorithms.
  4. New Evaluation Metric: Since a single point cannot be evaluated using standard Intersection over Union (IoU) metrics, the authors propose a new point-based distance metric to match predictions with ground-truth instances fairly.

Datasets

The model was pre-trained on a combination of datasets and fine-tuned/evaluated on several standard OCR benchmarks:

  • Pre-training: Curved Synthetic Dataset 150k, MLT-2017.
  • Horizontal Text: ICDAR 2013.
  • Multi-Oriented Text: ICDAR 2015.
  • Arbitrarily Shaped/Curved Text: Total-Text and SCUT-CTW1500.
  • Generic Object Detection (Extension): Pascal VOC 2012 (used to prove the single-point concept works outside of OCR).

Key Insights and Ideas

  • Massive Annotation Speedup: Labeling a single point is over 50 times faster than drawing character-level bounding boxes (e.g., 11 seconds vs. 581 seconds for a sample image).
  • Position Doesn't Matter Much: The model's performance is surprisingly insensitive to where the point is located. Training with the center point, the top-left corner, or even a random point inside the text yields nearly identical results.
  • Decoupling Detection and Recognition: Because SPTS doesn't use RoI cropping, the recognition accuracy isn't strictly bottlenecked by perfect localization. The model learns to read the text globally from the sequence, making it highly robust to curved and distorted text.
  • The "No-Point" Surprise: In an ablation study, the authors removed the point coordinates entirely, training a "No-Point Text Spotting" (NPTS) model using only the text transcriptions. Amazingly, the model still learned to implicitly locate and read the text, albeit with a drop in accuracy.

Key Results

Despite using vastly simpler annotations, SPTS achieves State-of-the-Art (SOTA) results on several benchmarks:

  • Total-Text (Curved): Achieved 74.2% (lexicon-free) and 82.4% (full lexicon) end-to-end recognition accuracy, outperforming complex polygon-based methods like MANGO and ABCNet v2.
  • SCUT-CTW1500 (Curved): Achieved 63.6% (lexicon-free) and 83.8% (full lexicon), beating previous SOTA by a large margin.
  • ICDAR 2013 (Horizontal): Achieved a highly competitive 93.3% accuracy.
  • Simplicity Wins: When the authors tried forcing their sequence model to predict 16-point Bezier curves instead of a single point, performance actually dropped (74.2% vs 60.6% on Total-Text), likely because the longer sequences were much harder for the Transformer to converge on.

Limitations and Future Work

  • Struggles with Tiny Text: SPTS underperforms on the ICDAR 2015 dataset (which features very small, incidental text). Because it lacks RoI cropping to zoom in on features, the low-resolution global feature map struggles to resolve tiny characters.
  • High Compute Requirements: The auto-regressive Transformer is resource-hungry. Training took about 63 hours on 32 NVIDIA V100 GPUs.
  • Slow Inference: Generating tokens one by one auto-regressively results in a slow inference speed of about 1.0 frame per second (fps).
  • Future Work: The authors suggest focusing on improving tiny text spotting, further exploring the zero-location "No-Point" (NPTS) paradigm, and expanding this ultra-low-cost annotation method to generic object detection tasks.

Summary updated

BibTeX
@inproceedings{peng2022spts,
  author = {Dezhi Peng and Xinyu Wang and Yuliang Liu and Jiaxin Zhang and Mingxin Huang and Songxuan Lai and Jing Li and Shenggao Zhu and Dahua Lin and Chunhua Shen and Xiang Bai and Lianwen Jin},
  title = {{SPTS: Single-Point Text Spotting}},
  booktitle = {ACM Multimedia},
  year = {2022},
  doi = {10.1145/3503161.3547942},
}
Figure