A SAT Hardness Atlas: Runtime Landscapes and Ridge Structure Driven by Connectivity (V)

Christof Krieg Independent Researcher MAAT Research Initiative

Abstract

Abstract—We present an empirical hardness mapping pipeline for random SAT instances across a range of clause-to-variable ratios \( \alpha \). We introduce a Hardness Atlas that organizes SAT difficulty as a landscape over \( (\alpha, V) \), where \( V \) captures structural connectivity of constraints. Across 2000 benchmarked instances we observe: (i) a phase transition in satisfiability probability as \( \alpha \) increases, (ii) a ridge-like structure of maximal median runtime in the hardness landscape, and (iii) predictive signal for runtime from field-based features. Our results indicate that connectivity \( V \) is a primary organizing variable for hardness in the sampled regime, while the derived complexity projection \( \hat{C} \) serves as a secondary explanatory axis.

Index Terms—SAT, phase transition, hardness landscape, runtime prediction, connectivity, empirical benchmarking

Boolean satisfiability (SAT) was the first problem shown to be NP-complete [1]. Subsequent work established a broad class of NP-complete problems [2]. Random SAT instances exhibit a phase transition in satisfiability probability as the clause-to-variable ratio varies [3], [4]. Hard instances tend to concentrate near the phase transition region [5].

This paper contributes a compact empirical framework to:

  • construct a Hardness Atlas over \( (\alpha, V) \), treating \( V \) as a primary structural field,
  • detect a hardness ridge (maximal median runtime locus) within the atlas,
  • evaluate runtime predictors using field features and compare to the secondary projection \( \hat{C} \).

I. Related Work

Phase transitions in random SAT were first systematically studied by Cheeseman et al. [3] and Gent and Walsh [4]. Subsequent work showed that the hardest instances tend to concentrate near this transition region [5].

Feature-based runtime prediction has been explored in SAT solver portfolio systems such as SATzilla [6]. These approaches rely on structural instance features to estimate solver difficulty.

Our work differs by constructing an explicit hardness landscape over \( (\alpha, V) \) and identifying ridge structures in this space.

II. Benchmark Setup

A. SAT Instance Type

All experiments are performed on random 3-SAT instances with \( n = 30 \) variables. Each clause contains exactly three literals chosen uniformly from the variable set. The number of clauses is determined by

$$m = \alpha n$$

where \( \alpha \) is the clause-to-variable ratio.

B. Instance Generation and Solving

We sample 2000 instances across a range of \( \alpha \) values covering the phase transition region. Instances are solved using the MiniSAT 2.2 solver with default parameters. Runtime is measured as wall-clock solving time.

C. Field Features

For each SAT instance we compute a set of scalar structural features interpreted as fields:

$$(H, B, S, V, R)$$

D. Feature Definitions

The fields are derived from structural properties of the clause-variable interaction graph.

Harmony (H) measures clause polarity balance across variables.

Balance (B) captures the variance of clause sizes, reflecting constraint heterogeneity.

Structure (S) measures clause overlap between clauses sharing variables.

Connectivity (V) measures structural coupling between variables. We construct a variable interaction graph where two variables are connected if they appear in the same clause. Connectivity is defined as

$$V = \frac{\text{avg degree of interaction graph}}{n - 1}$$

where \( n \) is the number of variables.

Respect (R) measures literal distribution uniformity across clauses.

SAT phase transition: P(SAT) vs. α. Fig. 1. SAT phase transition: P(SAT) vs. \( \alpha \).

E. Derived Complexity Projection

In addition to the structural fields we compute a scalar complexity projection

$$\hat{C} = \frac{H + B + S + V + R}{5}$$

which provides a compact summary of structural features. This projection is used only for visualization and secondary ridge analysis.

F. Aggregation

We aggregate results by binning:

  • \( \alpha \) into discrete bins (the swept values),
  • \( V \) into quantile or fixed-width bins,
  • (optionally) \( \hat{C} \) into bins for a secondary landscape projection.

Per bin we compute median runtime (log-scale) and SAT probability \( P(\text{SAT}) \).

III. Results

A. SAT Phase Transition

Figure 1 shows the satisfiability probability versus \( \alpha \), exhibiting a sharp transition region as \( \alpha \) increases.

B. Hardness Atlas over \( (\alpha, V) \)

We define the Hardness Atlas as a grid over \( (\alpha, V) \), with cell values given by median \( \log_{10}(\text{runtime}) \) and (separately) \( P(\text{SAT}) \).

Figure 2 plots the median runtime atlas; Figure 3 shows \( P(\text{SAT}) \) on the same grid; Figure 4 shows per-cell sample counts.

Hardness Atlas: median log10(runtime) over (α, V). Fig. 2. Hardness Atlas: median \( \log_{10}(\text{runtime}) \) over \( (\alpha, V) \).

SAT Probability Atlas: P(SAT) over (α, V). Fig. 3. SAT Probability Atlas: \( P(\text{SAT}) \) over \( (\alpha, V) \).

C. Hardness Ridge Detection

We define the hardness ridge as the locus of maximal median runtime along the \( V \) dimension for each fixed \( \alpha \) bin. Figure 5 overlays the ridge on the atlas and marks the peak cell.

D. Secondary Projection: \( \hat{C} \)

As a secondary view, we project the landscape onto \( (\alpha, \hat{C}) \). This supports interpretability and connects field-based structure to a compact scalar.

E. Predicting Runtime from Fields

We fit a linear model on log-runtime using field features and \( \alpha \):

$$\log_{10}(\text{runtime}) \approx \beta_0 + \beta_\alpha \alpha + \beta_H H + \beta_B B + \beta_S S + \beta_V V + \beta_R R.$$

