Step-Wise Explanations of Constraint Satisfaction Problems

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. 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. We propose an approach that is agnostic of the underlying constraint propagation mechanisms, and that can provide explanations even for inference steps resulting from combinations of constraints. 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 sequences obtained.

[1]  Christophe Labreuche,et al.  Explaining robust additive utility models by sequences of preference swaps , 2015, Theory and Decision.

[2]  Martin Gebser,et al.  The Conflict-Driven Answer Set Solver clasp: Progress Report , 2009, LPNMR.

[3]  Peter J. Stuckey,et al.  Lazy Clause Generation Reengineered , 2009, CP.

[4]  Beatrice Santorini,et al.  Building a Large Annotated Corpus of English: The Penn Treebank , 1993, CL.

[5]  Gerda Janssens,et al.  The KB Paradigm and Its Application to Interactive Configuration , 2016, PADL.

[6]  M. Ganesalingam,et al.  A Fully Automatic Theorem Prover with Human-Style Output , 2016, Journal of Automated Reasoning.

[7]  Mark H. Liffiton,et al.  Enumerating Infeasibility: Finding Multiple MUSes Quickly , 2013, CPAIOR.

[8]  David G. Mitchell,et al.  On the Complexity of Model Expansion , 2010, LPAR.

[9]  Hans Kamp,et al.  Discourse Representation Theory: What it is and Where it Ought to Go , 1988, Natural Language at the Computer.

[10]  Lalana Kagal,et al.  Explaining Explanations: An Overview of Interpretability of Machine Learning , 2018, 2018 IEEE 5th International Conference on Data Science and Advanced Analytics (DSAA).

[11]  Joost Vennekens,et al.  An Interactive Consultant , 2019, BNAIC/BENELEARN.

[12]  Pat Langley,et al.  Explainable Agency for Intelligent Autonomous Systems , 2017, AAAI.

[13]  Inês Lynce,et al.  Conflict-Driven Clause Learning SAT Solvers , 2009, Handbook of Satisfiability.

[14]  Hans Kleine Büning,et al.  Theory of Quantified Boolean Formulas , 2021, Handbook of Satisfiability.

[15]  Tias Guns,et al.  ZebraTutor: Explaining How to Solve Logic Grid Puzzles , 2019, BNAIC/BENELEARN.

[16]  DAVID MITCHELL,et al.  Model Expansion as a Framework for Modelling and Solving Search Problems , 2007 .

[17]  Anders Søgaard,et al.  Patrick Blackburn and Johan Bos, Representation and Inference for Natural Language , 2007, Stud Logica.

[18]  Jia Deng,et al.  Learning to Prove Theorems via Interacting with Proof Assistants , 2019, ICML.

[19]  Maria Fox,et al.  Explainable Planning , 2017, ArXiv.

[20]  Maurice Bruynooghe,et al.  Predicate logic as a modeling language: the IDP system , 2014, Declarative Logic Programming.

[21]  Eugene C. Freuder,et al.  Inference-Based Constraint Satisfaction Supports Explanation , 1996, AAAI/IAAI, Vol. 1.

[22]  Ulrich Junker Conflict Detection for Arbitrary Constraint Propagation Algorithms , 2001 .

[23]  João P. Marques Silva Minimal Unsatisfiability: Models, Algorithms and Applications (Invited Paper). , 2010, ISMVL 2010.