The problem of counting the number of models of a given Boolean formula has numerous applications, including computing the leakage of deterministic programs in Quantitative Information Flow. Model counting is a hard, #P-complete problem. For this reason, many approximate counters have been developed in the last decade, offering formal guarantees of confidence and accuracy. A popular approach is based on the idea of using random XOR constraints to, roughly, successively halving the solution set until no model is left: this is checked by invocations to a SAT solver. The effectiveness of this procedure hinges on the ability of the SAT solver to deal with XOR constraints, which in turn crucially depends on the length of such constraints. We study to what extent one can employ sparse, hence short, constraints, keeping guarantees of correctness. We show that the resulting bounds are closely related to the geometry of the set of models, in particular to the minimum Hamming distance between models. We evaluate our theoretical results on a few concrete formulae. Based on our findings, we finally discuss possible directions for improvements of the current state of the art in approximate model counting.
Approximate model counting, sparse XOR constraints and minimum distance / Boreale, M.; Gorla, D.. - (2019), pp. 363-378. - LECTURE NOTES IN ARTIFICIAL INTELLIGENCE.
|Titolo:||Approximate model counting, sparse XOR constraints and minimum distance|
|Data di pubblicazione:||2019|
|Citazione:||Approximate model counting, sparse XOR constraints and minimum distance / Boreale, M.; Gorla, D.. - (2019), pp. 363-378. - LECTURE NOTES IN ARTIFICIAL INTELLIGENCE.|
|Appartiene alla tipologia:||02a Capitolo o Articolo|