DeepSolo: Let Transformer Decoder with Explicit Points Solo for Text Spotting

Maoyuan Ye, Jing Zhang, Shanshan Zhao, Juhua Liu, Tongliang Liu, Bo Du, Dacheng Tao

Abstract

DeepSolo is a streamlined, DETR-like framework that performs scene text detection and recognition simultaneously using a single Transformer decoder. By representing text as a sequence of ordered points and using them as "explicit point queries," it eliminates the need for complex region-of-interest (RoI) connectors or dual-decoder architectures. DeepSolo achieves state-of-the-art performance on standard benchmarks while offering significantly higher efficiency and faster convergence compared to previous multi-stage or multi-decoder methods.

Introduction

Text spotting—the combined task of detecting and recognizing text in natural scenes—is notoriously difficult because text comes in various shapes, orientations, and scales. Traditionally, researchers used "detect-then-recognize" pipelines. These require an intermediate "connector" (like RoI-Align) to crop and normalize text features before feeding them to a recognizer. However, these connectors add complexity and often struggle with curved or highly distorted text.

Comparison of text spotting pipelines and decoder designs. DeepSolo (c, f) simplifies the architecture into a single decoder with explicit point queries.

Recent Transformer-based methods tried to solve this by using learnable "object queries." While they removed the need for manual post-processing, they often suffered from "synergy issues," where the detection and recognition sub-tasks competed for resources or required separate, complex decoders to work effectively. DeepSolo aims to solve this by providing a unified, simple representation that lets one decoder do it all.

Methodology

The core innovation of DeepSolo is the Explicit Point Query. Instead of using a generic box or a single point to represent a text instance, the authors represent text as a Bezier center curve.

The DeepSolo architecture. The model uses a Transformer encoder to generate Bezier proposals, which are then sampled into explicit point queries for a single Transformer decoder.
  1. Bezier Proposals: The model's encoder predicts "top-K" Bezier center curve proposals. These curves are flexible enough to fit horizontal, multi-oriented, or curved text.
  2. Point Sampling: For each curve, the model uniformly samples $N$ points. These points serve as the spatial priors for the Transformer decoder.
  3. Single Decoder "Solo": These sampled points are encoded into positional queries and added to learnable content queries. A single Transformer decoder then processes these queries to extract text semantics and locations from the image features.
  4. Parallel Prediction Heads: The output from the decoder is fed into four simple, parallel heads: Instance Class, Character Class (for recognition), Center Points (for refinement), and Boundary Points (for shape).
  5. Text-Matching Criterion: Training uses a bipartite matching strategy with a Connectionist Temporal Classification (CTC) loss. This ensures predicted character sequences align with ground truth, even when point counts and character counts differ.

Datasets and Evaluation

The model was evaluated on several standard benchmarks:

  • Total-Text: Focused on arbitrarily shaped (curved) text.
  • ICDAR 2015 (IC15): Focused on multi-oriented, perspective text.
  • CTW1500: Focused on long, curved text lines.
  • Inverse-Text: A dataset specifically for highly rotated and "upside-down" text.

Training utilized a mix of synthetic data (Synth150K) and real-world datasets like MLT17, IC13, and TextOCR.

Key Insights and Results

DeepSolo achieves impressive quantitative results across the board:

  • Points as a Unified Language: By treating text as a sequence of points, the model bridges the gap between detection and recognition. Each point query is responsible for identifying the character at its specific location.
  • State-of-the-Art Accuracy: On the Total-Text dataset, DeepSolo (with a ResNet-50 backbone) achieved an F-measure of 82.5% for end-to-end spotting, outperforming previous SOTA models like TESTR and SPTS.
  • Speed and Efficiency: On the CTW1500 dataset, DeepSolo reached 20.0 FPS, which is roughly 25 times faster than the SPTS model (0.8 FPS) while maintaining higher accuracy.
  • Compatibility with Weak Annotations: DeepSolo works remarkably well with line annotations (just a center line) rather than full polygons, which significantly reduces the cost of labeling new datasets.

Limitations and Future Work

While DeepSolo is highly effective, the authors acknowledge a few areas for improvement. The model currently relies on points being sampled in the correct reading order; if the initial proposal gets the direction wrong, recognition will fail. Additionally, DeepSolo does not yet use an explicit language model to refine its predictions based on linguistic context. Future work will focus on integrating language modeling and extending the framework to support unified multi-language scene text spotting.

Summary updated

BibTeX
@inproceedings{ye2022deepsolo,
  author = {Maoyuan Ye and Jing Zhang and Shanshan Zhao and Juhua Liu and Tongliang Liu and Bo Du and Dacheng Tao},
  title = {{DeepSolo: Let Transformer Decoder with Explicit Points Solo for Text Spotting}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure