arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2105.07911cs.CLstat.ML
收藏

SeaD:使用模式感知去噪的端到端文本到SQL生成

SeaD: End-to-end Text-to-SQL Generation with Schema-aware Denoising

Ant Group(蚂蚁集团)

Kuan Xu, Yongbo Wang, Yongliang Wang, Zujie Wen, Yang Dong

摘要:

在text-to-SQL任务中,seq-to-seq模型由于其体系结构的限制而经常导致次优性能。在本文中,我们提出了一个简单而有效的方法,适应基于transformer的seq-to-seq模型,以强大的文本到SQL生成。而不是诱导约束解码器或重新格式化的任务作为槽填充,我们提出了训练序列到序列模型与模式感知降噪(SeaD),其中包括两个降噪目标,训练模型,以恢复输入或预测输出从两个新的侵蚀和洗牌噪声。这些去噪目标作为辅助任务,用于在S2 S生成中更好地建模结构数据。此外,我们改进并提出了一种子句敏感的执行引导(EG)解码策略,以克服EG解码对生成模型的局限性。实验结果表明,该方法提高了seq-to-seq模型在模式链接和语法正确性方面的性能,在WikiSQL基准测试中建立了新的技术水平。结果表明,用于文本到SQL的vanilla seq-to-seq架构的容量可能被低估了。

英文摘要:

In text-to-SQL task, seq-to-seq models often lead to sub-optimal performance due to limitations in their architecture. In this paper, we present a simple yet effective approach that adapts transformer-based seq-to-seq model to robust text-to-SQL generation. Instead of inducing constraint to decoder or reformat the task as slot-filling, we propose to train seq-to-seq model with Schema aware Denoising (SeaD), which consists of two denoising objectives that train model to either recover input or predict output from two novel erosion and shuffle noises. These denoising objectives acts as the auxiliary tasks for better modeling the structural data in S2S generation. In addition, we improve and propose a clause-sensitive execution guided (EG) decoding strategy to overcome the limitation of EG decoding for generative model. The experiments show that the proposed method improves the performance of seq-to-seq model in both schema linking and grammar correctness and establishes new state-of-the-art on WikiSQL benchmark. The results indicate that the capacity of vanilla seq-to-seq architecture for text-to-SQL may have been under-estimated.

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

↑