arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.01346cs.CLcs.IRcs.LG
收藏

面向表格的RAG:分层内存索引、多阶段检索与基准测试

RAG over Tables: Hierarchical Memory Index, Multi-Stage Retrieval, and Benchmarking

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Meta AI;IBM Research(IBM研究院)

Jiaru Zou, Dongqi Fu, Sirui Chen, Xinrui He, Zihao Li, Yada Zhu, Jiawei Han, Jingrui He

AI总结:

针对表格语料RAG面临的表间知识理解、检索效率等难题,提出含分层内存索引、多阶段检索的T-RAG框架,构建真实场景多表格问答基准MultiTableQA,实验验证其在多项性能上领先。

摘要:

检索增强生成(Retrieval-Augmented Generation, RAG)通过将大语言模型(Large Language Models, LLMs)与外部知识库集成,提升答案的相关性与准确性。在真实场景中,除纯文本外,大量知识存储于表格内,用户问题常需检索分布在多张表格中的答案。从表格语料(即各类独立表格)中为问题检索知识的研究仍处于起步阶段,至少面临以下问题:(i)如何有效理解表内与表间知识;(ii)如何过滤无关表格、高效检索最相关表格;(iii)如何提示LLMs基于检索结果进行推理;(iv)如何在真实场景下评估对应性能。针对上述挑战,本文首先提出一种感知表格语料的RAG框架,命名为T-RAG,该框架包含分层内存索引、多阶段检索以及感知图结构的提示模块,可实现高效且有效的表格知识检索与推理。此外,我们首次构建了一个多表格问答基准MultiTableQA,涵盖3种不同任务类型、总计57193张表格与23758个问题,所有数据均来自真实场景。基于MultiTableQA,我们对表格检索方法、RAG方法以及表格到图的表示学习方法开展了全面对比,其中T-RAG在准确率、召回率与运行时间性能上均表现领先。同时,在T-RAG框架下,我们评估了不同LLMs的推理能力提升情况。代码与数据可在https://github.com/jiaruzouu/T-RAG获取。

英文摘要:

Retrieval-Augmented Generation (RAG) enhances Large Language Models (LLMs) by integrating them with an external knowledge base to improve the answer relevance and accuracy. In real-world scenarios, beyond pure text, a substantial amount of knowledge is stored in tables, and user questions often require retrieving answers that are distributed across multiple tables. Retrieving knowledge from a table corpora (i.e., various individual tables) for a question remains nascent, at least, for (i) how to understand intra- and inter-table knowledge effectively, (ii) how to filter unnecessary tables and how to retrieve the most relevant tables efficiently, (iii) how to prompt LLMs to infer over the retrieval, (iv) how to evaluate the corresponding performance in a realistic setting. Facing the above challenges, in this paper, we first propose a table-corpora-aware RAG framework, named T-RAG, which consists of the hierarchical memory index, multi-stage retrieval, and graph-aware prompting for effective and efficient table knowledge retrieval and inference. Further, we first develop a multi-table question answering benchmark named MultiTableQA, which spans 3 different task types, 57,193 tables, and 23,758 questions in total, and the sources are all from real-world scenarios. Based on MultiTableQA, we did the holistic comparison over table retrieval methods, RAG methods, and table-to-graph representation learning methods, where T-RAG shows the leading accuracy, recall, and running time performance. Also, under T-RAG, we evaluate the inference ability upgrade of different LLMs. Code and Data are available at https://github.com/jiaruzouu/T-RAG

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

↑