DeepProofLog: Efficient Proving in Deep Stochastic Logic Programs
summary
The gist
DeepProofLog (DPrL) is a novel neurosymbolic system based on stochastic logic programs that addresses scalability limitations by parameterizing all derivation steps with neural networks and…
In short
DeepProofLog (DPrL) is a neurosymbolic system that uses stochastic logic programs to solve complex reasoning tasks. It replaces traditional logic with neural networks to guide clause selection, mapping the problem to Markov Decision Processes (MDPs). This approach enables efficient inference and learning by finding optimal proof-finding policies.
Key concepts
- Stochastic Logic Programs (SLPs)
- SLPs shift uncertainty from possible worlds to the probability of derivation steps. Instead of asking if a statement is true in all worlds, they model the likelihood that a specific clause will be used successfully during a query derivation.
- Markov Decision Processes (MDPs)
- The system formalizes logic resolution as an MDP where states are goals and actions are clause selections. This allows the use of reinforcement learning to learn optimal policies for finding proofs, treating inference as a sequential decision-making problem.
- Neural Guidance
- DeepProofLog uses neural networks to parameterize how clauses are selected during derivation. Goals are represented as embeddings, and the compatibility between goals is calculated via their scalar product, guiding the search toward relevant logical paths.
- Inference Mapping
- The core idea is a formal correspondence: learning optimal policies in MDPs directly corresponds to finding parameters that maximize expected reward in SLPs. This links reinforcement learning objectives to standard cross-entropy loss minimization.
Terminology used across episodes
This episode discusses
- DeepProofLog: Efficient Proving in Deep Stochastic Logic Programs · Paper Radio
- Go for a Walk and Arrive at the Answer: Reasoning Over Paths in Knowledge Bases using Reinforcement Learning
- On the Hardness of Probabilistic Neurosymbolic Learning
- Grounding Methods for Neural-Symbolic AI · Paper Radio
- NeuPSL: Neural Probabilistic Soft Logic
- Proximal Policy Optimization Algorithms
- RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Space
- DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoning
- NeurASP: Embracing Neural Networks into Answer Set Programming
The paper
DeepProofLog: Efficient Proving in Deep Stochastic Logic Programs · Read on arXiv
Ying Jiao, Rodrigo Castellano Ontiveros, Luc De Raedt, Marco Gori, Francesco Giannini, Michelangelo Diligenti, Giuseppe Marra
KU Leuven University of Siena Orebro University Scuola Normale Superiore University of Pisa
Neurosymbolic (NeSy) AI aims to combine the strengths of neural architectures and symbolic reasoning to improve the accuracy, interpretability, and generalization capability of AI models. While logic inference on top of subsymbolic modules has been shown to effectively guarantee these properties, this often comes at the cost of reduced scalability, which can severely limit the usability of NeSy models. This paper introduces DeepProofLog (DPrL), a novel NeSy system based on stochastic logic programs, which addresses the scalability limitations of previous methods. DPrL parameterizes all derivation steps with neural networks, allowing efficient neural guidance over the proving system. Additionally, we establish a formal mapping between the resolution process of our deep stochastic logic programs and Markov Decision Processes, enabling the application of dynamic programming and reinforcement learning techniques for efficient inference and learning. This theoretical connection improves scalability for complex proof spaces and large knowledge bases. Our experiments on standard NeSy benchmarks and knowledge graph reasoning tasks demonstrate that DPrL outperforms existing state-of-the-art NeSy systems, advancing scalability to larger and more complex settings than previously possible.
DOI: 10.1609/aaai.v40i27.39396
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: We're looking at the paper: "DeepProofLog: Efficient Proving in Deep Stochastic Logic Programs".
Title and authors: Tom: So we're looking at this paper called "DeepProofLog: Efficient Proving in Deep Stochastic Logic Programs." It comes from a team including Ying Jiao, Rodrigo Castellano Ontiveros, Luc De Raedt, Marco Gori, Francesco Giannini, Michelangelo Diligenti, and Giuseppe Marra.
Jane: It sounds like the title tells us this is about making logic proofs faster and more efficient when you use neural networks to guide them. What does that mean for someone just listening?
Lu: Basically it’s a system called DeepProofLog that uses stochastic logic programs and parameterizes every single step of the derivation process with neural networks. It tackles the scalability problems we usually see in neurosymbolic AI when you try to do logic inference on top of complex subsymbolic modules.
Meng: So, if I'm running a model, how does this help? Does it just make the training slower or something?
Tom: No, it’s about making the proving system itself efficient. The authors introduce this framework because traditional methods often get bogged down when the logic program gets too big.
Jane: So we're moving away from just checking if a statement is true in a world, and instead looking at the probability of how we arrive at that truth through a sequence of steps?
Lu: Exactly. They shift the focus from possible world semantics to uncertainty over derivations themselves, which lets them map this whole process onto something called Markov Decision Processes.
Meng: An MDP? That sounds like reinforcement learning stuff, which I deal with a lot, but mapping logic resolution directly into that is new for me.
Tom: It is new because they are using the structure of the proof search to define the transition probabilities in an MDP. They're saying you can use established MDP solution methods to handle problems that were previously too complex for standard neurosymbolic systems.
Jane: So, instead of guessing which rule to apply next in a blind way, this system uses neural networks conditioned on your current goal to guide the search more intelligently?
Lu: That’s right. They define a resolution transition model that tells you the probability of moving from one goal state to the next based on what’s currently in your goal. This is where they use neural guidance over the proving system.
The paper's summary: Tom: Let's talk about what DeepProofLog actually does, based on their summary. They define stochastic logic programs, which is a big shift because it’s about the probability of a derivation succeeding rather than just whether it’s true in a possible world.
Jane: That means if we ask the system to prove something, it's not just giving us a yes or no; it’s giving us the likelihood of finding that proof through the sequence of resolution steps. How does that translate to practical use?
Lu: The core idea is this probability associated with a clause in these logic programs reflects its likelihood of being used in a successful query derivation, not just its inherent truth value in some possible world >
Meng: So, it’s weighting the rules based on how often they actually help us get to the answer? That sounds like learning from successful paths.
Tom: Precisely. They establish this formal correspondence between the learning process and finding optimal policies in Markov Decision Processes, which is a big conceptual bridge for them >
Jane: That makes sense because MDPs are great at learning optimal actions in complex scenarios, and here they use it to learn the best way to navigate a proof search.
Lu: And they parameterize all derivation steps with neural networks, defining how we select clauses based on the entire current goal, which is what we call goal embeddings >
Tom: They construct these embeddings hierarchically from the subsymbolic parts down to the atomic components, so the neural network can actually process symbolic goals effectively >
Jane: That sounds like they are building a rich representation of what a complex query means in a way that even deep neural networks can understand and use for guiding the logic.
The paper's improvements: Tom: The authors highlight two major ways DeepProofLog improves things. First, they show you can use dynamic programming for exact inference if your goal space is small enough to be encoded in a manageable state space >
Jane: So, when the problem is simple enough, they can get a guaranteed correct answer without relying on approximations? That’s very appealing for formal reasoning tasks.
Lu: Yeah, and it scales linearly in terms of sequence length if you're looking at specific problems like MNIST addition, because they maintain two tables indexed by the sequence position and the specific state >
Meng: If it scales linearly, that’s good for production costs. But what happens when your problem gets really big? That’s where I get worried about running inference on massive graphs.
Tom: That's the other part of their improvement. When the complete goal space is too big for dynamic programming, they switch to deep reinforcement learning to approximate the optimal policy through sampling derivations >
Jane: So they have a plan: if it’s small, use exact dynamic programming; if it’s huge, use reinforcement learning to learn an approximate policy for finding proofs >
Lu: And that RL part is what allows them to tackle scenarios that were previously intractable for standard neurosymbolic systems because they are learning the best proof-finding policy directly >
Meng: Learning a policy from sampled derivations sounds like it could be computationally expensive during the learning phase itself. What’s the cost there?
Tom: The objective function they are optimizing, which is maximizing the expected cumulative reward in that MDP formulation, actually corresponds to minimizing cross-entropy loss that we already use in standard neurosymbolic learning >
Jane: That’s a nice connection. It means we can train this new proof system using the same loss functions we're familiar with from other models.
Conclusion: Tom: So, to wrap up, DeepProofLog is fundamentally about parameterizing every derivation step with neural networks to give us efficient neural guidance over the proving system >
Jane: It establishes a formal mapping between stochastic logic program resolution and Markov Decision Processes, which means we can use dynamic programming for exact inference when the goal space is small enough, or reinforcement learning for approximation when it gets too big >
Lu: And they show that this approach allows us to learn optimal policies to maximize the expected return J lambda, which aligns with minimizing cross-entropy loss on a labeled dataset D = D N i=one > <ref:2511.08581#pg1>
Meng: From a deployment standpoint, what’s the practical implication here? Can we actually deploy this on real traffic without it needing massive compute resources every time?
Tom: It suggests that we can learn an efficient proof-finding policy that navigates deep reasoning paths efficiently, avoiding exhaustive search by contrast to methods like smart grounding techniques which require many groundings >
Jane: It’s fully interpretable because every single classification is expressed as a proof, so you can actually follow the steps and understand why the model made a decision >
Lu: And I think that's key because unlike partially latent reasoning done by other systems, DeepProofLog is fully interpretable >
Meng: So, to summarize, it’s about using neural guidance over logic programs to make them scalable while keeping them explainable.
More episodes
- 2512.06840-CADE: Continual Weakly-supervised Video Anomaly Detection with Ensembles
- 2602.06195-Debiased DPO for Diffusion Models
- 2602.08430-Understanding and Optimizing Attention-Based Sparse Matching for Diverse Local Features
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2602.17322-Leveraging Contrastive Learning for a Similarity-Guided Tampered Document Data Generation Pipeline
- 2603.12388-Deployment-Oriented Session-wise Meta-Calibration for Landmark-Based Webcam Gaze Tracking
- 2604.13856-Any3DAvatar: Fast and High-Quality Full-Head 3D Avatar Reconstruction from Single Portrait Image
- 2605.24604-LC-Flow: Learning Local Continuous Optical Flow and Confidence from events
- 2606.14389-SIMILR: Single-Image Multi-Instance Joint 3D Object Reconstruction and Pose Estimation Leveraging Recurrence