arXiv:2504.01173cs.LGcs.AI2025-04被引 3

用图神经网络解布尔可满足性问题,提升性能并解释其推理机制。

Neural Approaches to SAT Solving: Design Choices and Interpretability

  • 基于变量-子句图与循环更新的GNN架构,兼顾准确率与计算效率。
  • 提出动态最近分配监督法,显著提升大规模解空间问题的表现。
  • 通过嵌入空间分析揭示其类似连续松弛的求解逻辑,可解释且可扩展。

本文全面评估了图神经网络在布尔可满足性问题中的应用,并直观阐释了模型泛化不同实例的机制。引入多项训练改进,特别是动态适应模型状态的最近分配监督方法,显著提升大解空间问题的性能。实验表明,采用变量-子句图表示与循环神经网络更新的架构,在预测SAT解时兼具高准确率与低计算开销。将基础GNN扩展为扩散模型,支持增量采样,并可有效结合经典技术如单位传播。通过嵌入空间模式与优化轨迹分析,发现这些网络隐式执行的过程与MaxSAT的连续松弛高度相似,提供了可解释的推理视角。该理解指导设计选择,解释了循环架构在推理时超出训练分布仍能有效扩展的现象,测试时间缩放实验验证了这一点。

原文摘要 · Abstract (English)

In this contribution, we provide a comprehensive evaluation of graph neural networks applied to Boolean satisfiability problems, accompanied by an intuitive explanation of the mechanisms enabling the model to generalize to different instances. We introduce several training improvements, particularly a novel closest assignment supervision method that dynamically adapts to the model's current state, significantly enhancing performance on problems with larger solution spaces. Our experiments demonstrate the suitability of variable-clause graph representations with recurrent neural network updates, which achieve good accuracy on SAT assignment prediction while reducing computational demands. We extend the base graph neural network into a diffusion model that facilitates incremental sampling and can be effectively combined with classical techniques like unit propagation. Through analysis of embedding space patterns and optimization trajectories, we show how these networks implicitly perform a process very similar to continuous relaxations of MaxSAT, offering an interpretable view of their reasoning process. This understanding guides our design choices and explains the ability of recurrent architectures to scale effectively at inference time beyond their training distribution, which we demonstrate with test-time scaling experiments.

SAT求解图神经网络可解释性扩散模型

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