Min-CSPs on Complete Instances

Aditya Anand, Euiwoong Lee, Amatya Sharma

This paper, recently published by researchers at the University of Michigan, explores a specific frontier in the study of Constraint Satisfaction Problems (CSPs). While most research focuses on "general" or "dense" instances, this work zooms in on complete instances—where every possible combination of variables is bound by a constraint—and discovers that these instances are significantly easier to solve than previously thought.

TL;DR

The authors demonstrate that "complete" instances of minimization CSPs (like Min-2-SAT) are algorithmically distinct from "dense" instances. They provide the first $O(1)$-approximation for Min-2-SAT on complete graphs and a quasi-polynomial time algorithm for deciding the satisfiability of any Boolean $k$-CSP on complete instances, effectively mapping out the boundary of tractability for these problems.

What Problem Does This Paper Address?

Constraint Satisfaction Problems (CSPs) are the bread and butter of theoretical computer science (e.g., 3-SAT, Max-Cut). Usually, we look at two versions: Max-CSP (maximize satisfied constraints) and Min-CSP (minimize unsatisfied constraints).

For Max-CSPs, we’ve known for a long time that if an instance is "dense" (has $\Omega(n^k)$ constraints), it’s relatively easy to approximate. However, Min-CSPs are notoriously grittier. For example, Min-2-SAT on dense graphs is just as hard as the general version; assuming the Unique Games Conjecture (UGC), you can't even get a constant-factor approximation.

The authors ask: Is there a sub-family of dense instances that is tractable? They focus on complete instances, where every $k$-set of variables has exactly one (non-trivial) constraint. This paper investigates whether this "completeness" provides enough structural information to bypass the hardness barriers found in general dense instances.

Methods

The authors employ two primary algorithmic frameworks:

  1. Sum-of-Squares (SoS) Relaxation for Min-2-SAT: To achieve an $O(1)$-approximation, they use a degree-4 SoS (a powerful hierarchy of Semidefinite Programs). They apply a modified version of "CKR rounding"—a technique originally designed for the 0-extension problem—adapted here for directed metrics in the implication graph of the 2-SAT instance.
  2. Recursive Branching & VC-Dimension for $k$-CSPs: For the decision version (is the instance satisfiable?), they use a recursive strategy.
  3. The "Good Pair" Strategy: If they can find a small set of variables that, when assigned, "force" the values of many other variables, they branch on those.
  4. The "No Good Pair" Insight: If no such influential variables exist, they prove that the instance must be "weakly constrained" in a way that allows them to construct a simpler "proxy" instance (like a 2-SAT instance) that captures all satisfying assignments of the original $k$-CSP.
  5. They use the Sauer–Shelah Lemma from computational learning theory to prove that complete $k$-CSPs have a limited number of satisfying assignments ($O(n^{k-1})$), making enumeration feasible.

Datasets

As a theoretical computer science paper, this work does not use empirical datasets or benchmarks. The results are mathematical proofs and algorithmic designs evaluated through complexity analysis.

Key Insights and Ideas

  • The "Complete vs. Dense" Separation: The most significant "aha" moment is the formal proof that complete instances are strictly easier than dense/expanding instances for Min-CSPs. This refutes the common intuition that "dense enough" is the same as "complete."
  • Structure from Lack of Influence: In their $k$-CSP algorithm, the authors turn a "failure" into a "feature." If they can't find a variable that influences many others (a "good pair"), they show that the constraints must be so "spread out" that the problem effectively collapses into a simpler 2-SAT problem.
  • VC-Dimension as a Tool for CSPs: Using VC-dimension to bound the number of satisfying assignments in a complete instance provides a clean, elegant bridge between learning theory and constraint satisfaction.

Key Results

  • Min-2-SAT Approximation: The paper presents a polynomial-time $O(1)$-approximation algorithm for Min-2-SAT on complete graphs. This is a major result because the same problem is UGC-hard to $O(1)$-approximate on merely dense graphs.
  • Quasi-Polynomial Decision Algorithm: They provide an $n^{O(\log n)}$ time algorithm to decide if a complete Boolean $k$-CSP instance is satisfiable.
  • Classification of Tractability: The authors characterize which (arity $k$, alphabet size $r$) pairs are tractable. They found:
  • Tractable (Quasi-poly): Boolean $k$-CSPs (any $k$, alphabet size 2) and (2, 3)-CSPs.
  • Intractable (NP-Hard): (2, 4)-CSPs and (3, 3)-CSPs. This identifies a sharp "threshold" for complexity based on alphabet size.

Limitations and Future Work

  • The PTAS Gap: While they achieved an $O(1)$-approximation for Min-2-SAT, they haven't yet found a Polynomial Time Approximation Scheme (PTAS). It remains an open question whether a PTAS exists for Min-CSPs on complete instances.
  • Polynomial vs. Quasi-Polynomial: The decision algorithms are currently quasi-polynomial. The authors suggest it might be possible to bring these down to true polynomial time.
  • Exact Optimization: While the decision version is easier, the authors note that exact optimization (finding the absolute minimum number of unsatisfied constraints) remains NP-hard for many of these problems, even on complete instances.

Summary updated

BibTeX
@inproceedings{anand2025min,
  author = {Aditya Anand and Euiwoong Lee and Amatya Sharma},
  title = {{Min-CSPs on Complete Instances}},
  booktitle = {SODA},
  year = {2025},
  doi = {10.1137/1.9781611978322.35},
}
Figure