[Paper Review] CUTIE: Learning to Understand Documents with Convolutional Universal Text Information Extractor
CUTIE introduces a CNN-based approach that grids text in documents to jointly leverage semantic and spatial information for key information extraction, achieving state-of-the-art results with less training data and no pretraining.
Extracting key information from documents, such as receipts or invoices, and preserving the interested texts to structured data is crucial in the document-intensive streamline processes of office automation in areas that includes but not limited to accounting, financial, and taxation areas. To avoid designing expert rules for each specific type of document, some published works attempt to tackle the problem by learning a model to explore the semantic context in text sequences based on the Named Entity Recognition (NER) method in the NLP field. In this paper, we propose to harness the effective information from both semantic meaning and spatial distribution of texts in documents. Specifically, our proposed model, Convolutional Universal Text Information Extractor (CUTIE), applies convolutional neural networks on gridded texts where texts are embedded as features with semantical connotations. We further explore the effect of employing different structures of convolutional neural network and propose a fast and portable structure. We demonstrate the effectiveness of the proposed method on a dataset with up to $4,484$ labelled receipts, without any pre-training or post-processing, achieving state of the art performance that is much better than the NER based methods in terms of either speed and accuracy. Experimental results also demonstrate that the proposed CUTIE model being able to achieve good performance with a much smaller amount of training data.
Motivation & Objective
- Motivate robust key information extraction from diverse document layouts without relying on hand-crafted templates or template templates.
- Integrate semantic word embeddings with precise spatial relationships of text in documents.
- Propose grid positional mapping and two CNN architectures to capture multi-scale context and long-range dependencies.
- Demonstrate that CUTIE achieves strong performance with limited training data and without pretraining or post-processing.
Proposed method
- Create a grid representation of the document by mapping text tokens to a grid that preserves relative spatial relationships.
- Embed tokens with word embeddings and feed the grid into a CNN to predict text-label grids.
- Propose two CNN variants: CUTIE-A (high-resolution, multi-scale feature fusion) and CUTIE-B (atrio us convolution with ASPP).
- Use cross-entropy loss between predicted and ground-truth token grids for training.
- Evaluate on ICDAR 2019 SROIE and a self-built Spanish receipt dataset with per-class and token-level metrics.
- Compare against CloudScan and BERT for NER to assess speed and accuracy.
Experimental results
Research questions
- RQ1Can CUTIE effectively fuse semantic and spatial text features for robust key information extraction across varying document layouts?
- RQ2Do grid augmentation and multi-scale CNN architectures improve extraction accuracy with limited training data?
- RQ3How do CUTIE-A and CUTIE-B compare in terms of accuracy, model size, and training efficiency on SROIE and extended datasets?
Key findings
- CUTIE-B achieves 94.0 AP and 97.3 softAP on taxi receipts, 81.5 AP and 89.7 softAP on ME, and 74.6 AP and 87.0 softAP on hotel receipts.
- CUTIE-A achieves 90.8 AP and 97.2 softAP on taxi receipts, 77.7 AP and 91.4 softAP on ME, and 69.5 AP and 87.8 softAP on hotel receipts.
- CUTIE models outperform CloudScan and BERT for NER across all three document types in AP/softAP, with CUTIE-B attaining similar or better accuracy using far fewer parameters (14M) than BERT (110M).
- Grid augmentation improves spatial understanding and yields higher AP/softAP than without augmentation.
- CUTIE-B reaches strong performance with as little as 21% of training data, and CUTIE-B can surpass baselines with about half the parameters of BERT.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.