CCDD: A Tractable Representation for Model Counting and Uniform Sampling

02/21/2022
by   Yong Lai, et al.
0

Knowledge compilation concerns with the compilation of representation languages to target languages supporting a wide range of tractable operations arising from diverse areas of computer science. Tractable target compilation languages are usually achieved by restrictions on the internal nodes of the NNF. In this paper, we propose a new representation language CCDD, which introduces new restrictions on conjunction nodes to capture equivalent literals. We show that CCDD supports two key queries, model counting and uniform samping, in polytime. We present algorithms and a compiler to compile propositional formulas expressed in CNF into CCDD. Experiments over a large set of benchmarks show that our compilation times are better with smaller representation than state-of-art Decision-DNNF, SDD and OBDD[AND] compilers. We apply our techniques to model counting and uniform sampling, and develop model counter and uniform sampler on CNF. Our empirical evaluation demonstrates the following significant improvements: our model counter can solve 885 instances while the prior state of the art solved only 843 instances, representing an improvement of 43 instances; and our uniform sampler can solve 780 instances while the prior state of the art solved only 648 instances, representing an improvement of 132 instances.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/17/2023

Lifted Algorithms for Symmetric Weighted First-Order Model Sampling

Weighted model counting (WMC) is the task of computing the weighted sum ...
research
05/16/2023

Rounding Meets Approximate Model Counting

The problem of model counting, also known as #SAT, is to compute the num...
research
12/19/2022

Fast Converging Anytime Model Counting

Model counting is a fundamental problem which has been influential in ma...
research
12/06/2022

Generation and Prediction of Difficult Model Counting Instances

We present a way to create small yet difficult model counting instances....
research
06/13/2017

A New Probabilistic Algorithm for Approximate Model Counting

Constrained counting is important in domains ranging from artificial int...
research
10/18/2021

Arjun: An Efficient Independent Support Computation Technique and its Applications to Counting and Sampling

Given a Boolean formula φ over the set of variables X and a projection s...
research
10/21/2020

Taming Discrete Integration via the Boon of Dimensionality

Discrete integration is a fundamental problem in computer science that c...

Please sign up or login with your details

Forgot password? Click here to reset