Download Exact Solution Counting for Artificial Intelligence based

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Agent-based model in biology wikipedia , lookup

Time series wikipedia , lookup

Existential risk from artificial general intelligence wikipedia , lookup

Multi-armed bandit wikipedia , lookup

History of artificial intelligence wikipedia , lookup

Mathematical model wikipedia , lookup

Neural modeling fields wikipedia , lookup

Genetic algorithm wikipedia , lookup

Complexity of constraint satisfaction wikipedia , lookup

Transcript
Abstract:
Exact Solution Counting for Artificial Intelligence
based on Decomposition of Constraint Networks
Philippe Jégou, Hanan Kanso, and Cyril Terrioux
Aix-Marseille Université, CNRS, ENSAM, Université de Toulon, LSIS UMR 7296
Counting models in propositional logic (#SAT) and counting solutions for constraint
satisfaction problems (#CSP) are challenging problems. They have numerous applications in AI, e.g. in approximate reasoning [1], in diagnosis [2], in belief revision [3], in
probabilistic inference [4–7], in planning [8, 9], etc. However, these problems are extremely difficult from a theoretical point of view in terms of complexity because they are
#P-hard [10], and moreover, we can claim that they are really hard considering Toda’s
theorem which shows that P H ⊆ P #P [11]. On a practical level, their resolution is also
very difficult. So, given the theoretical (and practical) hardness of these problems, most
works try to solve the problem by approximating the solution, that is to say, by offering
bounds of the number of solutions (or models). Indeed, it is often difficult or impossible to solve these problems accurately i.e. to obtain the exact number of solutions. So,
most works have been achieved by sampling the search space [12–15]. All these methods provide a lower bound of the number of solutions with a high-confidence interval
obtained by randomly assigning variables until solutions are found. A possible drawback of these approaches is that they might find no solution within a given time limit
due to inconsistent partial assignments. For large and complex problems, this results in
zero lower bounds or it requires time-consuming parameter (e.g. sample size) tuning in
order to avoid this problem. In contrast, by exploiting certain properties of instances,
it is possible to provide exact methods that can be efficient w.r.t. theory and practice.
We think especially about methods for which polynomial time algorithms may exist as
this is the case for example when the constraint network representing the problem has
tree-width bounded by a constant [16]. Such search methods that exploit the problem
structure, provide time and space complexity bounds like the d-DNNF compiler [17],
AND/OR graph search [15, 18] and BTD [19, 20].
So, we propose to improve this class of approaches, using last results about decomposition methods [21–24]. Moreover, our claim is that improving exact methods can
also be useful to design better approximate methods. For this purpose, we propose a
new algorithm, called #EBTD, which is dedicated to solving exactly #CSP. This algorithm which is based on tree-decomposition improves the previous works [20]. #EBTD
ensures non trivial complexity bounds for time and space which are related to structural
properties of the considered constraint network: the tree-width and the size of separators. Such an approach, of course, does not allow to improve the theoretical complexity,
but it leads to a significant improvement in computation time. Indeed, the experiments
we conducted show that this new approach solves more instances on different classes
of benchmarks. Above all, the solving is generally faster than for the approaches of the
state of the art, like for example sharpSAT [25].
References
1. D. Roth. On the hardness of approximate reasonning. Artificial Intelligence, 82:273–302,
1996.
2. T.K. Satish Kumar. A model counting characterization of diagnoses. In Proc. of the International Workshop on Principles of Diagnosis, 2002.
3. A. Darwiche. On the tractable counting of theory models and its applications to truth maintenance and belief revision. Journal of Applied Non-classical Logic, 11:11–34, 2001.
4. T. Sang, P. Beame, and H. A. Kautz. Performing Bayesian inference by weighted model
counting. In Proc. of AAAI, pages 475–482, 2005.
5. M. Chavira and A. Darwiche. On probabilistic inference by weighted model counting. Artificial Intelligence, 172:772–799, 2008.
6. U. Apsel and R. I. Brafman. Lifted MEU by weighted model counting. In Proc. of AAAI,
pages 1861–1867, 2005.
7. A. Choi, D. Kisa, and A. Darwiche. Compiling probabilistic graphical models using sentential decision diagrams. In Proc. of ECSQARU, pages 121–132, 2013.
8. H. Palacios, B. Bonet, A. Darwiche, and H. Geffner. Pruning conformant plans by counting
models on compiled d-DNNF representations. In Proc. of ICAPS, pages 141–150, 2005.
9. C. Domshlak and J. Hoffmann. Fast probabilistic planning through weighted model counting.
In Proc. of ICAPS, pages 243–252, 2006.
10. L. Valiant. The Complexity of Computing the Permanent. Theoretical Computer Science,
8:189–201, 1979.
11. S. Toda. PP is as hard as the polynomial-time hierarchy. SIAM Journal on Computing,
20:865–877, 1991.
12. C. Gomes, J. Hoffmann, A. Sabharwal, and B. Selman. From sampling to model counting.
In Proc. of IJCAI, pages 2293–2299, 2007.
13. V. Gogate and R. Dechter. Approximate counting by sampling the backtrack-free search
space. In Proc. of AAAI, pages 198–203, 2007.
14. L. Kroc, A. Sabharwal, and B. Selman. Leveraging belief propagation, backtrack search, and
statistics for model counting. In Proc. of CPAIOR, pages 127–141, 2008.
15. V. Gogate and R. Dechter. Approximate Solution Sampling (and Counting) on AND/OR
search spaces. In Proc. of CP, pages 534–538, 2008.
16. F. Bacchus, S. Dalmao, and T. Pitassi. Algorithms and Complexity Results for #SAT and
Bayesian Inference. In Proc. of 44th Symposium on Foundations of Computer Science (FOCS
2003), pages 340–351, 2003.
17. A. Darwiche. New Advances in Compiling CNF into Decomposable Negation Normal Form.
In Proc. of ECAI, pages 328–332, 2004.
18. R. Dechter and R. Mateescu. The Impact of AND/OR Search Spaces on Constraint Satisfaction and Counting. In Proc. of CP, pages 731–736, 2004.
19. P. Jégou and C. Terrioux. Hybrid backtracking bounded by tree-decomposition of constraint
networks. Artificial Intelligence, 146:43–75, 2003.
20. A. Favier, S. de Givry, and P. Jégou. Exploiting Problem Structure for Solution Counting. In
Proc. of CP, pages 335–343, 2009.
21. P. Jégou and C. Terrioux. Combining Restarts, Nogoods and Decompositions for Solving
CSPs. In Proc. of ECAI, pages 465–470, 2014.
22. P. Jégou and C. Terrioux. Tree-decompositions with connected clusters for solving constraint
networks. In Proc. of CP, pages 407–423, 2014.
23. P. Jégou, H. Kanso, and C. Terrioux. An Algorithmic Framework for Decomposing Constraint Networks. In Proc. of ICTAI, pages 1–8, 2015.
24. P. Jégou, H. Kanso, and C. Terrioux. Towards a Dynamic Decomposition of CSPs with
Separators of Bounded Size. In Proc. of CP, page to appear, 2016.
25. M. Thurley. sharpSAT - Counting Models with Advanced Component Caching and Implicit
BCP. In Proc. of SAT, pages 424–429, 2006.