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

基于蒙特卡洛森林搜索的UNSAT求解器综合

UNSAT Solver Synthesis via Monte Carlo Forest Search

University of British Columbia(不列颠哥伦比亚大学);Valence Labs(Valence实验室);Carnegie Mellon University(卡内基梅隆大学)

Chris Cameron, Jason Hartford, Taylor Lundy, Tuan Truong, Alan Milligan, Rex Chen, Kevin Leyton-Brown

AI总结:

本研究提出蒙特卡洛森林搜索(MCFS)类强化学习算法,将其具体化为Knuth Synthesis算法学习SAT问题的DPLL分支策略,通过路径采样估树规模、限定深度调用强求解器降本,在三个SAT分布上性能追平或超越强基线,处理问题难度较此前RL研究高两个数量级。

摘要:

我们提出蒙特卡洛森林搜索(MCFS),这是一类用于在树马尔可夫决策过程(tree MDPs)中学习策略的强化学习(RL)算法,其策略执行涉及遍历规模呈指数级的树。这类问题的例子包括证明SAT公式的不可满足性、统计可满足SAT公式的解的数量,以及寻找混合整数规划的最优解。MCFS算法可被视为蒙特卡洛树搜索(MCTS)的扩展,适用于问题目标是在候选树构成的森林中找到一棵小树,而非在单棵树中找到优质路径(解)的场景。\n我们将上述思路具体化为一种名为Knuth Synthesis的算法并开展评估,这是一种MCFS算法,用于学习求解布尔可满足性(SAT)问题的DPLL分支策略,目标是在给定的不可满足问题实例分布上实现良好的平均性能。Knuth Synthesis是首个避免了在指数级规模树中进行策略评估的高昂成本的RL方法,它依托两个核心思路:第一,我们借鉴Knuth(1975)提出的无偏近似方法,通过随机采样路径并测量其长度来估计树的规模;第二,我们在用户指定的深度处调用一个强求解器,而非在整棵树上学习策略,从而将策略搜索聚焦于对缩减树规模潜力最大的早期决策上。\n我们在三个知名SAT分布上匹配或超越了强基线的性能,所处理的问题难度比此前RL研究中涉及的问题高出两个数量级。

英文摘要:

We introduce Monte Carlo Forest Search (MCFS), a class of reinforcement learning (RL) algorithms for learning policies in {tree MDPs}, for which policy execution involves traversing an exponential-sized tree. Examples of such problems include proving unsatisfiability of a SAT formula; counting the number of solutions of a satisfiable SAT formula; and finding the optimal solution to a mixed-integer program. MCFS algorithms can be seen as extensions of Monte Carlo Tree Search (MCTS) to cases where, rather than finding a good path (solution) within a tree, the problem is to find a small tree within a forest of candidate trees. We instantiate and evaluate our ideas in an algorithm that we dub Knuth Synthesis, an MCFS algorithm that learns DPLL branching policies for solving the Boolean satisfiability (SAT) problem, with the objective of achieving good average-case performance on a given distribution of unsatisfiable problem instances. Knuth Synthesis is the first RL approach to avoid the prohibitive costs of policy evaluations in an exponentially-sized tree, leveraging two key ideas: first, we estimate tree size by randomly sampling paths and measuring their lengths, drawing on an unbiased approximation due to Knuth (1975); second, we query a strong solver at a user-defined depth rather than learning a policy across the whole tree, to focus our policy search on early decisions that offer the greatest potential for reducing tree size. We matched or exceeded the performance of a strong baseline on three well-known SAT distributions, facing problems that were two orders of magnitude more challenging than those addressed in previous RL studies.

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

↑