Skip to main content
QUICK REVIEW

[Paper Review] End-to-End Information Extraction by Character-Level Embedding and Multi-Stage Attentional U-Net

Tuan Anh Dang, Dat Nguyen|arXiv (Cornell University)|Jun 2, 2021
Handwritten Text Recognition TechniquesComputer Science11 citations
TL;DR

This paper proposes Multi-Stage Attentional U-Net (MSAU), a novel end-to-end deep learning architecture for document image information extraction using 2D character-grid embeddings. By integrating multi-stage encoder-decoders, self-attention, and box convolution, MSAU achieves 87.2% mIOU on Japanese invoices—6.5% higher than baseline U-Net—while using 40% fewer parameters and demonstrating robustness under low-data and high-OCR-error conditions.

ABSTRACT

Information extraction from document images has received a lot of attention recently, due to the need for digitizing a large volume of unstructured documents such as invoices, receipts, bank transfers, etc. In this paper, we propose a novel deep learning architecture for end-to-end information extraction on the 2D character-grid embedding of the document, namely the extit{Multi-Stage Attentional U-Net}. To effectively capture the textual and spatial relations between 2D elements, our model leverages a specialized multi-stage encoder-decoders design, in conjunction with efficient uses of the self-attention mechanism and the box convolution. Experimental results on different datasets show that our model outperforms the baseline U-Net architecture by a large margin while using 40\% fewer parameters. Moreover, it also significantly improved the baseline in erroneous OCR and limited training data scenario, thus becomes practical for real-world applications.

Motivation & Objective

  • To address the limitations of template-based and heuristic methods in handling variable-format documents with complex layouts.
  • To improve end-to-end information extraction from document images by leveraging 2D character-grid representations that encode both textual and spatial features.
  • To design a deep learning model that is robust to OCR errors and limited training data, critical for real-world deployment.
  • To enhance feature learning by separating textual and spatial reasoning through a multi-stage training paradigm.
  • To validate the effectiveness of self-attention, box convolution, and multi-stage learning in modeling complex document layouts.

Proposed method

  • The model uses a 2D character-grid representation of document images to encode both local texture and global spatial structure.
  • A multi-stage encoder-decoder architecture decouples textual feature learning (early stages) from spatial relation modeling (later stages).
  • Self-attention mechanisms are applied to capture long-range dependencies across spatial positions in the char-grid.
  • Box convolution layers expand the receptive field by learning spatially structured filters, improving spatial reasoning on layout patterns.
  • A multi-task training scheme with auxiliary loss is used to supervise intermediate layers, enhancing feature learning and generalization.
  • Data augmentation and end-to-end differentiable training allow joint optimization of all components under supervision from annotated document data.

Experimental results

Research questions

  • RQ1Can a multi-stage encoder-decoder architecture improve performance on document-level information extraction compared to standard U-Net?
  • RQ2How effective are self-attention and box convolution in modeling long-range spatial and textual dependencies in 2D character-grids?
  • RQ3Does multi-stage training with auxiliary supervision enhance model generalization under low-data and high-OCR-error conditions?
  • RQ4To what extent do component ablations (e.g., attention, box convolution) contribute to performance gains on complex layouts?
  • RQ5Can a model with fewer parameters outperform a larger baseline like U-Net in real-world document IE scenarios?

Key findings

  • The proposed MSAU model achieved 87.2% mIOU on the Japanese Invoice dataset, a 6.5% improvement over the baseline U-Net.
  • MSAU outperformed the baseline U-Net by 8.2% in F1-score (96.0 vs. 87.3) while using 40% fewer parameters.
  • The addition of multi-stage training increased mIOU by 3% compared to the CUNet+NL+BC configuration, demonstrating its effectiveness in feature disentanglement.
  • Box convolution contributed significantly to performance, especially when combined with multi-stage learning, increasing mIOU by 3% over baseline U-Net.
  • The model showed strong robustness under low-data regimes, with auxiliary loss yielding larger performance gains in low-data scenarios.
  • Ablation studies confirmed that self-attention, box convolution, and multi-stage design each contributed meaningfully to the final performance gain.

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.