Using Machine Learning Classifiers in SAT Branching [Extended Abstract]


  • Ruth Helen Bergin University College Cork, Ireland
  • Marco Dalla University College Cork, Ireland
  • Andrea Visentin University College Cork, Ireland
  • Barry O'Sullivan University College Cork, Ireland
  • Gregory Provan University College Cork, Ireland



Search In Boolean Satisfiability, Machine And Deep Learning In Search, Random Vs. Systematic Search Strategy Selection, Time, Memory, And Solution Quality Trade-offs


The Boolean Satisfiability Problem (SAT) can be framed as a binary classification task. Recently, numerous machine and deep learning techniques have been successfully deployed to predict whether a CNF has a solution. However, these approaches do not provide a variables assignment when the instance is satisfiable and have not been used as part of SAT solvers. In this work, we investigate the possibility of using a machine-learning SAT/UNSAT classifier to assign a truth value to a variable. A heuristic solver can be created by iteratively assigning one variable to the value that leads to higher predicted satisfiability. We test our approach with and without probing features and compare it to a heuristic assignment based on the variable's purity. We consider as objective the maximisation of the number of literals fixed before making the CNF unsatisfiable. The preliminary results show that this iterative procedure can consistently fix variables without compromising the formula's satisfiability, finding a complete assignment in almost all test instances.