A Heuristic SAT Problems Solving Method based on LSTM Network

被引:0
|
作者
Wang, Yichuan [1 ]
Liang, Xiaolong [1 ]
Hei, Xinhong [1 ]
Zhu, Lei [1 ]
Ji, Wenjiang [1 ]
机构
[1] Xian Univ Technol, Coll Comp Sci & Engn, Xian, Peoples R China
关键词
LSTM; NP-complete(NPC); RNN; Cryptography; Satisfiability Problem (SAT);
D O I
10.1109/PAAP54281.2021.9720482
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Boolean Satisfiability Problem(SAT) is a well known determination Problem. S.A.Cook proved in 1971 that SAT Problem is the first NP-Complete (NPC) Problem in the world, namely, any non-deterministic Polynomial (NP) Problem can be specified with the SAT Problem for solving in Polynomial time. Therefore, Boolean satisfiability problem (SAT) can be extended to many practical applications, such as integrated circuit design optimization, biological genes, artificial intelligence, Internet, etc. And there are a lot of NP problems in cryptography. Therefore, the study of SAT Problem is of great significance to cryptography. In this paper, we design a heuristic SAT solving algorithm based on LSTM (Long Short-Term Memory) recurrent neural networks. First of all, based on LSTM, we train the model as an end-to-end SAT Solver, which can output 0 or 1 to represent the satisfiability of each SAT problem. Then we extract the highdimensional output of the LSTM network and carry out k-means clustering analysis. Finally, we assign the obtained results as the initial value of the variables of the SAT problem, and inspire two types of classical algorithms (complete algorithm and incomplete algorithm) to solve the SAT problem respectively, so as to accelerate the solving process. In the experiment, we demonstrated the test results of SAT problems with different sizes, and The results show that the LSTM-WalkSAT and LSTM-DPLL based heuristic SAT solving methods can significantly improve the solving efficiency of the original complete or incomplete SAT solving algorithms.
引用
收藏
页码:141 / 145
页数:5
相关论文
共 50 条
  • [31] ALGORITHMIS AND HEURISTIC SOLVING OF INTELLECTUAL PROBLEMS
    ZASTAVKA, Z
    CESKOSLOVENSKA PSYCHOLOGIE, 1971, 15 (04): : 321 - 339
  • [32] Solving SAT problem by heuristic polarity decision-making algorithm
    Jing, Minge
    Zhou, Dian
    Tang, PuShan
    Zhou, XiaoFang
    Zhang, Hua
    SCIENCE IN CHINA SERIES F-INFORMATION SCIENCES, 2007, 50 (06): : 915 - 925
  • [33] Solving SAT problem by heuristic polarity decision-making algorithm
    MingE Jing
    Dian Zhou
    PuShan Tang
    XiaoFang Zhou
    Hua Zhang
    Science in China Series F: Information Sciences, 2007, 50 : 915 - 925
  • [34] Guided local search for solving SAT and weighted MAX-SAT problems
    Mills, P
    Tsang, E
    JOURNAL OF AUTOMATED REASONING, 2000, 24 (1-2) : 205 - 223
  • [35] Guided Local Search for Solving SAT and Weighted MAX-SAT Problems
    Patrick Mills
    Edward Tsang
    Journal of Automated Reasoning, 2000, 24 : 205 - 223
  • [36] Variational satisfiability solving: efficiently solving lots of related SAT problems
    Young, Jeffrey M.
    Bittner, Paul Maximilian
    Walkingshaw, Eric
    Thuem, Thomas
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (01)
  • [37] Discrete Lagrangian-based search for solving MAX-SAT problems
    Wah, BW
    Shang, Y
    IJCAI-97 - PROCEEDINGS OF THE FIFTEENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 AND 2, 1997, : 378 - 383
  • [38] Variational satisfiability solving: efficiently solving lots of related SAT problems
    Jeffrey M. Young
    Paul Maximilian Bittner
    Eric Walkingshaw
    Thomas Thüm
    Empirical Software Engineering, 2023, 28
  • [39] A DEEP NEURAL NETWORK-BASED NUMERICAL METHOD FOR SOLVING CONTACT PROBLEMS
    Shen, X. I. N. G.
    Cheng, X. I. A. O. L. I. A. N. G.
    Liang, K. E. W. E., I
    Wang, X. I. L. U.
    Wu, Z. H. E. N. G. H. U. A.
    JOURNAL OF NONLINEAR AND VARIATIONAL ANALYSIS, 2022, 6 (05): : 483 - 498
  • [40] Solving Minimal Hitting Sets Method with SAT Based on DOEC Minimization
    Wang R.
    Ouyang D.
    Wang Y.
    Liu S.
    Zhang L.
    Zhang, Liming (limingzhang@jlu.edu.cn), 2018, Science Press (55): : 1273 - 1281