arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.14477cs.IRcs.CL
收藏

FERN:基于冻结检索器与学习排序器的跨基准表检索(用于Text-to-SQL)

FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking

SAP

Arjun Rao, Nishant Gopinath

AI总结:

FERN是一种用于Text-to-SQL的跨基准表检索方法,融合三个冻结检索器生成候选,用LightGBM排序器重排,在多个基准上取得了优于部分基线的表检索效果,且延迟较低。

摘要:

针对大型合并目录上的Text-to-SQL系统,需先检索问题所需的表。本文对比了采用Claude 3.5模型提取关键词并选择表的RASL在合并BIRD、Spider和Fiben目录上的已发表表召回率。FERN(无生成式大语言模型的特征工程排序)将三个冻结检索器融合为100个候选,用最多120个特征描述每个候选,并使用在BIRD训练问题上拟合一次的LightGBM排序器对其重新排序。在未进行拟合的Spider数据集上,仅其候选池在15个表时就达到了RASL已发表的召回率(98.0),且排序器将每个黄金表位于前5的问题占比(complete@5)从83.9%提升至95.6%。在5个表时,FERN在Spider上的召回率与RASL相差1个百分点以内(96.7 vs 97.0),在带证据提示的BIRD上也相差1个百分点以内(96.6 vs 97.5),但在不带证据提示的BIRD上低8.2个百分点(89.3)。在121个真实BEAVER问题上,未进行BEAVER拟合时,其15个表的召回率(82.1)介于两个经BEAVER训练的检索器之间(80.8、84.5),但complete@15低于两者(49.6 vs 54.5、62.0)。在Fiben上,其15个表的召回率远低于RASL(54.2 vs 69.2,因问题集不同),尽管50个表时的召回率在数值上接近RASL仅用问题检索的结果(80.7 vs 79.4)。在带证据的BIRD开发集上,非检索特征使complete@5较仅用检索信号提升7.7个百分点。在BIRD开发集上,单张A100显卡处理每个问题的中位延迟为208ms,无需调用托管模型。

英文摘要:

Text-to-SQL systems over large pooled catalogs must first retrieve the tables a question needs. We compare against the published table recall of RASL, which uses Claude 3.5 models to extract keywords and select tables, on pooled BIRD, Spider, and Fiben catalogs. FERN (Feature-Engineered Ranking with No generative LLM) instead fuses three frozen retrievers into 100 candidates, describes each with up to 120 features, and reorders them with LightGBM rankers fitted once on BIRD's training questions. On Spider, where it was not fitted, its candidate pool alone reaches RASL's published recall at fifteen tables (98.0), and the ranker raises the share of questions with every gold table in the top five (complete@5) from 83.9% to 95.6%. At five tables, FERN's recall is within one point of RASL's on Spider (96.7 vs 97.0) and on BIRD with its evidence hints (96.6 vs 97.5), and 8.2 points below on BIRD without them (89.3). On 121 real BEAVER questions, without BEAVER fitting, its recall at fifteen (82.1) falls between two BEAVER-trained retrievers (80.8, 84.5), but its complete@15 is below both (49.6 vs 54.5 and 62.0). On Fiben, it falls far short at fifteen tables (54.2 vs 69.2, different question sets), although its recall at fifty is numerically close to RASL's question-only retrieval result (80.7 vs 79.4). On BIRD dev with evidence, non-retrieval features raise complete@5 by 7.7 points over retrieval signals alone. On BIRD dev, median latency is 208 ms per question on one A100, without hosted model calls.

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

↑