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

面向上下文依赖Text-to-SQL的可控数据增强

Controllable Data Augmentation for Context-Dependent Text-to-SQL

Dingzirui Wang, Longxu Dou, Wanxiang Che

AI总结:

针对上下文依赖Text-to-SQL标注数据不足、现有增强数据多样性差的问题,提出ConDA可控增强框架,通过SQL对话状态转移增多样本、基础匹配模型过滤低质量数据,在SParC和CoSQL数据集上使基线模型复杂问题性能平均提升3.3%。

摘要:

由于标注复杂度高,标注数据规模有限制约了现有上下文依赖Text-to-SQL模型的性能。数据增强是解决该问题的常用方法,但当前增强方法生成的数据往往缺乏多样性。本文提出ConDA框架,用于生成交互式问题及对应的SQL结果。我们设计了SQL对话状态,通过状态转移提升数据多样性;同时提出一种过滤方法,借助grounding model(基础匹配模型)保障数据质量,还利用该模型识别并过滤与状态信息不匹配的低质量问题。在SParC和CoSQL数据集上的实验结果表明,ConDA使基线模型在复杂问题上的性能平均提升3.3%。此外,我们对增强数据的分析显示,ConDA生成的数据在SQL模板难度、类型、轮次及问题一致性方面均具备高质量。

英文摘要:

The limited scale of annotated data constraints existing context-dependent text-to-SQL models because of the complexity of labeling. The data augmentation method is a commonly used method to solve this problem. However, the data generated by current augmentation methods often lack diversity. In this paper, we introduce ConDA, which generates interactive questions and corresponding SQL results. We designed the SQL dialogue state to enhance the data diversity through the state transition. Meanwhile, we also present a filter method to ensure the data quality by a grounding model. Additionally, we utilize a grounding model to identify and filter low-quality questions that mismatch the state information. Experimental results on the SParC and CoSQL datasets show that ConDA boosts the baseline model to achieve an average improvement of $3.3\%$ on complex questions. Moreover, we analyze the augmented data, which reveals that the data generated by ConDA are of high quality in both SQL template hardness and types, turns, and question consistency.

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

↑