Improved Algorithms for Maximum Satisfiability and Its Special Cases

Kirill Brilliantov, Vasily Alferov, Ivan BliznetsAAAI 2023

Abstract

The Maximum Satisfiability (MAXSAT) problem is an optimization version of the Satisfiability problem (SAT) in which one is given a CNF formula with $n$ variables and needs to find the maximum number of simultaneously satisfiable clauses. Recent works achieved significant progress in proving new upper bounds on the worst-case computational complexity of MAXSAT. All these works reduce general MAXSAT to a special case of MAXSAT where each variable appears a small number of times. So, it is important to design fast algorithms for $(n,k)$-MAXSAT to construct an efficient exact algorithm for MAXSAT. $(n,k)$-MAXSAT is a special case of MAXSAT where each variable appears at most $k$ times in the input formula. For the $(n,3)$-MAXSAT problem, we design a $O^*(1.1749^n)$ algorithm improving on the previous record running time of $O^*(1.191^n)$. For the $(n,4)$-MAXSAT problem, we construct a $O^*(1.3803^n)$ algorithm improving on the previous best running time of $O^*(1.4254^n)$. Using the results, we develop a $O^*(1.0911^L)$ algorithm for the MAXSAT where $L$ is a length of the input formula which improves previous algorithm with $O^*(1.0927^L)$ running time.

Introduction

The Maximum Satisfiability (MAXSAT) problem is a fundamental NP-hard optimization challenge in computer science. Unlike the standard SAT problem, which seeks a binary answer to whether a formula is satisfiable, MAXSAT aims to determine the maximum number of clauses that can be satisfied by any single assignment. This makes it a critical problem for various applications in artificial intelligence, operations research, and formal verification.

In recent years, the focus of exact exponential algorithm research has shifted toward refining the upper bounds of MAXSAT's worst-case complexity. A prevalent strategy involves decomposing general MAXSAT instances into simpler sub-problems known as $(n, k)$-MAXSAT, where each variable appears at most $k$ times. Because these low-frequency instances often represent the computational bottleneck for general solvers, improving the efficiency of $(n, 3)$-MAXSAT and $(n, 4)$-MAXSAT algorithms directly translates to faster overall performance for the general problem.

Methodology: Measure-and-Conquer

The authors utilize a sophisticated branch-and-bound framework analyzed through the measure-and-conquer technique. A key innovation in this work is the use of a non-standard complexity measure termed discounted length ($d$).

Traditional analysis often relies on the total number of variables ($n$) or the total length of the formula ($L$). However, the discounted length measure assigns varying weights to variables based on their degree (frequency of appearance). This allows for a more granular tracking of how the problem's complexity reduces as high-degree variables are branched upon.

The algorithmic process is divided into two main components:

  1. Reduction Rules (R-Rules): These are polynomial-time transformations that simplify the formula. The authors introduce several new rules, including a novel literal deletion rule (R-Rule 6), which helps maintain the efficiency of the branching process.
  2. Branching Rules (B-Rules): When reduction rules no longer apply, the algorithm branches on variables. The strategy prioritizes variables with higher degrees, systematically reducing the formula from degree 6 down to degree 3.

Key Results and Improvements

The refined branching strategies and the use of the discounted length measure allowed the authors to establish new state-of-the-art upper bounds for several MAXSAT variants.

$(n, 3)$-MAXSAT and $(n, 4)$-MAXSAT

For the $(n, 3)$-MAXSAT problem, the running time was improved to $O^*(1.1749^n)$, surpassing the previous record of $O^*(1.191^n)$. Similarly, for $(n, 4)$-MAXSAT, the bound was tightened from $O^*(1.4254^n)$ to $O^*(1.3803^n)$.

Comparison of running times for (n,3)-MAXSAT across different research papers.

General MAXSAT

These improvements in restricted cases cascaded into a new record for general MAXSAT when parameterized by the formula length $L$. The complexity was reduced to $O^*(1.0911^L)$, an improvement over the previous $O^*(1.0927^L)$.

Comparison of running times for general MAXSAT parameterized by formula length L.

Conclusion

This paper demonstrates that significant gains in theoretical complexity can still be achieved by refining branching rules and employing more precise analytical measures. By tightening the bounds for $(n, 3)$ and $(n, 4)$ instances, the authors have shifted the theoretical bottleneck for future research toward $(n, 5)$-MAXSAT. While these results are primarily theoretical, the new reduction rules offer potential for integration into practical, high-performance MAXSAT solvers to enhance their preprocessing capabilities.

Summary updated

BibTeX
@inproceedings{brilliantov2023improved,
  author = {Kirill Brilliantov and Vasily Alferov and Ivan Bliznets},
  title = {{Improved Algorithms for Maximum Satisfiability and Its Special Cases}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=LV243hNyXx},
}
Figure