Probabilistic Answer Set Programming with Discrete and Continuous Random Variables
Damiano Azzolini, Fabrizio Riguzzi
TL;DR
This work extends probabilistic answer set programming to support both discrete and continuous random variables by introducing Hybrid Probabilistic Answer Set Programming (HPASP). HPASP is solved by discretizing the hybrid program into a discrete PASP, enabling reuse of existing inference tools, and by employing four algorithms: two exact (PASTA-based projection and 2AMC-based knowledge compilation) and two approximate (sampling on discretized and on the hybrid programs). Empirical results show that exact inference via projection is feasible only for small instances, while knowledge compilation yields substantial scalability gains; approximate sampling can handle larger problems but may incur memory costs due to discretization. The framework advances relational, abductive-style reasoning under credal semantics for hybrid uncertainty and points to future work on multi-variable comparisons and lifted inference techniques to further enhance scalability and expressivity.
Abstract
Probabilistic Answer Set Programming under the credal semantics (PASP) extends Answer Set Programming with probabilistic facts that represent uncertain information. The probabilistic facts are discrete with Bernoulli distributions. However, several real-world scenarios require a combination of both discrete and continuous random variables. In this paper, we extend the PASP framework to support continuous random variables and propose Hybrid Probabilistic Answer Set Programming (HPASP). Moreover, we discuss, implement, and assess the performance of two exact algorithms based on projected answer set enumeration and knowledge compilation and two approximate algorithms based on sampling. Empirical results, also in line with known theoretical results, show that exact inference is feasible only for small instances, but knowledge compilation has a huge positive impact on the performance. Sampling allows handling larger instances, but sometimes requires an increasing amount of memory. Under consideration in Theory and Practice of Logic Programming (TPLP).
