Learning First-Order Rules with Differentiable Logic Program Semantics

04/28/2022
by   Kun Gao, et al.
2

Learning first-order logic programs (LPs) from relational facts which yields intuitive insights into the data is a challenging topic in neuro-symbolic research. We introduce a novel differentiable inductive logic programming (ILP) model, called differentiable first-order rule learner (DFOL), which finds the correct LPs from relational facts by searching for the interpretable matrix representations of LPs. These interpretable matrices are deemed as trainable tensors in neural networks (NNs). The NNs are devised according to the differentiable semantics of LPs. Specifically, we first adopt a novel propositionalization method that transfers facts to NN-readable vector pairs representing interpretation pairs. We replace the immediate consequence operator with NN constraint functions consisting of algebraic operations and a sigmoid-like activation function. We map the symbolic forward-chained format of LPs into NN constraint functions consisting of operations between subsymbolic vector representations of atoms. By applying gradient descent, the trained well parameters of NNs can be decoded into precise symbolic LPs in forward-chained logic format. We demonstrate that DFOL can perform on several standard ILP datasets, knowledge bases, and probabilistic relation facts and outperform several well-known differentiable ILP models. Experimental results indicate that DFOL is a precise, robust, scalable, and computationally cheap differentiable ILP model.

READ FULL TEXT
research
05/31/2017

End-to-End Differentiable Proving

We introduce neural networks for end-to-end differentiable proving of qu...
research
06/08/2019

Inductive Logic Programming via Differentiable Deep Neural Logic Networks

We propose a novel paradigm for solving Inductive Logic Programming (ILP...
research
09/14/2017

Extending Coinductive Logic Programming with Co-Facts

We introduce a generalized logic programming paradigm where programs, co...
research
10/18/2021

Neuro-Symbolic Forward Reasoning

Reasoning is an essential part of human intelligence and thus has been a...
research
06/24/2021

FF-NSL: Feed-Forward Neural-Symbolic Learner

Inductive Logic Programming (ILP) aims to learn generalised, interpretab...
research
06/26/2023

logLTN: Differentiable Fuzzy Logic in the Logarithm Space

The AI community is increasingly focused on merging logic with deep lear...
research
03/02/2021

Differentiable Inductive Logic Programming for Structured Examples

The differentiable implementation of logic yields a seamless combination...

Please sign up or login with your details

Forgot password? Click here to reset