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

CORE-T: 面向文本到SQL的表格连贯检索

CORE-T: COherent REtrieval of Tables for Text-to-SQL

Ubiquitous Knowledge Processing Lab (UKP Lab), Department of Computer Science TU Darmstadt and National Research Center for Applied Cybersecurity ATHENE, Germany(普适知识处理实验室(UKP实验室),计算机科学系 TU Darmstadt 和应用网络安全国家研究中心 ATHENE,德国);Arizona State University(亚利桑那州立大学);University of Pennsylvania(宾夕法尼亚大学)

Hassan Soliman, Vivek Gupta, Dan Roth, Iryna Gurevych

AI总结:

提出CORE-T框架,通过LLM生成元数据和预计算兼容性缓存,在无需训练的情况下从异构表集合中高效检索连贯可连接的表集合,提升表选择F1最多22.7点并减少40%的表数量。

摘要:

现实中的文本到SQL工作流通常需要连接多个表格。因此,准确检索相关表集合成为端到端性能的关键瓶颈。我们研究一种开放书设置,其中查询必须从多个来源汇集的大规模异构表集合中回答,且没有数据库标识符等清晰的限定信号。在此设置下,密集检索(DR)实现了高召回率但返回大量干扰项,而考虑连接的方法通常依赖额外假设和/或产生高推理开销。我们提出CORE-T,一个可扩展、无需训练的框架,通过LLM生成的用途元数据丰富表格,并预计算轻量级表兼容性缓存。推理时,DR返回前K个候选;单次LLM调用选择一个连贯、可连接的子集,然后两步加法调整阶段恢复强兼容的表。在Bird、Spider、MMQA和Beaver上,CORE-T在表选择F1上比DR提升最多22.7点,同时返回的表减少最多40%,在多表执行准确率上提升最多24.4点,并且使用的总选择token比LLM密集型基线少1.64-4.20倍。

英文摘要:

Realistic text-to-SQL workflows often require joining multiple tables. As a result, accurately retrieving the relevant set of tables becomes a key bottleneck for end-to-end performance. We study an open-book setting where queries must be answered over large, heterogeneous table collections pooled from many sources, without clean scoping signals such as database identifiers. Here, dense retrieval (DR) achieves high recall but returns many distractors, while join-aware alternatives often rely on extra assumptions and/or incur high inference overhead. We propose CORE-T, a scalable, training-free framework that enriches tables with LLM-generated purpose metadata and pre-computes a lightweight table-compatibility cache. At inference time, DR returns top-K candidates; a single LLM call selects a coherent, joinable subset, and a two-step additive adjustment stage restores strongly compatible tables. Across Bird, Spider, MMQA, and Beaver, CORE-T improves over DR by up to 22.7 points in table-selection F1 while returning up to 40% fewer tables, and by up to 24.4 points in multi-table execution accuracy, and uses 1.64-4.20x fewer total selection tokens than LLM-intensive baselines.

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

↑