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

学习SAT求解器初始分支顺序的排名

Learning to Rank the Initial Branching Order of SAT Solvers

KTH Royal Institute of Technology(皇家理工学院);Kempner Institute at Harvard University(哈佛大学肯普纳研究所);Mohamed Bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Arvid Eriksson, Gabriel Poesia, Roman Bresson, Karl Henrik Johansson, David Broman

AI总结:

本文提出利用图神经网络预测SAT求解器初始分支顺序,以提升求解效率,但发现其在复杂实例上效果受限。

摘要:

在高效求解SAT问题中,找到良好的分支顺序至关重要,但寻找这样的分支顺序是一个困难的问题。因此,使用基于学习的方法在求解之前预测一个良好的分支顺序具有潜力。在本文中,我们研究了使用图神经网络作为预处理步骤,用于冲突驱动子句学习(CDCL)SAT求解器中预测分支顺序。我们证明,通过提供良好的初始分支,可以在现有的CDCL SAT求解器中获得显著的改进。此外,我们提供了三种标记方法,以一种可处理的方式找到这样的初始分支顺序。最后,我们训练了一个图神经网络来预测这些分支顺序,并通过我们的评估表明,使用GNN初始化的顺序在随机3-CNF和伪工业基准上实现了显著的加速,具有泛化能力,能够处理比训练集大得多的实例。然而,我们还发现,预测在加速更困难和工业实例方面失败。我们将其归因于求解器的动态启发式方法,这些方法迅速覆盖了提供的初始化,并归因于这些实例的复杂性,使GNN预测变得困难。

英文摘要:

Finding good branching orders is key to solving SAT problems efficiently, but finding such branching orders is a difficult problem. Using a learning based approach to predict a good branching order before solving, therefore, has potential. In this paper, we investigate predicting branching orders using graph neural networks as a preprocessing step to conflict-driven clause learning (CDCL) SAT solvers. We show that there are significant gains to be made in existing CDCL SAT solvers by providing a good initial branching. Further, we provide three labeling methods to find such initial branching orders in a tractable way. Finally, we train a graph neural network to predict these branching orders and show through our evaluations that a GNN-initialized ordering yields significant speedups on random 3-CNF and pseudo-industrial benchmarks, with generalization capabilities to instances much larger than the training set. However, we also find that the predictions fail at speeding up more difficult and industrial instances. We attribute this to the solver's dynamic heuristics, which rapidly overwrite the provided initialization, and to the complexity of these instances, making GNN prediction hard.

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

↑