Lune

AAAI2024Top-tier venue

Auditable Algorithms for Approximate Model Counting

Kuldeep S. Meel, Supratik Chakraborty, S. Akshay

Abstract

The problem of model counting, i.e., counting satisfying assignments of a Boolean formula, is a fundamental problem in computer science, with diverse applications. Given #P-hardness of the problem, many algorithms have been developed over the years to provide an approximate model count. Recently, building on the practical success of SAT-solvers used as NP oracles, the focus has shifted from theory to practical implementations of such algorithms. This has brought to focus new challenges. In this paper, we consider one such challenge – that of auditable deterministic approximate model counters wherein a counter should also generate a certificate, which allows a user (often with limited computational power) to independently audit whether the count returned by an invocation of the algorithm is indeed within the promised bounds.

We start by examining a celebrated approximate model counting algorithm due to Stockmeyer that uses polynomially many calls to a ^2_P oracle, and show that it can be audited via a ^2_P formula on (n^2 log^2 n) variables, where n is the number of variables in the original formula. Since n is often large (10’s to 100’s of thousands) for typical instances, we ask if the count of variables in the certificate formula can be reduced – a critical question towards potential implementation. We show that this improvement in certification can be achieved with a tradeoff in the counting algorithm’s complexity. Specifically, we develop new deterministic approximate model counting algorithms that invoke a ^3_P oracle, but can be certified using a ^2_P formula on fewer variables: our final algorithm uses just (n log n) variables.

Our study demonstrates that one can simplify certificate checking significantly if we allow the counting algorithm to access a slightly more powerful oracle. We believe this shows for the first time how the audit complexity can be traded for the complexity of approximate counting.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • McFIL: Model Counting Functionality-Inherent Leakage cites Automating the Development of Chosen Ciphertext Attacks
  • Formally Certified Approximate Model Counting cites Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and Sampling
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Formally Certified Approximate Model CountingYong Kiam Tan, Jiong Yang, Mate Soos, Magnus O. Myreen et al.CAV 2024 · 1 citation

Builds on3

  1. Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and SamplingMate Soos, Stephan Gocht, Kuldeep S. MeelCAV 2020 · 102 citations
  2. Automating the Development of Chosen Ciphertext AttacksGabrielle Beck, Maximilian Zinkus, Matthew GreenUSENIX Security 2020
  3. McFIL: Model Counting Functionality-Inherent LeakageMaximilian Zinkus, Yinzhi Cao, Matthew D. GreenUSENIX Security 2023

Related papers

  1. Towards Real-Time Approximate CountingYash Pote, Kuldeep S. Meel, Jiong YangAAAI 2025 · 3 citations
  2. Rounding Meets Approximate Model CountingJiong Yang, Kuldeep S. MeelCAV 2023 · 8 citations
  3. Sparse Hashing for Scalable Approximate Model Counting: Theory and PracticeKuldeep S. Meel, S. AkshayLICS 2020 · 20 citations
  4. Towards Projected and Incremental Pseudo-Boolean Model CountingSuwei Yang, Kuldeep S. MeelAAAI 2025
  5. Certifying Top-Down Decision-DNNF CompilersFlorent Capelli, Jean-Marie Lagniez, Pierre MarquisAAAI 2021 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines