Efficient Scene Text Detection with Textual Attention Tower

Liang Zhang, Yufei Liu, Hang Xiao, Lu Yang, Guangming Zhu, Syed Afaq Ali Shah, Mohammed Bennamoun, Peiyi Shen

Introduction

Scene text detection is a fundamental task in computer vision, yet it faces a persistent trade-off between precision and efficiency. High-performing models typically rely on deep backbones like ResNet-101 to capture global context, which is necessary to distinguish text from complex backgrounds. However, these architectures are computationally heavy and unsuitable for real-time or edge deployment. Conversely, lightweight networks often suffer from high false-positive rates due to a limited receptive field.

The authors propose the Textual Attention Tower (TAT), a lightweight architecture designed to bridge this gap. By utilizing a truncated MobileNetV2 backbone and a novel dilated self-attention mechanism, the model achieves state-of-the-art accuracy on benchmarks like ICDAR 2015 while maintaining a fraction of the computational cost of previous methods.

Proposed Methodology: The Textual Attention Tower

The TAT framework is built upon three core components designed for maximum efficiency without sacrificing representational power.

The overall architecture of the proposed TAT framework, featuring a MobileNetV2 backbone and the Textual Attention Tower components.

1. Efficient Backbone

The model uses the first seven residual blocks of MobileNetV2 as its backbone. To mitigate the loss of spatial detail common in shallow networks, down-sampled versions of the original input image are fed directly into intermediate layers as additional channels, preserving low-level geometric information.

2. Textual Attention Tower (TAT)

The TAT is the central innovation, consisting of three functional units:

  • Feature Refine Unit (FRU): A bottleneck residual block that standardizes feature maps to 32 channels.
  • Textual Attention Unit (TAU): A spatial self-attention module that employs dilated convolutions with varying rates (1, 3, 5, and 7). This allows the network to capture a large receptive field and global context efficiently, helping it distinguish text from similar-looking textures like fences or bricks.
  • Feature Mixup Unit (FMU): Fuses features from different network stages via element-wise addition.

3. Detection and Loss

The detection branch (DET) utilizes $1 \times 1$ convolutions to regress Rotated Boxes (RBOX), enabling the detection of text at arbitrary angles. The training process is guided by a multi-task loss function combining Dice Loss for classification, IoU Loss for bounding box regression, and a cosine-based loss for rotation accuracy.

Experimental Results

The model was evaluated on standard benchmarks including ICDAR 2013, ICDAR 2015, and MSRA-TD500.

Performance comparison of various scene text detection methods. The TAT model (Ours) occupies the top-left region, indicating superior F-score with significantly lower FLOPs.

Efficiency and Accuracy

The primary strength of the TAT model is its efficiency. On the ICDAR 2015 dataset, the model achieved an F-score of 85.4 at 1080P resolution. As illustrated in Figure 1, the TAT model significantly outperforms established models like PixelLink and EAST in terms of the accuracy-to-computation ratio. Specifically, TAT requires only 6.65K FLOPs per pixel, compared to 765.65K FLOPs for PixelLink, while achieving a higher F-score.

Ablation Studies

Ablation experiments confirmed the importance of the TAT components. Removing the FRU and TAU led to a significant drop in precision, demonstrating that the dilated attention mechanism is critical for suppressing false positives by providing the necessary global context.

Conclusion and Future Work

The Textual Attention Tower demonstrates that deep, heavy backbones are not strictly necessary for high-quality scene text detection. By using dilated convolutions as a "shortcut" to global context, the TAT achieves competitive results with minimal computational overhead.

While highly effective, the model occasionally struggles with separating extremely close text lines in dense datasets like MSRA-TD500. Future work may involve integrating object-level supervision or more advanced instance segmentation techniques to further refine detection in crowded scenes.

Summary updated

BibTeX
@inproceedings{zhang2020efficient,
  author = {Liang Zhang and Yufei Liu and Hang Xiao and Lu Yang and Guangming Zhu and Syed Afaq Ali Shah and Mohammed Bennamoun and Peiyi Shen},
  title = {{Efficient Scene Text Detection with Textual Attention Tower}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9054213},
}
Figure