Comparison of SAT-based and ASP-based Algorithms for Inconsistency Measurement
Isabelle Kuhlmann, Anna Gessler, Vivien Laszlo, Matthias Thimm
TL;DR
This work advances inconsistency measurement in propositional knowledge bases by providing both SAT-based and ASP-based algorithms for six measures tied to the first level of the polynomial hierarchy. It systematically derives encodings for contension, forgetting-based, hitting-set, and three distance-based measures, and compares their performance across five diverse datasets, using CaDiCaL and Clingo. Across extensive experiments, both approaches outperform naive baselines, with ASP-based methods generally achieving superior runtime performance and scalability. The study also examines search strategies, MaxSAT variants, and core-guided optimization, offering practical guidance on preprocessing and method selection for real-world inconsistency assessment. The results underscore the value of ASP in this domain while highlighting remaining scalability challenges for very large knowledge bases and encouraging future exploration of alternative solving paradigms and preprocessing techniques.
Abstract
We present algorithms based on satisfiability problem (SAT) solving, as well as answer set programming (ASP), for solving the problem of determining inconsistency degrees in propositional knowledge bases. We consider six different inconsistency measures whose respective decision problems lie on the first level of the polynomial hierarchy. Namely, these are the contension inconsistency measure, the forgetting-based inconsistency measure, the hitting set inconsistency measure, the max-distance inconsistency measure, the sum-distance inconsistency measure, and the hit-distance inconsistency measure. In an extensive experimental analysis, we compare the SAT-based and ASP-based approaches with each other, as well as with a set of naive baseline algorithms. Our results demonstrate that overall, both the SAT-based and the ASP-based approaches clearly outperform the naive baseline methods in terms of runtime. The results further show that the proposed ASP-based approaches perform superior to the SAT-based ones with regard to all six inconsistency measures considered in this work. Moreover, we conduct additional experiments to explain the aforementioned results in greater detail.
