Weighted Model Counting with Twin-Width

06/03/2022
by   Robert Ganian, et al.
0

Bonnet et al. (FOCS 2020) introduced the graph invariant twin-width and showed that many NP-hard problems are tractable for graphs of bounded twin-width, generalizing similar results for other width measures, including treewidth and clique-width. In this paper, we investigate the use of twin-width for solving the propositional satisfiability problem (SAT) and propositional model counting. We particularly focus on Bounded-ones Weighted Model Counting (BWMC), which takes as input a CNF formula F along with a bound k and asks for the weighted sum of all models with at most k positive literals. BWMC generalizes not only SAT but also (weighted) model counting. We develop the notion of "signed" twin-width of CNF formulas and establish that BWMC is fixed-parameter tractable when parameterized by the certified signed twin-width of F plus k. We show that this result is tight: it is neither possible to drop the bound k nor use the vanilla twin-width instead if one wishes to retain fixed-parameter tractability, even for the easier problem SAT. Our theoretical results are complemented with an empirical evaluation and comparison of signed twin-width on various classes of CNF formulas.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/12/2021

A SAT Approach to Twin-Width

The graph invariant twin-width was recently introduced by Bonnet, Kim, T...
research
07/17/2020

Tractability Beyond β-Acyclicity for Conjunctive Queries with Negation

Numerous fundamental database and reasoning problems are known to be NP-...
research
11/29/2019

SAT-Encodings for Treecut Width and Treedepth

In this paper we propose, implement, and test the first practical decomp...
research
10/13/2022

Threshold Treewidth and Hypertree Width

Treewidth and hypertree width have proven to be highly successful struct...
research
07/11/2018

Knowledge Compilation, Width and Quantification

We generalize many results concerning the tractability of SAT and #SAT o...
research
06/30/2016

Clique-Width and Directed Width Measures for Answer-Set Programming

Disjunctive Answer Set Programming (ASP) is a powerful declarative progr...
research
06/07/2023

Top-Down Knowledge Compilation for Counting Modulo Theories

Propositional model counting (#SAT) can be solved efficiently when the i...

Please sign up or login with your details

Forgot password? Click here to reset