Determinate Literals in Inductive Logic Programming

J. Ross QuinlanIJCAI 1991

Abstract: Inductive Logic Programming (ILP) often struggles with the "myopia" of greedy search, where essential "bridge" literals are overlooked due to a lack of immediate information gain. This paper introduces the concept of determinate literals to the FOIL system. These literals provide unique variable bindings that enable a form of low-cost lookahead, allowing the system to learn complex recursive programs like Quicksort. Empirical results demonstrate that while determinate literals can introduce "red herrings," they are critical for discovering sophisticated logic that was previously unreachable for efficient greedy learners.

Inductive Logic Programming (ILP) aims to automatically construct logic programs from examples and background knowledge. A common approach, exemplified by the FOIL system, uses a greedy search guided by information gain to build Horn clauses. However, greedy search is inherently myopic; it only selects literals that show immediate progress in separating positive examples from negative ones.

In many complex tasks, particularly recursive ones, the path to a solution requires "bridge" literals. These literals might define a new variable (e.g., splitting a list into a head and a tail) that does not immediately improve classification but is necessary for subsequent steps. Because these literals often have zero information gain, standard greedy search passes them over, failing to find the correct program.

Methods: Integrating Determinate Literals

To overcome this "horizon effect," this research adapts the concept of "determinate terms" from the GOLEM system into FOIL.

  1. Defining Determinate Literals: A literal is considered "determinate" if, for every positive example under consideration, there is exactly one way to bind the new variables it introduces. This represents a functional mapping, such as Head = car(List).
  2. FOIL Integration: When FOIL cannot find a literal with significant information gain, it identifies all available determinate literals and adds them to the clause simultaneously. These act as a bridge, introducing new variables into the search space for the next iteration.
  3. Pruning and Complexity Management: To maintain efficiency, FOIL includes a post-processing phase to prune literals that do not contribute to the final logic. Additionally, a "variable depth" limit (defaulting to 5) is imposed to prevent infinite chains of determinate literals.

Datasets and Scaling

The approach was evaluated on classic list-processing and mathematical tasks, including member, append, reverse, and multiply. The primary benchmark was Quicksort, which requires learning a complex recursive algorithm.

Performance metrics for learning Quicksort across varying training set sizes.

As shown in the scaling data, the time required to learn Quicksort grew approximately linearly with the number of training examples. This suggests that the addition of determinate literals does not necessarily lead to the combinatorial explosion typical of search-heavy AI systems.

Key Results and Discussion

The inclusion of determinate literals allowed FOIL to successfully learn the complete recursive definition of Quicksort in approximately 10.3 seconds on a DECstation 3100—a task it previously could not complete.

Comparison of learning times (in seconds) with and without the use of determinate literals across different domains.

Beyond Quicksort, the method improved learning times for tasks like reverse and multiply. However, a "red herring" penalty was observed in the append task, where learning time tripled. This occurs when the background knowledge contains determinate relations that are irrelevant to the target task, bloating the search space with useless variables.

Conclusion

Determinate literals provide a powerful safety net for greedy ILP systems. By requiring unique bindings, the system can expand its search horizon without an unmanageable explosion of the search space. While the system remains susceptible to irrelevant background knowledge, the ability to learn recursive programs like Quicksort represents a significant advancement in automated logic discovery.

Summary updated

BibTeX
@inproceedings{quinlan1991determinate,
  author = {J. Ross Quinlan},
  title = {{Determinate Literals in Inductive Logic Programming}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1991},
}
Figure