Towards Accurate and Efficient Document Analytics with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Unstructured data formats account for over 80% of the data currently stored, and extracting value from such formats remains a considerable challenge. In particular, current approaches for managing unstructured documents do not support ad-hoc analytical queries on document collections. Moreover, Large Language Models (LLMs) directly applied to the documents themselves, or on portions of documents through a process of Retrieval-Augmented Generation (RAG), fail to provide high accuracy query results, and in the LLM-only case, additionally incur high costs. Since many unstructured documents in a collection often follow similar templates that impart a common semantic structure, we introduce ZenDB, a document analytics system that leverages this semantic structure, coupled with LLMs, to answer ad-hoc SQL queries on document collections. ZenDB efficiently extracts semantic hierarchical structures from such templatized documents, and introduces a novel query engine that leverages these structures for accurate and cost-effective query execution. Users can impose a schema on their documents, and query it, all via SQL. Extensive experiments on three real-world document collections demonstrate ZenDB's benefits, achieving up to 30% cost savings compared to LLM-based baselines, while maintaining or improving accuracy, and surpassing RAG-based baselines by up to 61% in precision and 80% in recall, at a marginally higher cost.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). First posted on arXiv 7 May 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 4.
11 papers.
- 2024A Declarative System for Optimizing AI Workloadscited by 37
- 2025AgenticData: An Agentic Data Analytics System for Heterogeneous Datacited by 22
- 2025Cortex AISQL: A Production SQL Engine for Unstructured Datacited by 11
- 2024NUDGE: Lightweight Non-Parametric Fine-Tuning of Embeddings for Retrievalcited by 5
- 2026MinerU-Popo: Universal Post-Processing Model for Structured Document Parsingcited by 2
- 2026CTIFoundry: An Agent-Native Corpus Scaffold for Cyber Threat Intelligencecited by 2
- 2025LLM-Powered Proactive Data Systemscited by 1
- 2025Multi-dimensional Data Analysis and Applications Basing on LLM Agents and Knowledge Graph Interactionscited by 1
- 2025Towards Resource-Efficient Multimodal Intelligence: Learned Routing among Specialized Expert Modelscited by 1
- 2026EidosDoc: Implicit Structure Encoding for Cost-Effective Semi-Structured Document QAcited by 1
- 2026SAGE: A Unified Algebra and Self-Adaptive Execution for AI Functions in SQLcited by 0
- 2026SAGE: A Unified Algebra and Self-Adaptive Execution for AI Functions in SQL21 Aug 2026
- 2026CTIFoundry: An Agent-Native Corpus Scaffold for Cyber Threat Intelligence19 Aug 2026
- 2026EidosDoc: Implicit Structure Encoding for Cost-Effective Semi-Structured Document QA17 Aug 2026
- 2026MinerU-Popo: Universal Post-Processing Model for Structured Document Parsing24 May 2026
- 2025Cortex AISQL: A Production SQL Engine for Unstructured Data10 Nov 2025
- 2025Towards Resource-Efficient Multimodal Intelligence: Learned Routing among Specialized Expert Models9 Nov 2025
- 2025Multi-dimensional Data Analysis and Applications Basing on LLM Agents and Knowledge Graph Interactions17 Oct 2025
- 2025AgenticData: An Agentic Data Analytics System for Heterogeneous Data7 Aug 2025
- 2025LLM-Powered Proactive Data Systems18 Feb 2025
- 2024NUDGE: Lightweight Non-Parametric Fine-Tuning of Embeddings for Retrieval4 Sep 2024
- 2024A Declarative System for Optimizing AI Workloads23 May 2024
Similar, not cited
Close in wording, no citation either way
- 2024The Design of an LLM-powered Unstructured Analytics System
- 2024Holistic Reasoning with Long-Context LMs: A Benchmark for Database Operations on Massive Textual Data
- 2024UDA: A Benchmark Suite for Retrieval Augmented Generation in Real-world Document Analysis
- 2025Beyond Quacking: Deep Integration of Language Models and RAG into DuckDB
- 2025DynaQuery: A Self-Adapting Framework for Querying Structured and Multimodal Data
- 2025Querying Databases with Function Calling
- 2025RASL: Retrieval Augmented Schema Linking for Massive Database Text-to-SQL
- 2025Analise Semantica Automatizada com LLM e RAG para Bulas Farmaceuticas