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

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 studying 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 formulae. 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 sample from. For the first time, we investigate how phase transitions can explain the practical complexity of sampling. Our results, computed on 11,409 synthetic formulae and 4656 real-world formulae, 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.

Authors

Institutions

Publication Details

Published
2025-08-30
DOI
https://doi.org/10.1145/3744915.3748473
Primary Topic
Data Management and Algorithms
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Maxime Cordy, Mathieu Acher, Gilles Perrouin, Olivier Zeyen
1 links
Data Management and Algorithms
article

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

Maxime Cordy, Mathieu Acher, Gilles Perrouin, Olivier Zeyen
article en

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 studying 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 formulae. 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 sample from. For the first time, we investigate how phase transitions can explain the practical complexity of sampling. Our results, computed on 11,409 synthetic formulae and 4656 real-world formulae, 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.

Centre National de la Recherche Scientifique (FR), University of Namur (BE), University of Luxembourg (LU), Institut de Recherche en Informatique et Systèmes Aléatoires (FR), Institut National des Sciences Appliquées de Rennes (FR), Université de Rennes (FR)
Fonds De La Recherche Scientifique - FNRS
Openalex Percentile: Top 72%
Data Management and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Exploring the Computational Complexity of Uniform Random Sampling and SAT Counting with Phase Transitions — Maxime Cordy, Mathieu Acher, et al. · (2025) | TGRS Research Map | TGRS