Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/3016100.3016385guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Exponential recency weighted average branching heuristic for SAT solvers

Published: 12 February 2016 Publication History

Abstract

Modern conflict-driven clause-learning SAT solvers routinely solve large real-world instances with millions of clauses and variables in them. Their success crucially depends on effective branching heuristics. In this paper, we propose a new branching heuristic inspired by the exponential recency weighted average algorithm used to solve the bandit problem. The branching heuristic, we call CHB, learns online which variables to branch on by leveraging the feedback received from conflict analysis. We evaluated CHB on 1200 instances from the SAT Competition 2013 and 2014 instances, and showed that CHB solves significantly more instances than VSIDS, currently the most effective branching heuristic in widespread use. More precisely, we implemented CHB as part of the MiniSat and Glucose solvers, and performed an apple-to-apple comparison with their VSIDS-based variants. CHB-based MiniSat (resp. CHB-based Glucose) solved approximately 16.1% (resp. 5.6%) more instances than their VSIDS-based variants. Additionally, CHB-based solvers are much more efficient at constructing first preimage attacks on step-reduced SHA-1 and MD5 cryptographic hash functions, than their VSIDS-based counterparts. To the best of our knowledge, CHB is the first branching heuristic to solve significantly more instances than VSIDS on a large, diverse benchmark of real-world instances.

References

[1]
Ansótegui, C.; Giráldez-Cru, J.; and Levy, J. 2012. The community structure of SAT formulas. In Theory and Applications of Satisfiability Testing–SAT 2012. Springer. 410-423.
[2]
Audemard, G., and Simon, L. 2009a. Glucose: a solver that predicts learnt clauses quality. SAT Competition 7-8.
[3]
Audemard, G., and Simon, L. 2009b. Predicting learnt clauses quality in modern SAT solvers. In IJCAI, volume 9, 399-404.
[4]
Audemard, G., and Simon, L. 2012. Refining restarts strategies for SAT and UNSAT. In Principles and Practice of Constraint Programming, 118-126. Springer.
[5]
Audemard, G., and Simon, L. 2013. Glucose 2.3 in the sat 2013 competition. In Proceedings of SAT Competition 2013, 42-43.
[6]
Balint, A.; Belov, A.; Heule, M. J. H.; and Järvisalo, M. 2013. Solver and benchmark descriptions. In Proceedings of SAT Competition 2013, volume B-2013-1. University of Helsinki.
[7]
Belov, A.; Diepold, D.; Heule, M. J. H.; and Järvisalo, M. 2014. Solver and benchmark descriptions. In Proceedings of SAT Competition 2014, volume B-2014-2. University of Helsinki.
[8]
Biere, A., and Fröhlich, A. 2015. Evaluating CDCL variable scoring schemes. In Theory and Applications of Satisfiability Testing–SAT 2015. Springer. 405-422.
[9]
Biere, A.; Cimatti, A.; Clarke, E. M.; Strichman, O.; and Zhu, Y. 2003. Bounded model checking. Advances in computers 58:117-148.
[10]
Biere, A. 2010. Lingeling, plingeling, picosat and precosat at SAT race 2010. FMV Report Series Technical Report 10(1).
[11]
Cadar, C.; Ganesh, V.; Pawlowski, P. M.; Dill, D. L.; and Engler, D. R. 2008. EXE: automatically generating inputs of death. ACM Transactions on Information and System Security (TISSEC) 12(2):10.
[12]
Chen, J. 2014. Minisat blbd. In Proceedings of SAT Competition 2014, volume B-2014-2, 45. University of Helsinki.
[13]
Goldberg, E., and Novikov, Y. 2007. BerkMin: A fast and robust SAT-solver. Discrete Applied Mathematics 155(12):1549-1561.
[14]
Jeroslow, R. G., and Wang, J. 1990. Solving propositional satisfiability problems. Annals of mathematics and Artificial Intelligence 1(1-4):167-187.
[15]
Katebi, H.; Sakallah, K. A.; and Marques-Silva, J. P. 2011. Empirical study of the anatomy of modern SAT solvers. In Theory and Applications of Satisfiability Testing-SAT 2011. Springer. 343-356.
[16]
Lagoudakis, M. G., and Littman, M. L. 2001. Learning to select branching rules in the DPLL procedure for satisfiability. Electronic Notes in Discrete Mathematics 9:344-359.
[17]
Liang, J. H.; Ganesh, V.; Zulkoski, E.; Zaman, A.; and Czarnecki, K. 2015. Understanding VSIDS branching heuristics in conflict-driven clause-learning SAT solvers. In Hardware and Software: Verification and Testing. Springer. 225-241.
[18]
Marques-Silva, J. P., and Sakallah, K. 1999. GRASP: A search algorithm for propositional satisfiability. Computers, IEEE Transactions on 48(5):506-521.
[19]
Marques-Silva, J. P. 1999. The impact of branching heuristics in propositional satisfiability algorithms. In Progress in Artificial Intelligence. Springer. 62-74.
[20]
Mironov, I., and Zhang, L. 2006. Applications of SAT solvers to cryptanalysis of hash functions. In Theory and Applications of Satisfiability Testing-SAT 2006. Springer. 102-115.
[21]
Moskewicz, M. W.; Madigan, C. F.; Zhao, Y.; Zhang, L.; and Malik, S. 2001. Chaff: Engineering an efficient SAT solver. In Proceedings of the 38th annual Design Automation Conference, 530-535. ACM.
[22]
Rintanen, J. 2009. Planning and SAT. Handbook of Satisfiability 185:483-504.
[23]
Soos, M. 2010. Cryptominisat 2.5.0. SAT Race.
[24]
Sorensson, N., and Een, N. 2005. MiniSat v1.13-a SAT solver with conflict-clause minimization. SAT 2005:53.
[25]
Stump, A.; Sutcliffe, G.; and Tinelli, C. 2014. StarExec: a cross-community infrastructure for logic solving. In Automated Reasoning. Springer. 367-373.
[26]
Sutton, R. S., and Barto, A. G. 1998. Reinforcement learning: An introduction, volume 1. MIT press Cambridge.

