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

带辅助任务的端到端跨域文本到SQL语义解析

End-to-End Cross-Domain Text-to-SQL Semantic Parsing with Auxiliary Task

University of Waterloo(滑铁卢大学);The University of Hong Kong(香港大学);AWS AI Labs(亚马逊云科技人工智能实验室)

Peng Shi, Tao Yu, Patrick Ng, Zhiguo Wang

摘要:

在这项工作中,我们专注于跨域的文本到SQL的语义解析任务中的两个关键组成部分:模式链接和值填充。为了鼓励模型学习更好的编码能力,我们提出了一个列选择辅助任务,通过使用显式学习目标来赋予编码器相关匹配能力。此外,我们提出了两个值填充方法,建立桥梁,从现有的zero-shot语义解析器到现实世界的应用程序,考虑到大多数现有的解析器忽略的值填充在合成SQL。通过在Spider上的实验,我们提出的框架在数据库内容不可用时提高了执行精度和精确集匹配精度,详细的分析为未来的工作提供了指导。

英文摘要:

In this work, we focus on two crucial components in the cross-domain text-to-SQL semantic parsing task: schema linking and value filling. To encourage the model to learn better encoding ability, we propose a column selection auxiliary task to empower the encoder with the relevance matching capability by using explicit learning targets. Furthermore, we propose two value filling methods to build the bridge from the existing zero-shot semantic parsers to real-world applications, considering most of the existing parsers ignore the values filling in the synthesized SQL. With experiments on Spider, our proposed framework improves over the baselines on the execution accuracy and exact set match accuracy when database contents are unavailable, and detailed analysis sheds light on future work.

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

↑