[Paper Review] A Simple Model to Generate Hard Satisfiable Instances
This paper proposes a simple, parameterized model (RB and RD) for generating random, hard, and satisfiable constraint satisfaction problems (CSPs) by controlling domain size and constraint tightness. It demonstrates that instances at the phase transition threshold exhibit exponential tree-resolution complexity, and crucially, that forced satisfiable instances—guaranteed to be satisfiable—have hardness comparable to unforced ones, making them ideal benchmarks for testing SAT and CSP solvers.
In this paper, we try to further demonstrate that the models of random CSP instances proposed by [Xu and Li, 2000; 2003] are of theoretical and practical interest. Indeed, these models, called RB and RD, present several nice features. First, it is quite easy to generate random instances of any arity since no particular structure has to be integrated, or property enforced, in such instances. Then, the existence of an asymptotic phase transition can be guaranteed while applying a limited restriction on domain size and on constraint tightness. In that case, a threshold point can be precisely located and all instances have the guarantee to be hard at the threshold, i.e., to have an exponential tree-resolution complexity. Next, a formal analysis shows that it is possible to generate forced satisfiable instances whose hardness is similar to unforced satisfiable ones. This analysis is supported by some representative results taken from an intensive experimentation that we have carried out, using complete and incomplete search methods.
Motivation & Objective
- To develop a method for generating hard, satisfiable CSP instances that are both theoretically well-understood and practically useful for benchmarking.
- To overcome limitations of standard random CSP models, which suffer from trivial unsatisfiability as problem size increases.
- To ensure that forced satisfiable instances (guaranteed to be satisfiable) are as hard as unforced ones, enabling fair evaluation of incomplete solvers.
- To provide a model that is easy to implement and does not require enforcing complex structural properties like arc or path consistency.
- To validate the hardness of generated instances through extensive experimentation using both complete and incomplete search methods.
Proposed method
- The RB and RD models generate random CSP instances by controlling two key parameters: domain size (relative to the number of variables) and constraint tightness.
- The models ensure an asymptotic phase transition by requiring domain size > n^(1/k) and constraint tightness ≤ (k−1)/k for arity k.
- A critical threshold p_cr is analytically computed, where half the instances are satisfiable, and all instances at this threshold are guaranteed to have exponential tree-resolution complexity.
- Forced satisfiable instances are generated by ensuring that all solutions are preserved via a construction that maintains the same hardness profile as unforced instances.
- The method uses direct encoding to convert CSP instances into SAT instances for evaluation in the SAT competition.
- Experiments employ complete solvers (MAC algorithm) and incomplete solvers (tabu search), with runtime distributions analyzed for heavy-tailed behavior.
Experimental results
Research questions
- RQ1Can a simple, parameterized model generate hard, satisfiable CSP instances without requiring complex structural constraints?
- RQ2Does the phase transition in the RB and RD models lead to instances with exponential tree-resolution complexity at the threshold?
- RQ3Are forced satisfiable instances generated using this model as hard as unforced ones, particularly in terms of search cost?
- RQ4Do both complete and incomplete solvers exhibit similar exponential growth in search effort on these instances?
- RQ5Can the hardness of these instances be empirically confirmed through large-scale experimentation with diverse solvers?
Key findings
- Instances generated at the phase transition threshold p_cr ≈ 0.41 for k=2, α=0.8, r=1.5 exhibit exponential tree-resolution complexity, confirming theoretical hardness.
- The runtime distribution of a randomized MAC algorithm on instances at p_cr shows no heavy-tailed behavior, indicating inherent hardness rather than solver-specific anomalies.
- For unforced unsatisfiable instances above the threshold, search cost grows exponentially with n, even as the exponent decreases with increasing constraint tightness.
- Forced and unforced instances show comparable search effort in both complete (MAC) and incomplete (tabu search) solvers, suggesting equivalent hardness.
- In the SAT competition 2004, 50% of solvers solved the n=40 instance (d=19, m=410), but only one solved the n=50 instance (d=23, m=544), confirming exponential growth in difficulty.
- The model successfully generates hard, satisfiable instances that are both easy to produce and suitable for evaluating modern SAT and CSP solvers.
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.