Researchers built a system to accurately extract data from messy enterprise documents
A new content-extraction pipeline ensures AI agents can reliably read tables, forms, and diagrams found in office files.

Enterprise AI often struggles with the messy reality of office documents. While language models are smart, they often fail when confronted with scanned forms, complex tables, or mixed-layout PDFs. A new research paper describes a production-ready system designed to solve this by making content extraction a distinct, measurable stage in the data pipeline.
Instead of just throwing data at a model, this system handles the process in steps. It uses selective scanning, a curation engine that prioritizes scarcity, and a scorer that checks the accuracy of characters, words, and structural elements like tables. It then uses a deterministic chunker to break the information down into parent-child segments.
The system incorporates selective OCR routing, a scarcity-first curation engine and a reference-based extraction scorer that measures character, word, and table-structure accuracy.
To ensure quality, the system includes a retrieval evaluator. It automatically creates grounded questions from every page and checks how well the AI answers them using metrics like latency and hit rates.
Testing the system on 180 documents showed promising results. The best extractor achieved a 97.4 out of 100 accuracy score, with table similarity reaching 99.5 percent. The system is designed to act as a perception layer for business-focused AI agents.
Despite these gains, the research highlights that content extraction is a specialized field. The study did not test the system against every possible file format or obscure document type that might exist in an older, non-digitized archive. How much time could your team save if your software finally understood that quarterly spreadsheet perfectly the first time?
Source: arXiv cs.AI