mlsanityData to 14 Oct 2026

Towards Accurate and Efficient Document Analytics with Large Language Models

arXiv 2405.04674 ↗First posted 7 May 2024cs.DBcited by 11

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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 4.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024The Design of an LLM-powered Unstructured Analytics System
  2. 2024Holistic Reasoning with Long-Context LMs: A Benchmark for Database Operations on Massive Textual Data
  3. 2024UDA: A Benchmark Suite for Retrieval Augmented Generation in Real-world Document Analysis
  4. 2025Beyond Quacking: Deep Integration of Language Models and RAG into DuckDB
  5. 2025DynaQuery: A Self-Adapting Framework for Querying Structured and Multimodal Data
  6. 2025Querying Databases with Function Calling
  7. 2025RASL: Retrieval Augmented Schema Linking for Massive Database Text-to-SQL
  8. 2025Analise Semantica Automatizada com LLM e RAG para Bulas Farmaceuticas