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

Spider博士:文本到SQL健壮性的诊断评估基准

Dr.Spider: A Diagnostic Evaluation Benchmark towards Text-to-SQL Robustness

Ohio State University(俄亥俄州立大学);AWS AI Labs(亚马逊云服务人工智能实验室)
Shuaichen Chang, Jun Wang, Mingwen Dong, Lin Pan, Henghui Zhu, Alexander Hanbo Li, Wuwei Lan, Sheng Zhang, Jiarong Jiang, Joseph Lilien, Steve Ash, William Yang… 展开作者

Shuaichen Chang, Jun Wang, Mingwen Dong, Lin Pan, Henghui Zhu, Alexander Hanbo Li, Wuwei Lan, Sheng Zhang, Jiarong Jiang, Joseph Lilien, Steve Ash, William Yang Wang, Zhiguo Wang, Vittorio Castelli, Patrick Ng, Bing Xiang

摘要:

神经文本到SQL模型在将自然语言问题转换为SQL查询方面取得了显着的性能。然而,最近的研究表明,文本到SQL模型容易受到特定于任务的干扰。以前策划的鲁棒性测试集通常专注于个别现象。在本文中,我们提出了一个全面的鲁棒性基准的基础上蜘蛛,跨域的文本到SQL基准,诊断模型的鲁棒性。我们设计了17个数据库、自然语言问题和SQL查询的扰动,从不同的角度来衡量鲁棒性。为了收集更多样化的自然问题扰动,我们利用大型预训练语言模型(PLM)来模拟人类在创建自然问题时的行为。我们对鲁棒性集上的最先进模型进行了诊断研究。实验结果表明,即使是最强大的模型也会遭受14.0%的整体性能下降和50.7%的最具挑战性的扰动性能下降。我们还提出了关于文本到SQL模型设计的故障分析,并为提高模型的鲁棒性提供了见解。

英文摘要:

Neural text-to-SQL models have achieved remarkable performance in translating natural language questions into SQL queries. However, recent studies reveal that text-to-SQL models are vulnerable to task-specific perturbations. Previous curated robustness test sets usually focus on individual phenomena. In this paper, we propose a comprehensive robustness benchmark based on Spider, a cross-domain text-to-SQL benchmark, to diagnose the model robustness. We design 17 perturbations on databases, natural language questions, and SQL queries to measure the robustness from different angles. In order to collect more diversified natural question perturbations, we utilize large pretrained language models (PLMs) to simulate human behaviors in creating natural questions. We conduct a diagnostic study of the state-of-the-art models on the robustness set. Experimental results reveal that even the most robust model suffers from a 14.0% performance drop overall and a 50.7% performance drop on the most challenging perturbation. We also present a breakdown analysis regarding text-to-SQL model designs and provide insights for improving model robustness.

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

↑