Resolution-Derived Overlapping Conflicts for Clique Upper Bounds

Exact solvers for the maximum clique problem work by branch and bound. They search a tree of partial solutions and discard a subtree whenever a quick upper bound shows it cannot beat the best clique found so far. The standard bound colors the candidate vertices so that no two adjacent vertices share a color. A clique can use at most one vertex per color, so the number of colors caps the clique size. The strongest solvers tighten this bound with reasoning borrowed from maximum satisfiability (MaxSAT: find an assignment that violates as few weighted constraints as possible). They treat each color class as a soft constraint, find small groups of color classes that cannot all contribute a vertex, and subtract one from the bound per group. These groups must be disjoint: once a color class is used to explain one conflict, it cannot help explain another. That restriction is exactly what the MaxSAT community has recently shown to be the main source of loose bounds.

We propose to remove the disjointness restriction in clique bounding with MaxSAT resolution, the proof rule that moves weight between constraints while keeping the optimal cost unchanged, rather than with bookkeeping. When a conflicting group of color classes is found, we do not lock it. We resolve it. The group's weight goes into the bound, and the rule leaves behind "compensation" constraints over the same vertices, which can take part in later conflicts. Every step is an equivalence-preserving rewrite, so the bound stays sound however much the conflicts overlap. The rewritten constraint set is also valid for every child of the node, so children inherit it instead of recomputing it. That inheritance is what we hope will pay for the extra reasoning on the sparse graphs where MaxSAT-style bounds currently lose.

Core Claim

Take a search node with candidate vertices partitioned into independent sets $S_1,\dots,S_k$, where no two vertices in the same set are adjacent. Encode each $S_i$ as a soft clause "some vertex of $S_i$ is chosen" with weight 1, and each non-edge $(u,v)$ as a hard clause $\neg u \lor \neg v$. The largest clique in the candidate set then equals $k$ minus the minimum number of violated soft clauses. MaxSAT resolution applied to any set of soft clauses that unit propagation proves jointly inconsistent adds their minimum weight to the empty clause $\square$ and produces compensation clauses without changing the cost of any assignment. The bound is therefore

$$UB = k - w(\square),$$

where $w(\square)$ is the total weight pooled into the empty clause after a sequence of such rewrites. This bound is always sound. It can only be at least as tight as the disjoint bound computed by the same detection procedure, because the first disjoint core yields the same deduction and later detection runs on a strictly richer clause set. Our claim is that this resolution-based bound, computed incrementally down the tree, prunes substantially more nodes than disjoint inconsistent-subset reasoning. It should do so at a per-node cost low enough to be competitive on sparse graphs, not only dense ones.

Where This Sits

The problem is motivated by two lines of work. An Efficient Branch-and-Bound Algorithm Based on MaxSAT for the Maximum Clique Problem introduced the independent-set encoding. It detects disjoint inconsistent subsets with unit propagation and failed-literal detection, reaching pruning rates up to 93% on dense graphs and solving p_hat1000-3 exactly for the first time. It also reports that on graphs below density 0.7, simpler coloring solvers such as MCR are faster, because the reasoning costs more than it prunes. A Two-Stage MaxSAT Reasoning Approach for the Maximum Weight Clique Problem extends this to vertex weights with a procedural weight-splitting step, followed by a search restricted to conflicts among pairs and triples of independent sets. Both remain limited either to disjoint conflicts or to fixed small conflict shapes.

The most direct motivation comes from MaxSAT itself. Improving the Lower Bound in Branch-and-Bound Algorithms for MaxSAT showed that the disjointness constraint makes MaxSAT lower bounds pessimistic. Its fix "unlocks" clauses of a core once the search falsifies one of that core's literals, tracked by per-clause locked and remaining weights, and it runs this logic only when a cheap bound fails to prune. This raised solved instances from 1,397 to 1,427 (unweighted) and from 1,416 to 1,446 (weighted) on MaxSAT Evaluation 2019–2023. The authors name maximum clique and upper-bound computation as future directions. Our work answers that call with a different mechanism. Their unlocking waits for branching to falsify a literal and generates no clauses. Ours makes overlap available inside a single node, through derived clauses that persist into the subtree. We borrow their two-stage gating unchanged.

The method comes from the weighted resolution literature. Resolution in Max-SAT and its relation to local consistency in weighted CSPs defines the cost-preserving resolution rule. The Logic Behind Weighted CSP establishes soundness and completeness of cost redistribution. Maximum Satisfiability Using Core-Guided MaxSAT Resolution supplies Compressed MAXRES, which uses auxiliary variables to cut compensation clauses from $O(n^2)$ to $O(n)$ per core. That paper used the rule inside an iterative SAT-oracle loop, not inside a tree search, and never on a graph encoding. Combining Clause Learning and Branch and Bound for MaxSAT constrains our design in two ways. Its lookahead cores are still disjoint. Its probabilistic probing reminds us that detection cost must be rationed. Optimal Soft Arc Consistency constrains us in another way: it shows that the optimal fractional redistribution comes from a linear program, which is too expensive to solve at every node. Our resolution sequence is a cheap, greedy, integer approximation of that ideal.

Research Program

The first component is the node-level bound. At each node we build a greedy independent-set partition, as MaxCLQ does. We then run unit propagation from each soft clause to find an inconsistent subset. Each subset found is resolved with Compressed MAXRES rather than locked. The resulting compensation clauses are wider than independent sets, since they are disjunctions over vertices of several sets plus auxiliary variables, so unit propagation must handle general clauses rather than the specialized independent-set structure. We will implement a propagation engine with watched literals over this mixed clause store and measure what the generality costs.

