Backbone Guided Local Search for Maximum Satisfiability

Weixiong Zhang, Ananda Rangan, Moshe Looks

Abstract

Maximum satisfiability (Max-SAT) is more general and more difficult to solve than satisfiability (SAT). In this paper, we first investigate the effectiveness of Walksat, one of the best local search algorithms designed for SAT, on Max-SAT. We show that Walksat is also effective on Max-SAT, while its effectiveness degrades as the problem is more constrained. We then develop a novel method that exploits the backbone information in the local minima from Walksat and applies the backbone information in different ways to improve the performance of the Walksat algorithm. We call our new algorithm backbone guided Walksat (BGWalksat). On large random SAT and Max-SAT problems as well as instances from the SATLIB, BGWalksat significantly improves Walksat's performance.

Introduction

In combinatorial optimization, the Satisfiability (SAT) problem asks whether a boolean formula can be satisfied by any assignment of variables. Its more complex variant, Maximum Satisfiability (Max-SAT), seeks to satisfy the maximum number of clauses when a perfect solution may not exist. While local search algorithms like Walksat are highly efficient for SAT, their performance often falters on overconstrained Max-SAT instances. As the ratio of clauses to variables (C/V) increases, the search space becomes increasingly rugged, trapping algorithms in suboptimal local minima.

The "Big Valley" Hypothesis

A key observation in this research is that local minima in Max-SAT are not distributed randomly. Instead, they tend to cluster around global optima, forming what the authors term a "Big Valley" structure. This suggests that the "shape" of these traps contains latent information about the optimal solution.

Distribution of local minima for different clause-to-variable (C/V) ratios, illustrating the 'Big Valley' structure.

As shown in Figure 4, as the constraint density (C/V ratio) increases, the distribution of local minima reveals a clearer structural pattern. By analyzing these patterns, it is possible to identify the "backbone"—the set of variables that must maintain specific values in an optimal solution.

Methodology: BGWalksat

Since finding the true backbone is computationally expensive, the researchers introduced Backbone Guided Local Search (BGLS) using a "pseudo-backbone" approximation. The resulting algorithm, BGWalksat, operates in two distinct phases:

  1. Estimation Phase: The algorithm runs standard Walksat for several iterations, collecting the variable assignments of every local minimum encountered.
  2. Guided Search Phase: It calculates the frequency of each variable's value across these minima. Variables that consistently hold the same value are identified as likely members of the backbone. The search is then biased to favor these values during variable selection and initial assignments.

To further refine this, the authors employed Cost Reciprocal Average Counting (CRAC), which weights local minima based on their quality (fewer violations), ensuring that better solutions have a stronger influence on the pseudo-backbone.

Key Results

The effectiveness of backbone guidance was tested on large random Max-3-SAT instances and real-world benchmarks from the SATLIB library.

Comparison of unsatisfied clauses (violations) across different search strategies and noise levels for C/V ratios 4.3 and 8.0.

As illustrated in Figure 6, the "Combined Bias" approach (incorporating both greedy and noise-based backbone guidance) consistently results in fewer violations compared to the original Walksat algorithm. On overconstrained random problems (C/V=8.0), BGWalksat satisfied roughly 10% more clauses. On structured SATLIB instances, such as planning and model checking, the improvement was even more pronounced, with an average 30% reduction in unsatisfied clauses and gains exceeding 80% in specific cases.

Conclusion and Future Work

BGWalksat demonstrates that local minima, traditionally viewed as search failures, are actually rich sources of structural data. By exploiting the "Big Valley" landscape, the algorithm provides a significant performance boost on difficult optimization problems.

However, the method faces challenges with symmetry. In problems like graph coloring, where multiple equivalent global optima exist (e.g., swapping color labels), the pseudo-backbone frequencies can cancel each other out. Future research will focus on symmetry-breaking techniques and "online" learning methods to update the pseudo-backbone dynamically during the search process.

Summary updated

BibTeX
@inproceedings{zhang2003backbone,
  author = {Weixiong Zhang and Ananda Rangan and Moshe Looks},
  title = {{Backbone Guided Local Search for Maximum Satisfiability}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2003},
}
Figure