Scaling Up Inductive Logic Programming by Learning from Interpretations

Hendrik Blockeel, Luc De Raedt, Nico Jacobs, Bart Demoen · DOI

This paper, a technical report from the Katholieke Universiteit Leuven, represents a significant milestone in the history of Inductive Logic Programming (ILP). It addresses the "efficiency gap" that long separated expressive relational learning from high-performance data mining.

TL;DR

By shifting the Inductive Logic Programming (ILP) paradigm from "learning from entailment" to "learning from interpretations," the authors demonstrate that relational learners can scale linearly with dataset size. Their system, TILDE, proves that we can handle over 100,000 examples and 100MB of data—orders of magnitude larger than previous ILP benchmarks—without sacrificing the expressive power of first-order logic.

What Problem Does This Paper Address?

In the late 90s, machine learning faced a stark trade-off. On one side, attribute-value learners (like standard decision trees) were incredibly fast and scalable but could only handle data in a single, flat table. On the other side, ILP systems could reason about complex relationships across multiple tables (e.g., "Is this atom part of a benzene ring?"), but they were notoriously slow.

The bottleneck was "global" coverage testing. In standard ILP, classifying one example might depend on the entire background theory or even other examples (especially in recursive definitions). This made the computational cost grow super-linearly, effectively confining ILP to tiny datasets of a few hundred examples. The authors set out to prove that ILP could satisfy the "big data" standards of the data mining community.

Methods

The authors utilize the Learning from Interpretations framework. In this setting, each example is treated as a standalone "mini-database" or a set of facts (an interpretation). This enforces a locality assumption: an example’s classification depends only on its own facts and general background knowledge, not on other examples.

The core of the paper focuses on TILDE (Top-down Induction of Logical DEcision trees), which induces First-Order Logical Decision Trees (FOLDTs). The authors present two implementations:

  1. TildeClassic: A straightforward implementation that loads all data into main memory.
  2. TildeLDS (Large Data Sets): A sophisticated version inspired by the SLIQ and SPRINT algorithms. It uses a breadth-first, level-wise approach to build the tree, meaning it only needs to pass through the data once per level of the tree. Crucially, it loads examples from disk one by one, allowing it to process datasets that exceed available RAM.

Datasets

The authors evaluated their approach using three distinct benchmarks:

  • Mutagenesis: A classic ILP dataset of 188 molecules. To test scaling, the authors created synthetic versions by duplicating the original examples up to 512 times (reaching ~96,000 examples).
  • RoboCup: A real-world dataset of 88,594 examples (100MB) describing soccer agent states. This was used to test "practical" scaling on a large, non-synthetic relational task.
  • Poker Hands: An artificial dataset used to see if the system could learn rare patterns (like a "four of a kind") that only appear when the training set is sufficiently large.

Key Insights and Ideas

  • The Power of Locality: By assuming examples are independent interpretations, the complex theorem-proving task of ILP is reduced to a series of local database queries. This is the "secret sauce" for linear scaling.
  • Breadth-First is Better for Disk: While depth-first search is standard for decision trees, breadth-first processing is essential for large-scale data because it minimizes expensive disk I/O.
  • Relational Data Mining as an Upgrade: The paper frames "learning from interpretations" as a natural upgrade to propositional data mining. It maintains the efficiency of the latter while allowing the learner to "look into" multiple related tables.

Key Results

  • Linear Scalability: The experiments confirmed that TildeLDS scales linearly with the number of examples. In contrast, standard ILP approaches without the locality assumption showed quadratic growth in induction time.
  • Handling "Big" Data: TildeLDS successfully processed the 100MB RoboCup dataset and 100,000 Poker examples. At the time, this was a landmark achievement for a relational learner.
  • Accuracy Gains: On the Poker dataset, the system's accuracy improved as the dataset grew, eventually reaching 100% because the large sample size finally allowed it to encounter and learn the rules for extremely rare card hands.

Limitations and Future Work

  • The Locality Trade-off: The main limitation is that "learning from interpretations" cannot learn recursive concepts (like defining a "list" in terms of itself). However, the authors argue that recursion is rarely needed for practical data mining tasks.
  • Prolog Performance: The authors noted some "jitter" in timing results due to the underlying Prolog engine's garbage collection. They suggested that a future implementation in a lower-level language like C++ would provide even more consistent performance.
  • Language Bias: The system still requires a user-defined "language bias" (rmodes) to constrain the search space, which requires domain expertise.

Summary updated

BibTeX
@article{blockeel1999scaling,
  author = {Hendrik Blockeel and Luc De Raedt and Nico Jacobs and Bart Demoen},
  title = {{Scaling Up Inductive Logic Programming by Learning from Interpretations}},
  journal = {Data Min. Knowl. Discov.},
  year = {1999},
  doi = {10.1023/a:1009867806624},
}
Figure