Boolean formulae; Model Counting; Random sampling; Satisfiability solving; Software-systems; Solution model; Uniform sampling; Variability reduction; Software
Résumé :
[en] PROBLEM: Uniform Random Sampling (URS) is the problem of selecting solutions (models) from a Boolean formula such that each solution gets the same probability of being selected. URS has many applications. In large configurable software systems, one wants an unbiased sample of configurations to look for bugs at an affordable cost [12, 13]. Other applications of URS include deep learning verification (to sample inputs from unknown distributions) [2] and evolutionary algorithms (to initialize the input population) [4]. Model counting (#SAT) - the problem of counting the number of solutions of a Boolean formula - is closely related to URS. These two problems generally rely on the same principles and heuristics to be solved; URS can also be reduced to #SAT [11]. Beyond URS, #SAT has many applications in (configurable) software engineering, such as variability reduction [15], variability evolution and analysis [7, 16], feature prioritization [15] and bug fix prioritization [8]. URS and #SAT are both challenging to solve efficiently: existing solutions hardly scale to real-world formulas [13]. Unlike the traditional problem of satisfiability solving (SAT), the reasons behind the complexity of URS and #SAT have been underexplored.
Disciplines :
Sciences informatiques
Auteur, co-auteur :
ZEYEN, Olivier ; University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SerVal
CORDY, Maxime ; University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SerVal
Perrouin, Gilles ; Université de Namur, Belgium
Acher, Mathieu ; Univ Rennes, Inria, CNRS, IRISA, France
Co-auteurs externes :
yes
Langue du document :
Anglais
Titre :
Exploring the Computational Complexity of SAT Counting and Uniform Sampling with Phase Transitions
Date de publication/diffusion :
14 avril 2024
Nom de la manifestation :
Proceedings of the 2024 IEEE/ACM 46th International Conference on Software Engineering: Companion Proceedings
ACM and ACM Special Interest Group on Software Engineering Centro Cultural de Belem et al. Faculty of Engineering of University of Porto IEEE Computer Society and IEEE Technical Council on Software Engineering INESC-ID
Subventionnement (détails) :
Maxime Cordy and Olivier Zeyen are supported by FNR Luxembourg (grants C19/IS/13566661/BEEHIVE/Cordy and AFR Grant 17047437)
Carlos Ansótegui, Jesús Giráldez-Cru, and Jordi Levy. 2012. The Community Structure of SAT Formulas. In International Conference on Theory and Applications of Satisfiability Testing.
Teodora Baluta, Zheng Leong Chua, Kuldeep S. Meel, and Prateek Saxena. 2021. Scalable Quantitative Verification For Deep Neural Networks. In 43rd IEEE/ACM International Conference on Software Engineering, ICSE 2021, Madrid, Spain, 22-30 May 2021. IEEE, 312-323. https://doi.org/10.1109/ICSE43902.2021.00039
Shaowei Cai, Chuan Luo, and Kaile Su. 2014. Scoring Functions Based on Second Level Score for k-SAT with Long Clauses. J. Artif. Intell. Res. 51 (2014), 413-441. https://api.semanticscholar.org/CorpusID:16385185
Axel de Perthuis de Laillevault, Benjamin Doerr, and Carola Doerr. 2015. Money for Nothing: Speeding Up Evolutionary Algorithms Through Better Initialization. In Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation (Madrid, Spain) (GECCO '15). ACM, New York, NY, USA, 815-822. https://doi.org/10.1145/2739480.2754760
Jian Gao, Ruizhi Li, and Minghao Yin. 2017. A randomized diversification strategy for solving satisfiability problem with long clauses. Science China Information Sciences 60 (2017), 1-11. https://api.semanticscholar.org/CorpusID:13219850
Ian P. Gent and Toby Walsh. 1994. The SAT Phase Transition. In European Conference on Artificial Intelligence.
Ruben Heradio, Hector Perez-Morago, David Fernández-Amorós, Roberto Bean, Francisco Javier Cabrerizo, Carlos Cerrada, and Enrique Enrique Herrera-Viedma. 2016. Binary Decision Diagram Algorithms to Perform Hard Analysis Operations on Variability Models. In New Trends in Software Methodologies, Tools and Techniques.
Andreas Kübler, Christoph Zengler, andWolfgang Küchlin. 2010. Model Counting in Product Configuration. In LoCoCo.
David G. Mitchell, Bart Selman, and Hector J. Levesque. 1992. Hard and Easy Distributions of SAT Problems. In AAAI Conference on Artificial Intelligence.
Rémi Monasson, Riccardo Zecchina, Scott Kirkpatrick, Bart Selman, and Lidror Troyansky. 1999. Determining computational complexity from characteristic 'phase transitions'. Nature 400, 6740 (1999), 133-137.
Jeho Oh, Paul Gazzillo, Don Batory, Marijn Heule, and Margaret Myers. 2020. Scalable Uniform Sampling for Real-World Software Product Lines. Technical Report TR-20-01.
Jeho Oh, Paul Gazzillo, and Don S. Batory. 2019. t-wise coverage by uniform sampling. In Proceedings of the 23rd International Systems and Software Product Line Conference, SPLC 2019, Volume A, Paris, France, September 9-13, 2019, Thorsten Berger, Philippe Collet, Laurence Duchien, Thomas Fogdal, Patrick Heymans, Timo Kehrer, Jabier Martinez, Raúl Mazo, Leticia Montalvillo, Camille Salinesi, Xhevahire Tërnava, Thomas Thüm, and Tewfik Ziadi (Eds.). ACM, 15:1-15:4.
Quentin Plazar, Mathieu Acher, Gilles Perrouin, Xavier Devroey, and Maxime Cordy. 2019. Uniform Sampling of SAT Solutions for Configurable Systems: Are We There Yet In 12th IEEE Conference on Software Testing, Validation and Verification, ICST 2019, Xi'an, China, April 22-27, 2019. 240-251.
Yash Pote, Saurabh Joshi, and Kuldeep S. Meel. 2019. Phase Transition Behavior of Cardinality and XOR Constraints. ArXiv abs/1910.09755 (2019). https://api. semanticscholar.org/CorpusID:199465708
Chico Sundermann, Tobias Heß, Michael Nieke, Paul Maximilian Bittner, Jeffrey M. Young, Thomas Thüm, and Ina Schaefer. 2023. Evaluating state-of-the-art # SAT solvers on industrial configuration spaces. Empirical Software Engineering 28 (2023).
Chico Sundermann, Michael Nieke, Paul Maximilian Bittner, Tobias Heß, Thomas Thüm, and Ina Schaefer. 2021. Applications of #SAT Solvers on Feature Models. Proceedings of the 15th International Working Conference on Variability Modelling of Software-Intensive Systems (2021).