On the Relation Between Answer Set and SAT Procedures (or, Between cmodels and smodels)

  • Enrico Giunchiglia
  • Marco Maratea
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3668)

Abstract

Answer Set Programming (ASP) is a declarative paradigm for solving search problems. State-of-the-art systems for ASP include smodels,dlv, cmodels, and assat.

In this paper, our goal is to study the computational properties of such systems both from a theoretical and an experimental point of view. From the theoretical point of view, we start our analysis with cmodels and smodels. We show that though these two systems are apparently different, they are equivalent on a significant class of programs, called tight. By equivalent, we mean that they explore search trees with the same branching nodes, (assuming, of course, a same branching heuristic). Given our result and that the cmodels search engine is based on the Davis Logemann Loveland procedure (dll) for propositional satisfiability (SAT), we are able to establish that many of the properties holding for dll also hold for cmodels and thus for smodels. On the other hand, we also show that there exist classes of non-tight programs which are exponentially hard for cmodels, but “easy” for smodels. We also discuss how our results extend to other systems.

From the experimental point of view, we analyze which combinations of reasoning strategies work best on which problems. In particular, we extended cmodels in order to obtain a unique platform with a variety of reasoning strategies, and conducted an extensive experimental analysis on “small” randomly generated and on “large” non randomly generated programs. Considering these programs, our results show that the reasoning strategies that work best on the small problems are completely different from the ones that are best on the large ones. These results point out, e.g., that we can hardly expect to develop one solver with the best performances on all the categories of problems. As a consequence, (i) developers should focus on specific classes of benchmarks, and (ii) benchmarking should take into account whether solvers have been designed for specific classes of programs.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Giunchiglia, E., Maratea, M., Tacchella, A., Zambonin, D.: Evaluating search heuristics and optimization techniques in propositional satisfiability. In: Goré, R.P., Leitsch, A., Nipkow, T. (eds.) IJCAR 2001. LNCS (LNAI), vol. 2083, p. 347. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  2. 2.
    Giunchiglia, E., Maratea, M., Lierler, Y.: SAT-based answer set programming. In: Proc. AAAI (2004)Google Scholar
  3. 3.
    Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms. MIT Press, Cambridge (2001)MATHGoogle Scholar
  4. 4.
    Fages, F.: Consistency of Clark’s completion and existence of stable models. Journal of Methods of Logic in Computer Science 1, 51–60 (1994)Google Scholar
  5. 5.
    Babovich, Y., Lifschitz, V.: Computing Answer Sets Using Program Completion (2003), http://www.cs.utexas.edu/users/tag/cmodels/cmodels-1.ps
  6. 6.
    Lin, F., Zhao, Y.: ASSAT: Computing answer sets of a logic program by SAT solvers. In: Proc. AAAI (2002)Google Scholar
  7. 7.
    Simons, P.: Extending and implementing the stable model semantics. PhD Thesis (2000)Google Scholar
  8. 8.
    Ward, J., Schlipf, J.S.: Answer set programming with clause learning. In: Lifschitz, V., Niemelä, I. (eds.) LPNMR 2004. LNCS (LNAI), vol. 2923, pp. 302–313. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  9. 9.
    Haken: The intractability of resolution. TCS 39, 297–308 (1985)Google Scholar
  10. 10.
    Chvátal, V., Szemerédi, E.: Many hard examples for resolution. J. ACM 35(4), 759–768 (1988)MATHCrossRefGoogle Scholar
  11. 11.
    Faber, W., Leone, N., Pfeifer, G.: Experimenting with heuristics for ASP. In: Proc. IJCAI (2001)Google Scholar
  12. 12.
    Simons, P., Niemelä, I., Timo, S.: Extending and implementing the stable model semantics. Artificial Intelligence 138(1–2), 181–234 (2002)MATHCrossRefMathSciNetGoogle Scholar
  13. 13.
    Liberatore, P.: On the complexity of choosing the branching literal in DPLL. Artificial Intelligence 116(1-2), 315–326 (2000)MATHCrossRefMathSciNetGoogle Scholar
  14. 14.
    Monasson, R.: On the analysis of backtrack procedures for the coloring of random graphs. In: Complex Networks. Lecture Notes in Physics, pp. 232–251. Springer, Heidelberg (2004)Google Scholar
  15. 15.
    Achlioptas, D., Beame, P., Molloy, M.: A sharp threshold in proof complexity. In: Proc. STOC, pp. 337–346 (2001)Google Scholar
  16. 16.
    Li, C.M., Anbulagan: Heuristics based on unit propagation for satisfiability problems. In: Proc. IJCAI (1997)Google Scholar
  17. 17.
    Moskewicz, M., Madigan, C., Zhao, Y., Zhang, L., Malik, S.: Chaff: Engineering an Efficient SAT Solver. In: Proc. DAC (2001)Google Scholar
  18. 18.
    Le Berre, D., Simon, L.: The essentials of the SAT 2003 competition. In: Proc. SAT (2003)Google Scholar
  19. 19.
    Lin, F., Zhao, Y.: ASP phase transition: A study on randomly generated programs. In: Proc. ICLP (2003)Google Scholar
  20. 20.
    Niemelä, I.: Logic programs with stable model semantics as a constraint programming paradigm. Annals of Mathematics and Artificial Intelligence 25, 241–273 (1999)MATHCrossRefMathSciNetGoogle Scholar
  21. 21.
    Dixon, H., Ginsberg, M., Luks, E., Parkes, A.: Generalizing Boolean satisfiability II: Theory. In: JAIR, vol. 22, pp. 481–534 (2004)Google Scholar
  22. 22.
    Borchert, P., Anger, C., Schaub, T., Truszczynski, M.: Towards systematic benchmarking in answer set programming: The dagstuhl initiative. In: Lifschitz, V., Niemelä, I. (eds.) LPNMR 2004. LNCS (LNAI), vol. 2923, pp. 3–7. Springer, Heidelberg (2003)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2005

Authors and Affiliations

  • Enrico Giunchiglia
    • 1
  • Marco Maratea
    • 1
  1. 1.STAR-Lab, DISTUniversity of GenovaGenovaItaly

Personalised recommendations