Symbolic Parameter Learning in Probabilistic Answer Set Programming
Damiano Azzolini, Elisabetta Gentili, Fabrizio Riguzzi
TL;DR
The paper tackles parameter learning in Probabilistic Answer Set Programming under Credal Semantics by creating two symbolically driven algorithms that extract nonlinear equations from NNFs and solve for learnable probabilities. One approach uses constrained nonlinear optimization with off-the-shelf solvers, the other employs Expectation Maximization, both leveraging Second Level Algebraic Model Counting to generate the symbolic equations. Empirical results across four datasets show the constrained-optimization method often outperforms EM and PASTA in both speed and final log-likelihood, while EM remains competitive but memory-intensive. The work demonstrates a scalable, open-source pipeline for learning PASP parameters and points to future work on broader semantics and equation-simplification techniques to further improve scalability and applicability.
Abstract
Parameter learning is a crucial task in the field of Statistical Relational Artificial Intelligence: given a probabilistic logic program and a set of observations in the form of interpretations, the goal is to learn the probabilities of the facts in the program such that the probabilities of the interpretations are maximized. In this paper, we propose two algorithms to solve such a task within the formalism of Probabilistic Answer Set Programming, both based on the extraction of symbolic equations representing the probabilities of the interpretations. The first solves the task using an off-the-shelf constrained optimization solver while the second is based on an implementation of the Expectation Maximization algorithm. Empirical results show that our proposals often outperform existing approaches based on projected answer set enumeration in terms of quality of the solution and in terms of execution time. The paper has been accepted at the ICLP2024 conference and is under consideration in Theory and Practice of Logic Programming (TPLP).
