TypeSQL: Knowledge-Based Type-Aware Neural Text-to-SQL Generation

By Tao Yu, Zifan Li, Zilin Zhang, Rui Zhang, Dragomir R. Radev. 2018

308 citations recorded by the source corpus.

Interacting with relational databases through natural language helps users with any background easily query and analyze a vast amount of data. This requires a system that understands users’ questions and converts them to SQL queries automatically. In this paper, we present a novel approach TypeSQL which formats the problem as a slot filling task in a more reasonable way. In addition, TypeSQL utilizes type information to better understand rare entities and numbers in the questions. We experiment this idea on the WikiSQL dataset and outperform the prior art by 6% in much shorter time. We also show that accessing the content of databases can significantly improve the performance when users’ queries are not well-formed. TypeSQL can reach 82.6% accuracy, a 17.5% absolute improvement compared to the previous content-sensitive model.

Subfields: Artificial Intelligence, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Percy Liang
  3. Caiming Xiong
  4. Jonathan Berant
  5. Mohit Bansal
  6. Hannaneh Hajishirzi
  7. Richard Socher
  8. Jianfeng Gao

In Natural Language Processing

  1. Caiming Xiong
  2. Luke S. Zettlemoyer
  3. Jonathan Berant
  4. Richard Socher
  5. Percy Liang
  6. Hannaneh Hajishirzi
  7. Mohit Bansal
  8. Wen-tau Yih

Citations in the corpus