Cited By

View all
  • (2021)Machine Learning for Electronic Design Automation: A SurveyACM Transactions on Design Automation of Electronic Systems10.1145/345117926:5(1-46)Online publication date: 5-Jun-2021
  • (2019)Learning local search heuristics for boolean satisfiabilityProceedings of the 33rd International Conference on Neural Information Processing Systems10.5555/3454287.3455005(7992-8003)Online publication date: 8-Dec-2019
  • (2019)Conflict history based search for constraint satisfaction problemProceedings of the 34th ACM/SIGAPP Symposium on Applied Computing10.1145/3297280.3297389(1117-1122)Online publication date: 8-Apr-2019
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Guide Proceedings
AAAI'16: Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence
February 2016
4406 pages

Sponsors

  • Association for the Advancement of Artificial Intelligence

Publisher

AAAI Press

Publication History

Published: 12 February 2016

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 03 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2021)Machine Learning for Electronic Design Automation: A SurveyACM Transactions on Design Automation of Electronic Systems10.1145/345117926:5(1-46)Online publication date: 5-Jun-2021
  • (2019)Learning local search heuristics for boolean satisfiabilityProceedings of the 33rd International Conference on Neural Information Processing Systems10.5555/3454287.3455005(7992-8003)Online publication date: 8-Dec-2019
  • (2019)Conflict history based search for constraint satisfaction problemProceedings of the 34th ACM/SIGAPP Symposium on Applied Computing10.1145/3297280.3297389(1117-1122)Online publication date: 8-Apr-2019
  • (2018)An empirical study of branching heuristics through the lens of global learning rateProceedings of the 27th International Joint Conference on Artificial Intelligence10.5555/3304652.3304758(5319-5323)Online publication date: 13-Jul-2018
  • (2017)An effective learnt clause minimization approach for CDCL SAT solversProceedings of the 26th International Joint Conference on Artificial Intelligence10.5555/3171642.3171743(703-711)Online publication date: 19-Aug-2017
  • (2017)Combining SAT Solvers with Computer Algebra Systems to Verify Combinatorial ConjecturesJournal of Automated Reasoning10.1007/s10817-016-9396-y58:3(313-339)Online publication date: 1-Mar-2017

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media