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

CQR-SQL: Conversational Question Reformulation Enhanced Context-Dependent Text-to-SQL Parsers

  • Dongling Xiao
  • , Linzheng Chai
  • , Qian Wen Zhang
  • , Zhao Yan
  • , Zhoujun Li
  • , Yunbo Cao
  • Tencent
  • Beihang University

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

摘要

Context-dependent text-to-SQL is the task of translating multi-turn questions into database-related SQL queries. Existing methods typically focus on making full use of history context or previously predicted SQL for currently SQL parsing, while neglecting to explicitly comprehend the schema and conversational dependency, such as co-reference, ellipsis and user focus change. In this paper, we propose CQR-SQL, which uses auxiliary Conversational Question Reformulation (CQR) learning to explicitly exploit schema and decouple contextual dependency for multi-turn SQL parsing. Specifically, we first present a schema enhanced recursive CQR method to produce domain-relevant self-contained questions. Secondly, we train CQR-SQL models to map the semantics of multi-turn questions and auxiliary self-contained questions into the same latent space through schema grounding consistency task and tree-structured SQL parsing consistency task, which enhances the abilities of SQL parsing by adequately contextual understanding. At the time of writing, our CQR-SQL achieves new state-of-the-art results on two context-dependent text-to-SQL benchmarks SPARC and COSQL.

源语言英语
主期刊名Findings of the Association for Computational Linguistics
主期刊副标题EMNLP 2022
编辑Yoav Goldberg, Zornitsa Kozareva, Yue Zhang
出版商Association for Computational Linguistics (ACL)
2055-2068
页数14
ISBN(电子版)9781959429432
DOI
出版状态已出版 - 2022
活动2022 Findings of the Association for Computational Linguistics: EMNLP 2022 - Hybrid, Abu Dhabi, 阿拉伯联合酋长国
期限: 7 12月 202211 12月 2022

出版系列

姓名Findings of the Association for Computational Linguistics: EMNLP 2022

会议

会议2022 Findings of the Association for Computational Linguistics: EMNLP 2022
国家/地区阿拉伯联合酋长国
Hybrid, Abu Dhabi
时期7/12/2211/12/22

学术指纹

探究 'CQR-SQL: Conversational Question Reformulation Enhanced Context-Dependent Text-to-SQL Parsers' 的科研主题。它们共同构成独一无二的学术指纹。

引用此