Probabilistic Answer Set Programming with Discrete and Continuous Random Variables

Damiano Azzolini, Fabrizio Riguzzi
9/30/2024
cs.AI

No official code found. Best implementation: damianoazzolini/pasta (11 stars, GPL-3.0, last commit 2026-03-12).

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).

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Tool to perform various types of inference in probabilistic answer set programs under the credal semantics and with statistical statements.

117Shell, PythonNov 19, 20217 months agoGPL-3.0

Similar Papers

Cite this paper

@article{azzolini2024probabilistic,
  title  = {Probabilistic Answer Set Programming with Discrete and Continuous Random Variables},
  author = {Damiano Azzolini and Fabrizio Riguzzi},
  year   = {2024},
  eprint = {2409.20274},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.20274v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.20274.svg)](https://codeofpaper.com/paper/2409.20274)

Discussion