There is a newer version of the record available.

Published June 16, 2021 | Version v1
Software Open

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

  • 1. Vrije Universiteit Brussel
  • 2. Vrije Universiteit Brussel, KULeuven

Contributors

Contact person:

Researcher:

  • 1. Vrije Universiteit Brussel

Description

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.

Files

aij_experiments.ipynb

Files (1.4 MB)

Name Size Download all
md5:28d01f9a09216245c6e0a711c33c69f4
868.5 kB Preview Download
md5:f2601eb21d2ec7f518289e2ba7a79bbd
5.2 kB Download
md5:6560eb0d72b5e2a13735d122841322a9
2.7 kB Download
md5:5246a537f15d052cbe0312d293f4c428
13.9 kB Download
md5:6cebcaf98dd7b7806f9679119a1bae1f
23.3 kB Download
md5:204844bf1ea6febe126940c0e53889ef
3.6 kB Download
md5:631560823b072bb56fb985532ac3df3d
27.4 kB Download
md5:4aae4023999463a6033a35609540a0a0
8.8 kB Download
md5:036efc96cfca9de9f928d511a818caa6
2.3 kB Download
md5:88efc615c97b903d4b4baf528f826226
21.2 kB Download
md5:d63f27b212ec540f88bba39de8f65b10
4.7 kB Download
md5:20bd1286bf1f9e43eb342dc120277ab9
10.5 kB Download
md5:f5c8d0c5e339f51a250699650b00b95d
5.7 kB Download
md5:9cbc9176d4c2ef7f8f19c726a83bd1fc
12.3 kB Download
md5:e0064cd69a06c2ce76e5e40d285d8518
149 Bytes Download
md5:9db6be01c75a16dd84a2c6fccea15229
12.2 kB Download
md5:2819bce9e910ce96c027abb3d8fad31c
13.3 kB Download
md5:f3cb6cb489ebb22ec63518614a22a374
12.6 kB Download
md5:3ba62fcb46c1f5a82d7f741498dc3dce
19.7 kB Download
md5:76d8ef061a5cd208836d5c2766e4679e
13.3 kB Download
md5:5a075c1634030ada472ba32571f53bdf
21.6 kB Download
md5:441153afa7fa4b5ee0206b17f2908f5c
13.5 kB Download
md5:5148a620fd27d32e6cd65d1c0689b804
13.4 kB Download
md5:bbfdaf718a12b8267314ec0cd70d5730
12.4 kB Download
md5:bae4329eada61b995b84274fb014a209
14.9 kB Download
md5:08bd6a5d697f4da6d8b91f3ad5ae614b
2.0 kB Download
md5:7833f4f9c30d029d42fb48b357954df4
12.3 kB Download
md5:b02af24c806bea6a09d81b856e5d3586
3.8 kB Download
md5:058ce8ab6bdcc49816f67ec3554d844d
1.3 kB Download
md5:d17647fa455f4f4bb33d86745a4088f2
3.9 kB Download
md5:8e00c5f82a4824890c701724386316d9
33.4 kB Download
md5:dc39f99e21b07308511701c3332f16df
44.4 kB Download
md5:e1ca553cfc33def4c73f686a9bfb8563
36.8 kB Download
md5:23fc1466e2880cd3c60d7390da5f5a17
1.7 kB Download
md5:01458a25ec8d4c373a2a0059218d9791
4.7 kB Download
md5:a68c26c511e5bb401f1c0678348c7d59
1.8 kB Preview Download
md5:9088e89573ea132f2b7cea1a832e6589
903 Bytes Download
md5:702acd062fbccdf25eecf1c055f88faf
14.1 kB Download
md5:f2397826c418a9be3c171af35aedaf68
13.1 kB Download
md5:c39db90bd8038c755f66cb2552868319
4.2 kB Download
md5:7e9ab9eb25e3baddec538a517c7b6c41
14.4 kB Download
md5:4e902509f53f8b40d58ee5f6334a5ad4
312 Bytes Download
md5:3ac262d6a3a9787ad4c4d4532f993b46
1.3 kB Preview Download
md5:e82b4448d2746881dac2af0f657ae904
2.0 kB Download

Additional details

Related works

Cites
Working paper: arXiv:2006.06343 (arXiv)
Requires
Software: 1568-7805 (ISSN)

References

  • arXiv:2006.06343