Abstract
Inductive Logic Programming (ILP) systems traditionally operate in batch mode, requiring full re-computation as new data arrives. This paper presents IncrementalLAS, a novel ILP framework designed for streaming data. By utilizing a "hypothesis space expansion" technique, the system incrementally updates its search space while maintaining a mathematical guarantee of optimality. Evaluation across multiple benchmarks shows that IncrementalLAS achieves up to a 5x speedup over state-of-the-art batch systems, with processing times remaining nearly constant as the dataset grows.
Introduction
Inductive Logic Programming (ILP) is a subfield of AI focused on learning human-readable logical rules from examples and background knowledge. While systems like FastLAS have set high standards for efficiency by computing optimal-sufficient subsets of the search space, they remain fundamentally "batch" learners. In real-world streaming scenarios—such as sensor monitoring or live text processing—batch systems are inefficient, as they must re-process the entire accumulated dataset every time new examples arrive.
This paper addresses this limitation by proposing IncrementalLAS, a system that "grows" its search space incrementally. This approach avoids redundant computations while preserving the formal guarantee of finding the optimal solution for the entire seen dataset.
Methodology: Hypothesis Space Expansion
The core innovation of IncrementalLAS is Hypothesis Space Expansion, which evolves the FastLAS architecture into an incremental framework through three primary update steps:
- Incremental Coverage: When a new data window arrives, the system computes potential rules (coverage alternatives) only for the new examples.
- Generalized Rule Update: A specialized algorithm identifies which existing rules need to be combined with new ones, pruning execution branches that are guaranteed not to yield useful new rules.
- Selective Re-optimization: The system identifies and re-optimizes only the specific subset of rules affected by new evidence, such as negative examples that might invalidate previously optimal rules.
The authors provide a formal proof that this incremental expansion results in the same "OPT-sufficient" search space as a batch run, ensuring lossless optimality.
Experimental Evaluation
The researchers evaluated IncrementalLAS against batch FastLAS using streamed versions of three established ILP benchmarks: AGENT (grid-world navigation), CAVIAR (video surveillance event recognition), and SENTENCE CHUNKING (natural language processing). Each dataset was split into 10 sequential windows.
Key Results
- Significant Speedups: On the AGENT dataset, IncrementalLAS was over 5 times faster than re-running FastLAS by the 10th window.
- Scalability: In the Sentence Chunking task with 500 examples, IncrementalLAS processed the final window in a fraction of a second, whereas FastLAS required nearly 10 seconds.
- Performance Stability: While the batch system's processing time grew linearly with each new window, IncrementalLAS maintained a nearly constant processing time, demonstrating superior scalability for long-running streams.
- Accuracy: As theoretically predicted, both systems achieved identical accuracy, confirming that the incremental approach is indeed lossless.
Discussion and Future Work
The primary advantage of IncrementalLAS lies in its smarter bookkeeping, allowing it to achieve significant speedups without resorting to heuristics that might sacrifice optimality. However, the current system assumes a static "ground truth" and does not yet account for "concept drift," where underlying rules might change over time. Future work will explore extending the framework to handle evolving data streams by allowing the system to selectively "forget" outdated rules in favor of new patterns.
Summary updated