Hypergraph Acyclicity and Propositional Model Counting

Florent Capelli, Arnaud Durand, Stefan Mengel

Abstract

Propositional model counting (#SAT) is a fundamental problem in computer science with broad applications in AI and probabilistic reasoning. While generally #P-hard, structural restrictions on the underlying hypergraph of a formula can yield tractable instances. This paper identifies a new tractable class for #SAT: formulas admitting a "disjoint branches decomposition." This property lies between $\beta$-acyclicity and $\gamma$-acyclicity. The authors provide a polynomial-time counting algorithm and a novel recognition algorithm using PQF-trees, establishing a new island of tractability in the complexity landscape of #SAT.

Introduction: The Search for Tractable #SAT

Propositional model counting (#SAT) involves determining the number of satisfying assignments for a Boolean formula. Unlike the decision problem (SAT), which is NP-complete, #SAT is #P-hard, making it significantly more challenging. To address this, researchers often look for structural restrictions on the formula's hypergraph—where variables are nodes and clauses are hyperedges.

Historically, hypergraph acyclicity ($\alpha, \beta, \gamma$) has been a key focus. While #SAT is tractable for $\gamma$-acyclic hypergraphs, it remains #P-hard for $\alpha$-acyclic ones. The complexity for $\beta$-acyclic hypergraphs is a long-standing open question. This paper bridges this gap by investigating "disjoint branches decomposition," a property that is more restrictive than $\beta$-acyclicity but more general than $\gamma$-acyclicity.

Hierarchy of hypergraph structural properties and their relationships.

Methods: Algorithms for Counting and Decomposition

The authors' contribution is twofold: a counting algorithm and a recognition (decomposition) algorithm.

1. The Counting Algorithm

The authors frame #SAT as a Constraint Satisfaction Problem (#CSP) using a negative representation, where clauses represent invalid assignments. By utilizing a disjoint branches decomposition—a specific type of join tree—they implement a recursive dynamic programming approach. This algorithm processes the tree from leaves to root, exploiting the fact that branches do not share variables to maintain polynomial time complexity.

2. The Decomposition Algorithm: PQF-Trees

A structural property is only useful if it can be efficiently recognized. To this end, the authors introduce PQF-trees, a generalization of PQ-trees. While standard PQ-trees test for the consecutive ones property, PQF-trees incorporate "F-nodes" to enforce strict ordering conditions on hyperedge permutations. This allows for a polynomial-time algorithm (ComputeDB) that either constructs a disjoint branches decomposition or proves none exists.

Key Results and Complexity Landscape

The primary result is that #SAT for CNF formulas with disjoint branches decompositions is in FP (solvable in polynomial time). Furthermore, this class is incomparable to bounded incidence clique-width, previously the broadest known structural restriction for tractable #SAT.

Complexity bounds for various hypergraph classes, highlighting the new results for disjoint branches.

The paper also establishes the "fragility" of this tractability:

  • Relaxing the decomposition to undirected paths makes the decision problem (SAT) NP-complete.
  • Allowing branches to intersect on even a single variable makes #SAT #P-hard.

Conclusion and Future Directions

By identifying disjoint branches decomposition, the authors have expanded the frontier of tractable #SAT. While the complexity of the full $\beta$-acyclic class remains unknown, this work provides a new, efficiently recognizable island of tractability. Future research may focus on finding a unifying measure, such as a refined $\beta$-hypertree width, that encompasses both disjoint branches and incidence clique-width.

Summary updated

BibTeX
@inproceedings{capelli2014hypergraph,
  author = {Florent Capelli and Arnaud Durand and Stefan Mengel},
  title = {{Hypergraph Acyclicity and Propositional Model Counting}},
  booktitle = {SAT},
  year = {2014},
  doi = {10.1007/978-3-319-09284-3\_29},
}
Figure