FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation Criteria

Mark Law, Alessandra Russo, Elisa Bertino, Krysia Broda, Jorge Lobo

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:

  1. Initial Construction: Identifying specific rules that cover individual examples. This stage is highly parallelizable.
  2. Generalisation: Searching for broader rules that cover multiple examples.
  3. Optimisation: Pruning candidate rules down to the OPT-sufficient subset using the scoring function.
  4. 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.

Performance comparison on the Sentence Chunking task showing significant speedups over ILASP3.

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.

Comparison of scoring functions on the Amazon Access Logs dataset, demonstrating the superiority of the custom $S_{UF1}$ metric.

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

BibTeX
@inproceedings{law2020fastlas,
  author = {Mark Law and Alessandra Russo and Elisa Bertino and Krysia Broda and Jorge Lobo},
  title = {{FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation Criteria}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i03.5678},
}
Figure