Skip to main content
QUICK REVIEW

[Paper Review] Inductive Logic Programming via Differentiable Deep Neural Logic Networks

Ali Payani, Faramarz Fekri|arXiv (Cornell University)|Jun 8, 2019
Bayesian Modeling and Causal InferenceComputer Science23 references22 citations
TL;DR

This paper proposes a differentiable deep neural logic network (dNL-ILP) that learns symbolic first-order logic rules end-to-end via differentiable forward chaining, eliminating the need for restrictive rule templates. It achieves state-of-the-art performance on relational classification tasks, outperforming prior ILP systems on Mutagenesis, Cora, IMDB, Wine, and Sonar datasets by leveraging learnable Boolean functions and continuous data handling through differentiable boundary predicates.

ABSTRACT

We propose a novel paradigm for solving Inductive Logic Programming (ILP) problems via deep recurrent neural networks. This proposed ILP solver is designed based on differentiable implementation of the deduction via forward chaining. In contrast to the majority of past methods, instead of searching through the space of possible first-order logic rules by using some restrictive rule templates, we directly learn the symbolic logical predicate rules by introducing a novel differentiable Neural Logic (dNL) network. The proposed dNL network is able to learn and represent Boolean functions efficiently and in an explicit manner. We show that the proposed dNL-ILP solver supports desirable features such as recursion and predicate invention. Further, we investigate the performance of the proposed ILP solver in classification tasks involving benchmark relational datasets. In particular, we show that our proposed method outperforms the state of the art ILP solvers in classification tasks for Mutagenesis, Cora and IMDB datasets.

Motivation & Objective

  • To address the limitations of traditional ILP systems that rely on restrictive rule templates, which limit solution space and hinder learning of complex, recursive, or invented predicates.
  • To enable end-to-end differentiable learning of symbolic Boolean functions in first-order logic, allowing explicit, interpretable, and generalizable rule learning.
  • To support key ILP capabilities such as predicate invention and recursion, which are often absent in neural ILP approaches.
  • To handle continuous relational data effectively by introducing differentiable boundary predicates (gt, lt) with learnable thresholds.
  • To achieve state-of-the-art performance on benchmark relational classification tasks, including those with thousands of constants and continuous features.

Proposed method

  • The dNL-ILP framework uses a differentiable implementation of forward chaining to propagate truth values through logic rules, enabling gradient-based optimization.
  • It introduces multiplicative neurons to learn symbolic Boolean functions explicitly, allowing direct optimization of logical formulas without rule templates.
  • For continuous data, it defines differentiable predicates gt_xi(x, u_xi) and lt_xi(x, l_xi) using sigmoid functions with learnable thresholds u_xi and l_xi.
  • The model uses dNL-CNF and dNL-DNF networks to represent complex logical rules, with predicate functions defined as trainable Boolean functions.
  • It supports predicate invention by learning new predicates through inference from background knowledge and examples, without prior specification.
  • The framework integrates probabilistic modeling via Gaussian Mixture Models (GMMs) for uncertain gene states, with auxiliary predicates inf_off_i estimating the probability of a gene being off.

Experimental results

Research questions

  • RQ1Can a differentiable neural network framework learn symbolic first-order logic rules end-to-end without relying on restrictive rule templates?
  • RQ2Can the proposed dNL-ILP model learn recursive and invented predicates effectively in relational learning tasks?
  • RQ3How does the performance of dNL-ILP compare to state-of-the-art ILP systems on relational classification tasks with continuous features?
  • RQ4Can the differentiable boundary predicates (gt, lt) with learnable thresholds effectively model continuous data in ILP without discretization?
  • RQ5To what extent does the dNL-ILP framework generalize to large-scale relational datasets with thousands of constants?

Key findings

  • dNL-ILP outperforms the state-of-the-art ILP solver ALEPH+LIME on the Wine dataset, achieving 98% accuracy compared to ALEPH+LIME’s 92%.
  • On the Sonar dataset, dNL-ILP achieves 85% accuracy, surpassing FOLD+LIME (78%) and ALEPH+LIME (74%).
  • In the DREAM4 10-gene classification challenge, dNL-ILP achieves an MCC of 0.35, outperforming NARROMI (0.24) and MICRAT (0.33).
  • The method achieves an F-score of 0.36 on the DREAM4 dataset, exceeding both NARROMI (0.35) and MICRAT (0.32).
  • dNL-ILP successfully learns recursive rules and supports predicate invention, as demonstrated in the lessThan example with inc predicates.
  • The model generalizes well to datasets with thousands of constants, showing strong performance on Mutagenesis, Cora, and IMDB benchmarks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.