NL-EDIT: Correcting Semantic Parse Errors through Natural Language Interaction
- Ahmed Elgohary ,
- Chris Meek ,
- Matthew Richardson ,
- Adam Fourney ,
- Gonzalo Ramos ,
- Ahmed Awadallah
NAACL 2021 |
We study semantic parsing in an interactive setting in which users correct errors with natural language feedback. We present NL-EDIT, a model for interpreting natural language feed-back in the interaction context to generate a sequence of edits that can be applied to the initial parse to correct its errors. We show that NL-EDIT can boost the accuracy of existing text-to-SQL parsers by up to 20% with only one turn of correction. We analyze the limitations of the model and discuss directions for improvement and evaluation. The code and datasets used in this paper are publicly avail-able athttp://aka.ms/NLEdit.