mlsanityData to 14 Oct 2026

Visual Template Inference for Data Extraction from Documents

arXiv 2501.06659 ↗First posted 11 Jan 2025cs.DB cs.CVcited by 7

Not on the map. Why?

Abstract (arXiv)

Many templatized documents are programmatically generated from structured data following a visual template. Such documents include invoices, tax documents, financial reports, and purchase orders. Effective data extraction from these documents is crucial to support downstream analytical tasks. Current data extraction tools often struggle with complex document layouts, incur high latency and/or cost on large datasets, and require significant human effort. The key insight of our tool, TWIX, is to infer the underlying template used to create such documents, and then extract the data, rather than extracting directly from documents. To do so, TWIX first infers the underlying fields, such as columns of tabular portions or keys in co-located key-value pairs, by leveraging their consistent location patterns (e.g., two fields in the same template repeatedly co-occur within a fixed distance apart across multiple records). TWIX then assembles these fields into a template by enforcing visual constraints, such as vertically aligning table rows with their column headers for tabular regions, and horizontally aligning keys with their values for key-value pairs. TWIX then uses this inferred template to accurately and efficiently extract data from templatized documents at a low cost. On one benchmark with 34 diverse real-world datasets, TWIX outperforms state-of-the-art structured data extraction tools (Evaporate, Textract, and Azure Document Intelligence), and vision-based LLMs like GPT-4-Vision, by over 25% in precision and recall. Another benchmark with 30 large datasets demonstrates TWIX's scalability: it is 520X faster and 3,786X cheaper than the most competitive compared tool, for extracting data from large document collections with over 2000 pages.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 15 of its 50 references that are in the map. First posted on arXiv 11 Jan 2025.

Builds on

15 of 50 references.

References · 15

  1. 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 553
  2. 2022Unifying Vision, Text, and Layout for Universal Document Processingcited by 140
  3. 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 111
  4. 2018Chargrid: Towards Understanding 2D Documentscited by 100
  5. 2022Towards End-to-End Unified Scene Text Detection and Layout Analysiscited by 97
  6. 2017Learning to Extract Semantic Structure from Documents Using Multimodal Fully Convolutional Neural Networkcited by 92
  7. 2020TableNet: Deep Learning model for end-to-end Table detection and Tabular data extraction from Scanned Document Imagescited by 69
  8. 2023DocILE Benchmark for Document Information Localization and Extractioncited by 58
  9. 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 52
  10. 2019READ: Recursive Autoencoders for Document Layout Generationcited by 51
  11. 2024A Declarative System for Optimizing AI Workloadscited by 37
  12. 2021Form2Seq : A Framework for Higher-Order Form Structure Extractioncited by 16
3 more
  1. 2017Navigating the Data Lake with Datamaran: Automatically Extracting Structure from Log Datasetscited by 5
  2. 2024KVP10k : A Comprehensive Dataset for Key-Value Pair Extraction in Business Documentscited by 5
  3. 2022Landmarks and Regions: A Robust Approach to Data Extractioncited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 3.

7 papers.