Abstract
Traditional Inductive Logic Programming (ILP) systems excel at learning interpretable relational rules from small datasets but struggle with the inherent noise and uncertainty of real-world sensory data. This paper introduces Propper, a neurosymbolic ILP framework designed to bridge the gap between probabilistic perception and symbolic reasoning. By integrating neurosymbolic inference, continuous loss functions, and relaxed search constraints, Propper demonstrates superior robustness and data efficiency compared to both traditional symbolic learners and statistical models like Graph Neural Networks (GNNs).
Introduction
Inductive Logic Programming (ILP) represents a powerful paradigm in artificial intelligence, capable of inducing human-readable logic programs from a handful of examples. This high inductive bias allows ILP to generalize in low-data regimes where deep learning models typically fail. However, a significant limitation of traditional ILP is its reliance on binary, noise-free background knowledge. In practical applications, such as computer vision, data is often provided by neural networks as probabilistic scores (e.g., a 70% probability that an object is a "vehicle").
Standard ILP systems require a hard threshold to binarize these probabilities, a process that discards vital information and introduces errors that can cause the symbolic learner to fail entirely. Propper addresses this "binarization bottleneck" by allowing the learner to reason directly over probabilistic facts.
Methodology
Propper extends the existing Popper framework through four primary innovations designed to handle flawed and probabilistic background knowledge:
1. Neurosymbolic Inference via Scallop
Propper replaces the standard binary Prolog "tester" with Scallop, a neurosymbolic programming language. Scallop enables the system to calculate the probability of a hypothesis being true given probabilistic facts. This transition moves the system from a binary entailment model to a probabilistic reasoning model.
2. Binary Cross Entropy (BCE) Criterion
Traditional ILP often utilizes Minimum Description Length (MDL) to evaluate hypotheses. MDL is discrete and highly sensitive to dataset size. Propper instead adopts a Binary Cross Entropy (BCE) loss function. This provides a continuous measure of fit, allowing the system to more accurately evaluate how well a logic program aligns with probabilistic input data.
3. The NoisyCombo Constrainer
In standard ILP, the search space is pruned as soon as a rule fails on a single example. Propper introduces the NoisyCombo constrainer, which implements a "noise budget." This relaxation prevents the system from prematurely discarding high-quality rules that may appear to fail due to mislabeled data or imperfect object detections.
4. Automated Syntax Rewriting
To bridge the gap between different logic formats, the authors developed grammar functions that automatically translate generated hypotheses from Answer Set Programming (ASP) or Prolog into a format compatible with Scallop’s reasoning engine.
Experimental Evaluation
The researchers evaluated Propper against two challenging computer vision benchmarks, focusing on relational reasoning tasks.
DOTA (Satellite Imagery)
Using aerial imagery, the task was to learn the relational pattern "vehicle on bridge." The dataset was categorized into "Easy," "Intermediate," and "Hard" subsets based on the noise level of the underlying object detections. Propper was compared against GNNs and standard Popper variants. While the performance of GNNs and traditional ILP dropped significantly—sometimes to zero—on the "Hard" subset, Propper maintained high F1 scores, demonstrating remarkable robustness to sensory noise.
MS-COCO (Everyday Scenes)
The task involved identifying the pattern "person next to car" in complex, cluttered scenes. Propper achieved an F1 score of 0.947, significantly outperforming standard Popper (0.596) and statistical baselines like Support Vector Machines (0.668).
Key Insights
- The Cost of Thresholding: The study confirms that forcing probabilistic data into binary boxes is a primary failure mode for symbolic AI. Maintaining probabilities throughout the reasoning chain is essential for robustness.
- Extreme Data Efficiency: Propper retains the core advantage of ILP, successfully learning complex relational rules from as few as eight positive and eight negative examples. In contrast, statistical models like GNNs typically require thousands of samples to reach similar levels of abstraction.
- Neurosymbolic Synergy: The results suggest that the optimal architecture for sensory AI tasks is a hybrid one: using neural networks for perception (object detection) and symbolic logic for high-level relational reasoning.
Conclusion and Future Work
Propper represents a significant advancement in making symbolic learning viable for real-world, noisy environments. While the current modular integration introduces some computational overhead, it provides a blueprint for robust neurosymbolic systems. Future research will focus on scaling the system to other probabilistic domains, such as medical diagnostics, and exploring the induction of fully probabilistic logic programs where the rules themselves—not just the facts—carry weights of uncertainty.
Summary updated