In the current benchmark, the fitted OLS model achieves \( R^2 \approx 0.583 \). We also evaluate a regularized regression model (ridge regression) using the same feature set \( (\alpha, H, B, S, V, R) \). Regularization reduces multicollinearity effects and improves predictive performance to \( R^2 \approx 0.655 \).

F. 3D Phase Surface

For visualization, we render a phase surface over \( (\alpha, V) \) where height is median log-runtime. Figure 7 provides an intuitive 3D view of the ridge structure.

Atlas confidence map: sample count per (α, V) cell. Fig. 4. Atlas confidence map: sample count per \( (\alpha, V) \) cell.

Hardness ridge over V: per-α maximal median runtime locus and peak marker. Fig. 5. Hardness ridge over \( V \): per-\( \alpha \) maximal median runtime locus and peak marker.

IV. Empirical Hardness Field Equation

The hardness atlas suggests that SAT difficulty in the sampled regime can be described by a low-dimensional structural relation.

Empirically we observe that runtime depends primarily on clause density \( \alpha \) and structural connectivity \( V \):

$$\log_{10}(\text{runtime}) \approx \beta_0 + \beta_\alpha \alpha + \beta_V V + \epsilon(H, B, S, R)$$

where \( \epsilon \) represents secondary corrections from additional structural fields.

In this view the hardness ridge corresponds to a locus of maximal runtime in \( (\alpha, V) \) space, which we detect empirically using the ridge extraction procedure described above.

V. Discussion

The results provide an empirical view of the structural organization of SAT hardness in the sampled regime.

The atlas results suggest that hardness is organized jointly by clause density \( \alpha \) and structural connectivity \( V \). Near the phase transition region, increasing connectivity strengthens global constraint coupling, which may lead to stronger constraint propagation effects during solving. This interaction naturally produces a ridge-like band of maximal runtime in \( (\alpha, V) \) space.

The regression coefficients indicate that \( H \) and \( V \) have statistically significant contributions in the current dataset. In contrast, \( S \) exhibits a large standard error relative to its coefficient, suggesting that its contribution is not statistically significant in the present sample. This supports the interpretation that connectivity \( V \) is the most robust structural signal for hardness in our experiments.

Secondary ridge over Ĉ (projection view). Fig. 6. Secondary ridge over \( \hat{C} \) (projection view).

TABLE I. OLS regression coefficients for log-runtime prediction.

Feature Coefficient Std. Error
Intercept -4.179 13.484
\( \alpha \) -1.689 0.175
H -20.383 1.125
B 0.396 0.417
S 12.315 13.494
V 13.937 4.141
R 0.790 0.612

The large standard error of the intercept suggests multicollinearity among the structural features. This is expected because several fields are derived from related structural properties of the clause-variable interaction graph. This observation motivated the use of ridge regression as a regularized alternative, which stabilizes coefficient estimates in the presence of correlated predictors.

VI. Limitations

Our results are empirical and therefore depend on the instance generator, solver choice, feature definitions, and sampling density used in the benchmark. Sparse cells in the atlas require cautious interpretation; confidence maps should accompany atlas plots.

The current benchmark uses 2000 instances as an exploratory dataset. Scaling the hardness atlas to significantly larger instance ensembles is an important direction for future work.

The small instance size (\( n = 30 \) variables) limits the generalizability of the observed hardness landscape. While phase transition behavior is visible even at this scale, larger instances may exhibit qualitatively different ridge structures or sharper phase boundaries. Future work should extend the hardness atlas to larger instance sizes to evaluate the stability of the \( (\alpha, V) \) ridge phenomenon.

Nevertheless, the atlas framework itself is independent of instance size and can be applied to larger SAT ensembles in future studies.

Phase surface: median log10(runtime) over (α, V). Fig. 7. Phase surface: median \( \log_{10}(\text{runtime}) \) over \( (\alpha, V) \).

VII. Conclusion

We introduced a SAT Hardness Atlas centered on \( (\alpha, V) \) and demonstrated ridge structure in median runtime landscapes. Predictive experiments indicate that \( V \) is a dominant signal for runtime in the current benchmark, with \( \hat{C} \) serving as a helpful secondary projection. All code and full-resolution figures are provided in the companion repository.

Artifacts and Reproducibility

All datasets, code, and analysis scripts used in this study are publicly available at:

https://github.com/Chris4081/sat-hardness-atlas

The repository includes:

  • SAT instance generation scripts
  • benchmark and solver pipeline
  • hardness atlas analysis code
  • plotting scripts used to generate the figures
  • CSV datasets containing all benchmark results

These artifacts allow the complete experimental pipeline to be reproduced.

References

[1] S. A. Cook, "The complexity of theorem-proving procedures," Proceedings of the Third Annual ACM Symposium on Theory of Computing, 1971.

[2] R. M. Karp, "Reducibility among combinatorial problems," 1972.

[3] P. Cheeseman, B. Kanefsky, and W. M. Taylor, "Where the really hard problems are," IJCAI, 1991.

[4] I. P. Gent and T. Walsh, "Phase transitions and the search problem," Artificial Intelligence, 1996.

[5] D. Mitchell, B. Selman, and H. Levesque, "Hard and easy distributions of SAT problems," AAAI, 1992.

[6] L. Xu, F. Hutter, H. Hoos, and K. Leyton-Brown, "Satzilla: Portfolio-based algorithm selection for sat," Journal of Artificial Intelligence Research, vol. 32, pp. 565–606, 2008.


This reading version was generated from the PDF by an AI conversion pipeline; the PDF remains the version of record.

📝 About this HTML version

This HTML document was automatically generated from the PDF. Some formatting, figures, or mathematical notation may not be perfectly preserved. For the authoritative version, please refer to the PDF.