DeepProofLog: Efficient Proving in Deep Stochastic Logic Programs
Ying Jiao, Rodrigo Castellano Ontiveros, Luc De Raedt, Marco Gori, Francesco Giannini, Michelangelo Diligenti, Giuseppe Marra
TL;DR
DeepProofLog introduces a scalable neurosymbolic reasoning framework by parameterizing the resolution process in stochastic logic programs with neural networks, operating under goal-conditioned guidance. By establishing a formal mapping between deep SLPs and Markov Decision Processes, it enables both exact dynamic programming and reinforcement learning to efficiently infer proofs over large knowledge bases. The approach demonstrates strong performance on MNIST addition and knowledge graph completion while preserving interpretability through explicit proof trees. This work advances NeSy scalability and explainability, offering a flexible framework that leverages both DP and RL techniques for complex reasoning tasks.
Abstract
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.
