English

Neural Logic Machines

Artificial Intelligence 2019-04-29 v1 Machine Learning Machine Learning

Abstract

We propose the Neural Logic Machine (NLM), a neural-symbolic architecture for both inductive learning and logic reasoning. NLMs exploit the power of both neural networks---as function approximators, and logic programming---as a symbolic processor for objects with properties, relations, logic connectives, and quantifiers. After being trained on small-scale tasks (such as sorting short arrays), NLMs can recover lifted rules, and generalize to large-scale tasks (such as sorting longer arrays). In our experiments, NLMs achieve perfect generalization in a number of tasks, from relational reasoning tasks on the family tree and general graphs, to decision making tasks including sorting arrays, finding shortest paths, and playing the blocks world. Most of these tasks are hard to accomplish for neural networks or inductive logic programming alone.

Keywords

Cite

@article{arxiv.1904.11694,
  title  = {Neural Logic Machines},
  author = {Honghua Dong and Jiayuan Mao and Tian Lin and Chong Wang and Lihong Li and Denny Zhou},
  journal= {arXiv preprint arXiv:1904.11694},
  year   = {2019}
}

Comments

ICLR 2019. Project page: https://sites.google.com/view/neural-logic-machines

R2 v1 2026-06-23T08:50:08.826Z