Neuro-Symbolic Forward Reasoning

Hikaru Shindo, Devendra Singh Dhami, Kristian Kersting
10/18/2021
cs.AIcs.CVcs.LG

Official code: ml-research/nsfr (30 stars, Python, MIT, last commit 2023-06-19).

Abstract

Reasoning is an essential part of human intelligence and thus has been a long-standing goal in artificial intelligence research. With the recent success of deep learning, incorporating reasoning with deep learning systems, i.e., neuro-symbolic AI has become a major field of interest.

Show full abstract

We propose the Neuro-Symbolic Forward Reasoner (NSFR), a new approach for reasoning tasks taking advantage of differentiable forward-chaining using first-order logic. The key idea is to combine differentiable forward-chaining reasoning with object-centric (deep) learning. Differentiable forward-chaining reasoning computes logical entailments smoothly, i.e., it deduces new facts from given facts and rules in a differentiable manner. The object-centric learning approach factorizes raw inputs into representations in terms of objects. Thus, it allows us to provide a consistent framework to perform the forward-chaining inference from raw inputs. NSFR factorizes the raw inputs into the object-centric representations, converts them into probabilistic ground atoms, and finally performs differentiable forward-chaining inference using weighted rules for inference. Our comprehensive experimental evaluations on object-centric reasoning data sets, 2D Kandinsky patterns and 3D CLEVR-Hans, and a variety of tasks show the effectiveness and advantage of our approach.

View on arXivView PDF

Code Implementations(1)

ml-research/nsfrOfficial100%
MIT

The Neuro-Symbolic Forward Reasoner

305Python, ShellOct 13, 20213 years agoMIT

Similar Papers

Cite this paper

@article{shindo2021neurosymbolic,
  title  = {Neuro-Symbolic Forward Reasoning},
  author = {Hikaru Shindo and Devendra Singh Dhami and Kristian Kersting},
  year   = {2021},
  eprint = {2110.09383},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.09383}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.09383.svg)](https://codeofpaper.com/paper/2110.09383)

Discussion