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 条
  • [41] Instance-Based Selection of Policies for SAT Solvers
    Nikolic, Mladen
    Maric, Filip
    Janicic, Predrag
    THEORY AND APPLICATIONS OF SATISFIABILITY TESTING - SAT 2009, PROCEEDINGS, 2009, 5584 : 326 - 340
  • [42] Fast circuit delay calculation based on SAT solvers
    He, Zijian
    Lu, Tao
    Li, Huawei
    Li, Xiaowei
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2011, 23 (03): : 480 - 487
  • [43] Probabilistic Linear Solvers for Machine Learning
    Wenger, Jonathan
    Hennig, Philipp
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [44] Machine Learning-Based Predictive Inventory for a Vending Machine Warehouse
    Mehmood, Umair
    Broderick, John
    Davies, Simon
    Bashir, Ali Kashif
    Rabie, Khaled
    IEEE Internet of Things Magazine, 2024, 7 (06): : 94 - 100
  • [45] Machine Learning-Based Mapping for Mineral Exploration
    Zuo, Renguang
    Carranza, Emmanuel John M.
    MATHEMATICAL GEOSCIENCES, 2023, 55 (07) : 891 - 895
  • [46] Machine Learning-Based EDFA Gain Model
    You, Yuren
    Jiang, Zhiping
    Janz, Christopher
    2018 EUROPEAN CONFERENCE ON OPTICAL COMMUNICATION (ECOC), 2018,
  • [47] Machine Learning-Based Mapping for Mineral Exploration
    Renguang Zuo
    Emmanuel John M. Carranza
    Mathematical Geosciences, 2023, 55 : 891 - 895
  • [48] Evaluation of machine learning-based solutions for health
    Antoniou, Tony
    Mamdani, Muhammad
    CANADIAN MEDICAL ASSOCIATION JOURNAL, 2021, 193 (44) : E1720 - E1724
  • [49] Machine Learning-based BGP Traffic Prediction
    Farasat, Talaya
    Rathore, Muhammad Ahmad
    Khan, Akmal
    Kim, JongWon
    Posegga, Joachim
    2023 IEEE 22ND INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS, TRUSTCOM, BIGDATASE, CSE, EUC, ISCI 2023, 2024, : 1925 - 1934
  • [50] Machine Learning-Based Hurricane Wind Reconstruction
    Yang, Qidong
    Lee, Chia-Ying
    Tippett, Michael K.
    Chavas, Daniel R.
    Knutson, Thomas R.
    WEATHER AND FORECASTING, 2022, 37 (04) : 477 - 493