arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.04334cs.DBcs.AIcs.LOcs.PL
收藏

SpotIt+: 基于验证的文本到SQL评估与数据库约束

SpotIt+: Verification-based Text-to-SQL Evaluation with Database Constraints

Amherst College(阿默斯特学院);Simon Fraser University(西蒙弗雷泽大学);VMware Research by Broadcom(Broadcom VMware 研究)

Andrew Tremante, Yang He, Rocky Klopfenstein, Yuepeng Wang, Nina Narodytska, Haoze Wu

AI总结:

SpotIt+通过有界等价验证评估文本到SQL系统,结合规则和LLM方法挖掘约束,提升数据库差异识别能力。

摘要:

我们提出了SpotIt+,一个开源工具,通过有界等价验证评估文本到SQL系统。给定生成的SQL查询和真实查询,SpotIt+主动搜索能区分两者的数据库实例。为确保生成的反例反映实际相关差异,我们引入了最佳努力约束挖掘流程,结合基于规则的规范挖掘与基于示例数据库的LLM验证。在BIRD数据集上的实验结果表明,挖掘的约束使SpotIt+能够生成更真实的区分数据库,同时保持高效发现生成和黄金SQL查询之间被标准测试评估遗漏的大量差异的能力。

英文摘要:

We present SpotIt+, an open-source tool for evaluating Text-to-SQL systems via bounded equivalence verification. Given a generated SQL query and the ground truth, SpotIt+ actively searches for database instances that differentiate the two queries. To ensure that the generated counterexamples reflect practically relevant discrepancies, we introduce a best-effort constraint-mining pipeline that combines rule-based specification mining with LLM-based validation over example databases. Experimental results on the BIRD dataset show that the mined constraints enable SpotIt+ to generate more realistic differentiating databases, while preserving its ability to efficiently uncover numerous discrepancies between generated and gold SQL queries that are missed by standard test-based evaluation.

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

↑