arXiv:2504.01346cs.CLcs.IR2025-04ACL被引 11

针对表格知识检索难题,提出高效多阶段检索框架与真实数据集

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

  • 构建分层记忆索引与多阶段检索机制,精准定位跨表知识
  • 在包含57,193张表格的MultiTableQA上实现最高准确率与最快推理速度
  • 首次提供真实场景下的多表格问答评测基准,适合信息抽取与RAG研究者

检索增强生成(RAG)通过引入外部知识库提升大语言模型的答案相关性与准确性。在实际应用中,大量知识存储于表格中,用户问题常需跨多个表格获取答案。然而,从表格语料库中检索知识仍处于初级阶段,主要面临四大挑战:如何有效理解表内与表间知识、如何过滤无关表格并高效检索最相关表格、如何设计提示以引导模型基于检索结果推理,以及如何在真实场景下评估性能。为此,本文提出首个面向表格语料库的RAG框架T-RAG,包含分层记忆索引、多阶段检索和图感知提示机制,实现高效准确的表格知识检索与推理。同时,首次构建了名为MultiTableQA的多表格问答基准,涵盖3类任务、57,193张表格和23,758个问题,数据均来自真实场景。基于该基准,对多种表格检索方法、RAG方法及表格到图表示学习方法进行了全面对比,T-RAG在准确率、召回率和运行时间上均表现领先。此外,在T-RAG框架下还评估了不同LLM的推理能力提升效果。代码与数据已开源。

原文摘要 · Abstract (English)

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

RAG表格检索多阶段检索知识图谱

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。