Splitting an LPMLN Program

Bin Wang, Zhizheng Zhang, Hongxiang Xu, Jun ShenAAAI 2018

Abstract

This paper introduces the Splitting Set Theorem for $LP^{MLN}$, a framework that allows complex probabilistic logic programs to be decomposed into smaller, manageable components. By extending "divide and conquer" techniques from standard Answer Set Programming (ASP) to its weighted counterpart ($LP^{MLN}$), the authors enable significant performance gains and new parallel solving strategies for probabilistic inference. Experimental results demonstrate that partitioning programs can lead to speedups of over 60x for certain classes of problems.

Introduction

$LP^{MLN}$ is a powerful formalism that marries the logical rigor of Answer Set Programming (ASP) with the probabilistic flexibility of Markov Logic Networks (MLN). It allows researchers to write logic programs where rules have weights; if a rule is violated, the world remains possible but becomes less probable. However, $LP^{MLN}$ programs are computationally expensive to solve because they require calculating the "weight degree" of various stable models to determine probabilities.

In standard ASP, researchers use splitting sets to divide a program into a "bottom" part (independent) and a "top" part (dependent on the bottom). This paper formally extends this technique to $LP^{MLN}$, ensuring the mathematical integrity of weights and probabilities during decomposition.

Methods

The authors provide a formal extension of the splitting set theorem specifically for $LP^{MLN}$. The approach involves partitioning the program based on a splitting set $U$—a collection of literals where rules defining them do not depend on atoms outside of $U$.

Dependency graph illustrating a splitting set where nodes represent atoms and edges represent rule dependencies.

The technical framework includes several key steps:

  1. Partial Evaluation: Simplifying the "top" part of the program based on stable models found in the "bottom" part.
  2. Weight Reconstruction: The authors prove that the total weight of a stable model is the product of the weights of the split parts, adjusted by a "deleting set" (rules satisfied by the split but not explicitly part of the evaluated sub-programs). This ensures probability distribution consistency.
  3. Parallel Algorithms: Based on the theorem, two solvers were developed: lpmln-sst (a general parallel solver) and lpmln-idp (an optimized solver for independently divisible programs).

Results

The approach was evaluated using the "Birds" benchmark, a classic logic programming example involving resident and migratory birds, scaled from 10 birds (b-10) to 14 birds (b-14) to test increasing complexity.

Performance comparison (in seconds) between standard solvers and splitting-based algorithms across varying program complexities.

As shown in the performance data, the improvements are dramatic. For the largest test case (b-14), a standard non-parallel solver (L-M-1) took 78.64 seconds. Using the general splitting algorithm (Algo. 1), this dropped to 34.51 seconds. Most notably, when the program was treated as independently divisible (Algo. 2), the solving time plummeted to just 1.24 seconds, representing a massive speedup over traditional methods.

Discussion and Conclusion

The core insight of this work is that splitting in $LP^{MLN}$ is as much about mathematics as it is about logic. By ensuring that the joint probability of a system can be reconstructed from its parts, the authors bring $LP^{MLN}$ in line with standard probabilistic graphical models while retaining ASP's expressive power.

While the results are promising, future work is needed to automate the identification of optimal splitting sets for arbitrary programs and to test the framework on larger, real-world datasets. Nonetheless, this theorem provides a critical foundation for scaling probabilistic logic programming through parallelization and modular reasoning.

Summary updated

BibTeX
@inproceedings{wang2018splitting,
  author = {Bin Wang and Zhizheng Zhang and Hongxiang Xu and Jun Shen},
  title = {{Splitting an LPMLN Program}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.11570},
}
Figure