SCATTER: Selective Context Attentional Scene Text Recognizer

Ron Litman, Oron Anschel, Shahar Tsiper, Roee Litman, Shai Mazor, R. ManmathaCVPR 2020

Introduction

Scene Text Recognition (STR) remains a challenging task in computer vision due to the diversity of text appearances in natural environments. While horizontal, clean text is relatively well-handled by existing models, "irregular" text—which includes curved, tilted, or distorted characters—poses significant difficulties. A common architectural choice for STR involves using Bidirectional Long Short-Term Memory (BiLSTM) encoders to capture contextual dependencies. However, increasing the depth of these encoders often leads to vanishing gradients and training instability, creating a performance ceiling.

SCATTER (Selective Context ATtentional Text Recognizer) addresses these challenges through a stacked-block architecture and a novel selective-decoder mechanism. By employing intermediate supervision, SCATTER successfully trains deep BiLSTM stacks, achieving state-of-the-art results on irregular text benchmarks.

Architecture and Methods

The SCATTER framework is built upon four primary innovations designed to enhance contextual encoding and decoding robustness.

Stacked Block Architecture and Intermediate Supervision

The core of SCATTER is a sequence of "Selective-Contextual Refinement Blocks." Each block contains a two-layer BiLSTM. To overcome the training difficulties associated with deep recurrent networks, the authors introduce intermediate supervision. During the training phase, every block is connected to its own selective-decoder with an associated loss function. This ensures that a direct gradient signal reaches earlier layers, stabilizing the training of stacks up to 12 layers deep.

The overall architecture of SCATTER, highlighting the sequence of refinement blocks and the intermediate supervision strategy used during training.

The Selective-Decoder

Standard decoders typically focus on either visual features from a CNN or contextual features from an RNN. SCATTER’s selective-decoder utilizes a two-step 1D attention mechanism to leverage both:

  1. Inter-Feature Attention: The decoder computes an attention map to weigh the relevance of visual features (from the CNN) against contextual features (from the BiLSTM).
  2. Cross-Feature Attention: It then treats these refined features as a sequence, attending to the relationships between characters to improve prediction accuracy.
Detailed view of the Selective Decoder, showing the Inter-Feature and Cross-Feature 1D Attention mechanisms.

Visual Feature Refinement

To ensure the CNN backbone maintains high fidelity for character-level details, the model includes a separate branch using Connectionist Temporal Classification (CTC). This provides per-column supervision of the visual features, acting as an additional regularizer during training.

Experimental Results

SCATTER was evaluated on seven standard benchmarks, including regular text (IIIT5K, SVT, IC03, IC13) and irregular text (IC15, SVTP, CUTE80). The model was trained on a combination of synthetic datasets: MJSynth, SynthText, and SynthAdd.

Performance on Irregular Text

SCATTER achieved significant improvements on irregular text benchmarks, outperforming previous state-of-the-art methods by an average of 3.7%. Notable gains include a 4.0 percentage point (pp) increase on ICDAR2015 and a 3.3 pp increase on SVT-Perspective.

Ablation and Efficiency

Ablation studies confirmed that intermediate supervision is a key driver of performance, improving the baseline by 2.7 pp on irregular text. Furthermore, the researchers observed a "pruning bonus": a deep model trained with intermediate supervision performs better at inference even when pruned down to its first block compared to a model originally trained with only one block. Despite its depth, a 5-block SCATTER architecture maintains a competitive inference time of 32.9 ms.

Conclusion

SCATTER demonstrates that the perceived limits of deep BiLSTM encoders in STR were primarily optimization hurdles rather than architectural ones. By combining intermediate supervision with a selective attention mechanism, SCATTER provides a robust solution for recognizing complex, irregular text in the wild. Future work may involve developing "oracle" decoding strategies to further capitalize on the multiple predictions generated by the stacked blocks.

Summary updated

BibTeX
@inproceedings{litman2020scatter,
  author = {Ron Litman and Oron Anschel and Shahar Tsiper and Roee Litman and Shai Mazor and R. Manmatha},
  title = {{SCATTER: Selective Context Attentional Scene Text Recognizer}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01198},
}
Figure