about
LMDX: Language Model-Based Document Information Extraction and Localization (arxiv.org)
3 points by omarfarooq on Oct 27, 2023 | hide | past | pdf | discuss on HN

In plain words: Forms and receipts need the right values and where they sit. LMDX gives a language model the text with its layout and asks it to name each value and its spot, beating earlier systems on two benchmarks with little or no training data.

Abstract · LMDX: Language Model-based Document Information Extraction and Localization

Large Language Models (LLM) have revolutionized Natural Language Processing (NLP), improving state-of-the-art and exhibiting emergent capabilities across various tasks. However, their application in extracting information from visually rich documents, which is at the core of many document processing workflows and involving the extraction of key entities from semi-structured documents, has not yet been successful. The main obstacles to adopting LLMs for this task include the absence of layout encoding within LLMs, which is critical for high quality extraction, and the lack of a grounding mechanism to localize the predicted entities within the document. In this paper, we introduce Language Model-based Document Information Extraction and Localization (LMDX), a methodology to reframe the document information extraction task for a LLM. LMDX enables extraction of singular, repeated, and hierarchical entities, both with and without training data, while providing grounding guarantees and localizing the entities within the document. Finally, we apply LMDX to the PaLM 2-S and Gemini Pro LLMs and evaluate it on VRDU and CORD benchmarks, setting a new state-of-the-art and showing how LMDX enables the creation of high quality, data-efficient parsers.

Vincent Perot, Kai Kang, Florian Luisier, Guolong Su, Xiaoyu Sun, Ramya Sree Boppana, Zilong Wang, Zifeng Wang, Jiaqi Mu, Hao Zhang, Chen-Yu Lee, Nan Hua
arXiv:2309.10952 · cs.CL, cs.AI, cs.LG · submitted Sep 19, 2023 · updated Jun 21, 2024
abstract · pdf · html

add comment on HN