arXiv:2603.07176cs.AIcs.LO2026-03被引 1

用图神经网络预判初始分支顺序,显著加速求解随机与伪工业实例。

Learning to Rank the Initial Branching Order of SAT Solvers

  • 用图神经网络预测SAT求解器的初始分支顺序作为预处理。
  • 在随机3-CNF和伪工业数据集上实现显著提速,最大加速比达2.5倍。
  • 适用于大规模新实例,但对复杂工业问题效果有限。

高效求解SAT问题的关键在于找到良好的分支顺序,但这一问题本身极难。本文探索使用基于学习的方法,在求解前预判优质分支顺序,作为冲突驱动子句学习(CDCL)SAT求解器的预处理步骤。研究发现,为现有CDCL求解器提供良好初始分支可带来显著性能提升。为此,我们提出了三种可计算的标签方法以高效获取初始分支顺序,并训练图神经网络(GNN)进行预测。实验表明,经GNN初始化的分支顺序在随机3-CNF及伪工业基准测试中均实现显著加速,且具备泛化能力,可在远超训练集规模的新实例上生效。然而,对于更复杂、工业级实例,预测结果未能有效加速,原因在于求解器动态启发式会迅速覆盖初始设置,且这些实例本身过于复杂,导致GNN难以准确预测。

原文摘要 · Abstract (English)

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.

SAT求解图神经网络分支预测优化加速

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。