Introduction
Inductive Logic Programming (ILP) is a powerful paradigm for learning logical rules from examples and background knowledge. Traditionally, ILP systems have relied on "Occam’s Razor," a bias toward the shortest possible rules to ensure generalization. However, in domains like security and access control, this bias can be detrimental; a rule that is too short may be overly permissive, leading to unauthorized access. Furthermore, existing high-performance ILP systems, such as ILASP, struggle with scalability as the hypothesis space—the set of all possible rules—grows.
The FastLAS Framework
FastLAS is a novel ILP system designed to address these limitations by introducing two major innovations: custom scoring functions and the "OPT-sufficient" subset.
Custom Scoring Functions
Unlike traditional systems that are hard-coded to prefer shorter rules, FastLAS allows users to define domain-specific scoring functions. This flexibility enables practitioners to encode specific preferences, such as penalizing rules that grant access to sensitive resources in a security context.
Scalability via OPT-Sufficient Subsets
To handle massive hypothesis spaces, FastLAS identifies a small "OPT-sufficient" subset of rules. The authors mathematically prove that this subset is guaranteed to contain at least one optimal solution according to the user-defined scoring function. This approach allows FastLAS to explore search spaces containing over $2^{44}$ non-isomorphic rules—a scale that would cause traditional exhaustive systems to fail.
System Architecture
The FastLAS pipeline operates in four distinct stages:
- Initial Construction: Identifying specific rules that cover individual examples. This stage is highly parallelizable.
- Generalisation: Searching for broader rules that cover multiple examples.
- Optimisation: Pruning candidate rules down to the OPT-sufficient subset using the scoring function.
- Solving: Utilizing a specialized Answer Set Programming (ASP) encoding to select the final set of rules that form the optimal hypothesis.
Experimental Results
FastLAS was evaluated on several real-world benchmarks, including Sentence Chunking (CoNLL-2000), video surveillance (CAVIAR), and security access logs (Amazon and Project Management).
Speed and Scalability
On the sentence chunking task, FastLAS demonstrated a significant performance advantage over ILASP3, achieving a speedup of over 200x.
Domain-Specific Optimization
The effectiveness of custom scoring functions was particularly evident in the Amazon security dataset. By optimizing for "Universal F1" ($S_{UF1}$), which penalizes granting access to unlabeled users, FastLAS outperformed standard ILP biases and baseline methods.
Conclusion and Future Work
FastLAS represents a significant advancement in ILP, transforming bias from a constant into a user-defined parameter. While currently limited to observational learning and single answer sets, future work aims to incorporate recursion, predicate invention, and non-decomposable scoring functions. Its ability to scale to massive search spaces while maintaining optimality makes it a robust tool for complex, domain-specific logic learning tasks.
Summary updated