arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2108.06481cs.AI
收藏

MatSat:基于矩阵的可微SAT求解器

MatSat: a matrix-based differentiable SAT solver

National Institute of Informatics (NII)(国立情报学研究所);Kyoto University(京都大学)

Taisuke Sato, Ryosuke Kojima

摘要:

我们提出了一种新的方法来解决SAT问题,解决SAT问题在向量空间中的成本最小化问题的非负可微成本函数J^sat。在我们的方法中,解决方案,即,满足赋值,对于n个变量的SAT问题,由{0,1}^n中的二进制向量u表示,使J^sat(u)为零。我们通过成本最小化在向量空间R^n中搜索这样的u,即,从初始u_0开始,并在通过牛顿方法迭代更新u的同时将J最小化为零。我们实现了我们的方法作为一个基于矩阵的差分SAT求解器MatSat。虽然现有的主流SAT求解器一个接一个地决定解决方案分配的每个比特,无论是冲突驱动子句学习(CDCL)类型还是随机局部搜索(SLS)类型,但MatSat与它们的根本不同之处在于它在向量空间中连续地接近解决方案。我们进行了一个实验来测量MatSat的可扩展性与随机3-SAT问题,其中MatSat可以找到一个解决方案,n=10^5个变量。我们还使用SAT 2018竞赛的随机基准集和人工随机3-SAT实例集,将MatSat与四个最先进的SAT求解器进行了比较,其中包括2018年SAT竞赛和2019年SAT竞赛的获胜者。结果表明,MatSat在两个测试集上都排在第二位,优于所有CDCL类型的求解器。

英文摘要:

We propose a new approach to SAT solving which solves SAT problems in vector spaces as a cost minimization problem of a non-negative differentiable cost function J^sat. In our approach, a solution, i.e., satisfying assignment, for a SAT problem in n variables is represented by a binary vector u in {0,1}^n that makes J^sat(u) zero. We search for such u in a vector space R^n by cost minimization, i.e., starting from an initial u_0 and minimizing J to zero while iteratively updating u by Newton's method. We implemented our approach as a matrix-based differential SAT solver MatSat. Although existing main-stream SAT solvers decide each bit of a solution assignment one by one, be they of conflict driven clause learning (CDCL) type or of stochastic local search (SLS) type, MatSat fundamentally differs from them in that it continuously approach a solution in a vector space. We conducted an experiment to measure the scalability of MatSat with random 3-SAT problems in which MatSat could find a solution up to n=10^5 variables. We also compared MatSat with four state-of-the-art SAT solvers including winners of SAT competition 2018 and SAT Race 2019 in terms of time for finding a solution, using a random benchmark set from SAT 2018 competition and an artificial random 3-SAT instance set. The result shows that MatSat comes in second in both test sets and outperforms all the CDCL type solvers.

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

↑