TWIX: Automatically Reconstructing Structured Data from Templatized Documents

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Lin, Yiming, Hasan, Mawil, Kosalge, Rohan, Cheung, Alvin, Parameswaran, Aditya G.
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915099219853312
author Lin, Yiming
Hasan, Mawil
Kosalge, Rohan
Cheung, Alvin
Parameswaran, Aditya G.
author_facet Lin, Yiming
Hasan, Mawil
Kosalge, Rohan
Cheung, Alvin
Parameswaran, Aditya G.
contents Many documents, that we call templatized documents, are programmatically generated by populating fields in a visual template. Effective data extraction from these documents is crucial to supporting downstream analytical tasks. Current data extraction tools often struggle with complex document layouts, incur high latency and/or cost on large datasets, and often require significant human effort, when extracting tables or values given user-specified fields from documents. The key insight of our tool, TWIX, is to predict the underlying template used to create such documents, modeling the visual and structural commonalities across documents. Data extraction based on this predicted template provides a more principled, accurate, and efficient solution at a low cost. Comprehensive evaluations on 34 diverse real-world datasets show that uncovering the template is crucial for data extraction from templatized documents. TWIX achieves over 90% precision and recall on average, outperforming tools from industry: Textract and Azure Document Intelligence, and vision-based LLMs like GPT-4-Vision, by over 25% in precision and recall. TWIX scales easily to large datasets and is 734X faster and 5836X cheaper than vision-based LLMs for extracting data from a large document collection with 817 pages.
format Preprint
id arxiv_https___arxiv_org_abs_2501_06659
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TWIX: Automatically Reconstructing Structured Data from Templatized Documents
Lin, Yiming
Hasan, Mawil
Kosalge, Rohan
Cheung, Alvin
Parameswaran, Aditya G.
Databases
Computer Vision and Pattern Recognition
Many documents, that we call templatized documents, are programmatically generated by populating fields in a visual template. Effective data extraction from these documents is crucial to supporting downstream analytical tasks. Current data extraction tools often struggle with complex document layouts, incur high latency and/or cost on large datasets, and often require significant human effort, when extracting tables or values given user-specified fields from documents. The key insight of our tool, TWIX, is to predict the underlying template used to create such documents, modeling the visual and structural commonalities across documents. Data extraction based on this predicted template provides a more principled, accurate, and efficient solution at a low cost. Comprehensive evaluations on 34 diverse real-world datasets show that uncovering the template is crucial for data extraction from templatized documents. TWIX achieves over 90% precision and recall on average, outperforming tools from industry: Textract and Azure Document Intelligence, and vision-based LLMs like GPT-4-Vision, by over 25% in precision and recall. TWIX scales easily to large datasets and is 734X faster and 5836X cheaper than vision-based LLMs for extracting data from a large document collection with 817 pages.
title TWIX: Automatically Reconstructing Structured Data from Templatized Documents
topic Databases
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2501.06659