arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1909.11830cs.LGcs.AI
收藏

图网络学习的$Q$ -学习能为SAT求解器学习一个可推广的分支启发式吗?

Can $Q$-Learning with Graph Networks Learn a Generalizable Branching Heuristic for a SAT Solver?

University of Oxford(牛津大学);NVIDIA(英伟达)

Vitaly Kurin, Saad Godil, Shimon Whiteson, Bryan Catanzaro

摘要:

我们提出了图- $Q$ -SAT,一个分支启发式的布尔SAT求解器训练与基于值的强化学习(RL)使用图神经网络函数逼近。使用Graph- $Q$ -SAT的求解器是完整的SAT求解器,可以提供令人满意的赋值或不可满足性证明,这是许多SAT应用程序所需的。SAT求解器中常用的分支算法在预热期间会做出糟糕的决策,而Graph- $Q$ -SAT则经过训练,可以检查特定问题实例的结构,以便在搜索早期做出更好的决策。训练图- $Q$ -SAT是数据高效的,不需要精心的数据集准备或特征工程。我们训练Graph- $Q$ -SAT使用RL接口与MiniSat求解器,并表明Graph- $Q$ -SAT可以减少2- 3倍的迭代次数来解决SAT问题。此外,它推广到不可满足的SAT实例,以及与5倍以上的变量比它是trainedon. We的问题表明,对于较大的问题,减少迭代次数导致挂钟时间减少,最终目标时,设计算法。我们还显示出积极的zero-shot传输行为时,测试图- $Q$ -SAT的任务家庭不同的训练。虽然需要更多的工作来应用Graph- $Q$ -SAT来减少现代SAT求解设置中的挂钟时间,但这是一个令人信服的概念验证,表明配备图神经网络的RL可以学习SAT搜索的通用分支启发式。

英文摘要:

We present Graph-$Q$-SAT, a branching heuristic for a Boolean SAT solver trained with value-based reinforcement learning (RL) using Graph Neural Networks for function approximation. Solvers using Graph-$Q$-SAT are complete SAT solvers that either provide a satisfying assignment or proof of unsatisfiability, which is required for many SAT applications. The branching heuristics commonly used in SAT solvers make poor decisions during their warm-up period, whereas Graph-$Q$-SAT is trained to examine the structure of the particular problem instance to make better decisions early in the search. Training Graph-$Q$-SAT is data efficient and does not require elaborate dataset preparation or feature engineering. We train Graph-$Q$-SAT using RL interfacing with MiniSat solver and show that Graph-$Q$-SAT can reduce the number of iterations required to solve SAT problems by 2-3X. Furthermore, it generalizes to unsatisfiable SAT instances, as well as to problems with 5X more variables than it was trained on. We show that for larger problems, reductions in the number of iterations lead to wall clock time reductions, the ultimate goal when designing heuristics. We also show positive zero-shot transfer behavior when testing Graph-$Q$-SAT on a task family different from that used for training. While more work is needed to apply Graph-$Q$-SAT to reduce wall clock time in modern SAT solving settings, it is a compelling proof-of-concept showing that RL equipped with Graph Neural Networks can learn a generalizable branching heuristic for SAT search.

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

↑