TL;DR
This paper explores Horn MaxSAT—a specialized subclass of the Maximum Satisfiability problem where formulas are restricted to Horn clauses. The authors demonstrate that a wide variety of classic optimization problems naturally reduce to Horn MaxSAT and introduce a novel hitting-set-based algorithm (HMaxHS) that leverages linear-time decision procedures to achieve automatic problem abstraction and significant performance gains.
What Problem Does This Paper Address?
Maximum Satisfiability (MaxSAT) solvers have seen massive performance leaps over the last decade. However, most state-of-the-art tools target generic MaxSAT formulations. Dedicated solvers designed for specific structural subclasses of MaxSAT have been largely overlooked.
The authors focus on Horn MaxSAT, where every clause contains at most one positive literal. While determining the satisfiability of a Horn formula is easy—it can be solved in linear time—finding the maximum number of satisfiable Horn clauses (the MaxSAT variant) is NP-hard. This paper addresses two main questions:
- Can we exploit the efficiency of linear-time Horn decision procedures to build faster, specialized optimization solvers?
- How widely applicable is Horn MaxSAT for encoding real-world decision and optimization problems?
Methods
The paper advances both the theory of problem reduction and practical algorithm design:
- Horn Reductions: The authors provide polynomial-time reductions from several classic graph and set problems to Horn MaxSAT, including Minimum Vertex Cover, Maximum Independent Set, Maximum Clique, Minimum Dominating Set, and the Knapsack problem. Crucially, they observe that standard CNF encodings for cardinality constraints (like $AtMostk$) and certain pseudo-Boolean constraints are composed exclusively of Horn clauses.
- The HMaxHS Algorithm: They propose a specialized solver based on the Implicit Hitting Set (MaxHS) framework. Instead of relying on a standard, heavy-duty SAT solver to find unsatisfiable cores,
HMaxHSutilizesLTUR(a simplified linear-time unit resolution algorithm). This allows the solver to check satisfiability and extract Minimal Unsatisfiable Subsets (MUSes) in polynomial time. - Automatic Abstraction: The hitting-set architecture allows the solver to automatically identify key structural bottlenecks in a problem and ignore ("abstract away") large amounts of irrelevant data, preventing an exponential explosion in solver iterations.
Datasets
The authors evaluated their approach using two distinct benchmark sets:
- Pigeonhole Principle (PHP) Instances: A set of 46 instances where the number of holes scaled from 10 to 100. PHP is a classic benchmark known for being exceptionally difficult for standard SAT solvers.
- Structured Graph Instances: A set of 100 synthetic graph instances specifically engineered to evaluate Maximum Independent Set (MaxIS) and Minimum Vertex Cover (MinVC) problems. These graphs are parameterized by a central clique of size $k$ connected to outer vertices of size $m$.
Key Insights and Ideas
- Horn Encodings are Ubiquitous: A key "aha moment" is the realization that many popular constraint encodings (such as totalizers, sorting networks, and sequential counters) naturally yield pure Horn formulas. This means a massive variety of bounded optimization problems can be fed into a Horn MaxSAT solver without complex re-encoding.
- Cheap Core Extraction: In general MaxSAT, finding a minimal unsatisfiable core is computationally expensive. In the Horn domain, it is a polynomial-time operation. This asymmetry makes core-guided and hitting-set algorithms uniquely powerful for Horn MaxSAT.
- Bypassing Worst-Case Complexity via Abstraction: On highly structured graphs, the
HMaxHSalgorithm naturally groups constraints. It can abstract away thousands of irrelevant clauses simultaneously, allowing it to solve large-scale problems in far fewer iterations than the worst-case exponential upper bound suggests.
Key Results
- Solver Comparison: The authors evaluated implicit hitting set solvers (like MaxHS and LMHS) against core-guided solvers (OpenWBO16, WPM3, MSCG, Eva). Solvers belonging to the MaxHS family, alongside
OpenWBO16, dominated the benchmarks. - Conquering PHP: While standard propositional encodings of the Pigeonhole Principle defeat traditional SAT solvers, the proposed Horn MaxSAT encoding scaled remarkably well when paired with hitting-set-based algorithms.
- Abstraction Validation: Empirical tracking of the solver iterations (#I) against the theoretical upper bound (UB) proved that the abstraction mechanism works in practice. The actual number of iterations required to find an optimal solution was consistently and significantly lower than the worst-case limits, confirming that the solver successfully discards irrelevant problem components.
Limitations and Future Work
- Preliminary Evaluation: The experimental validation relies primarily on synthetic benchmarks (PHP and specific graph topologies). Testing on a broader, more diverse set of real-world industrial optimization problems is necessary to fully prove the solver's real-world viability.
- Prototype Implementation: The paper introduces the algorithmic framework, but the authors note that highly optimized, production-ready implementations of
HMaxHSare still required to maximize performance. - Alternative Paradigms: Future work includes exploring alternative algorithmic approaches to Horn MaxSAT that move beyond the implicit hitting set family.
Summary updated