Bit-Vector Model Counting using Statistical Estimation

Seonmo Kim, Stephen McCamant
12/21/2017
cs.CRcs.AI

Official code: seonmokim/SearchMC (6 stars, Perl, last commit 2021-12-13).

Abstract

Approximate model counting for bit-vector SMT formulas (generalizing \#SAT) has many applications such as probabilistic inference and quantitative information-flow security, but it is computationally difficult. Adding random parity constraints (XOR streamlining) and then checking satisfiability is an effective approximation technique, but it requires a prior hypothesis about the model count to produce useful results.

Show full abstract

We propose an approach inspired by statistical estimation to continually refine a probabilistic estimate of the model count for a formula, so that each XOR-streamlined query yields as much information as possible. We implement this approach, with an approximate probability model, as a wrapper around an off-the-shelf SMT solver or SAT solver. Experimental results show that the implementation is faster than the most similar previous approaches which used simpler refinement strategies. The technique also lets us model count formulas over floating-point constraints, which we demonstrate with an application to a vulnerability in differential privacy mechanisms.

View on arXivView PDF

Code Implementations(1)

seonmokim/SearchMCOfficial100%

SearchMC: Approximate Model Counter

61Perl, COct 21, 20164 years agoNOASSERTION

Similar Papers

Cite this paper

@article{kim2017bitvector,
  title  = {Bit-Vector Model Counting using Statistical Estimation},
  author = {Seonmo Kim and Stephen McCamant},
  year   = {2017},
  eprint = {1712.07770},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1712.07770}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1712.07770.svg)](https://codeofpaper.com/paper/1712.07770)

Discussion