A framework for step-wise explaining how to solve constraint satisfaction problems

06/11/2020
by   Bart Bogaerts, et al.
0

We explore the problem of step-wise explaining how to solve constraint satisfaction problems, with a use case on logic grid puzzles. More specifically, we study the problem of explaining the inference steps that one can take during propagation, in a way that is easy to interpret for a person. Thereby, we aim to give the constraint solver explainable agency, which can help in building trust in the solver by being able to understand and even learn from the explanations. The main challenge is that of finding a sequence of simple explanations, where each explanation should aim to be as cognitively easy as possible for a human to verify and understand. This contrasts with the arbitrary combination of facts and constraints that the solver may use when propagating. We propose the use of a cost function to quantify how simple an individual explanation of an inference step is, and identify the explanation-production problem of finding the best sequence of explanations of a CSP. Our approach is agnostic of the underlying constraint propagation mechanisms, and can provide explanations even for inference steps resulting from combinations of constraints. In case multiple constraints are involved, we also develop a mechanism that allows to break the most difficult steps up and thus gives the user the ability to zoom in on specific parts of the explanation. Our proposed algorithm iteratively constructs the explanation sequence by using an optimistic estimate of the cost function to guide the search for the best explanation at each step. Our experiments on logic grid puzzles show the feasibility of the approach in terms of the quality of the individual explanations and the resulting explanation sequences obtained.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/25/2021

Efficiently Explaining CSPs with Unsatisfiable Subset Optimization

We build on a recently proposed method for explaining solutions of const...
research
10/15/2019

Solving Logic Grid Puzzles with an Algorithm that Imitates Human Behavior

We present in this paper our solver for logic grid puzzles. The approach...
research
03/21/2023

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

We build on a recently proposed method for stepwise explaining solutions...
research
04/07/2022

Finding Counterfactual Explanations through Constraint Relaxations

Interactive constraint systems often suffer from infeasibility (no solut...
research
06/03/2019

Parameterised Complexity for Abduction

Abductive reasoning is a non-monotonic formalism stemming from the work ...
research
11/22/2022

Explaining Image Classifiers with Multiscale Directional Image Representation

Image classifiers are known to be difficult to interpret and therefore r...
research
06/03/2019

Parameterised Complexity of Abduction in Schaefer's Framework

Abductive reasoning is a non-monotonic formalism stemming from the work ...

Please sign up or login with your details

Forgot password? Click here to reset