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 条
  • [41] A Network Traffic Prediction Method Based on LSTM
    WANG Shihao
    ZHUO Qinzheng
    YAN Han
    LI Qianmu
    QI Yong
    ZTECommunications, 2019, 17 (02) : 19 - 25
  • [42] Some heuristic analysis of local search algorithms for SAT problems
    Watanabe, O
    STOCHASTIC ALGORITHMS: FOUNDATIONS AND APPLICATIONS, PROCEEDINGS, 2005, 3777 : 14 - 25
  • [43] Solving knapsack problems using a fuzzy sets-based heuristic
    Blanco, A
    Pelta, DA
    Verdegay, JL
    SYSTEMATIC ORGANISATION OF INFORMATION IN FUZZY SYSTEMS, 2003, 184 : 269 - 275
  • [44] Solving constraint satisfaction problems with heuristic-based evolutionary algorithms
    Craenen, BGW
    Eiben, AE
    Marchiori, E
    PROCEEDINGS OF THE 2000 CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1 AND 2, 2000, : 1571 - 1577
  • [45] Solving Temporal Constraint Satisfaction Problems with Heuristic based Evolutionary Algorithms
    Jashmi, Bahareh Jafari
    Mouhoub, Malek
    20TH IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, VOL 2, PROCEEDINGS, 2008, : 525 - 529
  • [46] A clause-based heuristic for SAT solvers
    Dershowitz, N
    Hanna, Z
    Nadel, A
    THEORY AND APPLICATIONS OF SATISFIABILITY TESTING, PROCEEDINGS, 2005, 3569 : 46 - 60
  • [47] OPTSAT: A tool for solving SAT related optimization problems
    Giunchiglia, Enrico
    Maratea, Marco
    LOGICS IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2006, 4160 : 485 - 489
  • [48] Analog dynamics for solving max-SAT problems
    Molnar, Botond
    Ercsey-Ravasz, Maria
    2014 14TH INTERNATIONAL WORKSHOP ON CELLULAR NANOSCALE NETWORKS AND THEIR APPLICATIONS (CNNA), 2014,
  • [49] Solving subset sum and SAT problems by reaction systems
    Aman, Bogdan
    Ciobanu, Gabriel
    NATURAL COMPUTING, 2024, 23 (02) : 177 - 187
  • [50] Solving constraint satisfaction problems with SAT modulo theories
    Miquel Bofill
    Miquel Palahí
    Josep Suy
    Mateu Villaret
    Constraints, 2012, 17 : 273 - 303