COLING 2020main3 citations

SQL Generation via Machine Reading Comprehension

Zeyu Yan, Jianqiang Ma, Yang Zhang, Jianping Shen

Abstract

Text-to-SQL systems offers natural language interfaces to databases, which can automatically generates SQL queries given natural language questions. On the WikiSQL benchmark, state-of- the-art text-to-SQL systems typically take a slot-filling approach by building several specialized models for each type of slot. Despite being effective, such modularized systems are complex and also fall short in jointly learning for different slots. To solve these problems, this paper proposes a novel approach that formulates the task as a question answering problem, where different slots are predicted by a unified machine reading comprehension (MRC) model. For this purpose, we use a BERT-based MRC model, which can also benefit from intermediate training on other MRC datasets. The proposed method can achieve competitive results on WikiSQL, suggesting it being a promising direction for text-to-SQL.

BibTeX
@inproceedings{yan-etal-2020-sql,
    title = "{SQL} Generation via Machine Reading Comprehension",
    author = "Yan, Zeyu  and
      Ma, Jianqiang  and
      Zhang, Yang  and
      Shen, Jianping",
    editor = "Scott, Donia  and
      Bel, Nuria  and
      Zong, Chengqing",
    booktitle = "Proceedings of the 28th International Conference on Computational Linguistics",
    month = dec,
    year = "2020",
    address = "Barcelona, Spain (Online)",
    publisher = "International Committee on Computational Linguistics",
    url = "https://aclanthology.org/2020.coling-main.31/",
    doi = "10.18653/v1/2020.coling-main.31",
    pages = "350--356"
}
SQL Generation via Machine Reading Comprehension · COLING 2020