TL;DR
This paper introduces Neural Decision-Propagation (NDProp), a fully differentiable Answer Set Programming (ASP) solver designed to eliminate the scalability bottlenecks in neuro-symbolic AI. By alternating neural network-driven "falsity decisions" with fuzzy logic "truth propagations," NDProp enables end-to-end training and massively parallelized reasoning directly on GPUs, outperforming traditional hybrid solvers in both accuracy and inference speed.
What Problem Does This Paper Address?
Neuro-symbolic AI aims to combine the perceptual strengths of deep learning with the rigorous reasoning capabilities of symbolic logic frameworks like Answer Set Programming (ASP). However, current state-of-the-art frameworks (such as NeurASP and SLASH) suffer from a major architectural bottleneck: they are hybrid systems.
In these systems, continuous neural network predictions must be converted into discrete symbols before being handed off to a classical, CPU-bound ASP solver. This handoff introduces a severe combinatorial grounding problem, as the system must evaluate numerous candidate associations between perceptual entities and symbolic representations. Because classical solvers are non-differentiable, gradients cannot flow directly through the reasoning step, severely limiting scalability and execution speed.
Methods
To bridge this gap, the authors first re-imagine classical ASP solving through a new discrete algorithm called Decision–Propagation (DProp). DProp computes stable models by iteratively alternating between two phases:
- Decision: Non-deterministically selecting an undecided atom and committing it to false.
- Propagation: Deriving the deterministic consequences (truth values) of the program based on current assumptions.
The authors then extend this into the continuous domain with Neural DProp (NDProp), making the entire pipeline differentiable:
- Neural Decisions: Instead of discrete choices, NDProp tracks continuous true and false degrees $(\tau, \phi)$. A Recurrent Neural Network (RNN) acts as the decision module, gradually increasing the falsity of undecided atoms over multiple steps based on historical state memory.
- Fuzzy Propagations: The deterministic propagation phase is replaced with a soft immediate consequence operator that utilizes fuzzy logic operators (t-norms and t-conorms) to update truth degrees until convergence.
Crucially, the authors mathematically prove that at the binary limit (the "crisp case"), NDProp exactly recovers classical DProp semantics. This allows the system to be trained unsupervised using a simple binarization loss function that inherently enforces valid, stable logical models.
Datasets
The framework was evaluated across three distinct task categories:
- Random Logic Programs: Generated using the N2L (negative two-literal) and 3-LP models to test the model's ability to learn unstructured, NP-complete solving heuristics.
- Neuro-symbolic MNIST Benchmarks: Six arithmetic reasoning tasks of varying complexity (Addition, Addition2, Add2x2, Apply2x2, Member3, and Member5) where supervision is only provided via the final mathematical result.
- Visual Sudoku (4x4): A grid-based puzzle task where cell inputs are MNIST digits trained on varying amounts of labeled data (from 100% down to 1%) to simulate highly imperfect, noisy perception.
Key Insights and Ideas
- Turning a Solver into a Layer: Instead of treating the logical solver as an external black box, NDProp embeds the solver's internal mechanics directly into the neural network architecture as a differentiable layer.
- Exploiting GPU Parallelism for Logic: Classical symbolic solvers are notoriously difficult to parallelize and run almost exclusively on CPUs. Because NDProp expresses logical propagation and decision-making as tensor operations, it can run entirely on GPUs. This allows it to process large batches of reasoning problems simultaneously.
- Graceful Degradation under Noise: In classical logic, a single incorrect perceptual fact can render a program unsatisfiable. NDProp leverages fuzzy logic to find a solution that is "most compatible" with noisy, imperfect neural predictions, successfully combining neural flexibility with symbolic constraints.
Key Results
- Learning Solving Dynamics: On random logic programs, NDProp successfully learned complex decision heuristics, completely outperforming a random-decision baseline (RDProp) in 1-shot settings.
- Superior Speed and Accuracy: On the neuro-symbolic MNIST benchmarks, NDProp achieved higher accuracy than NeurASP and SLASH on five out of six tasks. Thanks to GPU acceleration, NDProp's testing speed was an average of 41.8 times faster than NeurASP and 6.8 times faster than SLASH.
- Robustness to Incomplete Data: In the Visual Sudoku task with highly imperfect digit classifiers (1% training data), NDProp achieved 74.30% accuracy, outperforming both the pure ASP baseline (70.47%) and a pure neural baseline (73.30%).
Limitations and Future Work
While NDProp represents a major leap forward for differentiable reasoning, the authors note a few key limitations:
- Hyperparameter Sensitivity: The choice of fuzzy logic t-norms (e.g., Gödel vs. Product t-norms) significantly impacts performance depending on the task, requiring further systematic study.
- Restricted Syntax: NDProp is currently limited to normal logic programs. It does not yet support widely used ASP constructs such as choice rules, weight constraints, or aggregates. Extending the framework to handle these complex constructs is a primary direction for future work.
Summary updated