Differentiable Inductive Logic Programming for Structured Examples

Hikaru Shindo, Masaaki Nishino, Akihiro Yamamoto
3/2/2021
cs.AIcs.LG

Official code: hkrsnd/dilp-st (10 stars, Python, MIT, last commit 2021-05-24).

Abstract

The differentiable implementation of logic yields a seamless combination of symbolic reasoning and deep neural networks. Recent research, which has developed a differentiable framework to learn logic programs from examples, can even acquire reasonable solutions from noisy datasets.

Show full abstract

However, this framework severely limits expressions for solutions, e.g., no function symbols are allowed, and the shapes of clauses are fixed. As a result, the framework cannot deal with structured examples. Therefore we propose a new framework to learn logic programs from noisy and structured examples, including the following contributions. First, we propose an adaptive clause search method by looking through structured space, which is defined by the generality of the clauses, to yield an efficient search space for differentiable solvers. Second, we propose for ground atoms an enumeration algorithm, which determines a necessary and sufficient set of ground atoms to perform differentiable inference functions. Finally, we propose a new method to compose logic programs softly, enabling the system to deal with complex programs consisting of several clauses. Our experiments show that our new framework can learn logic programs from noisy and structured examples, such as sequences or trees. Our framework can be scaled to deal with complex programs that consist of several clauses with function symbols.

View on arXivView PDF

Code Implementations(1)

hkrsnd/dilp-stOfficial100%
MIT
102Python, Jupyter NotebookDec 15, 20205 years agoMIT

Similar Papers

Cite this paper

@article{shindo2021differentiable,
  title  = {Differentiable Inductive Logic Programming for Structured Examples},
  author = {Hikaru Shindo and Masaaki Nishino and Akihiro Yamamoto},
  year   = {2021},
  eprint = {2103.01719},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.01719}
}

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/2103.01719.svg)](https://codeofpaper.com/paper/2103.01719)

Discussion