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

TableRAG:利用语言模型实现百万级令牌表格理解

TableRAG: Million-Token Table Understanding with Language Models

National Taiwan University(台湾大学);Google Cloud AI Research(谷歌云AI研究院);Google DeepMind(谷歌DeepMind);UC San Diego(加州大学圣迭戈分校)

Si-An Chen, Lesly Miculicich, Julian Martin Eisenschlos, Zifeng Wang, Zilong Wang, Yanfei Chen, Yasuhisa Fujii, Hsuan-Tien Lin, Chen-Yu Lee, Tomas Pfister

AI总结:

TableRAG通过查询扩展结合模式与单元格检索,解决语言模型处理超大表格时的上下文限制问题,并在百万级令牌基准上取得最优表格理解性能。

摘要:

语言模型(LMs)的最新进展显著增强了其利用表格数据进行推理的能力,主要通过程序辅助机制来操作和分析表格。然而,这些方法通常需要将整个表格作为输入,由于位置偏差或上下文长度限制而带来可扩展性挑战。为应对这些挑战,我们提出了TableRAG,这是一个专为基于LM的表格理解而设计的检索增强生成(RAG)框架。TableRAG利用查询扩展结合模式(schema)与单元格检索,在将关键信息提供给LM之前精确定位这些信息。这使得数据编码更高效、检索更精确,从而显著缩短提示长度并减少信息丢失。我们从Arcade和BIRD-SQL数据集中构建了两个新的百万级令牌基准,以全面评估TableRAG在大规模场景下的有效性。实验结果表明,TableRAG的检索设计取得了最高的检索质量,在大规模表格理解上实现了新的最先进性能。

英文摘要:

Recent advancements in language models (LMs) have notably enhanced their ability to reason with tabular data, primarily through program-aided mechanisms that manipulate and analyze tables. However, these methods often require the entire table as input, leading to scalability challenges due to the positional bias or context length constraints. In response to these challenges, we introduce TableRAG, a Retrieval-Augmented Generation (RAG) framework specifically designed for LM-based table understanding. TableRAG leverages query expansion combined with schema and cell retrieval to pinpoint crucial information before providing it to the LMs. This enables more efficient data encoding and precise retrieval, significantly reducing prompt lengths and mitigating information loss. We have developed two new million-token benchmarks from the Arcade and BIRD-SQL datasets to thoroughly evaluate TableRAG's effectiveness at scale. Our results demonstrate that TableRAG's retrieval design achieves the highest retrieval quality, leading to the new state-of-the-art performance on large-scale table understanding.

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

↑