Resolution Over Counts: MaxSAT Resolution on Abstract Cores

Many real optimization problems can be written as weighted MaxSAT: a set of logical clauses, some of which carry a penalty if violated, where the solver must find the assignment with the lowest total penalty. One family of solvers proves lower bounds by weighted resolution, a logical rule that moves penalty weight around the formula without changing the cost of any assignment. When weight lands on the empty clause, which every assignment violates, that weight is a guaranteed lower bound. These solvers keep all reasoning inside the SAT solver and produce a derivation that can be checked. Their weakness shows up on problems full of near-identical conflicts. On such problems the solver finds and resolves unsatisfiable cores one at a time, where a core is a small set of penalized clauses that cannot all be satisfied together, and there can be exponentially many of them. A different line of work removed this bottleneck with a succinct representation. It groups interchangeable soft clauses and introduces "count variables" meaning "at least $k$ of this group are violated," so a single abstract core stands in for an exponential family of concrete ones. So far, though, those abstract cores have only been handed to an external integer linear programming (ILP) solver.

This note proposes a weighted resolution rule whose premises are abstract cores. The count variables are treated as defined literals that the rule can move cost onto and off of, so that one resolution step consumes an entire family of symmetric cores. The step is exactly cost-preserving and adds compensation clauses linear in the group size. It needs no ILP solver, and every step can be checked by a small independent tool. The claim to test is concrete: a core-guided resolution solver using this rule should recover most of the benefit that abstraction brought to hitting-set solvers, while remaining a pure resolution system with a checkable lower-bound derivation.

Background and Position

Weighted resolution in the cost-redistribution sense comes from Resolution in Max-SAT and its relation to local consistency in weighted CSPs. That paper showed that resolving weighted clauses, while subtracting the transferred weight from the parents and adding compensation clauses, can replace procedural lower bounds inside branch-and-bound. It also showed that restricted forms of the rule coincide with soft node and arc consistency. The Logic Behind Weighted CSP proved such a calculus sound and complete. These papers supply the correctness notion we reuse: a transformation is valid if every assignment keeps its total cost.

Two papers supply the mechanisms we combine. Maximum Satisfiability Using Core-Guided MaxSAT Resolution (PMRes, implemented in the solver EVAC) applies MaxSAT resolution to each concrete core. It introduces auxiliary reification variables so that compensation clauses grow linearly rather than quadratically in core size. It does not group cores, so symmetric cores are still resolved one by one. Abstract Cores in Implicit Hitting Set MaxSat Solving groups the blocking variables of soft clauses into abstraction sets, defines count variables $ab.c[k]$, and feeds abstract cores to an ILP solver. It uses no resolution calculus, and the authors report that poor clustering adds variables that slow the ILP. Our proposal takes the abstraction sets and count variables from the second paper and the linear-compensation resolution step from the first. The count variables then play the role that EVAC's reification variables played.

Two further papers constrain the design. Analysis of Core-Guided MaxSat Using Cores and Correction Sets shows that the cores found implicitly by the PM1 algorithm carry the same optimality guarantees as those extracted by hitting-set solvers. It explicitly leaves resolution-based PMRes and RC2 unanalyzed, because key invariants may not hold, and compressed core systems are therefore uncharacterized. Our rule is an explicit cost-preserving identity, which makes its derivations checkable by construction, and this is the certification gap we target. Augmenting the Power of (Partial) MaxSat Resolution with Extension shows that introducing new defined variables into MaxSAT resolution keeps it sound and can shorten proofs exponentially. We rely on this result to justify count variables as extension-like definitions. We do not claim to automate its manually designed pigeonhole refutations.

Core Claim

Let $ab = \{b_1,\dots,b_n\}$ be the blocking variables of a group of soft clauses that all have weight $w$. Here $b_i$ is true when soft clause $i$ is violated. Let $c[j]$ be a count variable that hard, totalizer-style definitional clauses force to be true exactly when $\sum_i b_i \ge j$. Then for every assignment,

$$ w\sum_{i=1}^{n} b_i \;=\; w\sum_{j=1}^{n} c[j], $$

since both sides count violated clauses in the group. If an abstract core establishes $c[k]$ as a hard consequence, cost $w\,k$ moves to the empty clause, and the residual soft cost sits on $c[k+1],\dots,c[n]$.

The general abstract core is a disjunction $c_1[k_1]\lor\dots\lor c_m[k_m]$ over several abstraction sets. For this case we define abstract MAXRES. It applies PMRes's compressed resolution step with the soft literals $\neg c_g[k_g]$ in place of concrete blocking literals. It transfers the minimum weight to the empty clause and generates $O(m)$ compensation clauses over count variables. The central proposition we will prove is that one such step has the same effect on every assignment's cost as resolving the whole family of concrete cores the abstract core represents. That family can be exponential in the group sizes.

We are candid about a close relative. The single-group identity above is also the idea behind the cardinality relaxations used by solvers such as RC2. What is new here is three things together. The rule operates on multi-group abstract cores produced by weight-aware clustering. It is stated and verified as a resolution step with explicit compensation clauses. And it runs inside a pure resolution solver with no ILP. Whether the resolution framing buys speed beyond certification is an empirical question, and the experiments below are designed to settle it.

