← 返回论文检索
ACL 2026aclfindings

R^3-SQL: Ranking Reward and Resampling for Text-to-SQL

Hojae Han, Yeonseok Jeong, Seung-won Hwang, Zhewei Yao, Yuxiong He

Electronics and Telecommunications Research Institute · Seoul National University · Snowflake · Microsoft

PDF 由论文原始站点提供,PaperCompass 不保存论文文件。

摘要

Modern Text-to-SQL systems generate multiple candidate SQL queries and rank them to judge a final prediction. However, existing methods face two limitations. First, they often score functionally equivalent SQL queries inconsistently despite identical execution results. Second, ranking cannot recover when the correct SQL is absent from the candidate pool. We propose R3 -SQL, a Text-to-SQL framework that addresses both issues through unified reward for ranking and resampling. R3 -SQL first groups candidates by execution result and ranks groups for consistency. To score each group, it combines a pairwise preference across groups with a pointwise utility from the best group rank and size, capturing relative preference, consistency, and candidate quality. To improve candidate recall, R3 -SQL introduces agentic resampling, which judges the generated candidate pool and selectively resamples when the correct SQL is likely absent. R3 -SQL achieves 75.03 execution accuracy on BIRD-dev, a new state of the art among methods using models with disclosed sizes, with consistent gains across five benchmarks.

论文信息

会议
ACL 2026
年份
2026
DOI
10.18653/v1/2026.findings-acl.2146