Abstract
Key Information Extraction (KIE) from visually rich documents is a critical task for automating data entry from forms, invoices, and certificates. Current approaches often struggle with complex, irregular layouts and suffer from error propagation in multi-stage pipelines. We present the Parallel Pointer-based Network (PPN), an end-to-end model that reformulates KIE as a parallel word-to-word linking task. Alongside PPN, we introduce CLEX, a large-scale dataset with over 1,100 entity categories designed to reflect real-world complexity. PPN demonstrates superior performance in zero-shot and few-shot settings while offering significant computational efficiency.
1. Introduction and Problem Statement
Traditional KIE methods typically follow a sequential pipeline: detecting "Key" entities (labels) and then searching for associated "Value" entities (data). This dependency creates a bottleneck; if a "Key" is missed or misidentified, the "Value" extraction inevitably fails. Furthermore, existing benchmarks like CORD and FUNSD feature limited entity categories (typically <30), which do not capture the diversity of real-world documents.
Real-world documents present three primary challenges for extraction, as illustrated in Figure 1:
- Explicit Keys: Values associated with a clear, printed label.
- Implicit Keys: Values where the label is mentioned elsewhere in context but not directly adjacent.
- No Keys: Values that must be extracted based solely on document type and content (e.g., a date in a footer).
2. Methodology: Parallel Pointer-based Network (PPN)
PPN addresses the limitations of pipeline methods by treating extraction as a word-to-word pointer classification problem. Instead of generating text or tagging sequences, the model predicts links between tokens.
2.1 Parallel Extraction and Token-Linking
The model concatenates multiple "questions" (target entity categories) with the document's text and image features. This allows for the simultaneous extraction of multiple values. PPN defines 11 distinct token-linking operations to capture various relationships, such as linking a question to the start of a value, linking the start of a value to its end, and linking keys to values to leverage contextual clues.
2.2 Information Isolation
To manage the long input sequences created by concatenating numerous questions, PPN employs an Information Isolation masking mechanism. This ensures that when the model processes a specific query, it only attends to relevant document segments, preventing cross-query interference and improving accuracy.
3. The CLEX Dataset
To evaluate PPN in realistic scenarios, the authors introduced CLEX (Complex Layout form for key information EXtraction). CLEX contains 5,860 images across 155 form types, including legal documents, invoices, and certificates. Most importantly, it features 1,162 semantic entity categories, a massive increase over previous datasets, making it a rigorous benchmark for zero-shot generalization.
4. Experimental Results
PPN was evaluated against several baselines, including LayoutXLM and generative models like ChatGPT.
- Zero-Shot Performance: On unseen form types, PPN achieved an F1 score of 74.04, significantly outperforming ChatGPT (55.50).
- Efficiency: PPN is 6.4 times faster than traditional sequential QA-based extraction methods due to its parallel architecture.
- Few-Shot Learning: With only 10 training examples per category, PPN's performance improved to an F1 of 82.92, demonstrating rapid adaptation to new layouts.
5. Conclusion
PPN represents a shift from sequential, error-prone KIE pipelines to a robust, parallel linking framework. By leveraging implicit keys and a pointer-based architecture, it handles complex layouts more effectively than traditional sequence labeling or generative models. Future work includes reducing dependency on external OCR engines and expanding the approach to multilingual contexts.
Summary updated