Retrieval Augmented Structured Generation: Business Document Information Extraction As Tool Use
Business Document Information Extraction (BDIE) is the problem of transforming a blob of unstructured information (raw text, scanned documents, etc.) into a structured format that downstream systems can parse and use. It has two main tasks: Key-Information Extraction (KIE) and Line Items Recognition (LIR). In this paper, we argue that BDIE is best modeled as a Tool Use problem, where the tools are these downstream systems. We then present Retrieval Augmented Structured Generation (RASG), a novel general framework for BDIE that achieves state of the art (SOTA) results on both KIE and LIR tasks on BDIE benchmarks. The contributions of this paper are threefold: (1) We show, with ablation benchmarks, that Large Language Models (LLMs) with RASG are already competitive with or surpasses current SOTA Large Multimodal Models (LMMs) without RASG on BDIE benchmarks. (2) We propose a new metric class for Line Items Recognition, General Line Items Recognition Metric (GLIRM), that is more aligned with practical BDIE use cases compared to existing metrics, such as ANLS*, DocILE, and GriTS. (3) We provide a heuristic algorithm for backcalculating bounding boxes of predicted line items and tables without the need for vision encoders. Finally, we claim that, while LMMs might sometimes offer marginal performance benefits, LLMs + RASG is oftentimes superior given real-world applications and constraints of BDIE.
Code (0)
등록된 구현이 없습니다.
Tasks
document understandingKey Information ExtractionLine Items ExtractionSimilar Papers 제목 키워드 기반
Automating Pharmacovigilance Evidence Generation: Using Large Language Models to Produce Context-Aware SQL
Objective: To enhance the efficiency and accuracy of information retrieval from pharmacovigilance (PV) databases by employing Large Language Models (LLMs) to convert natural language queries (NLQs) into Structured Query …
ChatbotDecision MakingInformation RetrievalMemorization+5Datrics Text2SQL. A Framework for Natural Language to SQL Query Generation
Datrics Text2SQL is a Text-to-SQL framework using Retrieval-Augmented Generation (RAG) to enhance accuracy and reliability. By integrating domain knowledge, database structure, and example-based learning, it addresses co…
Natural Language QueriesRAGRetrievalRetrieval-augmented Generation+2RAG Strategies for Natural Language-Based SQL Query and REST API Call Generation
Enterprise software systems commonly expose business functionality through both relational databases and REST APIs. Accessing these interfaces requires specialized technical knowledge, as users must determine whether a r…
Code GenerationAnalise Semantica Automatizada com LLM e RAG para Bulas Farmaceuticas
The production of digital documents has been growing rapidly in academic, business, and health environments, presenting new challenges in the efficient extraction and analysis of unstructured information. This work inves…
Information RetrievaleSapiens: A Platform for Secure and Auditable Retrieval-Augmented Generation
We present eSapiens, an AI-as-a-Service (AIaaS) platform engineered around a business-oriented trifecta: proprietary data, operational workflows, and any major agnostic Large Language Model (LLM). eSapiens gives business…