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

NeuroBack:利用图神经网络改进 CDCL SAT 求解

NeuroBack: Improving CDCL SAT Solving using Graph Neural Networks

The University of Texas at Austin(德克萨斯大学奥斯汀分校)

Wenxi Wang, Yang Hu, Mohit Tiwari, Sarfraz Khurshid, Kenneth McMillan, Risto Miikkulainen

AI总结:

本文提出 NeuroBack,通过离线 GNN 一次性预测变量相位并增强 Kissat,仅用 CPU 即可在 SATCOMP-2022/2023 上分别多求解 5.2% 和 7.4% 的问题。

摘要:

命题可满足性(SAT)是一个 NP 完全问题,影响着规划、验证和安全等许多研究领域。现代主流 SAT 求解器基于冲突驱动子句学习(CDCL)算法。近期工作旨在利用图神经网络(GNN)增强 CDCL SAT 求解器。然而,迄今为止,这种方法要么没有使求解更加有效,要么需要大量 GPU 资源来支持频繁的在线模型推理。为了使 GNN 改进具备实用性,本文提出了一种名为 NeuroBack 的方法,其建立在两点洞察之上:(1)预测出现在大多数(甚至所有)可满足赋值中的变量的相位(即取值),对于 CDCL SAT 求解至关重要;(2)在 SAT 求解开始前仅查询一次神经模型来获得这些预测就已足够。训练完成后,离线模型推理使 NeuroBack 能够完全在 CPU 上执行,消除了对 GPU 资源的依赖。为训练 NeuroBack,本文创建了一个名为 DataBack 的新数据集,其中包含 120,286 个数据样本。NeuroBack 被实现为对名为 Kissat 的最先进 SAT 求解器的增强。结果表明,在两个近期 SAT 竞赛问题集 SATCOMP-2022 和 SATCOMP-2023 上,它使 Kissat 分别能够多求解多达 5.2% 和 7.4% 的问题。因此,NeuroBack 展示了如何以有效且实用的方式利用机器学习来改进 SAT 求解。

英文摘要:

Propositional satisfiability (SAT) is an NP-complete problem that impacts many research fields, such as planning, verification, and security. Mainstream modern SAT solvers are based on the Conflict-Driven Clause Learning (CDCL) algorithm. Recent work aimed to enhance CDCL SAT solvers using Graph Neural Networks (GNNs). However, so far this approach either has not made solving more effective, or required substantial GPU resources for frequent online model inferences. Aiming to make GNN improvements practical, this paper proposes an approach called NeuroBack, which builds on two insights: (1) predicting phases (i.e., values) of variables appearing in the majority (or even all) of the satisfying assignments are essential for CDCL SAT solving, and (2) it is sufficient to query the neural model only once for the predictions before the SAT solving starts. Once trained, the offline model inference allows NeuroBack to execute exclusively on the CPU, removing its reliance on GPU resources. To train NeuroBack, a new dataset called DataBack containing 120,286 data samples is created. NeuroBack is implemented as an enhancement to a state-of-the-art SAT solver called Kissat. As a result, it allowed Kissat to solve up to 5.2% and 7.4% more problems on two recent SAT competition problem sets, SATCOMP-2022 and SATCOMP-2023, respectively. NeuroBack therefore shows how machine learning can be harnessed to improve SAT solving in an effective and practical manner.

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

↑