Introduction
Inductive Logic Programming (ILP) is a cornerstone of symbolic machine learning, enabling the induction of human-readable logical rules from small sets of examples and background knowledge. Despite its strengths, ILP faces a significant challenge: the exponential growth of the search space as the number of predicates and variables increases. Traditional systems rely on heuristics like $\theta$-subsumption to prune this space. This paper proposes a novel alternative: the Shared Neural Multi-Space (Shared NeMuS), a graph-like representation that transforms the search for logical hypotheses into a navigation problem.
The Shared NeMuS Framework
The Shared NeMuS architecture, implemented within the Amao cognitive agent framework, organizes logical information into a structured "multi-space" rather than a flat list of facts. This organization facilitates efficient retrieval and reasoning:
- Space 0: Contains constants or atoms.
- Space 2: Houses predicates.
- Space 3: Represents clauses.
These spaces are interconnected through bindings and T-Nodes (unique identifiers), creating a network where shared constants act as "hooks" between different predicates. By following these bindings, the system can identify potential relationships without exhaustively testing every combination.
Methodology: Guided Search and Pruning
The system employs several key techniques to navigate the NeMuS structure and induce rules:
- Linkage Patterns: The algorithm identifies shared constants across predicates in the background knowledge. For instance, if
mother(pam, ann)andwife(ann, bob)both referenceann, the system recognizes a linkage pattern suggesting a rule that connects these two predicates. - Inverse Unification: To move from specific facts to general rules, the system performs inverse unification. It takes ground instances (e.g.,
mother(pam, ann)) and generalizes them into universal rules (e.g.,mother(X, Z)) by replacing specific constants with variables. - Inductive Momentum: This novel pruning strategy uses both positive and negative examples. While positive examples guide the system toward a hypothesis, negative examples provide "momentum" in the opposite direction. If a candidate rule generates a conclusion that matches a negative example, the search path is pruned immediately, preventing the exploration of inconsistent hypotheses.
Experimental Evaluation
The proposed approach was evaluated using classic ILP benchmark datasets, focusing on family relationships and recursive logic.
The datasets included:
- Family Relationships: Inducing complex rules like
motherInLaw(X, Y) ← mother(X, Z) ∧ wife(Z, Y). - Daughter/Parent Logic: Learning the
hasDaughterrelationship from gender and parenthood facts. - Ancestor Logic: Testing the system's ability to learn recursive definitions, where a predicate is defined in terms of itself.
Key Results and Insights
The Shared NeMuS approach demonstrated several advantages:
- Effective Rule Induction: The system successfully learned both non-trivial and recursive rules, such as the
ancestorrelationship, which is a standard benchmark for ILP efficiency. - Search Efficiency: By treating logic as a network, the system avoids the "blind" search typical of traditional ILP. The structural guidance provided by the Herbrand Base mapping allows the system to generate a significantly smaller set of hypotheses than competing methods.
- Pruning via Momentum: The use of negative examples as active constraints during the construction process proved effective at narrowing the search space early.
Conclusion and Future Work
While the current results on "toy" datasets are promising, several avenues for future research remain. The authors acknowledge that the "neural" component of NeMuS—specifically the use of weights on atoms and predicates—was not utilized in these experiments. Future work will explore using these weights to implement self-organizing maps for refutation patterns and predicate invention, allowing the system to create new intermediate concepts autonomously. Additionally, testing the scalability of Shared NeMuS on large-scale, real-world knowledge bases remains a priority.
Summary updated