arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1710.11204cs.AIcs.LO
收藏

用机器学习改进SAT求解

Improve SAT-solving with Machine Learning

Davidson College(戴维森学院)

Haoze Wu

摘要:

在这个项目中,我们的目标是改进Minisat的运行时间,Minisat是一个基于逻辑驱动的子句学习(CDCL)求解器,可以解决命题布尔可满足性(SAT)问题。我们首先使用逻辑回归模型来预测命题布尔公式的可满足性,在每个公式中固定一定比例的变量值。然后,我们应用逻辑模型,并添加了一个预处理期间Minisat使用蒙特卡洛方法来确定每个布尔变量的首选初始值(真或假)。具体地说,对于每个Monte-Carlo试验,我们固定了随机选择的变量的一定比例的值,并计算了所得到的子公式满足我们的逻辑回归模型的置信度。每个变量的初始值是根据从该变量的字面量开始的试验的平均置信分数设置的。我们特别感兴趣的是如何正确设置主干变量的初始值,这些变量在SAT公式的所有解中都具有相同的值。我们的Monte-Carlo方法能够正确设置78%的主链。扣除预处理时间后,与Minisat的默认设置相比,Minisat处理可满足公式的运行时间减少了23%。然而,我们的方法在运行时并没有优于vanilla Minisat,因为冲突的减少被预处理期间的长运行时间所抵消。

英文摘要:

In this project, we aimed to improve the runtime of Minisat, a Conflict-Driven Clause Learning (CDCL) solver that solves the Propositional Boolean Satisfiability (SAT) problem. We first used a logistic regression model to predict the satisfiability of propositional boolean formulae after fixing the values of a certain fraction of the variables in each formula. We then applied the logistic model and added a preprocessing period to Minisat to determine the preferable initial value (either true or false) of each boolean variable using a Monte-Carlo approach. Concretely, for each Monte-Carlo trial, we fixed the values of a certain ratio of randomly selected variables, and calculated the confidence that the resulting sub-formula is satisfiable with our logistic regression model. The initial value of each variable was set based on the mean confidence scores of the trials that started from the literals of that variable. We were particularly interested in setting the initial values of the backbone variables correctly, which are variables that have the same value in all solutions of a SAT formula. Our Monte-Carlo method was able to set 78% of the backbones correctly. Excluding the preprocessing time, compared with the default setting of Minisat, the runtime of Minisat for satisfiable formulae decreased by 23%. However, our method did not outperform vanilla Minisat in runtime, as the decrease in the conflicts was outweighed by the long runtime of the preprocessing period.

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

↑