Journal of Computer Applications ›› 2025, Vol. 45 ›› Issue (9): 2934-2940.DOI: 10.11772/j.issn.1001-9081.2024091362

• Advanced computing • Previous Articles    

Novel message passing network for neural Boolean satisfiability problem solver

Yonghao LIANG(), Jinlong LI   

  1. School of Computer Science and Technology,University of Science and Technology of China,Hefei Anhui 230026,China
  • Received:2024-09-24 Revised:2024-11-12 Accepted:2024-11-13 Online:2024-11-26 Published:2025-09-10
  • Contact: Yonghao LIANG
  • About author:LI Jinlong, born in 1975, Ph. D., associate professor. His research interests include deep learning, artificial intelligence, evolutionary algorithm.

用于神经布尔可满足性问题求解器的新型消息传递网络

梁永濠(), 李金龙   

  1. 中国科学技术大学 计算机科学与技术学院,合肥 230026
  • 通讯作者: 梁永濠
  • 作者简介:李金龙(1975—),男,湖南永州人,副教授,博士,主要研究方向:深度学习、人工智能、进化算法。

Abstract:

In order to optimize the structure of the Message Passing Neural Network (MPNN), reduce the number of iterations in the solving process, and improve performance of end-to-end neural Boolean SATisfiability problem (SAT) solvers, a More and Deeper Message Passing Network (MDMPN) was proposed. In this network, to pass more messages, an overall message passing module was introduced, thereby realizing transmission of additional overall messages from literal nodes to clause nodes during each message passing iteration. At the same time, to pass deeper messages, a message jumping module was incorporated to realize transmission of messages from the literal nodes to their second-order neighbors. To assess the performance and generalizability of MDMPN, it was applied to the state-of-the-art neural SAT solver QuerySAT and basic neural SAT solver NeuroSAT. Experimental results on the dataset of difficult random 3-SAT problems show that QuerySAT with MDMPN outperforms the standard QuerySAT with an accuracy improvement of 46.12 percentage points on difficult 3-SAT problem with 600 variables and iteration upper limit of 212; NeuroSAT with MDMPN also outperforms the standard NeuroSAT with an accuracy improvement of 35.69 percentage points on difficult 3-SAT problem with 600 variables and iteration upper limit of 212.

Key words: Boolean SATisfiability problem (SAT), Message Passing Neural Network (MPNN), graph neural network, machine learning, artificial intelligence

摘要:

为优化端到端神经布尔可满足性问题(SAT)求解器的消息传递神经网络(MPNN)结构、减少求解过程中的迭代次数并提升求解器性能,提出一种更多更深的消息传递网络(MDMPN)。该网络通过引入整体消息传递模块,在每次消息传递迭代中实现从文字节点到子句节点的额外的整体消息传递,从而传递更多的消息。同时,引入消息跳跃模块,实现从文字节点到它的二阶邻居的消息传递,从而传递更深的消息。为了评估MDMPN的性能与泛化能力,将它应用于目前先进的神经SAT求解器QuerySAT和基础神经SAT求解器NeuroSAT。实验结果表明,在困难随机的3-SAT数据集上,应用MDMPN的QuerySAT的求解性能优于标准的QuerySAT,在求解包含600个变量迭代次数上限为212的困难3-SAT问题上的准确率提高了46.12个百分点;应用MDMPN的NeuroSAT的求解性能也优于标准的NeuroSAT,在求解包含600个变量迭代次数上限为212的困难3-SAT问题上的准确率提高了35.69个百分点。

关键词: 布尔可满足性问题, 消息传递神经网络, 图神经网络, 机器学习, 人工智能

CLC Number: