Get our free extension to see links to code for papers anywhere online!

Chrome logo Add to Chrome

Firefox logo Add to Firefox

Learning to Generate Structured Queries from Natural Language with Indirect Supervision

Sep 10, 2018
Ziwei Bai, Bo Yu, Bowen Wu, Zhuoran Wang, Baoxun Wang

Share this with someone who'll enjoy it:

Generating structured query language (SQL) from natural language is an emerging research topic. This paper presents a new learning paradigm from indirect supervision of the answers to natural language questions, instead of SQL queries. This paradigm facilitates the acquisition of training data due to the abundant resources of question-answer pairs for various domains in the Internet, and expels the difficult SQL annotation job. An end-to-end neural model integrating with reinforcement learning is proposed to learn SQL generation policy within the answer-driven learning paradigm. The model is evaluated on datasets of different domains, including movie and academic publication. Experimental results show that our model outperforms the baseline models.

* 11 pages, 4 figures 

   Access Paper Source

Share this with someone who'll enjoy it: