“What Do You Mean by That?” A Parser-Independent Interactive Approach for Enhancing Text-to-SQL

Published:

[PAPER] [CODE]

Demo

In Natural Language Interfaces to Databases systems, the text-to-SQL technique allows users to query databases by using natural language questions. Though significant progress in this area has been made recently, most parsers may fall short when they are deployed in real systems. One main reason stems from the difficulty of fully understanding the users’ natural language questions. In this paper, we include human in the loop and present a novel parser-independent interactive approach (PIIA) that interacts with users using multi-choice questions and can easily work with arbitrary parsers. Experiments were conducted on two cross-domain datasets, the WikiSQL and the more complex Spider, with five state-of-the-art parsers. These demonstrated that PIIA is capable of enhancing the text-to-SQL performance with limited interaction turns by using both simulation and human evaluation.

Cite

@inproceedings{li2020you,
  title={“What Do You Mean by That?”-a Parser-Independent Interactive Approach for Enhancing Text-to-SQL},
  author={Li, Yuntao and Chen, Bei and Liu, Qian and Gao, Yan and Lou, Jian-Guang and Zhang, Yan and Zhang, Dongmei},
  booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
  pages={6913--6922},
  year={2020}
}