Rounding Meets Approximate Model Counting

05/16/2023
by   Jiong Yang, et al.
0

The problem of model counting, also known as #SAT, is to compute the number of models or satisfying assignments of a given Boolean formula F. Model counting is a fundamental problem in computer science with a wide range of applications. In recent years, there has been a growing interest in using hashing-based techniques for approximate model counting that provide (ε, δ)-guarantees: i.e., the count returned is within a (1+ε)-factor of the exact count with confidence at least 1-δ. While hashing-based techniques attain reasonable scalability for large enough values of δ, their scalability is severely impacted for smaller values of δ, thereby preventing their adoption in application domains that require estimates with high confidence. The primary contribution of this paper is to address the Achilles heel of hashing-based techniques: we propose a novel approach based on rounding that allows us to achieve a significant reduction in runtime for smaller values of δ. The resulting counter, called RoundMC, achieves a substantial runtime performance improvement over the current state-of-the-art counter, ApproxMC. In particular, our extensive evaluation over a benchmark suite consisting of 1890 instances shows that RoundMC solves 204 more instances than ApproxMC, and achieves a 4× speedup over ApproxMC.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/19/2022

Fast Converging Anytime Model Counting

Model counting is a fundamental problem which has been influential in ma...
research
10/21/2020

Taming Discrete Integration via the Boon of Dimensionality

Discrete integration is a fundamental problem in computer science that c...
research
02/21/2022

CCDD: A Tractable Representation for Model Counting and Uniform Sampling

Knowledge compilation concerns with the compilation of representation la...
research
04/30/2020

Sparse Hashing for Scalable Approximate Model Counting: Theory and Practice

Given a CNF formula F on n variables, the problem of model counting or #...
research
07/11/2019

Approximate Model Counting, Sparse XOR Constraints and Minimum Distance

The problem of counting the number of models of a given Boolean formula ...
research
12/21/2015

Constrained Sampling and Counting: Universal Hashing Meets SAT Solving

Constrained sampling and counting are two fundamental problems in artifi...
research
10/18/2021

Arjun: An Efficient Independent Support Computation Technique and its Applications to Counting and Sampling

Given a Boolean formula φ over the set of variables X and a projection s...

Please sign up or login with your details

Forgot password? Click here to reset