Learning a Neural Semantic Parser from User Feedback

We present an approach to rapidly and easily build natural language interfaces to databases for new domains, whose performance improves over time based on user feedback, and requires minimal intervention. To achieve this, we adapt neural sequence models to map utterances directly to SQL with its full expressivity, bypassing any intermediate meaning representations. These models are immediately deployed online to solicit feedback from real users to flag incorrect queries. Finally, the popularity of SQL facilitates gathering annotations for incorrect predictions using the crowd, which is directly used to improve our models. This complete feedback loop, without intermediate representations or database specific engineering, opens up new ways of building high quality semantic parsers. Experiments suggest that this approach can be deployed quickly for any new target domain, as we show by learning a semantic parser for an online academic database from scratch.

PDF Abstract ACL 2017 PDF ACL 2017 Abstract
No code implementations yet. Submit your code now

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
SQL Parsing Academic Iyer et al. Question Split 76 # 2
Query Split 70 # 2
SQL Parsing Advising Iyer et al. Question Split 41 # 3
Query Split 1 # 1
SQL Parsing ATIS Iyer et al. Question Split 45 # 2
Query Split 17 # 2
SQL Parsing GeoQuery Iyer et al. Question Split 66 # 2
Query Split 40 # 1
SQL Parsing IMDb Iyer et al. Question Split 10 # 2
Query Split 4 # 2
SQL Parsing Restaurants Iyer et al., Question Split 100 # 1
Query Split 8 # 1
SQL Parsing Scholar Iyer et al. Question Split 44 # 3
Query Split 3 # 2
SQL Parsing Yelp Iyer et al. Question Split 6 # 2
Query Split 6 # 1

Methods


No methods listed for this paper. Add relevant methods here