Representation and Correlation Enhanced Encoder-Decoder Framework for Scene Text Recognition

Mengmeng Cui, Wei Wang, Jinjin Zhang, Liang Wang

Abstract

Scene Text Recognition (STR) is a critical task in computer vision, often hindered by perspective distortion, artistic fonts, and complex backgrounds. Traditional attention-based encoder-decoder models frequently suffer from a "weak correlation" between visual feature extraction and linguistic sequence generation. This paper introduces the Representation and Correlation Enhanced Encoder-Decoder (RCEED) framework, which addresses these bottlenecks through a multi-stream feature fusion encoder and a multi-head general attention mechanism. RCEED achieves state-of-the-art results on multiple benchmarks, particularly excelling in irregular text recognition.

Introduction

Reading text from natural environments—such as street signs or product labels—is significantly more complex than standard OCR. The primary challenges include information loss in low-resolution feature maps, weak inter-character dependencies in Transformer-based models, and "initialization blindness" where decoders lack a global image context at the start of transcription. RCEED proposes to bridge this gap by tightening the relationship between how a model perceives an image and how it generates text.

Methodology

1. Overall Architecture

The RCEED framework consists of a rectification network, a representation-enhanced encoder, and a correlation-enhanced decoder. Unlike previous models that rely on high-resolution feature maps, RCEED utilizes a compact 3x20 map that fuses local, global, and positional information.

Overall architecture of the RCEED framework, showing the flow from image rectification to final text output.

2. Representation Enhanced Encoder

The encoder fuses three distinct information streams: local visual features extracted via a ResNet-based CNN, global context via a Bidirectional LSTM (BiLSTM), and positional encoding using sinusoidal functions. This combination ensures that the model maintains spatial awareness even with reduced feature map dimensions.

3. Multi-Head General Attention (MHGAT)

RCEED employs General Attention instead of standard additive attention. This approach is computationally efficient and, when implemented with multiple heads, allows the model to simultaneously focus on primary character features and supplementary contextual information.

Visualization of attention maps across eight heads for the word "SAMSUNG", demonstrating how different heads capture diverse spatial information.

4. Layernorm-Dropout LSTM (LD-LSTM)

To improve generalization, the authors introduced the LD-LSTM cell. By applying per-step dropout within recurrent connections, the model avoids over-relying on specific features, making it more robust to irregular fonts and spacing.

5. Guided Decoder Initialization

To solve the "initialization blindness" problem, the decoder is initialized using a holistic feature and a global glimpse vector derived from the entire encoded image. This provides the decoder with a comprehensive "map" of the word before predicting the first character.

Experimental Results

RCEED was evaluated on standard regular (IIIT5K, SVT, IC13) and irregular (IC15, SVTP, CUTE80) datasets.

  • State-of-the-Art Performance: On the challenging ICDAR2015 (irregular) dataset, RCEED achieved 82.2% accuracy, significantly outperforming previous leaders like RobustScanner (79.2%).
  • Efficiency: Despite using a feature map 1/4 the size of competitors like SAR, RCEED maintained superior accuracy, proving that effective feature fusion is more critical than raw resolution.

Conclusion

The RCEED framework demonstrates that enhancing the correlation between encoder and decoder is key to robust scene text recognition. By combining multi-stream feature representation with guided attention and specialized LSTM cells, the model sets new benchmarks for accuracy and efficiency in transcribing complex natural scene text.

Summary updated

BibTeX
@inproceedings{cui2021representation,
  author = {Mengmeng Cui and Wei Wang and Jinjin Zhang and Liang Wang},
  title = {{Representation and Correlation Enhanced Encoder-Decoder Framework for Scene Text Recognition}},
  booktitle = {ICDAR},
  year = {2021},
  doi = {10.1007/978-3-030-86337-1\_11},
}
Figure