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.
Algorithm Selection as a Bandit Problem with Unbounded Losses
IDSIA / USI-SUPSI Istituto Dalle Molle di studi sull’intelligenza artificiale(IDSIA / USI-SUPSI 达莱莫莱人工智能研究所);Università della Svizzera italiana (USI)(瑞士意大利语区大学);University of Lugano(卢加诺大学);TU Munich(慕尼黑工业大学)
A high-performance analog Max-SAT solver and its application to Ramsey numbers
Babeş-Bolyai University(巴比什-波雅依大学);Romanian Institute of Science and Technology(罗马尼亚科学技术研究所);University of Notre Dame(圣母大学);The College of Wooster(伍斯特学院);Transylvanian Institute of Neuroscience(特兰西瓦尼亚神经科学研究所)
SATfeatPy -- A Python-based Feature Extraction System for Satisfiability
Insight Centre for Data Science and Analytics(洞察数据科学与分析中心);University College Cork(科克大学学院);SFI Centre for Research Training in AI(SFI人工智能研究培训中心);School of Computer Science & IT(计算机科学与信息技术学院)