Skip to main content

A Comparison of ASP-Based and SAT-Based Algorithms for the Contension Inconsistency Measure

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 13562))

Abstract

We propose an algorithm based on satisfiability problem (SAT) solving for determining the contension inconsistency degree in propositional knowledge bases. In addition, we present a revised version of an algorithm based on answer set programming (ASP), which serves the same purpose. In an experimental analysis, we compare the two algorithms to each other, as well as to a naive baseline method. Our results demonstrate that both the SAT and the ASP approach expectedly outperform the baseline algorithm. Further, the revised ASP method is not only superior to the SAT approach, but also to its predecessors from the literature. Hence, it poses a new state of the art.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    http://www.satcompetition.org/.

  2. 2.

    https://e.feu.de/sum2022-appendix.

  3. 3.

    For any function \(\varphi :X\mapsto Y\) and \(y \in Y\) we define \(\varphi ^{-1}(y) = \{x\in X \mid f(x) = y\}\).

  4. 4.

    https://e.feu.de/tweety-contension.

  5. 5.

    https://github.com/arminbiere/cadical.

  6. 6.

    Download: https://e.feu.de/srs-dataset.

  7. 7.

    https://e.feu.de/tweety-syntactic-random-sampler.

  8. 8.

    Overview of inconsistency values: https://e.feu.de/sum2022-tables.

  9. 9.

    Download: https://e.feu.de/ml-dataset.

  10. 10.

    http://attributes.kyb.tuebingen.mpg.de.

  11. 11.

    https://potassco.org/clingo/.

