Abstract
Neural-Symbolic (NeSy) integration seeks to combine the perceptual strengths of deep learning with the structured reasoning of classical AI. Current approaches often require compromising the integrity of the symbolic component or restricting its expressivity. This paper introduces NEUROLOG, a framework that treats both neural and symbolic components as "black boxes." By leveraging logical abduction to generate training signals, NEUROLOG enables the seamless integration of standard neural networks with complex, pre-existing logic theories without requiring differentiable logic or restricted rule sets. Experimental evaluations across diverse benchmarks demonstrate NEUROLOG's superior accuracy, scalability, and robustness compared to existing state-of-the-art frameworks.
Introduction
The challenge of NeSy integration lies in the "leaky" nature of existing frameworks, which often necessitate translating logic into neural architectures or employing "fuzzy" differentiable logic. Such methods can limit the use of recursion or require significant rewriting of established symbolic theories. The authors argue for a compositional approach, allowing researchers to "snap together" pre-existing neural modules and logic theories (e.g., rules for Chess or mathematics). The primary hurdle is training: how to backpropagate errors through non-differentiable logical statements.
Methodology
NEUROLOG employs a compositional architecture where a neural module provides inputs to a symbolic module. The bridge between these modules is established through two primary processes:
- Deduction: In the forward pass, the neural network predicts "atoms" (e.g., identifying chess pieces), which the symbolic module uses to derive a conclusion (e.g., "The King is safe").
- Abduction: For training, given a ground-truth label, the system identifies the inputs to the logic module that would satisfy that label. This process asks: "What inputs to the logic module would have made this true?"
Key Innovations
- Multi-Proof Learning: Unlike prior abductive learning methods that select a single "best" explanation, NEUROLOG considers all possible abductive proofs. These are combined into a single formula, and Weighted Model Counting (WMC) is used to derive a differentiable "semantic loss."
- Neural-Guided Abduction (NGA): To manage large search spaces in complex domains, NGA prunes potential explanations based on the neural network's current predictions, focusing on those most consistent with the visual input.
- Black-Box Interface: The symbolic module is agnostic to the underlying engine, requiring only
deduceandabducemethods, making it compatible with standard logic engines like Prolog.
Experimental Evaluation
The framework was evaluated on several benchmarks, including standard NeSy tasks and new challenges:
- Standard NeSy Tasks:
ADD2x2(summing MNIST digits) andDBA(n)(validating math equations). - OPERATOR2x2: Requires digit recognition and operator induction.
- MEMBER(n): Set membership detection.
- CHESS Suite: A complex domain requiring piece recognition to determine game states (safe, draw, mate) under strict integrity constraints.
- Existing Benchmarks:
PATH(n)andMATH(n).
Results and Discussion
NEUROLOG consistently outperformed state-of-the-art frameworks, including DeepProbLog (DLOG), NeurASP (NASP), and Abductive Learning (ABL).
In the MATH(5) scenario, NEUROLOG achieved approximately 92% accuracy, significantly higher than ABL (~6%) and NeurASP (~18%). Furthermore, NEUROLOG demonstrated superior scalability; in the PATH(6) task, it reached 97% accuracy in 43 minutes, while competitors timed out. The use of all valid proofs rather than a single "best" proof provided a more stable supervision signal, avoiding local minima. Additionally, logic served as a filter for impossible neural predictions via integrity constraints.
Conclusion
NEUROLOG offers a robust, scalable method for integrating neural perception with symbolic reasoning. While currently relying on expert-provided logic rules, the framework's black-box nature provides a strong foundation for future work in "symbolic module learning" and "Machine Coaching," where human feedback can further guide the learning process. The efficiency gained through caching abductive proofs suggests that this approach can scale to more complex real-world knowledge bases.
Summary updated