[Paper Review] Neural Probabilistic Logic Programming in Discrete-Continuous Domains
Introduces DeepSeaProbLog, a neural-symbolic probabilistic logic programming language that supports discrete and continuous random variables under logical constraints, with an asymptotically unbiased learning algorithm and experiments across multiple tasks.
Neural-symbolic AI (NeSy) allows neural networks to exploit symbolic background knowledge in the form of logic. It has been shown to aid learning in the limited data regime and to facilitate inference on out-of-distribution data. Probabilistic NeSy focuses on integrating neural networks with both logic and probability theory, which additionally allows learning under uncertainty. A major limitation of current probabilistic NeSy systems, such as DeepProbLog, is their restriction to finite probability distributions, i.e., discrete random variables. In contrast, deep probabilistic programming (DPP) excels in modelling and optimising continuous probability distributions. Hence, we introduce DeepSeaProbLog, a neural probabilistic logic programming language that incorporates DPP techniques into NeSy. Doing so results in the support of inference and learning of both discrete and continuous probability distributions under logical constraints. Our main contributions are 1) the semantics of DeepSeaProbLog and its corresponding inference algorithm, 2) a proven asymptotically unbiased learning algorithm, and 3) a series of experiments that illustrate the versatility of our approach.
Motivation & Objective
- Extend neural-symbolic probabilistic logic programming to discrete-continuous domains.
- Define a formal semantics and an inference algorithm based on weighted model integration (WMI).
- Provide a differentiable learning method with asymptotically unbiased gradients for continuous relaxations.
- Demonstrate versatility through neural-symbolic experiments across diverse tasks.
- Bridge deep probabilistic programming with logical reasoning under uncertainty.
Proposed method
- Define distributional facts and neural distributional facts (NDFs) to parametrize distributions with neural networks.
- Use probabilistic comparison formulas (PCFs) to encode logical constraints involving random variables.
- Formulate query probability via possible worlds and a WMI-based inference framework (Equation 4).
- Apply knowledge compilation and the Sampo algorithm to perform scalable approximate inference.
- Introduce a differentiable learning approach using reparametrisation and continuous relaxations of PCFs to obtain unbiased gradient estimates (Theorems 4.1–4.2, Equations 7–11).
- Leverage TensorFlow Probability to sample continuous variables conditioned on neural parameters.
Experimental results
Research questions
- RQ1How can neural-symbolic probabilistic logic programming be extended to handle discrete and continuous random variables under logical constraints?
- RQ2Can inference be performed efficiently via weighted model integration (WMI) in this hybrid setting?
- RQ3Is it possible to obtain asymptotically unbiased gradients for learning neural parameters within DeepSeaProbLog?
- RQ4Do discrete-continuous DeepSeaProbLog models perform well on diverse tasks requiring reasoning under uncertainty and weak supervision?
Key findings
- Inference can be formulated as a weighted model integration problem over possible worlds (Equation 4).
- Sampo-based approximate inference with knowledge compilation enables scalable handling of discrete PCFs and continuous variables.
- The gradient estimates are asymptotically unbiased in the infinite coolness limit (Proposition 4.2).
- DeepSeaProbLog demonstrates strong out-of-distribution performance and versatile modeling across tasks (neural attention, neural-hybrid BN, and neural-symbolic VAE).
- The framework integrates neural components with logical constraints to perform end-to-end differentiable learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.