Learning a Natural Language Interface with Neural Programmer

11/28/2016
by   Arvind Neelakantan, et al.
0

Learning a natural language interface for database tables is a challenging task that involves deep language understanding and multi-step reasoning. The task is often approached by mapping natural language queries to logical forms or programs that provide the desired response when executed on the database. To our knowledge, this paper presents the first weakly supervised, end-to-end neural network model to induce such programs on a real-world dataset. We enhance the objective function of Neural Programmer, a neural network with built-in discrete operations, and apply it on WikiTableQuestions, a natural language question-answering dataset. The model is trained end-to-end with weak supervision of question-answer pairs, and does not require domain-specific grammars, rules, or annotations that are key elements in previous approaches to program induction. The main experimental result in this paper is that a single Neural Programmer model achieves 34.2 weak supervision. An ensemble of 15 models, with a trivial combination technique, achieves 37.7 state-of-the-art accuracy of 37.1 semantic parser.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset