Execution-Guided Neural Program Decoding

07/09/2018
by   Chenglong Wang, et al.
0

We present a neural semantic parser that translatesnatural language questions intoexecutableSQLqueries with two key ideas. First, we develop anencoder-decoder model, where the decoder usesa simple type system of SQL to constraint theoutput prediction, and propose a value-based losswhen copying from input tokens. Second, we ex-plore using the execution semantics of SQL to re-pair decoded programs that result in runtime erroror return empty result. We propose two model-agnostics repair approaches, an ensemble modeland a local program repair, and demonstrate theireffectiveness over the original model. We evalu-ate our model on the WikiSQL dataset and showthat our model achieves close to state-of-the-artresults with lesser model complexity.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/09/2018

Robust Text-to-SQL Generation with Execution-Guided Decoding

We consider the problem of neural semantic parsing, which translates nat...
research
05/10/2021

Neural Program Repair with Execution-based Backpropagation

Neural machine translation (NMT) architectures have achieved promising r...
research
03/20/2018

Program Repair via Direct State Manipulation

The goal of program repair is to automatically fix programs to meet a sp...
research
09/13/2018

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

We present a sequence-to-action parsing approach for the natural languag...
research
03/07/2021

Improving Text-to-SQL with Schema Dependency Learning

Text-to-SQL aims to map natural language questions to SQL queries. The s...
research
07/25/2019

Applying Constraint Logic Programming to SQL Semantic Analysis

This paper proposes the use of Constraint Logic Programming (CLP) to mod...
research
10/06/2022

Binding Language Models in Symbolic Languages

Though end-to-end neural approaches have recently been dominating NLP ta...

Please sign up or login with your details

Forgot password? Click here to reset