Machine Learning-Based Restart Policy for CDCL SAT Solvers

被引:19
|
作者
Liang, Jia Hui [1 ]
Oh, Chanseok [2 ]
Mathew, Minu [3 ]
Thomas, Ciza [3 ]
Li, Chunxiao [1 ]
Ganesh, Vijay [1 ]
机构
[1] Univ Waterloo, Waterloo, ON, Canada
[2] Google, New York, NY USA
[3] Coll Engn, Thiruvananthapuram, Kerala, India
关键词
SATISFIABILITY;
D O I
10.1007/978-3-319-94144-8_6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Restarts are a critically important heuristic in most modern conflict-driven clause-learning (CDCL) SAT solvers. The precise reason as to why and how restarts enable CDCL solvers to scale efficiently remains obscure. In this paper we address this question, and provide some answers that enabled us to design a new effective machine learning-based restart policy. Specifically, we provide evidence that restarts improve the quality of learnt clauses as measured by one of best known clause quality metrics, namely, literal block distance (LBD). More precisely, we show that more frequent restarts decrease the LBD of learnt clauses, which in turn improves solver performance. We also note that too many restarts can be harmful because of the computational overhead of rebuilding the search tree from scratch too frequently. With this trade-off in mind, between that of learning better clauses vs. the computational overhead of rebuilding the search tree, we introduce a new machine learning-based restart policy that predicts the quality of the next learnt clause based on the history of previously learnt clauses. The restart policy erases the solver's search tree during its run, if it predicts that the quality of the next learnt clause is below some dynamic threshold that is determined by the solver's history on the given input. Our machine learning-based restart policy is based on two observations gleaned from our study of LBDs of learnt clauses. First, we discover that high LBD percentiles can be approximated with z-scores of the normal distribution. Second, we find that LBDs, viewed as a sequence, are correlated and hence the LBDs of past learnt clauses can be used to predict the LBD of future ones. With these observations in place, and techniques to exploit them, our new restart policy is shown to be effective over a large benchmark from the SAT Competition 2014 to 2017.
引用
收藏
页码:94 / 110
页数:17
相关论文
共 50 条
  • [1] Conflicting Rate Based Branching Heuristic for CDCL SAT Solvers
    Chen, Qingshan
    Xu, Yang
    Wu, Guanfeng
    He, Xingxing
    2017 12TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS AND KNOWLEDGE ENGINEERING (IEEE ISKE), 2017,
  • [2] Clause vivification by unit propagation in CDCL SAT solvers
    Li, Chu-Min
    Xiao, Fan
    Luo, Mao
    Manya, Felip
    Lu, Zhipeng
    Li, Yu
    ARTIFICIAL INTELLIGENCE, 2020, 279
  • [3] Boosting the Performance of CDCL-Based SAT Solvers by Exploiting Backbones and Backdoors
    Al-Yahya, Tasniem
    Menai, Mohamed El Bachir Abdelkrim
    Mathkour, Hassan
    ALGORITHMS, 2022, 15 (09)
  • [4] Adaptive restart strategies for conflict driven SAT solvers
    Biere, Armin
    THEORY AND APPLICATIONS OF SATISFIABILITY TESTING - SAT 2008, PROCEEDINGS, 2008, 4996 : 28 - +
  • [5] An Effective Learnt Clause Minimization Approach for CDCL SAT Solvers
    Luo, Mao
    Li, Chu-Min
    Xiao, Fan
    Manya, Felip
    Lu, Zhipeng
    PROCEEDINGS OF THE TWENTY-SIXTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2017, : 703 - 711
  • [6] Generating Combinatorial Test Cases by Efficient SAT Encodings Suitable for CDCL SAT Solvers
    Banbara, Mutsunori
    Matsunaka, Haruki
    Tamura, Naoyuki
    Inoue, Katsumi
    LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, 2010, 6397 : 112 - +
  • [7] Learning Rate Based Branching Heuristic for SAT Solvers
    Liang, Jia Hui
    Ganesh, Vijay
    Poupart, Pascal
    Czarnecki, Krzysztof
    THEORY AND APPLICATIONS OF SATISFIABILITY TESTING - SAT 2016, 2016, 9710 : 123 - 140
  • [8] Study of Fine-grained Nested Parallelism in CDCL SAT Solvers
    Edwards, James
    Vishkin, Uzi
    ACM TRANSACTIONS ON PARALLEL COMPUTING, 2021, 8 (03)
  • [9] SoK: Machine vs. machine - A systematic classification of automated machine learning-based CAPTCHA solvers
    Dionysiou, Antreas
    Athanasopoulos, Elias
    COMPUTERS & SECURITY, 2020, 97
  • [10] Enhancing Static Symmetry Breaking with Dynamic Symmetry Handling in CDCL SAT Solvers
    Tchinda, Rodrigue Konan
    Djamegni, Clementin Tayou
    INTERNATIONAL JOURNAL ON ARTIFICIAL INTELLIGENCE TOOLS, 2019, 28 (03)