Engineering an Exact Pseudo-Boolean Model Counter

Suwei Yang, Kuldeep S. Meel
12/19/2023
cs.AI

No official code found. Best implementation: grab/pbcount (1 star, MIT, last commit 2025-02-13).

Abstract

Model counting, a fundamental task in computer science, involves determining the number of satisfying assignments to a Boolean formula, typically represented in conjunctive normal form (CNF). While model counting for CNF formulas has received extensive attention with a broad range of applications, the study of model counting for Pseudo-Boolean (PB) formulas has been relatively overlooked. Pseudo-Boolean formulas, being more succinct than propositional Boolean formulas, offer greater flexibility in representing real-world problems. Consequently, there is a crucial need to investigate efficient techniques for model counting for PB formulas. In this work, we propose the first exact Pseudo-Boolean model counter, PBCount, that relies on knowledge compilation approach via algebraic decision diagrams. Our extensive empirical evaluation shows that PBCount can compute counts for 1513 instances while the current state-of-the-art approach could only handle 1013 instances. Our work opens up several avenues for future work in the context of model counting for PB formulas, such as the development of preprocessing techniques and exploration of approaches other than knowledge compilation.

View on arXivView PDF

Code Implementations(1)

grab/pbcountCommunity100%
MIT

Research source code release for pseudo boolean counter based on addmc

12C++, CMakeJan 9, 20241 years agoMIT

Similar Papers

Cite this paper

@article{yang2023engineering,
  title  = {Engineering an Exact Pseudo-Boolean Model Counter},
  author = {Suwei Yang and Kuldeep S. Meel},
  year   = {2023},
  eprint = {2312.12341},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.12341v2}
}

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

Discussion