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

Analyzing Reformulation Performance in Core-Guided MaxSAT Solving

André Schidler, Stefan SzeiderSAT 2025

TL;DR

This paper introduces a novel graph-based representation (OLL DAG) to analyze how different reformulations of a MaxSAT problem impact solver performance. By studying over 600,000 reformulations, they found that structural properties of these DAGs, particularly path lengths, strongly correlate with solving time, offering a new avenue for designing more efficient MaxSAT solvers.

What Problem Does This Paper Address?

The Maximum Satisfiability (MaxSAT) problem is a crucial extension of the Boolean Satisfiability (SAT) problem, finding applications in diverse fields like software analysis and computer-aided design. Core-guided algorithms, such as OLL, are highly effective for solving MaxSAT. However, their performance can vary significantly due to the way they reformulate the problem into a series of SAT instances. While the general effectiveness of OLL is known, a detailed understanding of why certain reformulations lead to better or worse performance has been missing. This paper aims to bridge this gap by systematically analyzing the impact of these reformulations on solver runtime, isolating this factor from other performance influences.

Methods

The core contribution of this paper is the introduction of the OLL DAG (Directed Acyclic Graph). This graph represents the sequence of reformulations performed by the OLL algorithm. Each node in the DAG corresponds to a core extracted during the solving process, and edges represent relationships between cores and the objective variables they involve. The authors then define a suite of graph-theoretic metrics to quantify the "complexity" of these OLL DAGs. These metrics include:

  • Number of cores: The total number of cores extracted.
  • Depth: The maximum length of a source-sink path in the DAG.
  • Width: The size of the largest antichain in the subgraph induced by cores.
  • In-degrees and Out-degrees: Related to the number of connections and core sizes.
  • Path metrics: Lengths and counts of paths within the DAG.
  • Interconnectedness: A measure of how nodes are connected.

They developed an experimental framework to generate a large number of OLL DAGs by systematically varying heuristic configurations (e.g., core minimization, stratification) and SAT solver parameters. This allowed them to collect extensive data on the relationship between OLL DAG properties and solver runtime.

Datasets

The experiments were based on the MaxSAT Evaluation 2023 instance set, which includes 572 unweighted and 558 weighted instances. The authors generated over 100,000 OLL DAGs and collected over 600,000 runtime samples across these DAGs.

Key Insights and Ideas

  • OLL DAG as a Complexity Measure: The OLL DAG provides a powerful abstraction to analyze the complexity introduced solely by the reformulation process, independent of specific SAT solver implementations or heuristic choices.
  • Path Length is King: The number of root-leaf paths in the OLL DAG emerged as the strongest indicator of runtime. Longer paths (more reformulations) generally lead to higher runtimes.
  • Interconnectedness Matters: Graph interconnectedness also showed a significant correlation with runtime, suggesting that densely connected DAGs are harder to solve.
  • Core Exhaustion's Nuance: The negative correlation between the number of cores and runtime for unweighted instances is intriguing. It suggests that while core exhaustion might increase the number of cores, it can also lead to more complex structures that increase runtime.
  • Heuristic Impact on Structure: The study provides insights into how different heuristics (like core minimization and stratification) influence the structure of the OLL DAG, opening doors for heuristic design that targets simpler DAGs.

Key Results

  • The study analyzed over 600,000 OLL DAGs and their associated performance data.
  • Path metrics (specifically, the average number of source-sink paths) showed the highest correlation with runtime for both unweighted and weighted instances.
  • Interconnectedness also demonstrated a strong correlation with runtime.
  • The width of the OLL DAG showed a surprisingly weak correlation with runtime, contrary to initial expectations.
  • The analysis of failed runs indicated that low average cost combined with a simple OLL DAG structure is a good predictor of success, while complex DAGs are more prone to failure.

Limitations and Future Work

  • Heuristic Runtime Not Captured: The OLL DAG abstraction does not capture the runtime of heuristics themselves (e.g., core minimization), which can be a significant factor in overall solving time.
  • Instance-Specific Information Missing: The OLL DAG does not directly incorporate instance-specific characteristics, although different instances naturally lead to different DAGs.
  • Ablation Study Out of Scope: Due to the large number of configurations, a full ablation study to isolate the impact of each individual heuristic was not feasible.

Future work suggested includes:

  • Developing heuristics that specifically target and simplify OLL DAG structures.
  • Further investigating structural complexities that correlate with bad performance, especially for metrics with weak correlations like DAG width.
  • Exploring new methods for generating diverse OLL DAGs to gain deeper insights.
  • Incorporating instance-specific properties into the analysis for a more focused understanding.

Summary updated

BibTeX
@inproceedings{schidler2025analyzing,
  author = {André Schidler and Stefan Szeider},
  title = {{Analyzing Reformulation Performance in Core-Guided MaxSAT Solving}},
  booktitle = {SAT},
  year = {2025},
  doi = {10.4230/lipics.sat.2025.26},
}
Figure