Abstract
Maximum Satisfiability (MaxSAT) is a fundamental optimization problem with wide-ranging industrial applications. However, the complexity of encoding large-scale instances with many unique weights often hinders the performance of "incomplete" solvers designed for rapid, anytime solutions. This paper introduces two novel approximation strategies—weight clustering (apx-weight) and subproblem decomposition (apx-subprob)—to streamline these encodings. Implemented within the Open-WBO-Inc framework, these methods significantly outperform state-of-the-art solvers in short-timeout scenarios by effectively managing the trade-off between solution accuracy and formula complexity.
Introduction
In many real-world domains, such as software bug localization and circuit design, finding the absolute optimal solution to a MaxSAT problem is less critical than finding a high-quality solution quickly. Incomplete solvers address this need by providing sub-optimal solutions within strict time constraints. A significant bottleneck for these solvers is the size of the Pseudo-Boolean (PB) constraints generated when translating problems into Conjunctive Normal Form (CNF). As the number of unique clause weights increases, the resulting formula size can explode, slowing down the underlying SAT solver. This research proposes simplifying the problem structure to maintain solver agility without sacrificing significant accuracy.
Methods
The authors propose two primary strategies within the Open-WBO framework:
1. Weight-based Approximation (apx-weight)
This strategy uses a technique similar to single-link agglomerative clustering to group soft clauses with similar weights. All weights within a cluster are replaced by their arithmetic mean. By reducing the number of unique weights ($m$), the algorithm drastically reduces the size of the CNF formula.
2. Subproblem Minimization (apx-subprob)
Rather than optimizing the entire problem at once, this approach decomposes it into a sequence of smaller subproblems based on weight clusters. Clusters are processed in descending order of weight, greedily minimizing unsatisfied clauses in the current cluster before proceeding. This transforms a complex global optimization into a series of simpler cardinality-constrained problems, allowing for much faster convergence on high-quality solutions.
Key Insights: The Encoding Bottleneck and the "Sweet Spot"
A primary finding is that the size of the PB encoding is the dominant hurdle for incomplete solvers. As shown in the experimental data, reducing the number of unique weights can decrease the clause ratio by orders of magnitude. However, there is a "sweet spot" for the number of clusters ($m$): too few clusters lead to poor approximation accuracy, while too many clusters re-introduce the encoding bottleneck, making the formula unsolvable within the time limit.
Key Results
The researchers evaluated their strategies using 156 industrial benchmarks from the MaxSAT Evaluation 2017 (MSE2017). The performance of Open-WBO-Inc was compared against top-tier solvers including maxroster (MSE2017 winner), WPM3 (MSE2016 winner), and QMaxSAT.
- 10-Second Timeout: Both
apx-weightandapx-subproboutperformed all other state-of-the-art solvers.apx-subprobachieved the highest average score, proving its efficacy for "anytime" solving. - 60 and 300-Second Timeouts:
apx-subprobmaintained its lead. Whilemaxrosterperformed well, the approximation strategies remained superior in finding lower-cost solutions within these limited windows. - Formula Reduction: For many instances, the absence of clustering resulted in thousands of additional clauses, whereas a small number of clusters kept the formula size manageable and nearly identical to the original problem's base complexity.
Limitations and Future Work
These strategies are non-optimal by design; because they modify weights or solve subproblems greedily, they are not guaranteed to find the true global minimum even with infinite time.
Future research directions include:
- Exploring alternative representative weights beyond the arithmetic mean.
- Integrating these approximations into complete solvers to provide high-quality initial upper bounds, potentially pruning the search space for the true optimum.
- Developing dynamic clustering approaches that progressively increase the number of clusters during the search to refine solution quality over time.
Summary updated