Abstract
Inductive Logic Programming (ILP) offers high interpretability but traditionally struggles to scale to large datasets. This paper introduces $I^2XHAIL$, an incremental and iterative algorithm that processes examples sequentially. By leveraging the concept of "distinct examples," $I^2XHAIL$ successfully learns complex logical rules from datasets like MNIST and bAbI, marking a significant step toward bridging symbolic AI and large-scale machine learning.
Introduction
The "scalability wall" has long hindered the adoption of Inductive Logic Programming (ILP) in modern data-intensive applications. Standard ILP algorithms, such as XHAIL, attempt to find a single hypothesis that explains an entire dataset simultaneously. While effective for small, clean datasets, this batch-processing approach becomes computationally prohibitive when faced with thousands of examples, leading to memory exhaustion or excessive processing times.
Methodology: The $I^2XHAIL$ Algorithm
To address these limitations, the authors propose a new framework: Inductive Logic Programming for Distinct Examples ($ILP^{DE}$). This framework is built on the observation that many datasets consist of "distinct" examples—such as individual images or independent stories—that provide local context without globally interfering with one another.
The core of this framework is the $I^2XHAIL$ algorithm, which operates through two main mechanisms:
- Incremental Learning: The algorithm processes examples one by one, finding a minimal hypothesis for the first and expanding it only as needed for subsequent examples.
- Iterative Search: If a new example contradicts the current hypothesis, the algorithm performs an iterative search using a refinement stack to backtrack and adjust the rules to satisfy both new and historical data.
By maintaining "lower bounds" from previous successful iterations, $I^2XHAIL$ significantly constrains the search space, allowing it to handle volumes of data previously impossible for symbolic solvers.
Experimental Evaluation
The algorithm was rigorously tested across three diverse benchmarks: the bAbI reasoning suite, the MNIST handwritten digit dataset, and a large-scale semantic parsing task.
Key Results
- bAbI Reasoning: $I^2XHAIL$ achieved 100% accuracy on 19 out of 20 tasks. It learned these complex reasoning rules in minutes, a feat that standard ILP solvers could only achieve with manual data partitioning.
- MNIST Scaling: The system successfully processed all 50,000 examples in the MNIST training set. While its accuracy (ranging from ~33% to 95%) does not yet match state-of-the-art deep learning models, the ability of an ILP system to ingest and learn from this volume of raw data is a major milestone.
- Semantic Parsing: The algorithm learned 165 rules from over 5,000 unique sentences in approximately two hours, demonstrating its efficiency in natural language processing.
Discussion and Future Work
While $I^2XHAIL$ represents a breakthrough in scalability, a primary bottleneck remains: the verification phase. As the learned hypothesis grows, the time required to ensure it remains consistent with all previous examples increases. Future research will focus on optimizing this phase by identifying "at-risk" examples rather than re-verifying the entire history. Additionally, improving symbolic representations of visual features could help close the performance gap between ILP and neural networks on sensory data.
Conclusion
$I^2XHAIL$ demonstrates that symbolic reasoning can scale to modern dataset sizes by adopting incremental and iterative processing. This work paves the way for hybrid systems that combine the interpretability of logic with the data-handling capabilities of deep learning.
Summary updated