Backdoors to Acyclic SAT

Serge Gaspers, Stefan Szeider

This paper, "Backdoors to Acyclic SAT," by Serge Gaspers and Stefan Szeider, explores a clever way to solve the Boolean Satisfiability (SAT) problem by identifying a small set of "key" variables. By focusing on these "backdoor sets," the authors show how to transform seemingly intractable logic problems into simple, acyclic structures that can be solved efficiently.

TL;DR

The authors provide new algorithms to find "backdoor sets" that reduce complex SAT formulas to simple acyclic ones. They prove that while finding these sets is hard in general, it becomes manageable (fixed-parameter tractable or approximable) for specific types of formulas, offering a powerful new tool for both solving SAT and counting its solutions (#SAT).

What Problem Does This Paper Address?

The SAT problem—deciding if a logic formula can be made true—is the classic NP-complete problem. However, many real-world instances have hidden structures that make them easier than the worst-case theory suggests. Researchers use "islands of tractability" (base classes), which are subsets of SAT formulas that can be solved in polynomial time.

A backdoor set is a small group of variables that, once assigned truth values, "kicks" the remaining formula into one of these easy islands. This paper focuses on the base class FOREST—formulas whose structure (incidence graph) contains no cycles.

The challenge is that unlike other easy classes (like 2-SAT or Horn formulas), the FOREST class doesn't have "small obstructions." You can't just look at a few clauses to see if a cycle exists; cycles can be arbitrarily large. This makes finding backdoors to FOREST significantly harder than for other classes.

Methods

The authors employ a sophisticated toolkit from graph theory and logic:

  1. Incidence Graphs: They represent CNF formulas as bipartite graphs where one set of nodes represents variables and the other represents clauses. A formula is in the FOREST class if this graph is acyclic.
  2. Erdős-Pósa Theorem: They use an algorithmic version of this theorem to bridge the gap between having many disjoint cycles and having a small "feedback vertex set" (a set of nodes whose removal leaves the graph acyclic).
  3. Monadic Second-Order (MSO) Logic: For formulas with a small feedback vertex set, they use Courcelle’s Theorem. This allows them to express the backdoor detection problem as a logic sentence that can be checked very quickly on graphs with "simple" structures (low treewidth).
  4. Combinatorial "Killer" Rules: When the graph has many cycles, they developed new combinatorial rules to identify "external killer" variables—variables that, when assigned, satisfy clauses and effectively "break" cycles they aren't even part of.
Table 1: Definitions of various "islands of tractability" (base classes) for SAT.

Key Insights and Ideas

  • Structural Incomparability: The size of a FOREST backdoor set is a "new" parameter. It isn't just a proxy for treewidth or cliquewidth; there are formulas with small FOREST backdoors that have massive treewidth, and vice-versa.
  • Beyond Deletion: Most previous work focused on "deletion backdoors" (simply removing variables). This paper tackles strong backdoors, which are more powerful because they allow the formula to be "repaired" differently depending on which truth value (True or False) is assigned to the backdoor variables.
  • The Power of #SAT: Because acyclic formulas allow for easy model counting, finding a strong FOREST backdoor set immediately makes the #SAT problem (counting all possible solutions) fixed-parameter tractable.

Key Results

The paper establishes the parameterized complexity of finding these backdoors (where $k$ is the size of the backdoor set):

  • Weak Backdoors: Detecting if a small set exists to make a formula satisfiable and acyclic is W[2]-hard for general formulas but Fixed-Parameter Tractable (FPT) for $r$-CNF (where each clause has a limited number of literals).
  • Strong Backdoors: The authors provide an FPT-approximation algorithm. If a strong backdoor of size $k$ exists, their algorithm will find one of size at most $2^k$.
  • First of its Kind: This is the first positive result for a base class that lacks a "small obstruction" characterization and the first for a class where strong backdoors are strictly more powerful than deletion backdoors.
Table 2: Summary of the parameterized complexity results for different base classes.

Limitations and Future Work

The primary limitation is the approximation gap for strong backdoors. While the algorithm is FPT, it only guarantees finding a set of size $2^k$ rather than the optimal $k$. The authors leave the existence of an exact FPT algorithm for strong FOREST backdoors as an open question.

Additionally, the W[2]-hardness for general CNF in the weak case suggests that without constraints on clause length, finding these "shortcuts" to satisfiability remains fundamentally difficult. The authors suggest their "killer" rules and MSO approach could be adapted for other complex problems like Bayesian inference or Quantified Boolean Formulas (QBF).

Summary updated

BibTeX
@inproceedings{gaspers2012backdoors,
  author = {Serge Gaspers and Stefan Szeider},
  title = {{Backdoors to Acyclic SAT}},
  booktitle = {ICALP},
  year = {2012},
  doi = {10.1007/978-3-642-31594-7\_31},
}
Figure