Fast Converging Anytime Model Counting

Yong Lai, Kuldeep S. Meel, Roland H. C. Yap
12/19/2022
cs.AIcs.LO

Official code: meelgroup/KCBox (29 stars, C++, MIT, last commit 2025-11-25).

Abstract

Model counting is a fundamental problem which has been influential in many applications, from artificial intelligence to formal verification. Due to the intrinsic hardness of model counting, approximate techniques have been developed to solve real-world instances of model counting.

Show full abstract

This paper designs a new anytime approach called PartialKC for approximate model counting. The idea is a form of partial knowledge compilation to provide an unbiased estimate of the model count which can converge to the exact count. Our empirical analysis demonstrates that PartialKC achieves significant scalability and accuracy over prior state-of-the-art approximate counters, including satss and STS. Interestingly, the empirical results show that PartialKC reaches convergence for many instances and therefore provides exact model counting performance comparable to state-of-the-art exact counters.

View on arXivView PDF

Code Implementations(1)

meelgroup/KCBoxOfficial100%
MIT

A toolbox for knowledge compilation

295C++, CFeb 3, 20211 years agoMIT
knowledge-compilationmodel-countinguniform-sampling

Similar Papers

Cite this paper

@article{lai2022fast,
  title  = {Fast Converging Anytime Model Counting},
  author = {Yong Lai and Kuldeep S. Meel and Roland H. C. Yap},
  year   = {2022},
  eprint = {2212.09390},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.09390}
}

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/2212.09390.svg)](https://codeofpaper.com/paper/2212.09390)

Discussion