Abstract
The Boolean satisfiability problem holds a significant place in computer science, finding applications across various domains. This problem consists of looking for a truth assignment to a given Boolean formula that either validates it or proves its impossibility.
An indispensable element influencing the efficacy of tools designed for tackling this challenge, known as sat solvers, is the choice of an appropriate initialization strategy. This strategy encompasses the assignment of initial values, or polarities, to the variables before starting the search process. A well-crafted initialization strategy has the capability to curtail the search space and minimize the number of conflicts and backtracks by ensuring that variables are assigned values that are likely to satisfy the formula from the outset.
This paper introduces an innovative initialization approach founded on genetic algorithms, which are evolutionary algorithms inspired by the principles of natural selection and reproduction. Our approach executes a genetic algorithm on the given formula, persisting until it discovers a satisfying assignment or meets predetermined termination criteria.
Subsequently, it furnishes the satisfying assignment in case of success; otherwise, it employs the best assignment (that satisfies the highest number of clauses) to initialize the variables’ polarities for the sat solver.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Kissat is a cdcl sat solver originally developed by A. Biere [6] and subsequently improved over time by many others, giving rise to a family of Kissat-like solvers.
- 2.
- 3.
- 4.
References
Aiman, U., Asrar, N.: Genetic algorithm based solution to SAT-3 problem. J. Comput. Sci. Appl. 3(2), 33–39 (2015)
Audemard, G., Simon, L.: Predicting learnt clauses quality in modern SAT solvers. In: Proceedings of the 21st International Joint Conference on Artificial Intelligence, IJCAI 2009, pp. 399–404 (2009)
Balyo, T., Heule, M., Iser, M., Järvisalo, M., Suda, M.: Proceedings of SAT competition 2023: solver, benchmark and proof checker descriptions (2023)
Balyo, T., Heule, M.J., Iser, M., Järvisalo, M., Suda, M.: SAT competition 2022 (2022)
Bhattacharjee, A., Chauhan, P.: Solving the SAT problem using genetic algorithm. Adv. Sci. Technol. Eng. Syst 2(4), 115–120 (2017)
Biere, A., Fazekas, K., Fleury, M., Heisinger, M.: CaDiCaL, Kissat, Paracooba, Plingeling and Treengeling entering the SAT Competition 2020. In: Balyo, T., Froleyks, N., Heule, M., Iser, M., Järvisalo, M., Suda, M. (eds.) Proceedings of SAT Competition 2020 – Solver and Benchmark Descriptions. Department of Computer Science Report Series B, vol. B-2020-1, pp. 51–53. University of Helsinki (2020)
Boughaci, D., Drias, H., Benhamou, B., et al.: Combining a unit propagation with genetic algorithms to solve Max-SAT problems (2008)
Braunstein, A., Mézard, M., Zecchina, R.: Survey propagation: an algorithm for satisfiability. Random Struct. Algorithms 27(2), 201–226 (2005)
Cai, S., Luo, C., Su, K.: CCAnr: a configuration checking based local search solver for non-random satisfiability. In: Heule, M., Weaver, S. (eds.) SAT 2015. LNCS, vol. 9340, pp. 1–8. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24318-4_1
Cai, S., Luo, C., Zhang, X., Zhang, J.: Improving local search for structured SAT formulas via unit propagation based construct and cut initialization (short paper). In: 27th International Conference on Principles and Practice of Constraint Programming (CP 2021) (2021)
Davis, M., Logemann, G., Loveland, D.: A machine program for theorem-proving. Commun. ACM 5(7), 394–397 (1962)
Duan, H., Nejati, S., Trimponias, G., Poupart, P., Ganesh, V.: Online Bayesian moment matching based SAT solver heuristics. In: International Conference on Machine Learning, pp. 2710–2719. PMLR (2020)
Eén, N., Sörensson, N.: An extensible SAT-solver. In: International Conference on Theory and Applications of Satisfiability Testing (2003)
Froleyks, N., Heule, M., Iser, M., Järvisalo, M., Suda, M.: SAT competition 2020. Artif. Intell. 301, 103572 (2021)
Fu, H., Xu, Y., Wu, G., Ning, X.: An improved genetic algorithm for solving 3-SAT problems based on effective restart and greedy strategy. In: 2017 12th International Conference on Intelligent Systems and Knowledge Engineering (ISKE), pp. 1–6. IEEE (2017)
Holland, J.H.: Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence. MIT Press, Cambridge (1992)
Hutter, F., Hoos, H.H., Leyton-Brown, K.: Sequential model-based optimization for general algorithm configuration. In: Coello, C.A.C. (ed.) LION 2011. LNCS, vol. 6683, pp. 507–523. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-25566-3_40
Jebari, K., Madiafi, M., et al.: Selection methods for genetic algorithms. Int. J. Emerg. Sci. 3(4), 333–344 (2013)
Jeroslow, R.G., Wang, J.: Solving propositional satisfiability problems. Ann. Math. Artif. Intell. 1(1–4), 167–187 (1990)
Katoch, S., Chauhan, S.S., Kumar, V.: A review on genetic algorithm: past, present, and future. Multimed. Tools Appl. 80, 8091–8126 (2021)
Liang, J.H., Oh, C., Ganesh, V., Czarnecki, K., Poupart, P.: Maple-comsps, maplecomsps lrb, maplecomsps chb. In: Proceedings of SAT Competition 2016 (2016)
Marchiori, E., Rossi, C.: A flipping genetic algorithm for hard 3-SAT problems (1999)
Rana, S., Heckendorn, R.B., Whitley, D.: A tractable Walsh analysis of SAT and its implications for genetic algorithms. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 15, pp. 392–397 (1998)
Sami Cherif, M., Habet, D., Terrioux, C.: Un bandit manchot pour combiner CHB et VSIDS. In: Actes des 16èmes Journées Francophones de Programmation par Contraintes (JFPC), Nice, France (2021)
Selman, B., Kautz, H.A.: An empirical study of greedy local search for satisfiability testing. In: AAAI, vol. 93, pp. 46–51 (1993)
Silva, J.P.M., Sakallah, K.A.: GRASP—a new search algorithm for satisfiability. In: Proceedings of the 16th IEEE/ACM International Conference on Computer-Aided Design (ICCAD), pp. 220–227. IEEE (1997)
Soon, G.K., Guan, T.T., On, C.K., Alfred, R., Anthony, P.: A comparison on the performance of crossover techniques in video game. In: 2013 IEEE International Conference on Control System, Computing and Engineering. IEEE (2013)
Springer, P., Katoch, S.: A review on genetic algorithm: past, present, and future. Multimed. Tools Appl. 79, 44651–44681 (2020)
Zhang, X., Cai, S., Chen, Z.: Improving CDCL via local search. In: SAT Competition 2021, p. 42 (2021)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Saouli, S., Baarir, S., Dutheillet, C. (2024). Tackling the Polarity Initialization Problem in SAT Solving Using a Genetic Algorithm. In: Benz, N., Gopinath, D., Shi, N. (eds) NASA Formal Methods. NFM 2024. Lecture Notes in Computer Science, vol 14627. Springer, Cham. https://doi.org/10.1007/978-3-031-60698-4_2
Download citation
DOI: https://doi.org/10.1007/978-3-031-60698-4_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-60697-7
Online ISBN: 978-3-031-60698-4
eBook Packages: Computer ScienceComputer Science (R0)