References

  1. Abío, I., Nieuwenhuis, R., Oliveras, A., Rodríguez-Carbonell, E.: A parametric approach for smaller and better encodings of cardinality constraints. In: 19th International Conference on Principles and Practice of Constraint Programming, pp. 80–96. CP 2013 (2013). https://doi.org/10.1007/978-3-642-40627-0_9

  2. Agrawal, R., Srikant, R.: Fast algorithms for mining association rules in large databases. In: Proceedings VLDB 1994, pp. 487–499 (1994)

    Google Scholar 

  3. Ammoura, M., Raddaoui, B., Salhi, Y., Oukacha, B.: On measuring inconsistency using maximal consistent sets. In: European Conference on Symbolic and Quantitative Approaches to Reasoning and Uncertainty, pp. 267–276. Springer (2015). https://doi.org/10.1007/978-3-319-20807-7_24

  4. Bertossi, L.: Measuring and computing database inconsistency via repairs. In: 12th International Conference on Scalable Uncertainty Management, pp. 368–372 (2018). https://doi.org/10.1007/978-3-030-00461-3_26

  5. Besnard, P.: Forgetting-based inconsistency measure. In: 10th International Conference on Scalable Uncertainty Management, pp. 331–337. Springer (2016). https://doi.org/10.1007/978-3-319-45856-4_23

  6. Biere, A., Fazekas, K., Fleury, M., Heisinger, M.: CaDiCaL, Kissat, Paracooba, Plingeling and Treengeling entering the SAT competition 2020. In: Proceeding of SAT Competition 2020 - Solver and Benchmark Descriptions. Department of Computer Science Report Series B, vol. B-2020-1, pp. 51–53. University of Helsinki (2020)

    Google Scholar 

  7. Biere, A., Heule, M., Maaren, H., Walsh, T.: Handbook of Satisfiability. Frontiers in Artificial Intelligence and Applications. IOS Press (2009)

    Google Scholar 

  8. Brewka, G., Eiter, T., Truszczynski, M.: Answer set programming at a glance. Commun. ACM 54(12), 92–103 (2011)

    Article  Google Scholar 

  9. Cholvy, L., Perrussel, L., Thevenin, J.M.: Using inconsistency measures for estimating reliability. Int. J. Approximate Reasoning 89, 41–57 (2017)

    Article  MathSciNet  Google Scholar 

  10. Department of Computer Science, University of Helsinki, Helsinki: Proceedings of SAT Competition 2021: Solver and Benchmark Descriptions (2021)

    Google Scholar 

  11. Gebser, M., Kaminski, R., Kaufmann, B., Schaub, T.: Answer set solving in practice. Synth. Lect. Artif. Intell. Mach. Learn. 6(3), 1–238 (2012)

    MATH  Google Scholar 

  12. Gebser, M., Kaminski, R., Kaufmann, B., Schaub, T.: Multi-shot ASP solving with clingo. Theory Pract. Logic Program. 19(1), 27–82 (2019)

    Article  MathSciNet  Google Scholar 

  13. Grant, J., Hunter, A.: Measuring consistency gain and information loss in stepwise inconsistency resolution. In: Proceedings ECSQARU 2011, pp. 362–373 (2011). https://doi.org/10.1007/978-3-642-22152-1_31

  14. Grant, J.: Classifications for inconsistent theories. Notre Dame J. Formal Logic 19(3), 435–444 (1978)

    Article  MathSciNet  Google Scholar 

  15. Grant, J., Martinez, M.V. (eds.): Measuring Inconsistency in Information, Studies in Logic, vol. 73. College Publications (2018)

    Google Scholar 

  16. Hunter, A., Konieczny, S.: Measuring inconsistency through minimal inconsistent sets. In: Proceedings KR 2008, pp. 358–366 (2008)

    Google Scholar 

  17. Hunter, A.: How to act on inconsistent news: ignore, resolve, or reject. Data Knowl. Eng. 57(3), 221–239 (2006)

    Article  Google Scholar 

  18. Kuhlmann, I., Thimm, M.: An algorithm for the contension inconsistency measure using reductions to answer set programming. In: 14th International Conference on Scalable Uncertainty Management, pp. 289–296. Springer (2020). https://doi.org/10.1007/978-3-030-58449-8_23

  19. Kuhlmann, I., Thimm, M.: Algorithms for inconsistency measurement using answer set programming. In: 19th International Workshop on Non-Monotonic Reasoning (NMR), pp. 159–168 (2021)

    Google Scholar 

  20. Lifschitz, V.: Answer Set Programming. Springer, Berlin (2019). https://doi.org/10.1007/978-3-030-24658-7

    Book  MATH  Google Scholar 

  21. Martinez, A.B.B., Arias, J.J.P., Vilas, A.F.: On measuring levels of inconsistency in multi-perspective requirements specifications. In: Proceedings of the 1st Conference on the Principles of Software Engineering (PRISE 2004), pp. 21–30 (2004)

    Google Scholar 

  22. Mironov, I., Zhang, L.: Applications of SAT solvers to cryptanalysis of hash functions. In: International Conference on Theory and Applications of Satisfiability Testing, pp. 102–115. Springer (2006). https://doi.org/10.1007/11814948_13

  23. Potyka, N., Thimm, M.: Inconsistency-tolerant reasoning over linear probabilistic knowledge bases. Int. J. Approximate Reason. 88, 209–236 (2017)

    Article  MathSciNet  Google Scholar 

  24. Priest, G.: The logic of paradox. J. Philos. Logic, 219–241 (1979)

    Google Scholar 

  25. Sinz, C.: Towards an optimal cnf encoding of boolean cardinality constraints. In: International Conference on Principles and Practice of Constraint Programming, pp. 827–831. Springer (2005). https://doi.org/10.1007/11564751_73

  26. Thimm, M.: On the evaluation of inconsistency measures. In: Measuring Inconsistency in Information, vol. 73. College Publications (2018)

    Google Scholar 

  27. Thimm, M.: Stream-based inconsistency measurement. Int. J. Approximate Reason. 68, 68–87 (2016)

    Article  MathSciNet  Google Scholar 

  28. Thimm, M., Rienstra, T.: Approximate reasoning with ASPIC+ by argument sampling. In: Proceedings of the Third International Workshop on Systems and Algorithms for Formal Argumentation (SAFA 2020), pp. 22–33 (2020)

    Google Scholar 

  29. Thimm, M., Wallner, J.P.: On the complexity of inconsistency measurement. Artif. Intell. 275, 411–456 (2019)

    Article  MathSciNet  Google Scholar 

  30. Tseitin, G.S.: On the complexity of derivation in propositional calculus. Structures in Constructive Mathematics and Mathematical Logic, pp. 115–125 (1968)

    Google Scholar 

  31. Vizel, Y., Weissenbacher, G., Malik, S.: Boolean satisfiability solvers and their applications in model checking. Proc. IEEE 103(11), 2021–2035 (2015)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Isabelle Kuhlmann .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kuhlmann, I., Gessler, A., Laszlo, V., Thimm, M. (2022). A Comparison of ASP-Based and SAT-Based Algorithms for the Contension Inconsistency Measure. In: Dupin de Saint-Cyr, F., Öztürk-Escoffier, M., Potyka, N. (eds) Scalable Uncertainty Management. SUM 2022. Lecture Notes in Computer Science(), vol 13562. Springer, Cham. https://doi.org/10.1007/978-3-031-18843-5_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-18843-5_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-18842-8

  • Online ISBN: 978-3-031-18843-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics