NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Deep Cooperation of Local Search and Unit Propagation Techniques

Xiamin Chen, Zhendong Lei, Pinyan LuCP 2024

TL;DR

This paper introduces a novel hybrid search framework that combines the speed of local search (LS) with the reasoning power of unit propagation (UP) to tackle complex optimization problems like MaxSAT and Pseudo-Boolean Optimization (PBO). By intelligently invoking UP when LS gets stuck in local optima, the method significantly improves the performance of existing solvers, finding better solutions more efficiently.

What Problem Does This Paper Address?

Combinatorial optimization problems, such as Maximum Satisfiability (MaxSAT) and Pseudo-Boolean Optimization (PBO), are ubiquitous in various real-world applications. Two primary approaches exist for solving these problems: local search (LS) and systematic search. LS methods are fast and effective at finding good solutions but often get trapped in local optima due to their limited reasoning capabilities. Systematic search, on the other hand, uses powerful reasoning techniques like unit propagation (UP) to avoid local optima but can be prohibitively slow for large instances. This paper addresses the challenge of combining the strengths of both approaches – the speed of LS and the reasoning power of UP – to overcome their individual limitations and achieve better overall performance.

Methods

The core innovation of this work is a "deep cooperation" framework between local search and unit propagation. The proposed method augments existing local search solvers with a mechanism to detect when the search is stuck in a local optimum. When this occurs, a unit propagation procedure is invoked. This procedure, termed "FlipUP," intelligently flips a variable and then uses unit propagation to derive further assignments, effectively guiding the search into a potentially better region of the search space. A crucial aspect is the "acceptance criteria," which determines whether the new assignment found via UP is an improvement and should be accepted. If the new assignment is worse, the algorithm backtracks. This hybrid approach aims to leverage UP not as a full-blown solver, but as a strategic tool to help LS escape local traps and explore more promising areas of the solution space.

Datasets

The authors evaluated their approach on a diverse set of benchmarks, including:

  • MaxSAT Evaluations benchmarks: Specifically, the MSE19-MSE23 datasets from the last five years.
  • PBO competition benchmarks: CRAFTED, MIPLIB, and PB16.
  • Industry benchmarks: A collection of real-world problems like the seating arrangement problem (SAP), wireless sensor network optimization problem (WSNO), and minimum-width confidence band problem (MWCB).

Key Insights and Ideas

  • UP as a "local optimum escape" tool: The most significant insight is using unit propagation not for complete search, but as a targeted intervention to help local search break free from local optima. This is a novel integration of UP within an LS framework.
  • Intelligent invocation of UP: The framework doesn't call UP constantly. Instead, it uses a "stuck detection" mechanism, making UP calls strategic and efficient.
  • Acceptance criteria are crucial: Simply accepting any assignment found by UP can lead to worse solutions. The proposed acceptance criteria, based on the objective function (Punishment), are vital for ensuring that UP actually leads to improvements.
  • Balancing speed and reasoning: The method demonstrates that a careful balance between the speed of LS and the reasoning power of UP can yield substantial performance gains without sacrificing too much efficiency.

Key Results

The proposed hybrid method significantly improved the performance of four state-of-the-art solvers (LS-PBO, NuPBO, SATLike3.0, and NuWLS) across various benchmarks. Key quantitative findings include:

  • Increased winning instances: The hybrid versions of the solvers consistently won more instances compared to their original counterparts. For example, in the MSE benchmarks, NuWLS saw an increase in winning instances from 74 to 75 (MSE19) and from 61 to 61 (MSE23), with a notable jump in #win for SatLike3.0 on MSE23 from 61 to 48.
  • Improved average scores: The average scores across benchmarks were generally higher for the hybrid solvers. For instance, NuWLS achieved an average score of 0.8322 on MSE19 with the hybrid approach, compared to 0.7963 for the original.
  • Acceptance rate: The acceptance criteria resulted in an acceptance rate of approximately 30-40% of UP attempts, indicating a good balance between exploration and exploitation.
  • Time overhead: The overhead for calculating UPList and performing backtracking was around 15-20% of the cutoff time, which had a limited impact on overall performance.

Limitations and Future Work

  • Sensitivity to parameters: While the algorithm showed robustness, the paper mentions that parameters like kmin, kmax, n2, and final_steps influence performance. Further tuning might be beneficial for specific problem classes.
  • Deterioration in specific cases: In some instances (e.g., MSE23 for NuWLS), the hybrid version showed a slight score decrease. The authors attribute this to the slower nature of UP-implemented iterations, which can delay finding a feasible solution in time-critical scenarios.
  • Future work: The authors suggest that this framework is promising and can be extended to other local search algorithms by designing appropriate stuck-detection mechanisms. Further exploration of the interplay between UP and LS, especially in the context of different problem structures, is also a natural direction.

Summary updated

Abstract

Local search (LS) is an efficient method for solving combinatorial optimization problems such as MaxSAT and Pseudo Boolean Problems (PBO). However, due to a lack of reasoning power and global information, LS methods get stuck at local optima easily. In contrast to the LS, Systematic Search utilizes unit propagation and clause learning techniques with strong reasoning capabilities to avoid falling into local optima. Nevertheless, the complete search is generally time-consuming to obtain a global optimal solution. This work proposes a deep cooperation framework combining local search and unit propagation to address their inherent disadvantages. First, we design a mechanism to detect when LS gets stuck, and then a well-designed unit propagation procedure is called upon to help escape the local optima. To the best of our knowledge, we are the first to integrate unit propagation technique within LS to overcome local optima. Experiments based on a broad range of benchmarks from MaxSAT Evaluations, PBO competitions, the Mixed Integer Programming Library, and three real-life cases validate that our method significantly improves three state-of-the-art MaxSAT and PBO local search solvers.
BibTeX
@inproceedings{chen2024deep,
  author = {Xiamin Chen and Zhendong Lei and Pinyan Lu},
  title = {{Deep Cooperation of Local Search and Unit Propagation Techniques}},
  booktitle = {CP},
  year = {2024},
  url = {https://openreview.net/forum?id=WdLf4J8BUq},
}
Figure