Reduction of ILP Search Space with Bottom-Up Propositionalisation

Hadeel Al-Negheimish, Alessandra Russo

Introduction

Inductive Logic Programming (ILP) represents a powerful intersection of machine learning and formal logic, where models are induced as human-readable logic programs from positive examples, negative examples, and background knowledge. Despite its expressiveness, ILP faces a significant computational hurdle: the hypothesis search space is often astronomically large. Traditionally, researchers have managed this complexity using a "language bias"—manually crafted constraints, such as mode declarations, that define the structure and variable interactions allowed in a hypothesis. However, these biases require substantial domain expertise and prior knowledge of the solution's structure. This paper introduces BPILP (Bottom-up Propositionalisation ILP), a method designed to automate search space restriction by extracting features directly from the data.

The Challenge of Language Bias

In traditional top-down ILP systems, the algorithm explores a space of potential rules by testing templates against the data. For a rule with $t$ variables and an $n$-ary predicate, there are $(t+1)^n$ possible feature templates to evaluate. Without human-provided constraints (mode declarations), the search becomes intractable. The reliance on these declarations creates a "chicken-and-egg" problem: to learn a program, the user must already understand the likely structure of that program. BPILP aims to eliminate this dependency by using the inherent connections within the background knowledge to guide the search.

Methodology: The BPILP Algorithm

BPILP shifts the paradigm from top-down guessing to bottom-up construction. The algorithm follows a structured five-step process to derive hypotheses:

  1. Model Generation: The system utilizes an Answer Set Programming (ASP) solver to generate a unique model of the provided background knowledge.
  2. Target Identification: It identifies the "target atom" (the head of the rule to be learned) by calculating the Least General Generalization (LGG) of the positive examples.
  3. Linking and Generalization: For each example, the system identifies facts in the background knowledge that share constants with that example. These facts are then "ungrounded"—replacing specific constants with variables mapped from the target head.
  4. Extended Set Operations: Using custom set operations that account for subsumption and generality, BPILP identifies generalized features present in positive examples but absent in negative ones.
  5. Incremental Expansion: If a valid rule cannot be formed immediately, the algorithm expands the search by introducing "skolem variables" (new variables not in the rule's head) or inventing entirely new auxiliary predicates to bridge the gap between examples and background knowledge.

Key Insights and Innovations

Automated Search Space Reduction

By working bottom-up, BPILP only considers features that actually exist within the background knowledge. This algorithmic bias naturally prunes the search space, focusing only on relevant logical connections and bypassing the need for human-engineered mode declarations.

Learning Normal Logic Programs

A significant contribution of this work is the ability to learn normal logic programs. Unlike many ILP systems restricted to definite clauses, BPILP can induce rules containing negation (e.g., p(X) :- not w(X)). This allows for the representation of more complex, non-monotonic reasoning.

Automatic Predicate Invention

When existing features fail to separate positive and negative examples, BPILP can invent new, unnamed predicates. This incremental expansion allows the system to discover latent concepts necessary for the final hypothesis that were not explicitly defined in the initial vocabulary.

Evaluation

As a methodological proof-of-concept, the paper demonstrates the algorithm's efficacy on classic relational learning benchmarks, including:

  • Michalski’s Eastbound Trains: A standard problem requiring the identification of patterns in structured objects.
  • Kinship Datasets: Learning complex relational rules within family trees.

While the current evaluation is qualitative, it proves that BPILP can successfully extract minimal, accurate hypotheses without structural "spoon-feeding."

Limitations and Future Directions

Despite its advantages, BPILP faces certain constraints. The incremental expansion of skolem variables is currently limited by a hard-coded finite depth to prevent infinite loops. Additionally, the background knowledge must be a stratified normal logic program, and the target predicate cannot already exist within the background knowledge.

Future research will likely focus on large-scale empirical benchmarking against established systems like Aleph or Metagol. Such studies will be essential to quantify the trade-off between the computational overhead of bottom-up propositionalisation and the efficiency gained by removing manual language bias.

Summary updated

BibTeX
@inproceedings{alnegheimish2016reduction,
  author = {Hadeel Al-Negheimish and Alessandra Russo},
  title = {{Reduction of ILP Search Space with Bottom-Up Propositionalisation}},
  booktitle = {Ilp (short Papers)},
  year = {2016},
}
Figure