[Paper Review] Proofs for Propositional Model Counting
This paper presents pseudo-polynomial-time algorithms for computing the k most preferred models of a d-DNNF circuit under a monotone, totally ordered semigroup structure (K, ⊗, <), where model values are aggregated via ⊗. The key contribution is efficient top-k model computation, top-k value derivation, and circuit transformation to retain only top-k models—all running in time polynomial in k and circuit size under mild assumptions.
Although propositional model counting (#SAT) was long considered too hard to be practical, today’s highly efficient solvers facilitate applications in probabilistic reasoning, reliability estimation, quantitative design space exploration, and more. The current trend of solvers growing more capable every year is likely to continue as a diverse range of algorithms are explored in the field. However, to establish model counters as reliable tools like SAT-solvers, correctness is as critical as speed. As in the nature of complex systems, bugs emerge as soon as the tools are widely used. To identify and avoid bugs, explain decisions, and provide trustworthy results, we need verifiable results. We propose a novel system for certifying model counts. We show how proof traces can be generated for exact model counters based on dynamic programming, counting CDCL with component caching, and knowledge compilation to Decision-DNNF, which are the predominant techniques in today’s exact implementations. We provide proof-of-concepts for emitting proofs and a parallel trace checker. Based on this, we show the feasibility of using certified model counting in an empirical experiment.
Motivation & Objective
- To develop efficient algorithms for computing the k most preferred models of a d-DNNF circuit under user-defined preferences.
- To generalize prior work on single-optimal solution computation to the top-k setting using algebraic structures.
- To enable polynomial-time computation of top-k solutions, top-k values, and a transformed d-DNNF circuit retaining only top-k models.
- To evaluate the performance of the compilation-based approach against a partial weighted MaxSAT solver on real-world instances.
- To explore the feasibility and scalability of the approach in practical applications such as configuration and recommendation systems.
Proposed method
- Proposes a top-k model computation algorithm that traverses the d-DNNF circuit using a priority queue to maintain the k highest-value models.
- Employs a pseudo-polynomial-time algorithm to derive the k largest values reachable by any model, assuming the semigroup satisfies a mild additional condition.
- Introduces a transformation to generate a new d-DNNF circuit C′ that is satisfied exactly by models of the original circuit C with values among the top-k.
- Uses a semigroup (K, ⊗, <) to generalize preference aggregation beyond summation, allowing arbitrary monotone, totally ordered operations.
- Applies smoothing and normalization techniques to d-DNNF circuits to ensure correctness and efficiency in model enumeration.
- Employs a Java-based implementation and evaluates performance on large-scale instances, comparing compilation-based methods with partial weighted MaxSAT solvers.
Experimental results
Research questions
- RQ1Can top-k models be computed in pseudo-polynomial time for d-DNNF circuits under a general algebraic preference structure?
- RQ2What is the complexity of deriving the k largest values achievable by models of a d-DNNF circuit under a monotone, totally ordered semigroup?
- RQ3Can a d-DNNF circuit be compiled into a new circuit that retains exactly the top-k models, and how efficiently can this be done?
- RQ4How does the performance of the compilation-based top-k algorithm compare to a partial weighted MaxSAT solver in practice?
- RQ5To what extent can the approach be extended to multicriteria settings with multiple value functions?
Key findings
- The top-k model computation algorithm runs in time polynomial in k and the size of the d-DNNF circuit, under the assumption that semigroup operations are constant-time.
- The algorithm for deriving the top-k values also runs in pseudo-polynomial time, provided a mild additional condition on the semigroup is satisfied.
- The transformation to a circuit C′ containing only top-k models is computable in pseudo-polynomial time, enabling efficient filtering of non-top-k solutions.
- Empirical evaluation shows the compilation-based approach outperforms the partial weighted MaxSAT solver in terms of scalability and consistency, despite overhead from circuit loading and smoothing.
- The average time to load and smooth the d-DNNF circuit from d4 was 1.1s and 11s respectively, with peaks of 47.5s and 410s, indicating that preprocessing is a bottleneck.
- The approach is not restricted to additive aggregation (e.g., (N, +, <)) and can handle arbitrary monotone semigroups, offering greater expressiveness than MaxSAT-based solvers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.