Model counting: a new strategy for obtaining good bounds

Carla P. Gomes, Ashish Sabharwal, Bart Selman

2006 · 138 citations · 5 references

Concepts

TL;DR

Model counting is the problem of computing the number of solutions of a propositional formula, a generalization of SAT that is both highly useful and computationally expensive. The authors aim to estimate model counts accurately by adding a carefully chosen number of XOR constraints that shrink the solution space to the unsatisfiable boundary. The method adds a random set of XOR or parity constraints, encoded in CNF, to reduce the solution space to a tractable size. Experiments show that the approach yields tight, high‑confidence bounds on model counts for previously intractable formulas, including the first non‑trivial counts for very hard combinatorial instances.

Abstract

Model counting is the classical problem of computing the number of solutions of a given propositional formula. It vastly generalizes the NP-complete problem of propositional satisfiability, and hence is both highly useful and extremely expensive to solve in practice. We present a new approach to model counting that is based on adding a carefully chosen number of so-called streamlining constraints to the input formula in order to cut down the size of its solution space in a controlled manner. Each of the additional constraints is a randomly chosen XOR or parity constraint on the problem variables, represented either directly or in the standard CNF form. Inspired by a related yet quite different theoretical study of the properties of XOR constraints, we provide a formal proof that with high probability, the number of XOR constraints added in order to bring the formula to the boundary of being unsatisfiable determines with high precision its model count. Experimentally, we demonstrate that this approach can be used to obtain good bounds on the model counts for formulas that are far beyond the reach of exact counting methods. In fact, we obtain the first non-trivial solution counts for very hard, highly structured combinatorial problem instances. Note that unlike other counting techniques, such as Markov Chain Monte Carlo methods, we are able to provide high-confidence guarantees on the quality of the counts obtained.

References

5