What's Wrong with the Bottom-up Methods in Arbitrary-shape Scene Text Detection

Chengpei Xu, Wenjing Jia, Tingcheng Cui, Ruomei Wang, Yuan-fang Zhang, Xiangjian HearXiv 2021

TL;DR

This paper revitalizes bottom-up scene text detection by addressing its two main historical weaknesses: intermediate error accumulation and complex, error-prone contour route-finding. By leveraging Graph Convolutional Networks (GCNs) for both node classification and visual-relational feature fusion, combined with a simple shape-approximation strategy, the proposed method achieves state-of-the-art performance on challenging arbitrary-shape text datasets.

What Problem Does This Paper Address?

Scene text detection methods generally fall into two categories: top-down (treating text instances as a whole) and bottom-up (detecting small text segments and grouping them). While bottom-up methods are inherently more flexible at handling long, curved, or arbitrarily shaped text, they traditionally underperform compared to top-down approaches.

The authors identify two primary culprits for this underperformance:

  1. Error Accumulation: Standard feature extraction networks (like FPNs) often fail to build long-range dependencies, causing text regions to break apart or allowing text-like background objects to pass through as false positives.
  2. Route-Finding Failures: Grouping text segments into a final contour typically requires determining the exact sequence in which to visit contour points. This is analogous to the NP-complete Traveling Salesman Problem. Heuristic or greedy algorithms frequently get trapped in local optima, resulting in self-intersecting or chaotic contours.
The error accumulation problem of existing bottom-up approaches (top) vs. the authors' proposed solution (bottom).

Methods

The authors propose a novel framework that integrates visual and relational features to rectify text proposals and simplify contour generation:

  • Dense Overlapping Text Segments: Instead of sparse proposals, the network generates fine-grained, overlapping rectangular segments designed to capture the "characterness" and "streamline" flow of text.
  • Weakly Supervised Node Classification: Moving beyond using GCNs solely for link prediction, the authors use a GCN to classify graph nodes (text segments) into three categories: Char Segments, Interval Segments (spaces between characters), and Non-Text Segments. This allows the network to filter out background noise globally.
  • Visual-Relational Feature Fusion: To bridge the gap between graph features and standard convolutional features, a Location-Aware Transfer (LAT) module maps high-dimensional GCN features back into a 2D spatial grid based on segment coordinates. A Fusion Decoding (FD) module then blends these transformed relational features with FPN visual features to output a clean Graph Guided Text Region (GGTR) map.
  • Shape Approximation (SAp): To bypass the problematic route-finding phase, the authors introduce a simple morphological alternative. The rectified text segments are drawn onto a blank canvas, and standard contour-finding functions (like cv2.findContours) are run on the aggregated shape, completely eliminating point-ordering errors.
Fig. 3. The overall structure of our network. The “1/2,64”, “1/4,128”,... and “1/16,512” indicate the scale ratio and the channel number of the input image. In the training flow, the TCL map, GGTR map, geometric features, link prediction and node classification are guided by the loss function. In testing flow, the GGTR map and weakly supervised node classification results are used in our proposed FPNS strategies to rectify text segments. The proposed SAp is used to obtain the final contour of text segments.

Datasets

The model was pre-trained and evaluated on several standard scene text benchmarks:

  • SynthText: Used for pre-training and providing weak supervision for character/interval annotations.
  • Total-Text & CTW1500: Mainstream datasets focusing on curved, long, and arbitrary-shape text.
  • ICDAR2015: A benchmark for multi-oriented, small-scale scene text.
  • MSRA-TD500: A multi-lingual, long-text dataset.
  • MLT2017: A challenging multi-lingual dataset featuring nine different languages.

Key Insights and Ideas

  • GCNs are underutilized as classifiers in text detection: Prior bottom-up methods only used GCNs to predict links between segments. Utilizing node classification creates a powerful backward feedback loop that explicitly teaches the network what constitutes "characterness" versus background noise.
  • Projecting graphs back to pixels: Relational features from a GCN inherently contain structural information about long-range dependencies. By mapping these features back into the visual coordinate space (via the LAT module), the network provides standard CNN layers with the global context they typically lack.
  • Bypassing the Traveling Salesman Problem: Treating contour generation as a geometric aggregation problem (drawing and smoothing shapes) rather than a sequential pathfinding problem makes the inference pipeline significantly more robust against complex, highly curved text layouts.
Fig. 2. Route finding may produce suboptimal visiting orders when there are too many contour points. The resultant crossing lines are caused by incorrect visiting order of intermediate points. These crossing lines may lead to self- intersecting contours and result in detection failures.

Key Results

The proposed method achieved state-of-the-art (SOTA) performance on arbitrary-shape text benchmarks using a standard VGG16 backbone:

  • CTW1500: Reached an F-measure of 86.4%, outperforming competitive top-down and bottom-up methods without requiring complex backbone modifications like deformable convolutions.
  • Total-Text: Achieved an F-measure of 87.6%.
  • MSRA-TD500 & MLT2017: Achieved SOTA-comparable F-measures of 87.0% and 78.2%, respectively, demonstrating strong robustness across multi-lingual and long-text scenarios.

Ablation studies confirmed that combining both the GCN node classification and the GGTR visual-relational fusion provided a cumulative performance boost (~1.5% to 2.0% improvement in F-measure across datasets compared to the baseline).

Limitations and Future Work

While the dense segment design and GCN reasoning handle large spaces between words well, the system still struggles when a single text line is physically interrupted or separated by distinct non-text objects. In these scenarios, the visual and relational continuity breaks down. The authors suggest that incorporating semantic or language-model context could be a promising direction to bridge these physical gaps in future iterations.

Summary updated

BibTeX
@misc{xu2021what,
  author = {Chengpei Xu and Wenjing Jia and Tingcheng Cui and Ruomei Wang and Yuan-fang Zhang and Xiangjian He},
  title = {{What's Wrong with the Bottom-up Methods in Arbitrary-shape Scene Text Detection}},
  year = {2021},
  eprint = {2108.01809},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.01809},
}
Figure