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

Tracking Interaction States for Multi-Turn Text-to-SQL Semantic Parsing

University of Science and Technology of China(中国科学技术大学);Baidu Research(百度研究院);iFLYTEK Research(讯飞研究院)

Run-Ze Wang, Zhen-Hua Ling, Jing-Bo Zhou, Yu Hu

英文摘要:

The task of multi-turn text-to-SQL semantic parsing aims to translate natural language utterances in an interaction into SQL queries in order to answer them using a database which normally contains multiple table schemas. Previous studies on this task usually utilized contextual information to enrich utterance representations and to further influence the decoding process. While they ignored to describe and track the interaction states which are determined by history SQL queries and are related with the intent of current utterance. In this paper, two kinds of interaction states are defined based on schema items and SQL keywords separately. A relational graph neural network and a non-linear layer are designed to update the representations of these two states respectively. The dynamic schema-state and SQL-state representations are then utilized to decode the SQL query corresponding to current utterance. Experimental results on the challenging CoSQL dataset demonstrate the effectiveness of our proposed method, which achieves better performance than other published methods on the task leaderboard.

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

↑