跳到主要导航 跳到搜索 跳到主要内容

Towards complex text-to-SQL in cross-domain database with intermediate representation

  • Jiaqi Guo
  • , Zecheng Zhan
  • , Yan Gao
  • , Yan Xiao
  • , Jian Guang Lou
  • , Ting Liu
  • , Dongmei Zhang
  • Xi'an Jiaotong University
  • Beijing University of Posts and Telecommunications
  • Microsoft USA

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

274 引用 (Scopus)

摘要

We present a neural approach called IRNet for complex and cross-domain Text-to-SQL. IRNet aims to address two challenges: 1) the mismatch between intents expressed in natural language (NL) and the implementation details in SQL; 2) the challenge in predicting columns caused by the large number of out-of-domain words. Instead of end-to-end synthesizing a SQL query, IRNet decomposes the synthesis process into three phases. In the first phase, IRNet performs a schema linking over a question and a database schema. Then, IRNet adopts a grammar-based neural model to synthesize a SemQL query which is an intermediate representation that we design to bridge NL and SQL. Finally, IRNet deterministically infers a SQL query from the synthesized SemQL query with domain knowledge. On the challenging Text-to-SQL benchmark Spider, IRNet achieves 46.7% accuracy, obtaining 19.5% absolute improvement over previous state-of-the-art approaches. At the time of writing, IRNet achieves the first position on the Spider leaderboard.

源语言英语
主期刊名ACL 2019 - 57th Annual Meeting of the Association for Computational Linguistics, Proceedings of the Conference
出版商Association for Computational Linguistics (ACL)
页4524-4535
页数12
ISBN(电子版)9781950737482
出版状态已出版 - 2020
活动57th Annual Meeting of the Association for Computational Linguistics, ACL 2019 - Florence, 意大利
期限: 28 7月 2019 → 2 8月 2019

丛书

姓名ACL 2019 - 57th Annual Meeting of the Association for Computational Linguistics, Proceedings of the Conference

会议

会议57th Annual Meeting of the Association for Computational Linguistics, ACL 2019
国家/地区意大利
市Florence
时期28/07/19 → 2/08/19

学术指纹

探究 'Towards complex text-to-SQL in cross-domain database with intermediate representation' 的科研主题。它们共同构成独一无二的学术指纹。

引用此