DIR: A Large-Scale Dialogue Rewrite Dataset for Cross-Domain Conversational Text-to-SQL
Open Access
- 9 February 2023
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 13 (4) , 2262
Abstract
Semantic co-reference and ellipsis always lead to information deficiency when parsing natural language utterances with SQL in a multi-turn dialogue (i.e., conversational text-to-SQL task). The methodology of dividing a dialogue understanding task into dialogue utterance rewriting and language understanding is feasible to tackle this problem. To this end, we present a two-stage framework to complete conversational text-to-SQL tasks. To construct an efficient rewriting model in the first stage, we provide a large-scale dialogue rewrite dataset (DIR), which is extended from two cross-domain conversational text-to-SQL datasets, SParC and CoSQL. The dataset contains 5908 dialogues involving 160 domains. Therefore, it not only focuses on conversational text-to-SQL tasks, but is also a valuable corpus for dialogue rewrite study. In experiments, we validate the efficiency of our annotations with a popular text-to-SQL parser, RAT-SQL. The experiment results illustrate 11.81 and 27.17 QEM accuracy improvement on SParC and CoSQL, respectively, when we eliminate the semantic incomplete representations problem by directly parsing the golden rewrite utterances. The experiment results of evaluating the performance of the two-stage frameworks using different rewrite models show that the efficiency of rewrite models is important and still needs improvement. Additionally, as a new benchmark of the dialogue rewrite task, we also report the performance results of different baselines for related studies. Our dataset will be publicly available once this paper is accepted.Keywords
Funding Information
- China NSFC projects (62106142, 62120106006, 2021SHZDZX0102)
- Shanghai Municipal Science and Technology Major Project (62106142, 62120106006, 2021SHZDZX0102)
This publication has 34 references indexed in Scilit:
- A Syntactic Neural Model for General-Purpose Code Generation2017
- Neural Semantic Parsing with Type Constraints for Semi-Structured Tables2017
- Key-Value Retrieval Networks for Task-Oriented Dialogue2017
- U-Net: Convolutional Networks for Biomedical Image Segmentation2015
- The Graph Neural Network ModelIEEE Transactions on Neural Networks, 2008
- Semantic Ellipsis2006
- Words and Thoughts2006
- Beyond Accuracy, F-Score and ROC: A Family of Discriminant Measures for Performance Evaluation2006
- Arabic preprocessing schemes for statistical machine translation2006
- Natural language interfaces to databases – an introductionNatural Language Engineering, 1995