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.
Machine Translation from Natural Language to Code using Long-Short Term Memory
Bangladesh Atomic Energy Commission(孟加拉国原子能委员会);University of Calgary(卡尔加里大学);American International University-Bangladesh(孟加拉国美国国际大学);City University(城市大学);Concordia University(康考迪亚大学)
Dataset for a Neural Natural Language Interface for Databases (NNLIDB)
Bitdefender(比特凡德);University Politehnica of Bucharest(布加勒斯特理工大学)
数据库的自然语言接口(NLIDB)进展缓慢,主要是由于语言问题(如语言歧义)和域可移植性。此外,由于缺乏可用作标准基准的大型语料库,数据驱动的方法难以开发和比较。在本文中,我们重新审视NLIDBs的问题,并将其转换为一个序列翻译问题。为此,我们介绍了从Stack Exchange Data Explorer网站提取的大型数据集,该数据集可用于训练数据库的神经自然语言接口。我们还报告了令人鼓舞的基线结果在一个较小的手动注释的测试语料库,使用基于注意力的序列到序列神经网络。
A Natural Language Query Interface for Searching Personal Information on Smartwatches
Dartmouth College(达特茅斯学院);Liverpool John Moore University(利物浦约翰摩尔斯大学);Vienna University of Technology(维也纳工业大学);University of Vienna(维也纳大学);University of California, Riverside(加州大学河滨分校)
Natural Language Interfaces for Tabular Data Querying and Visualization: A Survey
University of Toronto(多伦多大学);Xidian University(西安电子科技大学);International Digital Economy Academy (IDEA)(国际数字经济学院(IDEA));WeBank Co., Ltd.(微众银行股份有限公司);Hong Kong University of Science and Technology (HKUST)(香港科技大学);King Mongkut’s University of Technology Thonburi(泰国国王科技大学)