Skip to main content
QUICK REVIEW

[Paper Review] Hiding Satisfying Assignments: Two are Better than One

Dimitris Achlioptas, Haixia Jia|ArXiv.org|Mar 20, 2005
Constraint Satisfaction and OptimizationComputer Science26 references22 citations
TL;DR

This paper introduces a novel generator for hard random satisfiable 3-SAT instances by enforcing two hidden satisfying assignments, A and its complement ¬A, thereby canceling out algorithmic attractors that otherwise make single-hidden instances easy. The resulting 2-hidden formulas are empirically as hard as standard random 3-SAT instances near the satisfiability threshold, significantly increasing hardness compared to single-hidden or no-hidden assignments.

ABSTRACT

The evaluation of incomplete satisfiability solvers depends critically on the availability of hard satisfiable instances. A plausible source of such instances consists of random k-SAT formulas whose clauses are chosen uniformly from among all clauses satisfying some randomly chosen truth assignment A. Unfortunately, instances generated in this manner tend to be relatively easy and can be solved efficiently by practical heuristics. Roughly speaking, as the formula's density increases, for a number of different algorithms, A acts as a stronger and stronger attractor. Motivated by recent results on the geometry of the space of satisfying truth assignments of random k-SAT and NAE-k-SAT formulas, we introduce a simple twist on this basic model, which appears to dramatically increase its hardness. Namely, in addition to forbidding the clauses violated by the hidden assignment A, we also forbid the clauses violated by its complement, so that both A and complement of A are satisfying. It appears that under this "symmetrization'' the effects of the two attractors largely cancel out, making it much harder for algorithms to find any truth assignment. We give theoretical and experimental evidence supporting this assertion.

Motivation & Objective

  • To address the lack of hard, satisfiable random benchmarks for evaluating incomplete satisfiability solvers.
  • To overcome the bias in existing hidden-assignment generators, where solvers easily converge to the single hidden assignment.
  • To design a generator that maintains mathematical tractability while producing instances resistant to common heuristics.
  • To demonstrate that symmetrizing the hidden assignments (A and ¬A) cancels out attractor effects, increasing hardness.
  • To validate the generator’s effectiveness across diverse algorithms, including local search, DPLL, and survey propagation.

Proposed method

  • Generate random 3-SAT formulas by rejecting all clauses violated by either a random assignment A or its complement ¬A.
  • Ensure that both A and ¬A are satisfying assignments, creating a symmetric solution space.
  • Use first-moment calculations to analyze the distribution of solutions relative to the hidden assignments.
  • Apply differential equation methods to model the behavior of the Unit Clause heuristic on 2-hidden formulas.
  • Conduct extensive experiments comparing WalkSAT, zChaff, Satz, and survey propagation on 2-hidden, 1-hidden, and 0-hidden formulas.
  • Vary formula density (r), problem size (n), and initial state bias to isolate the impact of symmetry on solver performance.

Experimental results

Research questions

  • RQ1Does enforcing two complementary hidden satisfying assignments significantly increase the hardness of random 3-SAT instances compared to single-hidden or no-hidden instances?
  • RQ2To what extent do the competing attractors of A and ¬A cancel out, preventing local search algorithms like WalkSAT from converging quickly?
  • RQ3How does the performance of complete solvers (e.g., zChaff, Satz) and local search (e.g., WalkSAT) compare on 2-hidden formulas across different densities and initial states?
  • RQ4Is the hardness of 2-hidden formulas robust across different algorithmic paradigms, including survey propagation?
  • RQ5What is the scaling behavior of solver runtime for 2-hidden formulas near the satisfiability threshold, particularly at r ≈ 4.25?

Key findings

  • 2-hidden formulas are just as hard as 0-hidden (standard random) 3-SAT formulas for WalkSAT with random initial states, with median running times that coincide within resolution at n = 10^4.
  • The hardest instances for WalkSAT occur near the satisfiability threshold at r ≈ 4.25, where 10^8 flips fail to solve 2-hidden formulas.
  • 1-hidden formulas are significantly easier than 2-hidden ones, with WalkSAT’s peak running time occurring at r ≈ 5.2, far above the threshold.
  • When initialized with a biased state close to one hidden assignment, 2-hidden formulas become much easier, with running times comparable to 1-hidden formulas.
  • At r = 4.25, the median runtime of WalkSAT on 2-hidden formulas scales polynomially with n, similar to 0-hidden formulas, but remains much harder than on 1-hidden formulas unless the initial state is biased.
  • Survey propagation and other algorithms also show increased difficulty on 2-hidden formulas, suggesting robust hardness across paradigms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.