Layout Agnostic Information Extraction from Visually Rich Documents

This direction is merged into another direction: document layout variability. Its last version stays readable and citable here.

Version 1 of 154 papers54 conceptsfrozen 2026-10-04

For decades, the primary hurdle in automated document understanding was not reading the text itself, but understanding where that text sat in space. Early systems relied on a "template-based" philosophy: if you knew exactly where the "Total Amount" field was on an invoice from Vendor A, you could hard-code a coordinate box to extract it.

However, as Andreas Dengel 0001 and Gerhard Barth noted as early as 1989 in their work on ANASTASIL, this rigidity is inherently fragile. When a vendor changes their font, adds a logo, or shifts a column by a few millimeters, the hard-coded system breaks. Modern research has shifted away from these brittle, coordinate-fixed rules toward layout-agnostic extraction, where models learn to interpret the "visual grammar" of a document regardless of its specific template.

The Failure of the Template Assumption

The "template-inconsistency problem," as framed by Kang Liu 0001 and colleagues in Attribute Relation Extraction from Template-inconsistent Semi-structured Text, arises because real-world documents are rarely uniform. Whether it is a student's handwritten math solution (VEHME) or a historical property appraisal from the 1930s (Mihir Bhaskar et al.), the spatial relationship between a label (e.g., "Date") and its value (e.g., "1934") is semantic, not geometric.

Traditional OCR pipelines often flattened documents into a single string of text, losing the 2D context. Researchers like Zhuo Wu and Xiaohui Zhao challenged this with CUTIE, which maps OCR results onto a 2D grid. By applying convolutional neural networks to this grid, the model learns that a "Total" value is usually to the right of or below its label, a rule that holds true across thousands of different invoice designs.

Documents as Graphs and Grids

If a document isn't just a string of text, what is it? Recent work treats Visually Rich Documents (VRDs) as graphs. In this framing, each piece of text is a node, and the edges represent spatial relationships (e.g., "is-above," "is-aligned-left-with").

Feiyu Gao demonstrated that Graph Convolutional Networks can extract structured data from receipts by "massaging" information across these spatial edges. This allows the model to understand that a price belongs to a specific line item because of its horizontal alignment, even if that line item is three inches away from the price. Similarly, Kausik Hira and Mausam used constraint-driven GNNs in MatSKRAFT to parse scientific tables, outperforming LLMs by explicitly modeling the structural constraints of table cells.

From Heuristics to Multimodal Learning

The transition away from rules is most evident in how we handle non-textual data, like charts and chemical structures. Early chart parsers used "if-then" statements to find axes and bars. However, Zhi-Qi Cheng and Alexander G. Hauptmann argue in ChartReader that these heuristics fail on "messy" real-world data. Their solution is a unified transformer-based framework that "derenders" the image directly into data, bypassing manual rules entirely.

This "native" multimodal approach—where the model sees the image and text simultaneously—is becoming the gold standard. Kostadin Cvejoski and Lars Hillebrand recently benchmarked LLM strategies for invoice processing, finding that feeding raw images into multimodal models (like Gemini) significantly outperforms converting those images into text first. The model's ability to "see" the bolding, lines, and white space allows it to infer structure that text-only models miss.

One-Shot and Neuro-Symbolic Generalization

The ultimate goal of this research direction is "one-shot" learning: the ability to process a document type the system has never seen before. Mouli Rastogi and Syed Afshan Ali proposed a neuro-symbolic approach that combines deep learning vision with Knowledge Graphs. By learning the logic of how information is organized (e.g., "the buyer's address is usually near the top"), the system can adapt to a new invoice format after seeing just a single example.

This shift from where a piece of data is (coordinates) to what a piece of data is (context and semantics) is what allows Lucas Morin and Fisher Yu to extract complex molecules in MolGrapher or Abhinav Java to find visual snippets in MONOMER. By treating layout as a feature to be learned rather than a constraint to be programmed, the field has moved from rigid digitizers to systems that truly "understand" the visual language of documents.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_layout_agnostic_information_extraction_f_0dac7151,
  title = {Layout Agnostic Information Extraction from Visually Rich Documents},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/layout-agnostic-information-extraction-from-visually-rich-documents/rdr_0dac71512af143ffa1f328d9aab86f12},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_layout_agnostic_information_extraction_f_0dac7151_v1,
  title = {Layout Agnostic Information Extraction from Visually Rich Documents},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/layout-agnostic-information-extraction-from-visually-rich-documents/rdr_0dac71512af143ffa1f328d9aab86f12/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}