Efficiently Explaining CSPs with Unsatisfiable Subset Optimization (extended algorithms and examples)

Emilio Gamba, Bart Bogaerts, Tias Guns
3/21/2023
cs.AIcs.LO

No confident code implementation found for this paper.

Abstract

We build on a recently proposed method for stepwise explaining solutions of Constraint Satisfaction Problems (CSP) in a human-understandable way. An explanation here is a sequence of simple inference steps where simplicity is quantified using a cost function. The algorithms for explanation generation rely on extracting Minimal Unsatisfiable Subsets (MUS) of a derived unsatisfiable formula, exploiting a one-to-one correspondence between so-called non-redundant explanations and MUSs. However, MUS extraction algorithms do not provide any guarantee of subset minimality or optimality with respect to a given cost function. Therefore, we build on these formal foundations and tackle the main points of improvement, namely how to generate explanations efficiently that are provably optimal (with respect to the given cost metric). For that, we developed (1) a hitting set-based algorithm for finding the optimal constrained unsatisfiable subsets; (2) a method for re-using relevant information over multiple algorithm calls; and (3) methods exploiting domain-specific information to speed up the explanation sequence generation. We experimentally validated our algorithms on a large number of CSP problems. We found that our algorithms outperform the MUS approach in terms of explanation quality and computational time (on average up to 56 % faster than a standard MUS approach).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gamba2023efficiently,
  title  = {Efficiently Explaining CSPs with Unsatisfiable Subset Optimization (extended algorithms and examples)},
  author = {Emilio Gamba and Bart Bogaerts and Tias Guns},
  year   = {2023},
  eprint = {2303.11712},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.11712v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.11712.svg)](https://codeofpaper.com/paper/2303.11712)

Discussion