Introduction
Integrating data-driven machine learning (ML) with symbolic reasoning remains a central challenge in artificial intelligence. While ML excels at pattern recognition, logical reasoning offers explainability and the ability to generalize from limited data. However, traditional neuro-symbolic systems often require human experts to manually construct knowledge bases—a process that is both labor-intensive and difficult to scale.
Large-scale Knowledge Graphs (KGs) like ConceptNet and DBpedia offer a potential solution, containing millions of facts. Yet, their use in reasoning is hindered by three primary issues: extreme irrelevance to specific tasks, semantic mismatches between KG relations and dataset labels, and inherent noise from automated mining. This paper introduces ABL-KG (ABductive Learning with Knowledge Graph), a framework designed to automatically mine and refine task-specific rules from massive KGs to guide machine learning models.
The ABL-KG Framework
The ABL-KG framework operates through a three-stage pipeline designed to transform a noisy, large-scale KG into a lean reasoning engine.
1. Rule Mining
The process begins by extracting a task-relevant sub-graph from a large-scale KG. By identifying entities and relations that align with the task specification (e.g., class names), the system filters out irrelevant data. These triplets are then translated into First-Order Logic (FOL) rules, such as Horn clauses.
2. Remembering via Forgetting
To manage the complexity of the mined rules, ABL-KG employs a "remembering" algorithm. This mechanism simplifies the logic by "forgetting" intermediate predicates. For instance, if the KG contains backbone(X) ← vertebrate(X) and vertebrate(X) ← fish(X), the system derives the direct consequence backbone(X) ← fish(X). This reduction makes the resulting Knowledge Base (KB) more efficient for real-time reasoning.
3. Abductive Learning with Consistency
The core of the system is the abductive learning loop. The ML model generates "pseudo-labels" for unlabeled data. If these predictions conflict with the KB rules, the system performs abduction to find the most likely "abduced labels" that satisfy the logic. Unlike traditional hard logic, ABL-KG utilizes a Consistency Measure based on Weighted MAX-SAT, allowing it to remain robust even when the KG contains errors or contradictions.
Experimental Evaluation
The authors evaluated ABL-KG across four domains: animal classification (Zoo dataset), entity alignment (DBpedia/Wikidata), link prediction (FB15K-237), and image classification (ADE20K).
As shown in Figure 5, ABL-KG consistently outperforms standard supervised and semi-supervised baselines. In the image classification task on ADE20K, ABL-KG achieved an F1-score of 0.649 with only 5% labeled data, significantly surpassing the ResNet baseline of 0.604. Furthermore, in animal classification, ABL-KG reached 91.5% accuracy, nearly matching the 92.9% achieved by rules manually crafted by human experts.
Discussion and Key Insights
The success of ABL-KG highlights several critical insights:
- Automated Expertise: The framework demonstrates that automated rule mining can effectively replace manual knowledge engineering without a significant loss in performance.
- Strategic Forgetting: Simplifying logic programs by removing intermediate steps is essential for making large-scale KGs tractable for reasoning.
- Robustness to Noise: By treating rules as weighted constraints rather than absolute truths, the system can leverage the breadth of KGs while mitigating the impact of their inherent noise.
Despite these strengths, the current implementation is limited to Horn clauses and may struggle with more complex logical structures. Future work will explore more expressive knowledge representations and deeper integration with formal ontologies.
Conclusion
ABL-KG provides a scalable path for neuro-symbolic AI by bridging the gap between massive, noisy Knowledge Graphs and task-specific reasoning. By automating the extraction and refinement of logical rules, it enables models to reason through uncertainty and achieve high performance even in low-data regimes.
Summary updated