[Paper Review] Generating Hard Satisfiable Formulas by Hiding Solutions Deceptively
This paper introduces a novel method to generate hard, satisfiable 3-SAT formulas by reweighting clause selection to deceptively hide a single solution assignment, using a parameter $ q < 1 $ to reduce literal bias toward the hidden assignment. The key contribution is that these $ q $-hidden formulas are exponentially hard for both DPLL and local search algorithms like WalkSAT, unlike previous methods that remain easy for incomplete solvers.
To test incomplete search algorithms for constraint satisfaction problems such as 3-SAT, we need a source of hard, but satisfiable, benchmark instances. A simple way to do this is to choose a random truth assignment A, and then choose clauses randomly from among those satisfied by A. However, this method tends to produce easy problems, since the majority of literals point toward the ``hidden'' assignment A. Last year, Achlioptas, Jia and Moore proposed a problem generator that cancels this effect by hiding both A and its complement. While the resulting formulas appear to be just as hard for DPLL algorithms as random 3-SAT formulas with no hidden assignment, they can be solved by WalkSAT in only polynomial time. Here we propose a new method to cancel the attraction to A, by choosing a clause with t > 0 literals satisfied by A with probability proportional to q^t for some q < 1. By varying q, we can generate formulas whose variables have no bias, i.e., which are equally likely to be true or false; we can even cause the formula to ``deceptively'' point away from A. We present theoretical and experimental results suggesting that these formulas are exponentially hard both for DPLL algorithms and for incomplete algorithms such as WalkSAT.
Motivation & Objective
- To address the limitation of existing satisfiable 3-SAT benchmark generators that create formulas with strong bias toward a hidden solution, making them easy for local search algorithms.
- To develop a method that eliminates the attraction of clauses toward the hidden assignment $ A $, thereby increasing hardness for incomplete solvers like WalkSAT.
- To generate satisfiable formulas that are as hard as random 3-SAT (0-hidden) for complete solvers like DPLL, while remaining hard for incomplete solvers.
- To enable the use of mathematical tools from random $ k $-SAT theory on satisfiable instances by preserving structural properties while controlling solution bias.
Proposed method
- Generate $ q $-hidden 3-SAT formulas by selecting clauses with $ t $ satisfied literals under a hidden assignment $ A $ with probability proportional to $ q^t $, where $ q < 1 $.
- Use a parameter $ q $ to control the degree of bias: $ q = 1 $ yields standard 1-hidden formulas with strong attraction to $ A $, while $ q < 1 $ reduces this bias.
- For $ q = q^* $, the distribution of literals becomes balanced (equal positive and negative occurrences), eliminating any directional bias toward $ A $.
- For $ q < q^* $, the formulas become deceptive, as clauses are more likely to disagree with $ A $, misleading local search algorithms.
- Apply the method of differential equations to analyze the behavior of the Unit Clause (UC) algorithm on $ q $-hidden formulas.
- Use moment calculations and analytic bounds to estimate the expected density of solutions as a function of Hamming distance $ \alpha $ from the hidden assignment $ A $.
Experimental results
Research questions
- RQ1Can we generate satisfiable 3-SAT formulas that are exponentially hard for both complete (DPLL) and incomplete (WalkSAT) solvers?
- RQ2Does reweighting clause selection using $ q^t $ for $ t $ satisfied literals eliminate the bias toward the hidden assignment $ A $, and can it be tuned to make formulas deceptive?
- RQ3Is there a critical density $ r_c(q) $ at which the number of solutions far from $ A $ disappears, causing a sharp increase in WalkSAT running time?
- RQ4Do the running times of DPLL, WalkSAT, and Survey Propagation peak at the same density $ r_c(q) $, indicating a common phase transition?
- RQ5Can the expected density of solutions as a function of distance from $ A $ be analytically computed and used to predict solver behavior?
Key findings
- The $ q $-hidden formula generator produces instances that are exponentially hard for DPLL algorithms, matching the hardness of 0-hidden (random) 3-SAT formulas.
- For $ q = q^* $, the distribution of literals is balanced, so each variable is equally likely to appear positively or negatively, eliminating bias toward the hidden assignment.
- For $ q < q^* $, the formulas become deceptive: clauses are more likely to disagree with $ A $, causing WalkSAT to be misled and increasing its running time exponentially.
- The running time of WalkSAT increases sharply with decreasing $ q $, showing exponential scaling for $ q < q^* $, in contrast to polynomial time for 1-hidden and 2-hidden formulas.
- The critical density $ r_c(q) $, at which WalkSAT's running time spikes and SP fails, closely matches the density at which alternate solutions far from $ A $ disappear.
- The analytic upper bound on $ r_c(q) $, derived from setting the expected number of solutions with $ \alpha \leq 1/2 $ to 1, closely matches empirical measurements, supporting the conjecture of a single phase transition.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.