Computer Science > Computation and Language
Title:Learning a Natural Language Interface with Neural Programmer
(Submitted on 28 Nov 2016 (v1), last revised 2 Mar 2017 (this version, v4))
Abstract: 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% accuracy using only 10,000 examples with weak supervision. An ensemble of 15 models, with a trivial combination technique, achieves 37.7% accuracy, which is competitive to the current state-of-the-art accuracy of 37.1% obtained by a traditional natural language semantic parser.
Submission history
From: Arvind Neelakantan [view email][v1] Mon, 28 Nov 2016 00:54:34 UTC (183 KB)
[v2] Mon, 20 Feb 2017 16:18:14 UTC (185 KB)
[v3] Tue, 21 Feb 2017 14:43:12 UTC (185 KB)
[v4] Thu, 2 Mar 2017 16:02:00 UTC (185 KB)