Solving Projected Model Counting by Utilizing Treewidth and its Limits

05/30/2023
by   Johannes K. Fichte, et al.
0

In this paper, we introduce a novel algorithm to solve projected model counting (PMC). PMC asks to count solutions of a Boolean formula with respect to a given set of projection variables, where multiple solutions that are identical when restricted to the projection variables count as only one solution. Inspired by the observation that the so-called "treewidth" is one of the most prominent structural parameters, our algorithm utilizes small treewidth of the primal graph of the input instance. More precisely, it runs in time O(2^2k+4n2) where k is the treewidth and n is the input size of the instance. In other words, we obtain that the problem PMC is fixed-parameter tractable when parameterized by treewidth. Further, we take the exponential time hypothesis (ETH) into consideration and establish lower bounds of bounded treewidth algorithms for PMC, yielding asymptotically tight runtime bounds of our algorithm. While the algorithm above serves as a first theoretical upper bound and although it might be quite appealing for small values of k, unsurprisingly a naive implementation adhering to this runtime bound suffers already from instances of relatively small width. Therefore, we turn our attention to several measures in order to resolve this issue towards exploiting treewidth in practice: We present a technique called nested dynamic programming, where different levels of abstractions of the primal graph are used to (recursively) compute and refine tree decompositions of a given instance. Finally, we provide a nested dynamic programming algorithm and an implementation that relies on database technology for PMC and a prominent special case of PMC, namely model counting (#Sat). Experiments indicate that the advancements are promising, allowing us to solve instances of treewidth upper bounds beyond 200.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/14/2018

Exploiting Treewidth for Projected Model Counting and its Limits

In this paper, we introduce a novel algorithm to solve projected model c...
research
01/13/2020

Exploiting Database Management Systems and Treewidth for Counting

Bounded treewidth is one of the most cited combinatorial invariants, whi...
research
03/27/2019

Treewidth and Counting Projected Answer Sets

In this paper, we introduce novel algorithms to solve projected answer s...
research
11/28/2018

Counting Complexity for Reasoning in Abstract Argumentation

In this paper, we consider counting and projected model counting of exte...
research
10/18/2021

Anti-Factor is FPT Parameterized by Treewidth and List Size (but Counting is Hard)

In the general AntiFactor problem, a graph G is given with a set X_v⊆ℕ o...
research
01/21/2019

An Experimental Study of the Treewidth of Real-World Graph Data (Extended Version)

Treewidth is a parameter that measures how tree-like a relational instan...
research
08/24/2022

Advanced Tools and Methods for Treewidth-Based Problem Solving – Extended Abstract

Computer programs, so-called solvers, for solving the well-known Boolean...

Please sign up or login with your details

Forgot password? Click here to reset