Exploring the Computational Complexity of SAT Counting and Uniform Sampling with Phase Transitions

Olivier Zeyen, Maxime Cordy, Gilles Perrouin, Mathieu Acher

Research output: Contribution to conferencePosterpeer-review

62 Downloads (Pure)

Abstract

Uniform Random Sampling (URS) and Model Counting\ (#SAT) are two intrinsically linked, theoretical problems with relevant practical applications in software engineering. In particular, in configurable system engineering URS and #SAT can support study of configurations’ properties unbiasedly. Despite the community efforts to provide scalable URS and #SAT tools, solving these problems efficiently remains challenging for a large number of formulas. Contrary to the classical SAT problem, whose complexity has been an object of fundamental studies, little is known about what makes a formula hard to count or sample from. For the first time, we investigate how phase transitions can explain the practical complexity of counting and sampling. Our results, computed on 11,409 synthetic formulas and 503 real-world formulas, show that phase transitions occur in both cases, but at a different clause-to-variable ratio than for SAT tasks. We further reveal that low formula modularity is correlated with a higher URS/#SAT time. Overall, our work contributes to a principled understanding of URS and #SAT complexity.
Original languageEnglish
Publication statusPublished - 2024
Event46th International Conference on Software Engineering - Lisbon, Portugal
Duration: 12 Apr 202421 Apr 2024
https://conf.researchr.org/home/icse-2024

Conference

Conference46th International Conference on Software Engineering
Country/TerritoryPortugal
CityLisbon
Period12/04/2421/04/24
Internet address

Fingerprint

Dive into the research topics of 'Exploring the Computational Complexity of SAT Counting and Uniform Sampling with Phase Transitions'. Together they form a unique fingerprint.

Cite this