arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.01173cs.LGcs.AI
收藏

SAT求解的神经方法:设计选择与可解释性

Neural Approaches to SAT Solving: Design Choices and Interpretability

Czech Institute of Informatics, Robotics and Cybernetics, Czech Technical University in Prague(捷克布拉格捷克技术大学信息学、机器人学与控制论研究所);University of Ostrava(俄斯特拉发大学)

David Mojžíšek, Jan Hůla, Ziwei Li, Ziyu Zhou, Mikoláš Janota

AI总结:

本文全面评估了图神经网络在布尔可满足性问题上的应用,提出动态适应的最接近赋值监督方法提升大解空间性能,并将模型扩展为支持增量采样的扩散模型,通过嵌入空间分析揭示了其类似MaxSAT连续松弛的可解释推理过程。

摘要:

在本文中,我们对应用于布尔可满足性(SAT)问题的图神经网络进行了全面评估,并对使模型能够泛化到不同实例的机制提供了直观解释。我们引入了几项训练改进,特别是一种新颖的最接近赋值监督方法,该方法能动态适应模型当前状态,显著提升了在具有更大解空间问题上的性能。实验证明了使用循环神经网络更新的变量-子句图表示的适用性,该表示在SAT赋值预测上实现了良好的准确率,同时降低了计算需求。我们将基础图神经网络扩展为扩散模型,该模型支持增量采样,并能与单元传播等经典技术有效结合。通过对嵌入空间模式和优化轨迹的分析,我们展示了这些网络如何隐式地执行一个与MaxSAT连续松弛非常相似的过程,从而提供了其推理过程的可解释视角。这种理解指导了我们的设计选择,并解释了循环架构在推理阶段有效扩展至其训练分布之外的能力,我们通过测试时扩展实验对此进行了证明。

英文摘要:

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.

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

↑