Skip to main content
QUICK REVIEW

[Paper Review] Projected Model Counting

Rehan Aziz, Geoffrey Chu|arXiv (Cornell University)|Jul 28, 2015
Bayesian Modeling and Causal InferenceComputer Science9 references7 citations
TL;DR

This paper introduces #∃SAT, a novel projected model counting problem that counts assignments to priority variables such that at least one extension to non-priority variables satisfies the formula. It proposes three techniques—DPLL-based search with early pruning, enhanced cube generalization, and d-DNNF-based forgetting—and demonstrates that #clasp and dSharp_P outperform others on benchmarks, with d2c offering a robust method for d-DNNF projection preserving determinism.

ABSTRACT

Model counting is the task of computing the number of assignments to variables V that satisfy a given propositional theory F. Model counting is an essential tool in probabilistic reasoning. In this paper, we introduce the problem of model counting projected on a subset P of original variables that we call 'priority' variables. The task is to compute the number of assignments to P such that there exists an extension to 'non-priority' variables V¶that satisfies F. Projected model counting arises when some parts of the model are irrelevant to the counts, in particular when we require additional variables to model the problem we are counting in SAT. We discuss three different approaches to projected model counting (two of which are novel), and compare their performance on different benchmark problems. To appear in 18th International Conference on Theory and Applications of Satisfiability Testing, September 24-27, 2015, Austin, Texas, USA

Motivation & Objective

  • To address the need for counting models projected on a subset of variables (priority variables) when non-priority variables are introduced for encoding constraints.
  • To solve the challenge of incorrect counts when non-priority variables are not functionally defined by priority variables.
  • To develop and evaluate efficient algorithms for #∃SAT, a problem in #P^NP that has received little prior attention.
  • To compare the performance of different approaches on real-world benchmarks, including planning robustness and storage problems.
  • To demonstrate that d2c provides an efficient method for projecting d-DNNF formulas while preserving determinism.

Proposed method

  • First method: Modify DPLL-based counters to prioritize search on priority variables and check satisfiability of the remaining formula using internal solver calls.
  • Second method: Enhance solution enumeration by greedily generalizing each solution cube to a minimal blocking clause, reducing exponential search space.
  • Third method: Compile the formula into d-DNNF, forget non-priority variables via variable elimination, convert back to CNF, and count models.
  • All methods are implemented and evaluated on benchmarks involving planning robustness and storage problems.
  • The d2c approach leverages knowledge compilation and is shown to preserve determinism during projection.

Experimental results

Research questions

  • RQ1How can model counting be effectively projected onto a subset of variables when non-priority variables are not functionally defined by them?
  • RQ2Which algorithmic strategies—DPLL-based search, cube generalization, or knowledge compilation—best scale for #∃SAT?
  • RQ3Can the d2c method efficiently project d-DNNF formulas while maintaining determinism and enabling fast counting?
  • RQ4How do the proposed methods compare in performance across diverse benchmarks with varying solution structures?
  • RQ5Can portfolio-based combinations of the methods achieve near-optimal performance across diverse problem instances?

Key findings

  • The #clasp method outperforms others when the number of solution cubes is small and cube quality is high.
  • dSharp_P achieves the best performance when component caching and dynamic decomposition are beneficial.
  • d2c is competitive and robust, with the final model counting step often being faster than d-DNNF construction.
  • The d2c approach preserves determinism during projection, making it suitable for knowledge compilation pipelines.
  • For the storage benchmark, #clasp solved 4 instances, while dSharp_P and d2c failed on all, indicating d2c’s robustness in hard cases.
  • In the planning robustness benchmark, #clasp and d2c showed strong performance, with d2c being particularly efficient on larger instances.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.