Backdoors into Heterogeneous Classes of SAT and CSP

Serge Gaspers, Neeldhara Misra, Sebastian Ordyniak, Stefan Szeider, Stanislav Živný · DOI

TL;DR

This paper introduces "heterogeneous backdoors" for SAT and Constraint Satisfaction Problems (CSP), allowing different variable assignments to lead to different tractable subproblems. The authors provide a complete complexity map, identifying exactly which combinations of tractable classes allow for efficient (Fixed-Parameter Tractable) backdoor detection and which remain computationally daunting.

What Problem Does This Paper Address?

Propositional Satisfiability (SAT) and Constraint Satisfaction Problems (CSP) are the workhorses of AI, but they are fundamentally NP-hard. To cope with this, researchers use backdoor sets: a small set of "clever" variables that, once assigned values, reduce the remaining problem into a simpler, "tractable" base class (like Horn formulas or 2-CNF).

Traditionally, backdoors were homogeneous, meaning every possible assignment of the backdoor variables had to land the problem in the same tractable class. This paper addresses a major limitation: what if one assignment makes the problem Horn-tractable, but another makes it 2-CNF-tractable? By allowing for heterogeneous base classes (the union of multiple tractable classes), we can find much smaller, more powerful backdoors. The challenge is that these flexible shortcuts might be significantly harder to find.

Methods

The authors employ the lens of parameterized complexity to analyze the problem. Instead of just asking if a problem is "hard," they ask if it's "Fixed-Parameter Tractable" (FPT)—meaning it can be solved efficiently if the backdoor size ($k$) is small, even if the total problem size is huge.

Key techniques include:

  • Branching Algorithms: For SAT, they develop depth-bounded search tree algorithms that look for "obstructing clauses"—parts of the formula that prevent it from belonging to the target tractable classes—and branch on variables within those obstructions.
  • Complexity Reductions: To prove hardness (specifically W[2]-hardness), they use reductions from the Hitting Set problem, showing that finding certain types of heterogeneous backdoors is at least as hard as finding a small hitting set.
  • Polymorphism Analysis: For CSP, they define base classes using algebraic properties called polymorphisms (e.g., majority, minority, or Mal’cev operations) and analyze how these properties behave under variable instantiation.

Datasets

Not discussed in the paper. As a theoretical computer science paper, the work focuses on mathematical proofs and algorithmic complexity analysis rather than empirical testing on specific datasets or benchmarks.

Key Insights and Ideas

  • The Power of Heterogeneity: A heterogeneous backdoor can be arbitrarily smaller than a homogeneous one. The authors provide an example where a single variable acts as a heterogeneous backdoor (leading to Horn in one branch and 2-CNF in the other), whereas any homogeneous backdoor would require a set of variables proportional to the total number of variables ($n$).
  • The "Bad Pair" Classification: For SAT, the authors identify "bad pairs" of Schaefer classes (e.g., combining Horn/0-valid with Anti-Horn/1-valid). If your target heterogeneous class contains a bad pair, finding the backdoor is W[2]-hard. If it doesn't, it's FPT.
  • Clause Length is a Critical Pivot: The hardness results for SAT often rely on formulas having clauses of unbounded length. If the maximum clause length ($r$) is fixed and used as a parameter, backdoor detection becomes FPT for any combination of Schaefer classes.
  • CSP Dimensionality: For CSPs, tractability is a "triple threat." To keep backdoor detection FPT, you generally need to parameterize by the backdoor size ($k$), the domain size ($d$), and the maximum arity of the constraints ($\delta$). Removing any one of these typically leads to hardness.

Key Results

  • SAT Classification: Theorem 6 provides a complete characterization for strong backdoors into unions of Schaefer classes. It is FPT if the union avoids "bad pairs" and W[2]-hard otherwise.
  • Weak Backdoors: Detecting weak backdoors (which only require one assignment to be tractable and satisfiable) is shown to be consistently harder (W[2]-hard) than strong backdoors for SAT.
  • CSP Tractability: Theorem 10 establishes that strong and weak backdoor detection is FPT for the combined parameter $(k + d + \delta)$ for a wide range of tractable polymorphism properties.
  • Tightness: The authors proved that for CSPs, omitting either the domain size or the maximum arity from the parameters results in W[2]-hardness (Theorems 12 and 13), showing their FPT result is "tight."

Limitations and Future Work

  • Unbounded Constraints: The primary limitation is that many problems remain hard when clause lengths (SAT) or constraint arities (CSP) are allowed to grow arbitrarily.
  • Structural Parameters: The authors suggest moving beyond the size of the backdoor set to look at its structure—how the backdoor variables interact with the rest of the constraint graph (e.g., using parameters like treewidth).
  • New Base Classes: The paper focuses on Schaefer classes and polymorphism-based classes. Future work could explore heterogeneous backdoors for classes defined by structural restrictions, like bounded hyper-treewidth or forbidden patterns.

Summary updated

BibTeX
@inproceedings{gaspers2014backdoors,
  author = {Serge Gaspers and Neeldhara Misra and Sebastian Ordyniak and Stefan Szeider and Stanislav Živný},
  title = {{Backdoors into Heterogeneous Classes of SAT and CSP}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.9111},
}
Figure