arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.26840cs.DBcs.AIcs.FLcs.LO
收藏

SpotIt: 通过形式验证评估文本到SQL

SpotIt: Evaluating Text-to-SQL Evaluation with Formal Verification

Amherst College(阿姆赫斯特学院);Simon Fraser University(西蒙弗雷泽大学);VMware Research by Broadcom(VMware由Broadcom进行的研究)

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

AI总结:

SpotIt通过形式验证评估文本到SQL系统,发现基于测试的方法无法区分生成查询与地面真相的差异。

摘要:

社区主导的文本到SQL评估平台在跟踪文本到SQL性能的最前沿状态中起着关键作用。评估过程的可靠性对于推动该领域的发展至关重要。当前的评估方法主要是基于测试的,这涉及将生成的SQL查询和人工标注的地面真相在静态测试数据库上的执行结果进行比较。这种评估是乐观的,因为两个查询可能在测试数据库上偶然产生相同的结果,而实际上它们是不同的。在本工作中,我们提出了一种新的替代评估流程,称为SpotIt,其中形式有界等价性验证引擎主动搜索能够区分生成的和地面真相SQL查询的数据库。我们开发了技术来扩展现有的验证器,以支持更丰富的SQL子集,这与文本到SQL相关。对十种文本到SQL方法在高知名度的BIRD数据集上的性能评估表明,基于测试的方法往往忽视生成查询与地面真相之间的差异。进一步分析验证结果揭示了当前文本到SQL评估更复杂的图景。

英文摘要:

Community-driven Text-to-SQL evaluation platforms play a pivotal role in tracking the state of the art of Text-to-SQL performance. The reliability of the evaluation process is critical for driving progress in the field. Current evaluation methods are largely test-based, which involves comparing the execution results of a generated SQL query and a human-labeled ground-truth on a static test database. Such an evaluation is optimistic, as two queries can coincidentally produce the same output on the test database while actually being different. In this work, we propose a new alternative evaluation pipeline, called SpotIt, where a formal bounded equivalence verification engine actively searches for a database that differentiates the generated and ground-truth SQL queries. We develop techniques to extend existing verifiers to support a richer SQL subset relevant to Text-to-SQL. A performance evaluation of ten Text-to-SQL methods on the high-profile BIRD dataset suggests that test-based methods can often overlook differences between the generated query and the ground-truth. Further analysis of the verification results reveals a more complex picture of the current Text-to-SQL evaluation.

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

↑