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

SUN:探索文本到SQL解析器中的内在不确定性

SUN: Exploring Intrinsic Uncertainties in Text-to-SQL Parsers

Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);DAMO Academy, Alibaba Group(阿里巴巴集团达摩院)

Bowen Qin, Lihan Wang, Binyuan Hui, Bowen Li, Xiangpeng Wei, Binhua Li, Fei Huang, Luo Si, Min Yang, Yongbin Li

摘要:

本文旨在通过探讨基于神经网络(SUN)的文本到SQL解析方法中固有的不确定性来提高解析性能。从数据不确定性的角度来看,一个SQL可以从多个语义等价的问题中学习,这是无可争议的。不同于以往的方法,仅限于一对一的映射,我们提出了一个数据不确定性约束,探索多个语义等价的问题(多对一)之间的潜在互补语义信息,学习鲁棒的特征表示,减少虚假的关联。通过这种方式,我们可以降低学习表示的敏感性,提高解析器的鲁棒性。从模型不确定性的角度来看,神经网络的权重之间通常存在结构信息(依赖性)。为了提高神经文本到SQL解析器的泛化能力和稳定性,我们提出了一个模型不确定性约束,通过强制不同扰动编码网络的输出表示相互一致来细化查询表示。在五个基准数据集上的大量实验表明,我们的方法显着优于强大的竞争对手,并取得了新的最先进的结果。为了重现性,我们在https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/sunsql上发布我们的代码和数据。

英文摘要:

This paper aims to improve the performance of text-to-SQL parsing by exploring the intrinsic uncertainties in the neural network based approaches (called SUN). From the data uncertainty perspective, it is indisputable that a single SQL can be learned from multiple semantically-equivalent questions.Different from previous methods that are limited to one-to-one mapping, we propose a data uncertainty constraint to explore the underlying complementary semantic information among multiple semantically-equivalent questions (many-to-one) and learn the robust feature representations with reduced spurious associations. In this way, we can reduce the sensitivity of the learned representations and improve the robustness of the parser. From the model uncertainty perspective, there is often structural information (dependence) among the weights of neural networks. To improve the generalizability and stability of neural text-to-SQL parsers, we propose a model uncertainty constraint to refine the query representations by enforcing the output representations of different perturbed encoding networks to be consistent with each other. Extensive experiments on five benchmark datasets demonstrate that our method significantly outperforms strong competitors and achieves new state-of-the-art results. For reproducibility, we release our code and data at https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/sunsql.

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

↑