Learning Explanatory Rules from Noisy Data (Extended Abstract)

Richard Evans, Edward GrefenstetteIJCAI 2018

TL;DR

This paper introduces Differentiable Inductive Logic Programming (∂ILP), a novel framework that bridges the gap between symbolic reasoning (Inductive Logic Programming - ILP) and neural networks. ∂ILP learns explicit, human-readable rules from data, is remarkably data-efficient, and crucially, robust to noisy or ambiguous inputs, a major limitation of traditional ILP.

What Problem Does This Paper Address?

Traditional machine learning often faces a trade-off: neural networks excel at handling noisy, ambiguous data (like raw pixels) and are highly expressive, but they can be data-hungry and their learned logic is opaque ("black boxes"). On the other hand, Inductive Logic Programming (ILP) learns explicit, interpretable symbolic rules and is very data-efficient, but it's brittle – it struggles with noisy or mislabeled data and cannot directly process unstructured, non-symbolic inputs. This paper aims to combine the strengths of both, creating a system that is data-efficient, interpretable, and robust to imperfect data, enabling it to tackle a wider range of real-world problems.

Methods

The core innovation is Differentiable Inductive Logic Programming (∂ILP). Instead of discrete logic, ∂ILP uses a continuous relaxation, mapping logical atoms to values in the real unit interval [0, 1]. This allows for gradient-based learning.

Key components:

  • Differentiable Forward Chaining: The inference process (deducing conclusions from rules and facts) is made differentiable. This is achieved by reinterpreting logical operations (like conjunction and disjunction) using continuous approximations (e.g., product t-norm for conjunction, probabilistic sum for disjunction).
  • Clause Weights: Instead of binary flags indicating whether a rule is used, ∂ILP learns continuous "clause weights" that represent the degree of belief in each rule.
  • Likelihood Objective: The system is trained by minimizing a cross-entropy loss between the predicted truth values of atoms and ground-truth labels, making it amenable to backpropagation.
  • Hybridization: ∂ILP can be connected to neural networks (like CNNs) that process ambiguous, raw data. The neural network provides a "soft" symbolic representation (a valuation) which ∂ILP then reasons over.

Datasets

The paper evaluates ∂ILP on:

  • Standard Symbolic ILP Benchmark Tasks: 20 tasks across four domains (arithmetic, lists, group-theory, family tree relations). These are typically discrete and error-free.
  • Modified ILP Tasks with Mislabelled Data: The standard tasks were augmented by intentionally mislabeling a proportion of positive and negative examples.
  • Ambiguous Data (MNIST Digits): ∂ILP was connected to a pre-trained Convolutional Neural Network (CNN) that processed MNIST digit images. The CNN's output (logits transformed via softmax) served as the input "valuation" for ∂ILP to learn a "less-than" relationship between digit images.

Key Insights and Ideas

  • Bridging the Symbolic-Neural Divide: The most significant insight is the successful creation of a differentiable framework that allows gradient descent to learn symbolic logic rules. This opens up possibilities for end-to-end learning systems that combine perception and reasoning.
  • Robustness to Noise is Natural: By framing ILP as a classification problem with a continuous loss function, ∂ILP inherently becomes robust to mislabeled data, a stark contrast to traditional ILP systems which fail completely in such scenarios.
  • Data Efficiency Preserved: Despite being differentiable and handling noisy data, ∂ILP retains the data efficiency characteristic of ILP, learning complex rules from small datasets.
  • Extending ILP to Perception: The ability to connect ∂ILP to neural networks allows it to tackle domains previously inaccessible to symbolic methods, like image recognition, by reasoning over the outputs of perceptual systems.

Key Results

  • Robustness to Mislabelled Data: ∂ILP showed remarkable resilience to mislabeled training data. Even with 10% mislabeled examples, it achieved perfect results on 5 out of 6 tasks. Performance degraded gracefully as the proportion of mislabeled data increased, unlike traditional ILP which fails with even a single mislabeled example.
  • Performance on Symbolic Tasks: ∂ILP consistently solved traditional ILP benchmark tasks, demonstrating its capability in symbolic reasoning.
  • Learning from Ambiguous Data: When connected to a CNN for MNIST digit classification, ∂ILP successfully learned a recursive "less-than" predicate, demonstrating its ability to reason over fuzzy, non-symbolic inputs.

Limitations and Future Work

The authors acknowledge two main limitations:

  • Program Templates: Currently, ∂ILP relies on pre-defined "program templates" to constrain the search space for possible programs. This limits the generality of learned programs.
  • Pre-trained Networks: The experiments with ambiguous data used pre-trained neural network classifiers. This means some prior knowledge about the data (e.g., MNIST digits) was "baked in."

Future work will focus on:

  • Sensible Pretraining Strategies: Developing methods for pretraining neural networks that are less biased and more adaptable to specific downstream tasks when integrated with ∂ILP.
  • End-to-End Joint Training: Exploring full end-to-end training of vision modules and ∂ILP, allowing both perception and reasoning components to be learned simultaneously.
  • Reducing Reliance on Templates: Investigating ways to learn programs without explicit templates, potentially through more advanced program generation mechanisms.

Summary updated

BibTeX
@inproceedings{evans2018learning,
  author = {Richard Evans and Edward Grefenstette},
  title = {{Learning Explanatory Rules from Noisy Data (Extended Abstract)}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=HkVtyNGObr},
}
Figure