Execution-Guided Neural Program Decoding
Abstract
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.
Cite
Text
Wang et al. "Execution-Guided Neural Program Decoding." ICML 2018 Workshops: NAMPI, 2018.Markdown
[Wang et al. "Execution-Guided Neural Program Decoding." ICML 2018 Workshops: NAMPI, 2018.](https://mlanthology.org/icmlw/2018/wang2018icmlw-executionguided/)BibTeX
@inproceedings{wang2018icmlw-executionguided,
title = {{Execution-Guided Neural Program Decoding}},
author = {Wang, Chenglong and Huang, Po-Sen and Polozov, Alex and Brockschmidt, Marc and Singh, Rishabh},
booktitle = {ICML 2018 Workshops: NAMPI},
year = {2018},
url = {https://mlanthology.org/icmlw/2018/wang2018icmlw-executionguided/}
}