Skip to main content
QUICK REVIEW

[Paper Review] FAST: Faster Arbitrarily-Shaped Text Detector with Minimalist Kernel Representation

Zhe Chen, Wang, Jiahao|arXiv (Cornell University)|Nov 3, 2021
Handwritten Text Recognition TechniquesComputer Science46 references7 citations
TL;DR

FAST proposes a real-time, accurate arbitrarily-shaped text detector using a minimalist kernel representation (MKR) and GPU-parallel post-processing, achieving 81.6% F-measure at 152.8 FPS on Total-Text, outperforming prior methods in both speed and accuracy. The method employs a custom neural architecture search (NAS) for text-specific backbones (TextNet), enabling efficient, end-to-end GPU inference with minimal post-processing overhead.

ABSTRACT

We propose an accurate and efficient scene text detection framework, termed FAST (i.e., faster arbitrarily-shaped text detector). Different from recent advanced text detectors that used complicated post-processing and hand-crafted network architectures, resulting in low inference speed, FAST has two new designs. (1) We design a minimalist kernel representation (only has 1-channel output) to model text with arbitrary shape, as well as a GPU-parallel post-processing to efficiently assemble text lines with a negligible time overhead. (2) We search the network architecture tailored for text detection, leading to more powerful features than most networks that are searched for image classification. Benefiting from these two designs, FAST achieves an excellent trade-off between accuracy and efficiency on several challenging datasets, including Total Text, CTW1500, ICDAR 2015, and MSRA-TD500. For example, FAST-T yields 81.6% F-measure at 152 FPS on Total-Text, outperforming the previous fastest method by 1.7 points and 70 FPS in terms of accuracy and speed. With TensorRT optimization, the inference speed can be further accelerated to over 600 FPS. Code and models will be released at https://github.com/czczup/FAST.

Motivation & Objective

  • To address the inefficiency of CPU-based post-processing in existing text detectors, which consumes up to 30% of inference time.
  • To design a GPU-friendly text representation that enables parallelizable post-processing for real-time inference.
  • To develop a neural architecture search (NAS) pipeline tailored for text detection, rather than image classification, to discover more effective lightweight backbones.
  • To achieve a superior trade-off between detection accuracy and inference speed on challenging, arbitrary-shaped text benchmarks.

Proposed method

  • Introduces a minimalist kernel representation (MKR) that encodes text lines as a 1-channel eroded region with peripheral pixels, enabling efficient GPU-parallel text dilation during post-processing.
  • Employs a GPU-parallel text dilation operation to reconstruct full text instances from MKR outputs, reducing post-processing time to negligible overhead.
  • Designs a custom NAS search space and reward function specifically for text detection, optimizing for feature quality in text-aware contexts rather than general image classification.
  • Searches for and deploys efficient backbones named TextNet, which are more effective for text detection than ImageNet-pretrained or general object detection models.
  • Utilizes TensorRT inference optimization to further accelerate inference, achieving over 600 FPS with batch size 8 on V100 GPU.

Experimental results

Research questions

  • RQ1Can a minimalist kernel representation enable both high accuracy and GPU-parallel post-processing in text detection?
  • RQ2How does a text-specific neural architecture search (NAS) strategy improve detection performance compared to transfer learning from image classification?
  • RQ3What is the performance gain in accuracy and speed when combining a GPU-parallel post-processing pipeline with a custom backbone for text detection?
  • RQ4To what extent can inference speed be accelerated using TensorRT while maintaining high F-measure on arbitrary-shaped text benchmarks?

Key findings

  • FAST-T-448 achieves 81.6% F-measure at 152.8 FPS on Total-Text, outperforming the previous fastest method PAN-320 by 1.7 points in F-measure and 70 FPS in speed.
  • With TensorRT optimization, FAST-T-448 reaches 634.7 FPS (batch size 8), demonstrating strong practical deployment efficiency.
  • FAST-B-800 achieves 87.5% F-measure at 46.0 FPS, maintaining real-time inference while significantly outperforming PSENet-4s in both accuracy and FLOPs (87.5% vs. 79.6%, 100.1G vs. 345.9G).
  • On Total-Text, FAST-T-512 achieves 83.5% F-measure with 29.5G FLOPs, outperforming DB-R18 (82.8% F-measure) with similar FLOPs.
  • FAST-S-512 achieves 84.9% F-measure at 115.5 FPS, demonstrating strong performance with a small model size (9.7M parameters).
  • The NAS-optimized TextNet backbones provide more powerful features for text detection than MobileNetV3 or ResNet18, which were not specifically designed for this task.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.