Backdoors to Satisfaction

Serge Gaspers, Stefan Szeider

TL;DR

This paper provides a comprehensive survey of "backdoor sets"—small subsets of variables that hold the key to unlocking otherwise intractable computational problems. By fixing the values of these specific variables, a hard propositional satisfiability (SAT) problem simplifies into a polynomial-time solvable one. The authors map out the parameterized complexity landscape of finding and using these backdoors, showing how this framework explains the real-world success of SAT solvers and extends to problems far beyond NP.

What Problem Does This Paper Address?

In computer science theory, the Propositional Satisfiability (SAT) problem is famously NP-complete. Theoretical worst-case analysis suggests that solving a formula with just 250 variables could take longer than the lifetime of the sun. Yet, in practice, modern SAT solvers routinely handle industrial instances with hundreds of thousands of variables in a matter of seconds.

This massive gap between theory and practice exists because real-world problems are rarely random; they possess a "hidden structure." This paper addresses the challenge of formalizing and exploiting this hidden structure. The authors use the concept of backdoor sets to measure an instance's "distance to triviality"—how close a difficult problem is to an "island of tractability" (a subclass of formulas that can be solved efficiently).

Methods

The paper synthesizes theoretical frameworks and algorithmic results centered around three main types of backdoor sets defined relative to a target tractable class $\mathcal{C}$:

  • Strong Backdoors: A set of variables where every possible truth assignment reduces the remaining formula into the tractable class $\mathcal{C}$.
  • Weak Backdoors: A set of variables where at least one truth assignment reduces the formula into a satisfiable formula within $\mathcal{C}$.
  • Deletion Backdoors: A set of variables whose outright removal places the remaining formula into $\mathcal{C}$.

The authors evaluate the parameterized complexity of two main tasks: backdoor detection (finding a backdoor of size at most $k$) and backdoor evaluation (using the backdoor to solve the problem). They analyze these tasks across various target classes, including Schaefer's classical maximal classes (Horn, 2CNF), subsolver-based classes (like Unit Propagation), and structural classes (like incidence graphs that form a FOREST).

Datasets

Not discussed in the paper. As this is a theoretical survey paper, no empirical datasets or experimental benchmarks were used.

Key Insights and Ideas

  • The "Archipelago of Tractability": Instead of viewing SAT as a monolithic wall of intractability, the backdoor approach treats it as an ocean containing various "islands" of easy subproblems. Backdoors act as a shortcut or a bridge to these islands.
  • Strict vs. Permissive Problems: The authors distinguish between strict backdoor detection (which forces the algorithm to find a backdoor even if the formula is trivially satisfiable) and permissive problems (which give the algorithm the freedom to simply solve the formula if it's easy, bypassing exact backdoor identification). Permissive problems are often more relevant to practical solver design but are much harder to analyze theoretically.
  • Escaping NP: A key insight is that the backdoor methodology isn't restricted to SAT. It can be elegantly generalized to problems higher up the complexity ladder, such as Propositional Model Counting (#P-complete), Quantified Boolean Formulas (PSPACE-complete), and Answer-Set Programming (second level of the Polynomial Hierarchy).

Key Results

The paper maps out a detailed complexity landscape for backdoor detection, highlighting a sharp divide between weak, strong, and deletion backdoors across different base classes:

Parameterized complexity landscape of backdoor set detection
  • Schaefer's Classes: Detecting strong and deletion backdoors for Horn and 2CNF formulas is Fixed-Parameter Tractable (FPT), meaning it can be done efficiently if the backdoor size $k$ is small. However, detecting weak backdoors for these same classes is generally $W[2]$-hard, though it becomes FPT if the input is restricted to 3CNF formulas.
  • Subsolvers: For base classes defined by actual solver heuristics (like Unit Propagation), both weak and strong backdoor detection are highly intractable ($W[P]$-complete), even for 3CNF formulas.
  • Structural Backdoors: The authors highlight that strong backdoor detection for the FOREST class admits a $2^k$ FPT-approximation algorithm, making it a powerful tool for exploiting graph-like structures in SAT formulas.

Limitations and Future Work

The authors identify several open challenges and gaps in the current literature:

  1. Unresolved Complexity Classes: The exact parameterized complexity of strong backdoor detection remains unknown for several prominent base classes, such as FOREST and Renamable Horn (RHORN) formulas.
  2. Permissive Hardness: Classifying the parameterized complexity of permissive versions of these problems remains highly challenging, with very few hardness results currently established.
  3. Multivariate Parameterization: The authors suggest that future research should move beyond parameterizing purely by the backdoor size $k$. Instead, combining backdoor size with other structural parameters (like treewidth) or looking at backdoors to combinations of different tractable classes could yield more practical theoretical models for modern heuristic solvers.

Summary updated

BibTeX
@inproceedings{gaspers2012backdoors,
  author = {Serge Gaspers and Stefan Szeider},
  title = {{Backdoors to Satisfaction}},
  booktitle = {The Multivariate Algorithmic Revolution and Beyond},
  year = {2012},
  doi = {10.1007/978-3-642-30891-8\_15},
}
Figure