arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.13159cs.DScs.AImath.PR
收藏

对SLS算法的长尾运行时的理解

Towards an Understanding of Long-Tailed Runtimes of SLS Algorithms

Universität Ulm(乌尔姆大学)

Jan-Hendrik Lorenz, Florian Wörz

摘要:

可满足性问题是计算机科学中最著名的问题之一。它的NP完全性被用来证明SAT是难处理的。然而,已经有了巨大的进步,允许SAT求解器解决数百万变量的实例。一个特别成功的范例是随机局部搜索。在大多数情况下,有不同的方式来阐述根本问题。虽然已知这对求解器的运行时间有影响,但找到有用的公式通常是不平凡的。最近推出的GapSAT求解器[Lorenz and Wörz 2020]通过学习原始问题逻辑上需要的额外信息,成功地提高了SLS求解器的平均性能。不过,在有些情况下,业绩略有恶化。这证明深入研究学习逻辑含义如何影响SLS的运行时是正确的。在这项工作中,我们提出了一种方法,用于生成逻辑上等价的问题配方,概括GapSAT的想法。这允许对SLS解算器的运行时间的影响进行严格的数学研究。如果变质处理是随机的,约翰逊SB分布提供了一个完美的硬度表征。由于观察到的Johnson SB分布接近对数正态分布,我们的分析还表明硬度是长尾的。作为第二个贡献,我们从理论上证明了重启对于长尾分布是有用的。这意味着额外的重新启动可以进一步改进采用上述修改技术的所有算法。由于实证研究令人信服地表明,运行时分布遵循约翰逊SB分布,我们调查这个属性理论。我们成功地证明了Schöning的随机游走算法的运行时间近似为Johnson SB。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