Abstract
Farsighted Probabilistic Sampling (FPS) is a novel strategy that boosts local search MaxSAT solvers by moving beyond the traditional "single-flip-per-iteration" approach. By using a two-level probabilistic look-ahead to identify pairs of variables that improve the solution, FPS finds higher-quality local optima and more effective search directions to escape them, significantly outperforming state-of-the-art solvers.
Introduction
Maximum Boolean Satisfiability (MaxSAT) is the optimization version of the classic SAT problem. In its practical variants—Partial MaxSAT (PMS) and Weighted Partial MaxSAT (WPMS)—the goal is to satisfy all "hard" constraints while maximizing the number (or total weight) of satisfied "soft" constraints.
Most high-performance local search solvers for these problems are "short-sighted": they only flip one variable at a time. This leads to two major issues:
- Low-Quality Local Optima: The algorithm gets stuck as soon as no single flip can improve the current score, even if flipping two variables in succession would help.
- Inefficient Escapes: When stuck, these solvers typically rely on a "random walk" (flipping a random variable in a falsified clause) to escape. This high degree of randomness often leads the search in poor directions, wasting computational effort.
Methodology
The authors propose Farsighted Probabilistic Sampling (FPS), a general variable selection strategy designed to replace the standard single-flip mechanism. Its core innovation is a two-level look-ahead combined with probabilistic sampling:
- Two-Level Look-Ahead: When the solver hits a local optimum (where no single flip helps), FPS doesn't give up. It performs a "pseudo-flip" of a variable and then checks if a second flip can now improve the overall solution. This allows the solver to navigate a more complex landscape than single-flip methods can see.
- Probabilistic Sampling: Checking every possible pair of variables would be computationally ruinous ($O(n^2)$). FPS maintains efficiency by sampling a small number of falsified clauses (
sc_num) and then sampling variables within those clauses (sv_num). - Best from Multiple Selections (BMS): For the second level of the look-ahead, FPS uses the BMS strategy to pick the best variable from a random subset, balancing greediness with exploration.
- Early-Stop Strategy: To save time, if FPS finds a pair of variables that immediately improves the current local optimum, it stops searching and applies those flips right away.
- Informed Escape: If no improving pair is found, instead of a purely random walk, FPS chooses the "best" direction among the best-sampled single variables and variable pairs, providing a more "farsighted" escape route.
Experimental Evaluation
The authors evaluated FPS by integrating it into several state-of-the-art solvers (creating variants like MaxFPS, CCEHC-FPS, and BandMaxSAT-FPS). They tested these against all instances from the incomplete tracks of the MaxSAT Evaluations (MSE) from 2018 to 2021. These benchmarks include a wide variety of real-world problem classes, such as hardware verification, scheduling, and routing.
Key Results
The FPS-enhanced version of SATLike3.0 (called MaxFPS) demonstrated a significant performance boost, winning between 49% and 82% more PMS instances and 31% and 122% more WPMS instances than the original baseline across different competition years.
FPS consistently improved every local search solver it was applied to (CCEHC, Dist, BandMaxSAT), proving it is a general-purpose strategy. Despite the extra look-ahead logic, the sampling and early-stop strategies ensured that the average time to find high-quality solutions remained competitive.
Discussion and Parameter Analysis
The performance of FPS relies on two key parameters: sc_num (number of sampled clauses) and sv_num (number of sampled variables). The authors found that moderate values worked best across various domains.
As shown in Figure 1, the average score peaks at specific parameter combinations (e.g., sc_num = 10 and sv_num = 50). This highlights the "Sampling as a Scalability Hack": one doesn't need to see the entire double-flip neighborhood to benefit from it. A small, well-chosen sample provides enough "farsightedness" to guide the search effectively without the overhead of exhaustive search.
Limitations and Future Work
While effective, the authors found that increasing the look-ahead depth further (e.g., a three-level look-ahead in MaxFPS2) was too time-consuming and actually performed worse, indicating a point of diminishing returns. Future directions include applying FPS to other combinatorial problems beyond MaxSAT and exploring its integration with more complex configuration checking strategies.
Summary updated