arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.00847cs.DBcs.AIcs.IR
收藏

基于 LLM 的非结构化数据分析系统设计

The Design of an LLM-powered Unstructured Analytics System

Aryn, Inc(Aryn公司)
Eric Anderson, Jonathan Fritz, Austin Lee, Bohou Li, Mark Lindblad, Henry Lindeman, Alex Meyer, Parth Parmar, Tanvi Ranade, Mehul A. Shah, Benjamin Sowell, Dan … 展开作者

Eric Anderson, Jonathan Fritz, Austin Lee, Bohou Li, Mark Lindblad, Henry Lindeman, Alex Meyer, Parth Parmar, Tanvi Ranade, Mehul A. Shah, Benjamin Sowell, Dan Tecuci, Vinayak Thapliyal, Matt Welsh

AI总结:

本文设计了非结构化数据分析系统 Aryn,通过自然语言查询、声明式文档处理引擎 Sycamore、查询规划器 Luna 和文档解析器 DocParse,在 NTSB 报告上实现优于 RAG 的分析准确性,并强调可解释性以建立用户信任。

摘要:

大语言模型(LLMs)展现出处理非结构化数据的非凡能力,因此有潜力超越搜索,在大规模上运行复杂的语义分析。我们描述了非结构化数据分析系统 Aryn 的设计,以及驱动其设计的原则和用例。在 Aryn 中,用户用自然语言指定查询,系统自动确定语义计划并执行该计划,从大量非结构化文档中计算答案。Aryn 的核心是 Sycamore,一个声明式文档处理引擎,它提供了一种可靠的分布式抽象,称为 DocSets。Sycamore 允许用户在大规模上分析、丰富和转换复杂文档。Aryn 包括 Luna,一个将自然语言查询翻译为 Sycamore 脚本的查询规划器,以及 DocParse,它接收原始 PDF 和文档图像,并将其转换为 DocSets 以供下游处理。我们展示了这些组件如何协同工作,在美国国家运输安全委员会(NTSB)的真实世界报告上的分析查询中取得比 RAG 更好的准确性。此外,鉴于当前 LLM 的局限性,我们认为分析系统必须提供可解释性才能实用,并展示了 Aryn 的用户界面如何做到这一点以帮助建立信任。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