Exploiting Problem Structure for Solution Counting

This paper deals with the challenging problem of counting the number of solutions of a CSP, denoted #CSP. Recent progress have been made using search methods, such as BTD [15], which exploit the constraint graph structure in order to solve CSPs.We propose to adapt BTDfor solving the #CSP problem. The resulting exact counting method has a worst-case time complexity exponential in a specific graph parameter, called tree-width. For problems with sparse constraint graphs but large tree-width, we propose an iterative method which approximates the number of solutions by solving a partition of the set of constraints into a collection of partial chordal subgraphs. Its time complexity is exponential in the maximum clique size - the clique number - of the original problem, which can be much smaller than its tree-width. Experiments on CSP and SAT benchmarks shows the practical efficiency of our proposed approaches.

[1]  Naomi Nishimura,et al.  Solving #SAT Using Vertex Covers , 2006, SAT.

[2]  Dan Roth,et al.  On the Hardness of Approximate Reasoning , 1993, IJCAI.

[3]  Vibhav Gogate,et al.  Counting-Based Look-Ahead Schemes for Constraint Satisfaction , 2004, CP.

[4]  Gilles Pesant,et al.  Counting Solutions of CSPs: A Structural Approach , 2005, IJCAI.

[5]  Adnan Darwiche,et al.  An Edge Deletion Semantics for Belief Propagation and its Practical Impact on Approximation Quality , 2006, AAAI.

[6]  Toniann Pitassi,et al.  Combining Component Caching and Clause Learning for Effective Model Counting , 2004, SAT.

[7]  Laurence A. Wolsey,et al.  Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems, 4th International Conference, CPAIOR 2007, Brussels, Belgium, May 23-26, 2007, Proceedings , 2007, CPAIOR.

[8]  Vibhav Gogate,et al.  Approximate Solution Sampling ( and Counting ) on AND / OR search space , 2008 .

[9]  Marko Samer,et al.  A Fixed-Parameter Algorithm for #SAT with Parameter Incidence Treewidth , 2006, ArXiv.

[10]  Jörg Hoffmann,et al.  From Sampling to Model Counting , 2007, IJCAI.

[11]  Luca Aceto,et al.  The complexity of checking consistency of pedigree information and related problems , 2008, Journal of Computer Science and Technology.

[12]  Douglas R. Shier,et al.  Maximal chordal subgraphs , 1988, Discret. Appl. Math..

[13]  Vibhav Gogate,et al.  New Look-Ahead Schemes for Constraint Satisfaction , 2004, ISAIM.

[14]  Rina Dechter,et al.  AND/OR search spaces for graphical models , 2007, Artif. Intell..

[15]  Adnan Darwiche,et al.  On the Tractable Counting of Theory Models and its Application to Truth Maintenance and Belief Revision , 2001, J. Appl. Non Class. Logics.

[16]  Bart Selman,et al.  Counting CSP Solutions Using Generalized XOR Constraints , 2007, AAAI.

[17]  Vibhav Gogate,et al.  Approximate Counting by Sampling the Backtrack-free Search Space , 2007, AAAI.

[18]  Derek G. Corneil,et al.  Complexity of finding embeddings in a k -tree , 1987 .

[19]  Bart Selman,et al.  Model Counting: A New Strategy for Obtaining Good Bounds , 2006, AAAI.

[20]  Leslie G. Valiant,et al.  The Complexity of Computing the Permanent , 1979, Theor. Comput. Sci..

[21]  T. K. Satish Kumar,et al.  A Model Counting Characterization of Diagnoses , 2002 .

[22]  Ashish Sabharwal,et al.  Leveraging Belief Propagation, Backtrack Search, and Statistics for Model Counting , 2008, ISAIM.

[23]  Philippe Jégou,et al.  Hybrid backtracking bounded by tree-decomposition of constraint networks , 2003, Artif. Intell..

[24]  Vibhav Gogate,et al.  Approximate Solution Sampling (and Counting) on AND/OR Spaces , 2008, CP.

[25]  Bart Selman,et al.  A New Approach to Model Counting , 2005, SAT.

[26]  Roberto J. Bayardo,et al.  Counting Models Using Connected Components , 2000, AAAI/IAAI.

[27]  Adnan Darwiche,et al.  New Advances in Compiling CNF into Decomposable Negation Normal Form , 2004, ECAI.

[28]  Simon de Givry,et al.  Mendelian Error Detection in Complex Pedigrees Using Weighted Constraint Satisfaction Techniques , 2007, Constraints.

[29]  Paul D. Seymour,et al.  Graph Minors. II. Algorithmic Aspects of Tree-Width , 1986, J. Algorithms.

[30]  Rina Dechter,et al.  The Impact of AND/OR Search Spaces on Constraint Satisfaction and Counting , 2004, CP.