Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

IncSQL: Training Incremental Text-to-SQL Parsers with Non-Deterministic Oracles

About

We present a sequence-to-action parsing approach for the natural language to SQL task that incrementally fills the slots of a SQL query with feasible actions from a pre-defined inventory. To account for the fact that typically there are multiple correct SQL queries with the same or very similar semantics, we draw inspiration from syntactic parsing techniques and propose to train our sequence-to-action models with non-deterministic oracles. We evaluate our models on the WikiSQL dataset and achieve an execution accuracy of 83.7% on the test set, a 2.1% absolute improvement over the models trained with traditional static oracles assuming a single correct target SQL query. When further combined with the execution-guided decoding strategy, our model sets a new state-of-the-art performance at an execution accuracy of 87.1%.

Tianze Shi, Kedar Tatwawadi, Kaushik Chakrabarti, Yi Mao, Oleksandr Polozov, Weizhu Chen• 2018

Related benchmarks

TaskDatasetResultRank
Semantic ParsingWikiSQL (test)--
27
Semantic ParsingWikiSQL (dev)
Accuracy84
13
Text-to-SQLWikiSQL Fully-supervised (dev)
Execution Accuracy84
12
Text-to-SQLWikiSQL Fully-supervised (test)
Execution Accuracy83.7
12
Text-to-SQLWikiSQL (dev)
Logic Form Acc49.9
8
Text-to-SQLWikiSQL (test)
Logic Form Accuracy49.9
8
Showing 6 of 6 rows

Other info

Follow for update