ILP with Noise and Fixed Example Size: A Bayesian Approach

Eric McCreath, Arun SharmaIJCAI 1997

Introduction

Inductive Logic Programming (ILP) aims to learn logic programs from examples. Historically, dominant systems like FOIL and GOLEM have relied on a "greedy covering" strategy. This approach involves finding a single clause that explains a subset of positive examples, removing those examples, and repeating the process until the entire set is covered.

However, this greedy methodology suffers from three critical flaws:

  1. Overfitting to Noise: Locally optimal clauses may not form a coherent global program, leading to poor generalization in noisy environments.
  2. Recursive Complexity: Learning recursive definitions (e.g., defining "addition" via "increment") is difficult when data is sparse or the base case is missing.
  3. The Proportion Trap: Traditional systems often assume the ratio of positive to negative examples reflects the concept's actual prevalence in the instance space, which is rarely true in real-world scenarios with fixed sample sizes.

The LIME System: A Bayesian Framework

To address these limitations, the authors introduce LIME, an ILP system built on Bayesian inference. Rather than building programs piece-by-piece, LIME evaluates the posterior probability of an entire hypothesis $h$ given the evidence $E$. This holistic evaluation allows the system to account for clause interactions, which is essential for mastering recursion.

Key Methodological Components

  • Noise Modeling: LIME incorporates an explicit noise parameter ($\epsilon$), modeling the probability that a positive example is actually a "noisy" instance from outside the target concept.
  • Search Strategy: The system uses an A* search over a lattice of candidate clauses generated during preprocessing. By maximizing a Bayesian heuristic $Q(h)$, LIME identifies the optimal subset of clauses that form a complete program.
  • Information Theory: The authors demonstrate that the informational value of positive versus negative examples depends on the "size" of the concept. In sparse domains, positive examples are significantly more informative.

Experimental Evaluation

Superior Noise Tolerance

The Bayesian approach provides LIME with remarkable resilience to data corruption. In tests using the plus2 predicate, LIME maintained near-zero predictive error even as noise levels approached 70%. In contrast, greedy systems like FOIL began to over-generalize and fail much earlier.

Predictive error of LIME compared to FOIL and PROGOL as noise levels increase. LIME demonstrates significantly higher tolerance for noise before performance degrades.

Recursion Mastery and Efficiency

LIME excels at recovering complex recursive structures from sparse and noisy data. While evaluating entire hypotheses is computationally more intensive than greedy search, LIME’s pruning techniques ensure its execution time remains competitive with traditional systems.

Performance metrics for LIME across various recursive logic programs, showing high accuracy and manageable execution times.

As shown in the table above, LIME successfully learned programs for addition, list membership, multiplication, and sorting. Notably, it achieved 0.0% error on the sort predicate despite the complexity of the recursive calls required.

Conclusion

LIME represents a significant shift in ILP by moving from local, greedy heuristics to a global Bayesian framework. By treating noise as an integral part of the probabilistic model and evaluating hypotheses holistically, it overcomes long-standing barriers in learning recursive functions and handling heavily biased data distributions. Future work aims to automate the estimation of the noise parameter $\epsilon$ directly from the training data.

Summary updated

BibTeX
@inproceedings{mccreath1997ilp,
  author = {Eric McCreath and Arun Sharma},
  title = {{ILP with Noise and Fixed Example Size: A Bayesian Approach}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1997},
}
Figure