Better Algorithms for Satisfiability Problems for Formulas of Bounded Rank-width

Robert Ganian, Petr Hlinený, Jan Obdrzálek

Introduction

The Boolean Satisfiability problem (SAT) is a cornerstone of computer science, serving as the primary example of an NP-complete problem. While basic SAT asks if a formula can be satisfied, more complex variants like #SAT (counting the number of satisfying assignments) and Max-SAT (finding the maximum number of satisfiable clauses) are even more computationally demanding, falling into #P-hard and NP-hard categories respectively.

This paper presents a significant theoretical advancement by introducing the first algorithms for #SAT and Max-SAT that are single-exponential in the rank-width of a formula's graph. Rank-width is a structural parameter that can be exponentially smaller than the more commonly used "clique-width," allowing these new algorithms to handle dense, complex formulas far more efficiently than previous methods.

The Challenge of Structural Complexity

To solve hard SAT variants, researchers often look for "hidden structure" within formulas. If a formula's structure, represented as a graph, has a low value for a parameter $k$, we can often solve the problem in time polynomial in the formula size but exponential in $k$.

Historically, parameters like tree-width and clique-width have been the focus. However, clique-width is difficult to compute, and algorithms based on it often suffer from "double-exponential" runtimes (e.g., $2^{2^k}$) when applied to broader structural measures. The authors address this by focusing on rank-width, a modern measure of graph decomposition that remains small even for dense graphs where tree-width fails.

Methods: Linear Algebra and Dynamic Programming

The authors represent a Conjunctive Normal Form (CNF) formula as a signed graph, where nodes represent variables and clauses. The core of their approach is a Dynamic Programming (DP) algorithm executed over a "labeling parse tree"—an algebraic representation of a rank-decomposition.

A graph (left) and its corresponding rank-decomposition tree (right) utilizing subspace states for dynamic programming.

The technical innovation lies in how the DP states are managed:

  • Subspace States: Instead of tracking every possible clause satisfaction state, the algorithm uses linear algebra over the finite field GF(2). It tracks vector subspaces to represent how variables in one part of the decomposition interact with clauses in another.
  • The "Expectation" Technique: To maintain a single-exponential runtime and avoid the $2^{2^k}$ blowup, the DP table stores "expectations"—information about what the remaining parts of the formula must provide to satisfy the current clauses.
  • Direct Rank-width Optimization: By designing the algorithm specifically for rank-width, the authors bypass the efficiency bottlenecks inherent in translating clique-width algorithms.

Key Results

The paper mathematically proves that #SAT and Max-SAT can be solved in: $$O(t^3 \cdot 2^{3t(t+1)/2} \cdot |\phi|)$$ where $t$ is the rank-width and $|\phi|$ is the formula size.

Even when a rank-decomposition is not provided, the problem remains solvable in $O(2^{\Theta(t^2)} \cdot |\phi|^3)$ time. Notably, for the simplest case ($t=1$), the algorithm covers "distance-hereditary graphs," a structurally rich class that poses significant challenges for traditional tree-width-based methods.

Discussion and Future Directions

While the "single-exponential" result is a major theoretical win, the constant factor in the exponent ($3t(t+1)/2$) remains large. For practical applications where $t > 5$, the state space could become prohibitively large without further optimization.

As a purely theoretical work, the next logical step is empirical validation. Future research will involve implementing these algorithms to determine if real-world SAT instances—such as those found in hardware verification or AI planning—exhibit the low rank-width necessary to benefit from this approach. Additionally, while highly effective for dense formulas, the authors note that for sparse formulas, these methods may not significantly outperform existing tree-width-based techniques.

Summary updated

BibTeX
@inproceedings{ganian2010better,
  author = {Robert Ganian and Petr Hlinený and Jan Obdrzálek},
  title = {{Better Algorithms for Satisfiability Problems for Formulas of Bounded Rank-width}},
  booktitle = {FSTTCS},
  year = {2010},
  doi = {10.4230/lipics.fsttcs.2010.73},
}
Figure