Towards an Understanding of Long-Tailed Runtimes of SLS Algorithms

10/24/2022
by   Jan-Hendrik Lorenz, et al.
0

The satisfiability problem is one of the most famous problems in computer science. Its NP-completeness has been used to argue that SAT is intractable. However, there have been tremendous advances that allow SAT solvers to solve instances with millions of variables. A particularly successful paradigm is stochastic local search. In most cases, there are different ways of formulating the underlying problem. While it is known that this has an impact on the runtime of solvers, finding a helpful formulation is generally non-trivial. The recently introduced GapSAT solver [Lorenz and Wörz 2020] demonstrated a successful way to improve the performance of an SLS solver on average by learning additional information which logically entails from the original problem. Still, there were cases in which the performance slightly deteriorated. This justifies in-depth investigations into how learning logical implications affects runtimes for SLS. In this work, we propose a method for generating logically equivalent problem formulations, generalizing the ideas of GapSAT. This allows a rigorous mathematical study of the effect on the runtime of SLS solvers. If the modification process is treated as random, Johnson SB distributions provide a perfect characterization of the hardness. Since the observed Johnson SB distributions approach lognormal distributions, our analysis also suggests that the hardness is long-tailed. As a second contribution, we theoretically prove that restarts are useful for long-tailed distributions. This implies that additional restarts can further refine all algorithms employing above mentioned modification technique. Since the empirical studies compellingly suggest that the runtime distributions follow Johnson SB distributions, we investigate this property theoretically. We succeed in proving that the runtimes for Schöning's random walk algorithm are approximately Johnson SB.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/01/2021

Evidence for Long-Tails in SLS Algorithms

Stochastic local search (SLS) is a successful paradigm for solving the s...
research
02/01/2022

Too much information: CDCL solvers need to forget and perform restarts

Conflict-driven clause learning (CDCL) is a remarkably successful paradi...
research
09/20/2023

Using deep learning to construct stochastic local search SAT solvers with performance bounds

The Boolean Satisfiability problem (SAT) is the most prototypical NP-com...
research
01/26/2020

NLocalSAT: Boosting Local Search with Solution Prediction

The boolean satisfiability problem is a famous NP-complete problem in co...
research
07/18/2023

Machine Learning for SAT: Restricted Heuristics and New Graph Representations

Boolean satisfiability (SAT) is a fundamental NP-complete problem with m...
research
06/20/2014

Low-Autocorrelation Binary Sequences: On Improved Merit Factors and Runtime Predictions to Achieve Them

The search for binary sequences with a high figure of merit, known as th...
research
05/25/2022

Formalizing Preferences Over Runtime Distributions

When trying to solve a computational problem we are often faced with a c...

Please sign up or login with your details

Forgot password? Click here to reset