Introduction
Pre-trained Text-and-Layout Models (PTLMs), such as the LayoutLM family, have significantly advanced the field of Visually-rich Document Information Extraction (VrD-IE). These models consistently achieve near-perfect scores on standard benchmarks like FUNSD. However, a persistent gap remains between benchmark performance and real-world utility. This paper investigates the root cause of this discrepancy, identifying a "spurious correlation bias" in existing datasets that allows models to rely on layout shortcuts rather than semantic understanding.
The Spurious Correlation Bias
In traditional datasets like FUNSD, annotations are typically "block-level." A single bounding box often encompasses an entire semantic entity, such as a multi-line answer or a header. This structure creates a "cheat code" for models: they can achieve high accuracy by simply identifying the boundaries of these blocks without truly processing the text. When these models encounter real-world data where OCR engines might segment text differently, their performance collapses because the learned layout shortcuts are no longer valid.
The EC-FUNSD Dataset
To address this bias, the authors introduce EC-FUNSD (Entity-Centric FUNSD). This dataset is a manually re-annotated version of FUNSD where the layout (OCR-derived segments) is decoupled from the semantic entities.
As shown in the figure above, while FUNSD might group a whole paragraph into one box, EC-FUNSD treats each line as a separate segment while maintaining their collective identity as a single entity. This forces models to learn the semantic connections between segments.
Multi-Dimensional Evaluation
The researchers propose a rigorous evaluation pipeline across four key dimensions:
- Spurious Correlation: Measuring the performance gap between the original biased FUNSD and the new EC-FUNSD.
- Generalization: Assessing how models handle documents when segment-level layout information (like line boxes) is unavailable—a common scenario with standard OCR outputs.
- Robustness: Testing model stability against "natural noise," such as jitter or slight rotations in bounding boxes.
- Fairness: Evaluating performance on "complex entities" (e.g., those spanning multiple lines or columns) compared to simple, single-line entries.
This decoupling (illustrated above) ensures that models are evaluated on their ability to group related segments into coherent entities, rather than just classifying pre-defined blocks.
Key Results and Analysis
The evaluation reveals significant weaknesses in current PTLMs:
- Performance Drop: Top-tier models like LayoutLMv3-base saw a drop of approximately 8% F1 (from 90.85 to 82.30) when moving from FUNSD to EC-FUNSD.
- The "Layout Crutch": Models are heavily dependent on segment-level features. When line-level bounding boxes were removed, LayoutLMv3’s F1 score on FUNSD plummeted from 90.85 to 22.75. While it performed better on EC-FUNSD (50.53), the drop still highlights a critical lack of generalization.
- Fairness Gap: Models struggle significantly with complex entities. Recall for multi-line entities is often much lower than for simple ones, indicating that current architectures fail to capture long-range structural dependencies fairly.
Conclusion
The introduction of EC-FUNSD exposes the "shortcut learning" prevalent in current document AI benchmarks. By shifting to an entity-centric perspective, researchers can develop models that are more robust, fair, and capable of handling the messiness of real-world documents. Future work will focus on reducing reliance on segment-level shortcuts and improving the handling of complex, multi-line entities across diverse document domains.
Summary updated