arXiv:2610.06270cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.06270

DPNL: A DPLL-based Algorithm for Probabilistic Neurosymbolic Learning

Thomas Jean-Michel Valentin, Pierre Genev{è}s, Luisa Sophie Werner, Sarah Chlyah, Nabil Laya{ï}da, Nils Gesbert

Abstract

Probabilistic Neurosymbolic Learning (PNL) combines neural predictions with symbolic reasoning, enabling end-to-end learning from final-output supervision without labels for intermediate concepts. A central challenge is probabilistic inference: state-of-the-art approaches often rely on materializing the logical provenance of a query, which can itself become a major computational bottleneck. We introduce Dynamic Probabilistic Neurosymbolic Learning (DPNL), an oracle-guided framework that avoids requiring complete provenance materialization before inference. DPNL lazily explores the space of intermediate assignments, while oracles resolve entire regions that can already be certified to produce or exclude the target output. We establish conditions ensuring soundness and termination. ApproxDPNL extends the same search with early termination while maintaining certified bounds on the exact output probability, providing controlled approximation guarantees. The oracle interface decouples inference from the representation of the symbolic component, enabling problem-specific reasoning within the same framework. Experiments on several neurosymbolic tasks show that DPNL and ApproxDPNL substantially extend the range of problem instances tractable by probabilistic neurosymbolic inference.

1 Introduction

Neurosymbolic artificial intelligence seeks to combine the learning capabilities of neural networks with structured symbolic reasoning [van Harmelen and ten Teije, 2019; Vermeulen et al., 2023]. Probabilistic Neurosymbolic Learning (PNL) is one approach to this integration, in which neural networks predict probability distributions over intermediate concepts and a symbolic component combines these predictions to produce the final output [De Raedt et al., 2020; Li et al., 2023]. A key advantage of this setting is that the intermediate predictions need not be supervised directly. Instead, the symbolic computation connects them to the observed output, allowing the neural component to be trained end-to-end from supervision on the final task. At the same time, the symbolic component makes explicit how intermediate predictions are combined to determine the final output, providing a structured and inspectable reasoning process.

Consider, for instance, a kinship-reasoning task in the style of CLUTRR [Sinha et al., 2019]. Given a short text describing relations between people, a neural component may predict distributions over uncertain relations such as sister, aunt, or parent. Symbolic kinship rules then compose these relations to answer a query such as “How are Rich and Anne related?”. Training may provide only the correct answer to this final query, and not the intermediate relations required to derive it. Learning therefore requires propagating supervision through the symbolic reasoning process while accounting for uncertainty in the intermediate neural predictions.

This introduces a central computational challenge. To obtain the probability of a given output, probabilistic reasoning must aggregate the probability mass of all assignments of the intermediate predictions that make the symbolic computation produce that output. Depending on the task, this aggregation may admit an efficient computation or a compact representation. In general, however, the number of relevant assignments can grow rapidly with the number of intermediate variables, making their explicit enumeration impractical. Importantly, this difficulty is distinct from the cost of evaluating the symbolic computation on one complete assignment: a symbolic function may be inexpensive to evaluate while the set of assignments leading to a given output is much harder to represent or aggregate over.

Existing exact PNL approaches such as DeepProbLog [Manhaeve et al., 2021a] address this problem by constructing the logical provenance of a query, using knowledge compilation techniques, and subsequently performing probabilistic inference over that representation. However, constructing the complete provenance can itself become a bottleneck when the number of alternative reasoning paths is large. Approximate methods have consequently been proposed to extend PNL to larger problem instances [Manhaeve et al., 2021b; Huang et al., 2021; van Krieken et al., 2023]. These methods trade exact inference for scalability in different ways. This motivates a complementary question: can probabilistic inference avoid constructing the complete provenance in the first place, while retaining exact inference when feasible and providing explicit control over the error when approximation is necessary?

Contribution. Our main contribution is the DPNL framework, a new probabilistic reasoning architecture for end-to-end neurosymbolic learning, with two major aspects:

i. Inference without full provenance materialization. Instead of constructing the complete logical provenance of a query before inference, DPNL performs a lazy exploration of partial assignments and dynamically eliminates regions of the implicit reasoning space that can be determined to succeed or fail. Only regions that cannot yet be decided are explored further. This yields an exact inference procedure when exploration is continued to completion.

ii. Certified approximation. When exact inference is not required, ApproxDPNL can stop this exploration early while maintaining certified bounds on the exact output probability. Specifically, it tracks the probability mass of unresolved regions and maintains certified lower and upper bounds on the exact output probability at any point during the search.

An important architectural property of DPNL and Approx-DPNL is their ability to combine neural predictions over finite-domain random variables with diverse forms of symbolic reasoning. They separate probabilistic inference from the representation and implementation of the symbolic component, allowing the same inference architecture to accommodate a broad range of symbolic representations and reasoning procedures. We formalize a generic oracle interface that supports ordinary executable symbolic programs, solver-backed logical specifications, and domain-specific oracles, and establish conditions under which oracle-guided inference is sound and terminating.

We implement DPNL and ApproxDPNL in a research prototype and evaluate them on several neurosymbolic tasks. Experiments show that oracle-guided reasoning can substantially extend the range of tractable problem instances for probabilistic neurosymbolic learning.

References (45)