Neural Symbolic Machines:Learning Semantic Parsers on Freebase with Weak Supervision(英语:Neural Symbolic Machines:Learning Semantic Parsers on Freebase with Weak Supervision)
Neural Symbolic Machines: Learning Semantic Parsers on Freebase with Weak Supervision (Short Version)
Extending the success of deep neural networks to natural language understanding and symbolic reasoning requires complex operations and external memory. Recent neural program induction approaches have attempted to address this problem, but are typically limited to differentiable memory, and consequently cannot scale beyond small synthetic tasks. In this work, we propose the Manager-Programmer-Computer framework, which integrates neural networks with non-differentiable memory to support abstract, scalable and precise operations through a friendly neural computer interface. Specifically, we introduce a Neural Symbolic Machine, which contains a sequence-to-sequence neural "programmer", and a non-differentiable "computer" that is a Lisp interpreter with code assist. To successfully apply REINFORCE for training, we augment it with approximate gold programs found by an iterative maximum likelihood training process. NSM is able to learn a semantic parser from weak supervision over a large knowledge base. It achieves new state-of-the-art performance on WebQuestionsSP, a challenging semantic parsing dataset, with weak supervision. Compared to previous approaches, NSM is end-to-end, therefore does not rely on feature engineering or domain specific knowledge.
Chains of Reasoning over Entities, Relations, and Text using Recurrent Neural Networks
College of Information and Computer Sciences(信息与计算机科学学院);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)
我们的目标是将符号逻辑推理丰富的多步推理与神经网络的泛化能力结合起来。我们对文本和大规模知识库(KBs)中的实体和关系的复杂推理特别感兴趣。Neelakantan et al.(2015)使用RNN来构建KB中多跳路径的分布式语义;然而,由于多种原因,该方法缺乏准确性和实用性。本文提出了三个重要的建模进展:(1)我们学会了联合推理关系,实体和实体类型;(2)我们使用神经注意力建模来整合多个路径;(3)我们学会了在一个单一的RNN中共享力量,该RNN代表所有关系的逻辑组成。在一个大规模的Freebase+ Cocktail Web预测任务,我们实现了25%的错误减少,和53%的错误减少稀疏的关系,由于共享的力量。在WordNet中的推理链上,我们将平均分位数的错误减少了84%,与以前的最先进技术相比。代码和数据可在https://rajarshd.github.io/ChainsofReasoning上获得
The University of Hong Kong(香港大学);University of Washington(华盛顿大学);University of Waterloo(滑铁卢大学);Salesforce Research(赛富时研究院);Yale University(耶鲁大学);Shanghai Jiao Tong University(上海交通大学);Allen Institute for AI(艾伦人工智能研究所);Meta AI