arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.03963cs.AIcs.LG
收藏

ERATTA:基于大型语言模型的面向表格到答案的极端 RAG

ERATTA: Extreme RAG for Table To Answers with Large Language Models

Corporate Data and Analytics Office (CDAO), Accenture(埃森哲企业数据与分析办公室(CDAO))

Sohini Roychowdhury, Marko Krema, Anvar Mahammad, Brian Moore, Arijit Mukherjee, Punit Prakashchandra

AI总结:

本文提出一种基于多 LLM 协作的极端 RAG 系统,通过数据认证、查询路由与自定义提示实现企业表格问答,并在10秒内生成结构化响应,结合五指标幻觉检测模块,在多领域查询中达到>90%置信度。

摘要:

结合检索增强生成(RAG)的大型语言模型(LLMs)近来一直是可扩展生成式 AI 解决方案的最佳选择。尽管结合 AI 智能体的 RAG(agentic-RAG)近期被推广,但它在企业级数据实践中存在成本不稳定和性能不可靠的问题。大多数将 RAG 与 LLMs 结合的现有用例要么是通用的,要么是极度特定于领域的,从而引发了人们对 RAG-LLM 方法可扩展性和泛化能力的质疑。在本研究中,我们提出了一种独特的基于 LLM 的系统,该系统可调用多个 LLM 来实现数据认证、用户查询路由、数据检索和自定义提示,从而具备从企业数据表格中进行问答的能力。此处的源表格规模庞大且高度波动,所提出的框架能在每次查询不到 10 秒内生成结构化响应。此外,我们还提出了一个五指标评分模块,用于检测和报告 LLM 响应中的幻觉。我们提出的系统和评分指标在可持续性、财务健康和社交媒体领域的数百个用户查询中取得了 >90% 的置信度分数。对所提出的极端 RAG 架构进行扩展,可使用 LLMs 实现异构源查询。

英文摘要:

Large language models (LLMs) with retrieval augmented-generation (RAG) have been the optimal choice for scalable generative AI solutions in the recent past. Although RAG implemented with AI agents (agentic-RAG) has been recently popularized, its suffers from unstable cost and unreliable performances for Enterprise-level data-practices. Most existing use-cases that incorporate RAG with LLMs have been either generic or extremely domain specific, thereby questioning the scalability and generalizability of RAG-LLM approaches. In this work, we propose a unique LLM-based system where multiple LLMs can be invoked to enable data authentication, user-query routing, data-retrieval and custom prompting for question-answering capabilities from Enterprise-data tables. The source tables here are highly fluctuating and large in size and the proposed framework enables structured responses in under 10 seconds per query. Additionally, we propose a five metric scoring module that detects and reports hallucinations in the LLM responses. Our proposed system and scoring metrics achieve >90% confidence scores across hundreds of user queries in the sustainability, financial health and social media domains. Extensions to the proposed extreme RAG architectures can enable heterogeneous source querying using LLMs.

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

↑