Proofs for Propositional Model Counting

Bourhis, Pierre, Duchien, Laurence, Jérémie Dusart, Emmanuel Lonca, Pierre Marquis, Clément QuintonarXiv 2022 · DOI

TL;DR

This paper introduces a novel system for certifying the correctness of propositional model counting (#SAT) results. By generating verifiable proof traces for various state-of-the-art #SAT algorithms, they aim to build trust and reliability in these tools, which are increasingly used in critical applications.

What Problem Does This Paper Address?

Propositional model counting (#SAT) is the problem of counting the number of satisfying assignments for a given Boolean formula. While #SAT solvers have become remarkably efficient, enabling applications in areas like probabilistic reasoning and design space exploration, ensuring the correctness of their outputs remains a significant challenge. As these tools are deployed in more critical domains, the need for verifiable and trustworthy results is paramount. Bugs can emerge in complex solvers, and without a mechanism for verification, it's difficult to explain decisions or guarantee accuracy. This paper addresses this gap by proposing a method to generate and verify proof traces for #SAT computations, thereby increasing confidence in the results.

Methods

The core contribution of this paper is a system for generating verifiable proof traces for #SAT solvers. They achieve this by adapting existing state-of-the-art #SAT algorithms to emit proof traces alongside their computed counts. Specifically, they focus on three predominant techniques:

  • Dynamic Programming: For solvers that use dynamic programming approaches, they show how to generate proof traces that document the recursive computations and aggregations.
  • Counting CDCL with Component Caching: For solvers based on Conflict-Driven Clause Learning (CDCL) with component caching, they detail how to extract proof traces that justify the learned components and the final count.
  • Knowledge Compilation to Decision-DNNF: For solvers that compile formulas into Decision-Deterministic, Decomposable Negation Normal Form (d-DNNF) circuits, they describe how to generate proofs that correspond to the circuit's structure and the counting process.

They also present a parallel trace checker, which can verify the correctness of these generated proofs, ensuring the integrity of the model counts.

Datasets

Not discussed in the paper. The paper focuses on the theoretical aspects of generating proofs for existing #SAT algorithms rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Verifiability is Crucial for Trust: The paper highlights that as #SAT solvers become more powerful and are used in more sensitive applications, their outputs must be trustworthy. Proof generation is a key step towards achieving this.
  • Unified Proof Generation Framework: The authors demonstrate that proof generation is feasible across diverse #SAT paradigms (dynamic programming, CDCL, knowledge compilation), suggesting a potential for a unified approach to certifying #SAT results.
  • Parallel Verification for Scalability: The development of a parallel trace checker is important for making the verification process efficient, especially for large and complex formulas.
  • Bridging the Gap Between Speed and Correctness: This work aims to bridge the gap between the pursuit of speed in #SAT solvers and the critical need for correctness and explainability.

Key Results

  • The paper presents a system capable of generating proof traces for three major classes of exact #SAT solvers.
  • A parallel trace checker is developed to verify these proof traces.
  • Proof-of-concepts for emitting proofs and a parallel trace checker are provided, demonstrating the feasibility of the approach.
  • An empirical experiment is mentioned to showcase the use of certified model counting.

Limitations and Future Work

  • Empirical Evaluation Depth: While an empirical experiment is mentioned, the paper's primary focus is on the theoretical framework and algorithmic adaptations for proof generation. A more extensive empirical study would be beneficial to assess the practical overhead and scalability of the proof generation and verification process across a wider range of benchmarks and solver configurations.
  • Integration with Existing Solvers: The paper describes how to adapt existing algorithms. The practical implementation and integration of these proof generation mechanisms into widely used #SAT solvers would be a significant next step.
  • Proof Compression: The generated proof traces can be substantial. Future work could explore techniques for compressing these proofs without sacrificing verifiability, making them more manageable for storage and transmission.
  • Extending to Other Counting Problems: The current work focuses on propositional model counting. Extending the proof generation framework to other related counting problems (e.g., weighted model counting) would broaden its applicability.

Summary updated

BibTeX
@misc{pierre2022proofs,
  author = {Bourhis, Pierre and Duchien, Laurence and Jérémie Dusart and Emmanuel Lonca and Pierre Marquis and Clément Quinton},
  title = {{Proofs for Propositional Model Counting}},
  year = {2022},
  eprint = {2202.05938},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.05938},
}
Figure