English

The Design of an LLM-powered Unstructured Analytics System

Databases 2024-12-31 v3 Artificial Intelligence Information Retrieval

Abstract

LLMs demonstrate an uncanny ability to process unstructured data, and as such, have the potential to go beyond search and run complex, semantic analyses at scale. We describe the design of an unstructured analytics system, Aryn, and the tenets and use cases that motivate its design. With Aryn, users specify queries in natural language and the system automatically determines a semantic plan and executes it to compute an answer from a large collection of unstructured documents. At the core of Aryn is Sycamore, a declarative document processing engine, that provides a reliable distributed abstraction called DocSets. Sycamore allows users to analyze, enrich, and transform complex documents at scale. Aryn includes Luna, a query planner that translates natural language queries to Sycamore scripts, and DocParse, which takes raw PDFs and document images, and converts them to DocSets for downstream processing. We show how these pieces come together to achieve better accuracy than RAG on analytics queries over real world reports from the National Transportation Safety Board (NTSB). Also, given current limitations of LLMs, we argue that an analytics system must provide explainability to be practical, and show how Aryn's user interface does this to help build trust.

Keywords

Cite

@article{arxiv.2409.00847,
  title  = {The Design of an LLM-powered Unstructured Analytics System},
  author = {Eric Anderson and Jonathan Fritz and Austin Lee and Bohou Li and Mark Lindblad and Henry Lindeman and Alex Meyer and Parth Parmar and Tanvi Ranade and Mehul A. Shah and Benjamin Sowell and Dan Tecuci and Vinayak Thapliyal and Matt Welsh},
  journal= {arXiv preprint arXiv:2409.00847},
  year   = {2024}
}

Comments

Included in the proceedings of The Conference on Innovative Data Systems Research (CIDR) 2025

R2 v1 2026-06-28T18:30:47.720Z