检索增强生成(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
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Huawei Poisson Lab(华为泊松实验室);Waseda University(早稻田大学)
RAG-RewardBench: Benchmarking Reward Models in Retrieval Augmented Generation for Preference Alignment
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
Benchmarking Retrieval-Augmented Generation for Chemistry
Siebel School of Computing and Data Science, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校Siebel计算与数据科学学院);National Library of Medicine, National Institutes of Health(美国国立卫生研究院国家医学图书馆)
Diagnosing and Addressing Pitfalls in KG-RAG Datasets: Toward More Reliable Benchmarking
Rensselaer Polytechnic Institute(罗切斯特理工学院);University of Toronto(多伦多大学);Pennsylvania State University(宾夕法尼亚州立大学);AT&T Chief Data Office(AT&T首席数据办公室);Griffith University(格里菲斯大学)
SciRerankBench: Benchmarking Rerankers Towards Scientific Retrieval-Augmented Generation with LLMs
Computer Network Information Center, Chinese Academy of Sciences(中国科学院计算机网络信息中心);University of California, Los Angeles(加州大学洛杉矶分校);Peking University(北京大学)
A Systematic Review of Key Retrieval-Augmented Generation (RAG) Systems: Progress, Gaps, and Future Directions
Bredesen Center for Interdisciplinary Research, University of Tennessee, Knoxville, USA(跨学科研究中心,田纳西大学,肯塔基州 Knoxville);National Center for Computational Sciences, Oak Ridge National Laboratory, Oak Ridge, USA(计算科学国家中心,橡树岭国家实验室,橡树岭);University of Tennessee-Oak Ridge Innovation Institute, University of Tennessee, Knoxville, USA(田纳西大学橡树岭创新研究所,田纳西大学,肯塔基州 Knoxville)
CUB: Benchmarking Context Utilisation Techniques for Language Models
Chalmers University of Technology(查尔姆斯理工大学);University of Gothenburg(哥德堡大学);Seoul National University(首尔国立大学);University of Copenhagen(哥本哈根大学);Ewha Womans University(成均馆大学)