about
X-SQL: reinforce schema representation with context (arxiv.org)
2 points by sel1 on Aug 24, 2019 | hide | past | pdf | discuss on HN

In plain words: It turns English questions into database queries by combining each table column's name and data type with word meanings pulled from a large text-trained language model. On a standard set of English questions paired with SQL, it answered more correctly than any earlier system.

Abstract

In this work, we present X-SQL, a new network architecture for the problem of parsing natural language to SQL query. X-SQL proposes to enhance the structural schema representation with the contextual output from BERT-style pre-training model, and together with type information to learn a new schema representation for down-stream tasks. We evaluated X-SQL on the WikiSQL dataset and show its new state-of-the-art performance.

Pengcheng He, Yi Mao, Kaushik Chakrabarti, Weizhu Chen
arXiv:1908.08113 · cs.CL · submitted Aug 21, 2019
abstract · pdf · html

add comment on HN