The second component is inheritance down the tree. The rewritten formula at a node is cost-equivalent to the original under that node's candidate set. Branching on a vertex only adds assignments, so the child can start from the parent's rewritten formula, conditioned on the new assignment, and keep the accumulated $w(\square)$ minus whatever the conditioning invalidates. In practice this means deleting clauses satisfied by the branch and re-deriving only the parts whose supports changed. We will characterize exactly when an inherited empty-clause weight survives conditioning, and we will measure the fraction retained per level. We regard this as the component most likely to decide the sparse-graph question.

The third component is weight. For maximum weight clique we replace unit soft weights by the maximum vertex weight in each set. The resolution rule then subsumes the weight splitting of the two-stage approach: splitting a vertex's weight across sets is a special case of cost redistribution. We will verify that our bound is never looser than two-stage splitting on the same partition.

The fourth component is gating. Following the two-stage lookahead of the Unlock work, the cheap disjoint bound runs first, and resolution runs only when that bound fails to prune.

Baselines

The naive reference point is a pure greedy-coloring branch and bound with no MaxSAT reasoning, in the style of MCR as described in the MaxCLQ paper. It shows whether any reasoning pays off, especially on sparse graphs, where the MaxCLQ paper found that it often does not.

The strongest existing unweighted competitor is disjoint inconsistent-subset reasoning as in An Efficient Branch-and-Bound Algorithm Based on MaxSAT for the Maximum Clique Problem. We will reimplement it inside our own code base so that partitioning, branching order, and data structures are identical and only the bounding rule differs. Beating it means solving more DIMACS instances within the time limit and lowering the median node count on instances both solve, without losing on the sparse families. The reported figure to calibrate against is its pruning rate of up to 93% on dense graphs.

The strongest weighted competitor is TSM-MWC A Two-Stage MaxSAT Reasoning Approach for the Maximum Weight Clique Problem. It reports solving 47 hard instances among 215 Network Data Repository graphs, and 82 kidney-exchange instances against 69 for MWCLQ. We will run its released solver, if obtainable, and a faithful reimplementation of its two stages inside our code. Beating it means solving more than 47 of the massive graphs and more than 82 kidney-exchange instances under the same time limit and hardware, or matching those counts with smaller trees.

The key ablation ports the Unlock mechanism of Improving the Lower Bound in Branch-and-Bound Algorithms for MaxSAT to the clique encoding. Conflicts are locked, then released when branching falsifies a vertex, with no compensation clauses. This isolates the proposal's actual ingredient, derived clauses versus procedural release. No reported result was found on Lacuna for Unlock applied to clique problems, so we must build it ourselves. Two further ablations remove inheritance, so that every node is recomputed from scratch, and replace Compressed MAXRES with uncompressed resolution. These show how much of any gain comes from reuse and from avoiding quadratic growth in compensation clauses. All variants share branching, preprocessing, one tuning pass on a held-out subset of instances, and identical CPU limits.

Why not just…?

Why not just port the Unlock mechanism to clique solvers? This is the most serious threat, and it is why the port is our central ablation rather than a straw man. Unlocking frees weight only after the search falsifies a literal on the current path, so within a single node the bound it reports is still a disjoint one. Our rewrite frees weight immediately, through compensation clauses. If the ported Unlock matches our node counts and runtimes, the derived clauses add nothing. We would then report the port itself as the contribution, which answers the direction the Unlock authors left open.

Why not just extend two-stage weight splitting to larger conflict shapes? Two-stage reasoning looks only at pairs and triples of independent sets, because enumerating larger shapes is prohibitively expensive, as the TSM-MWC paper itself notes. Resolution driven by unit propagation finds conflicts of any size without enumerating shapes. Our experiments test whether that generality buys pruning on the weighted benchmarks beyond what triples already capture. The paper's order-of-magnitude tree reduction on winner-determination graphs sets a high bar here.

Why not just hand the MaxSAT encoding to a core-guided solver? Maximum Satisfiability Using Core-Guided MaxSAT Resolution shows that core-guided resolution is strong in general MaxSAT. But the independent-set encoding is rebuilt at every node from a graph-specific partition, and the MaxCLQ results show that dedicated branch and bound beats generic solvers on clique structure. We will include EVAC-style solving of the root encoding as a secondary reference to confirm this on our benchmarks.

Why not just compute the optimal fractional bound with linear programming? Optimal Soft Arc Consistency gives the tightest cost-redistribution bound, but in practice it serves as a preprocessing step because solving linear programs at every node is too slow. We will compute this bound at sampled nodes only as a diagnostic. It tells us how much of the gap between the fractional optimum and the disjoint bound our greedy resolution closes.

Proposed Experiments

The benchmarks are the DIMACS clique suite, used by MaxCLQ, for unweighted clique, and three sets used by TSM-MWC for weighted clique: the 215 sparse Network Data Repository graphs, and the winner-determination, error-correcting-code, and kidney-exchange sets. Lacuna returned no dataset resource entries for these, so we will obtain them from their original distributions. The metrics are instances solved to optimality within the time limit, search-tree nodes, time per node, and the gap between the bound and the optimum at the root and at sampled depths.

Three checks would decide the question. The first is whether the resolution bound beats the ported Unlock on node count at equal partitions; if not, derived clauses are unnecessary. The second is whether, with inheritance enabled, the resolution solver stops losing to the plain coloring solver below density 0.7. That is the regime where MaxSAT reasoning has historically failed, and success there would be the clearest sign of a new capability. The third is whether the weighted variant solves more than TSM-MWC's reported 47 massive graphs and 82 kidney-exchange instances. We will also report the fraction of inherited empty-clause weight that survives each branching step. If that fraction is near zero, inheritance does not work, and the sparse-graph claim fails for a reason we can name.