A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualization

Wonseok Hwang, Jinyeong Yim, Seunghyun Park, Minjoon Seo
2/4/2019
cs.CL

Official code: naver/sqlova (646 stars, Apache-2.0, last commit 2020-07-29).

Abstract

We present SQLova, the first Natural-language-to-SQL (NL2SQL) model to achieve human performance in WikiSQL dataset. We revisit and discuss diverse popular methods in NL2SQL literature, take a full advantage of BERT {Devlin et al., 2018) through an effective table contextualization method, and coherently combine them, outperforming the previous state of the art by 8.2% and 2.5% in logical form and execution accuracy, respectively. We particularly note that BERT with a seq2seq decoder leads to a poor performance in the task, indicating the importance of a careful design when using such large pretrained models. We also provide a comprehensive analysis on the dataset and our model, which can be helpful for designing future NL2SQL datsets and models. We especially show that our model's performance is near the upper bound in WikiSQL, where we observe that a large portion of the evaluation errors are due to wrong annotations, and our model is already exceeding human performance by 1.3% in execution accuracy.

View on arXivView PDF

Code Implementations(1)

naver/sqlovaOfficial100%
Apache-2.0
646166Shell, PythonJan 18, 20196 years agoApache-2.0

Similar Papers

Cite this paper

@article{hwang2019comprehensive,
  title  = {A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualization},
  author = {Wonseok Hwang and Jinyeong Yim and Seunghyun Park and Minjoon Seo},
  year   = {2019},
  eprint = {1902.01069},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.01069}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1902.01069.svg)](https://codeofpaper.com/paper/1902.01069)

Discussion