TL;DR
This paper investigates the fundamental differences between random SAT and Max-SAT problems, particularly concerning clause density. It proposes a novel probabilistic algorithm, ProMS, that leverages these differences by considering both "make" and "break" values of variables, outperforming existing state-of-the-art solvers on random Max-SAT benchmarks.
What Problem Does This Paper Address?
The paper tackles the question of whether algorithms designed for the Satisfiability (SAT) problem are equally effective for its optimization variant, Max-SAT, especially when dealing with randomly generated formulas. While SAT aims to find any assignment that satisfies all clauses, Max-SAT seeks an assignment that satisfies the maximum possible number of clauses. Both problems are NP-hard. The authors hypothesize that for random $k$-CNF formulas, there's a critical "ratio" (number of clauses to variables) above which the strategies for SAT and Max-SAT must diverge. Specifically, they question whether standard SAT algorithms, which often rely on heuristics like minimizing "break" values (clauses that become unsatisfied when a variable is flipped), are suboptimal for Max-SAT when formulas become dense.
Methods
The core of the paper's contribution lies in its theoretical analysis and the development of a new algorithm, ProMS.
Theoretical Analysis: The authors analyze random $k$-CNF formulas based on their ratio $r$. They introduce the concept of a "satisfiability threshold" and a "threshold for violated clauses." * Low Ratio ($r < r^c$): They argue that for low clause densities, SAT and Max-SAT are essentially the same problem. An optimal SAT algorithm can also find an optimal Max-SAT solution with only a subexponential slowdown. * High Ratio ($r > r^c$): For denser formulas, they show theoretically that a significant fraction of clauses must be violated by any assignment. This implies that algorithms need to focus on minimizing these violations, not just finding a satisfying assignment. They analyze the "make value" (clauses that become satisfied by flipping a variable) and "break value" (clauses that become unsatisfied). They argue that for Max-SAT in high-ratio scenarios, prioritizing variables with high "make" values is crucial, a heuristic that can be detrimental to standard SAT solvers.
ProMS Algorithm: ProMS is a probabilistic local search algorithm designed for Max-SAT.
- It starts with a random assignment.
- In each step, it randomly selects a violated clause.
- It then probabilistically chooses a variable within that clause to flip. The probability of choosing a variable $v$ is based on a function $f(v) = m(v)(1 + b(v))^\eta$, where $m(v)$ is the "make" value and $b(v)$ is the "break" value. The parameter $\eta$ is a function of the formula's ratio $r$, giving more weight to "make" values for higher ratios.
- A special "random mode" is included to prevent premature convergence to local optima.
- It keeps track of the best assignment found so far and updates it if a better one is discovered.
Datasets
The paper uses benchmark instances from the Max-SAT Evaluation 2012 and 2016. Specifically, they focus on "random 3-CNF" instances with particularly large ratios (up to 21.5) to empirically validate their theory, as these high-ratio instances are where they expect the most significant differences between SAT and Max-SAT algorithms to manifest.
Key Insights and Ideas
- SAT vs. Max-SAT Divergence: The most significant insight is the theoretical and empirical confirmation that random SAT and Max-SAT problems behave fundamentally differently at higher clause-to-variable ratios. This isn't just a matter of degree but a qualitative shift in problem structure.
- The Importance of "Make" Value: For dense Max-SAT instances, the "make" value of a variable (how many currently unsatisfied clauses it can satisfy) becomes critically important. Standard SAT heuristics that focus solely on "break" values (or minimizing unsatisfied clauses) are suboptimal.
- Probabilistic Approach for Max-SAT: The paper demonstrates that a probabilistic strategy, unlike greedy approaches, can be highly effective for Max-SAT, especially when incorporating the "make" value and adapting to the formula's density.
- Theoretical Underpinnings for Heuristics: The work provides a theoretical justification for why certain heuristics (like prioritizing high "make" values) are beneficial for Max-SAT, which is crucial for designing better algorithms.
Key Results
- Theoretical Thresholds: The paper proposes theoretical thresholds ($r^c$, $r^t$, $r^1$) for random $k$-CNF formulas, delineating regions where SAT and Max-SAT algorithms might differ.
- ProMS Performance: The ProMS algorithm consistently outperformed state-of-the-art solvers (CCLS, iraNovelty++, MaxWalkSAT, and probSAT) on the tested high-ratio random Max-SAT benchmarks.
- Empirical Validation: Experiments showed that algorithms neglecting the "make" value (like probSAT) performed poorly on high-ratio Max-SAT instances, supporting the paper's central thesis. ProMS, by explicitly using the "make" value and adapting to the ratio, achieved better solution quality.
Limitations and Future Work
- Parameter Tuning: The ProMS algorithm has parameters ($\eta$, $\zeta$, $\delta$) that were tuned using benchmark data. The paper notes that finding optimal parameters for all instances can be challenging.
- Randomness Variance: The authors acknowledge that the strong randomness in ProMS's clause and variable selection can lead to considerable variance in results.
- Future Work:
- Exploring the gap between theoretical thresholds ($r$ and $r^c$) for small $k$.
- Developing new theories based on a deeper understanding of solution space geometry.
- Investigating self-adaptive parameter tuning and clause weighting schemes for ProMS.
- Engineering multi-threaded versions of ProMS to improve performance and reduce variance.
Summary updated