Skip to main content
QUICK REVIEW

[Paper Review] Decoupled Attention Network for Text Recognition

Tianwei Wang, Yuanzhi Zhu|arXiv (Cornell University)|Dec 21, 2019
Handwritten Text Recognition TechniquesComputer Science45 references8 citations
TL;DR

This paper proposes a Decoupled Attention Network (DAN) for text recognition that separates the alignment operation from historical decoding results, using a convolutional alignment module (CAM) based solely on visual features. By decoupling alignment from recurrence, DAN reduces error accumulation, achieves state-of-the-art performance on multiple text recognition benchmarks—including handwritten and irregular scene text—while demonstrating superior robustness to text length and image disturbances.

ABSTRACT

Text recognition has attracted considerable research interests because of its various applications. The cutting-edge text recognition methods are based on attention mechanisms. However, most of attention methods usually suffer from serious alignment problem due to its recurrency alignment operation, where the alignment relies on historical decoding results. To remedy this issue, we propose a decoupled attention network (DAN), which decouples the alignment operation from using historical decoding results. DAN is an effective, flexible and robust end-to-end text recognizer, which consists of three components: 1) a feature encoder that extracts visual features from the input image; 2) a convolutional alignment module that performs the alignment operation based on visual features from the encoder; and 3) a decoupled text decoder that makes final prediction by jointly using the feature map and attention maps. Experimental results show that DAN achieves state-of-the-art performance on multiple text recognition tasks, including offline handwritten text recognition and regular/irregular scene text recognition.

Motivation & Objective

  • Address the misalignment problem in attention-based text recognition caused by error propagation from recurrent decoding.
  • Reduce dependency on historical decoding states in attention mechanisms to improve alignment stability.
  • Develop a flexible, end-to-end text recognition framework that maintains high performance across diverse text types.
  • Enhance robustness to long sequences and subtle image disturbances common in real-world text recognition.
  • Achieve state-of-the-art results on standard benchmarks including IIIT-5K, IC13, IC03, SVT-P, and CUTE80.

Proposed method

  • Propose a convolutional alignment module (CAM) that computes attention maps using only visual features from a CNN encoder, eliminating reliance on hidden states or previous token embeddings.
  • Decouple the decoder into a CAM for alignment and a separate GRU-based text decoder that jointly attends to feature maps and attention maps.
  • Use a fully convolutional network (FCN) in a channel-wise manner to generate spatially dense attention maps from multi-scale visual features.
  • Implement a bi-directional GRU decoder for final character prediction, leveraging both visual and attention features.
  • Train the model end-to-end using ADADELTA with a fixed initial learning rate of 1.0, reduced to 0.1 after the third epoch.
  • Support both 1D and 2D variants of DAN (DAN-1D and DAN-2D) for flexible adaptation to regular and irregular text layouts.

Experimental results

Research questions

  • RQ1Can decoupling the alignment operation from recurrent decoding improve attention-based text recognition performance?
  • RQ2Does using only visual features for alignment reduce error accumulation and misalignment in long or complex text sequences?
  • RQ3How does the proposed DAN model compare to state-of-the-art methods on regular and irregular scene text recognition benchmarks?
  • RQ4To what extent is DAN robust to image disturbances such as padding, stretching, or bounding box expansion?
  • RQ5Can the decoupled architecture maintain high performance across diverse text types, including handwritten and curved text?

Key findings

  • DAN achieves state-of-the-art performance on IIIT-5K and IC03 for regular scene text recognition, with performance comparable to the current SOTA on SVT and IC13.
  • DAN-2D achieves state-of-the-art results on SVT-Perspective and CUTE80, outperforming existing 2D-based methods for irregular text.
  • DAN exhibits superior robustness to image disturbances: it consistently outperforms CA-FCN on perturbed versions of IIIT-5K and IC13, including IIIT-p, IIIT-r-p, IC13-ex, and IC13-r-ex.
  • The model shows significant advantages in long text recognition, particularly in handwritten text recognition, due to reduced error propagation from alignment.
  • The ablation study confirms that the CAM’s reliance on visual features alone improves alignment stability and reduces sensitivity to decoding errors.
  • The model’s flexibility allows seamless switching between 1D and 2D variants, enabling adaptation to different text layouts without architectural overhaul.

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.