Research Program

The theory component states the rule for partial weighted MaxSAT, including groups with unequal weights handled by weight splitting, and proves soundness and cost preservation. It also proves the family-equivalence proposition and gives a size bound on the compensation clauses.

The systems component builds a PMRes-style solver in which the SAT oracle may return either concrete cores or abstract cores over count variables. Abstraction sets are formed with the co-occurrence and weight clustering described for maxhs-abs. Totalizer outputs are built lazily, only up to the bounds cores actually require.

The certification component logs every rule application. A small checker then verifies, independently of the solver, that the final empty-clause weight is a valid lower bound. This provides the explicit certificate that Analysis of Core-Guided MaxSat Using Cores and Correction Sets notes is missing for compressed core systems.

Baselines

The naive reference point is our own solver with abstraction turned off. That configuration is concrete compressed MAXRES as in Maximum Satisfiability Using Core-Guided MaxSAT Resolution, reimplemented on the same SAT backend. It is the right floor because it differs from the proposal only in whether cores are abstracted. On the 2013 Max-SAT Evaluation industrial suite, that paper reports that EVAC solved 877 instances, against 761 for wpm2 and 733 for msunc. We will rerun the reimplementation on the 2013 suite to confirm it is faithful before trusting it as a baseline on MSE 2019.

The strongest existing method on the abstraction question is maxhs-abs from Abstract Cores in Implicit Hitting Set MaxSat Solving. On the MSE 2019 complete track it reports 433 of 586 unweighted instances solved (438 with core exhaustion) and 379 of 599 weighted instances, against 397 and 361 for plain maxhs. It is the right competitor because it uses exactly the same abstraction sets and differs only in how they are consumed: by an ILP solver rather than by resolution. It will be run with its published configuration, on the same hardware and per-instance time and memory limits, with no additional tuning on either side. Our solver's clustering parameters will be tuned only on a held-out subset of MSE 2019 families.

We also include RC2, which that paper reports maxhs-abs surpassed. The file gives no instance count for RC2 on MSE 2019 (no reported result found on Lacuna for RC2 there), so we will measure it ourselves under identical limits.

The key ablation keeps the count variables and the clustering but replaces abstract MAXRES with a plain cardinality relaxation that has no compensation-clause bookkeeping. This isolates whether the resolution step itself matters. The proposal beats the field if it solves significantly more MSE 2019 instances than concrete PMRes, and if it matches or exceeds maxhs-abs on at least the unweighted track while emitting derivations the checker accepts. Should it match the ablation only in solved count, the contribution narrows to certification, and we would report it that way.

Why not just…?

Why not just use RC2-style cardinality relaxation? This is the real threat, because the single-group identity is shared. Older evidence favors resolution over cardinality networks: in Maximum Satisfiability Using Core-Guided MaxSAT Resolution, EVAC solved 126 more industrial instances than the next best non-MAXRES solver. However, those comparisons predate RC2. Our ablation and the direct RC2 runs settle the question. If they tie on solved instances, the remaining advantage is the checkable derivation and the multi-group abstract cores, and we would not claim a speed win.

Why not just use maxhs-abs and accept the ILP? It already works well, with 433 unweighted instances solved on MSE 2019. Its own authors report, though, that poor clustering inflates the ILP. Its lower bounds also come from an external optimizer rather than a checkable logical derivation. Head-to-head results on the families where maxhs-abs gains most over maxhs will show whether resolution can consume the same abstractions as effectively.

Why not just add extension or dual-rail tricks for symmetric problems? Augmenting the Power of (Partial) MaxSat Resolution with Extension and MaxSAT Resolution With the Dual Rail Encoding do handle pigeonhole-type symmetry: MaxResE refutes pigeonhole with 75 holes in under 20 seconds, and dual-rail MaxHS reaches $m=100$ on doubled pigeonhole. But MaxResE's refutations are hand-built, and dual-rail's results depend on manually removing harmful clauses. Neither is an automatic mechanism for industrial MaxSAT. We treat them as orthogonal and run them on the crafted suite described below.

Proposed Experiments

The main evaluation is the MSE 2019 complete track, 586 unweighted and 599 weighted instances, under the same limits used by maxhs-abs. We report solved counts, runtime profiles, the number of SAT oracle calls, the number of cores extracted, and peak formula size. We add the 2013 industrial suite to validate the PMRes reimplementation, with special attention to the sean-safarpour family and its very large cores. A crafted suite of pigeonhole and doubled-pigeonhole instances tests the prediction that abstract MAXRES reduces core extraction from exponential to polynomial in $m$ on symmetric instances. MaxResE and dual-rail figures serve as reference points on this suite, not as competitors.

The decisive checks are three. First, on symmetric families, the number of cores extracted by our solver should grow far more slowly than for concrete PMRes, and the empty-clause weight should agree with it on every instance solved by both. Second, the rule-free ablation should trail the full method on solved instances. If it does not, the performance claim fails. Third, the checker must accept every logged derivation, and deliberately corrupted logs must be rejected.