XAI steps overview 05
05.01.2021

XAI decision tool 2021

XAI decision tool

Explainable AI or XAI is the field which aims to develop ways to make Artificial Intelligence or Machine Learning models explainable to people. It is not a new field, but since the last few years it has grown substantially because of the growing interest in and use of AI in general. As a result, many different XAI techniques, methods and tools exist.

The imec-SMIT/ETRO project TAIM (Trustworthy AI Method) is looking for a way to offer all the different XAI techniques within one structured methodology that can be applied to real world AI and ML systems.

The choice of which technique for explainability to use is dependent on different use cases. However many existing XAI techniques focus mainly on the technical, data science aspects of explainability. To make explanations understandable to humans, there is a need to take the service and system level of the application in mind and translate XAI techniques into human-centered & human-understandable explanations.

To support the design of a human-centered explanation and choice of an interpretation technique, we have developed a XAI decision tool for designing and developing Explainable AI systems.

Overview

The development process of ML models exists of 7 phases:

  1. development of the business case, use case and composition of the project team
  2. design of the model
  3. procurement of training & test data
  4. building of the model
  5. testing of the model
  6. deployment of the model
  7. monitoring of the model
Process overview 01 04

However, a ML model is always situated within a system and service that should be developed while taking the (use) context in which it is embedded into account.

Process overview 01 02

Therefore, the XAI decision tool aims to take this full perspective into account in three steps in order to create ML models & digital systems that are relevant and trustworthy to all stakeholders.

The three steps are:

  • understand & explore
  • create
  • evaluate & implement
Process overview 01

In the following chapters, the steps will be elaborated further and different tools and methods can be found to help you in creating Explainable AI.

Available tools & methods

  • XAI decision tool template
    A printable sheet on which to manage and track your XAI decisions

Navigate the tool

The XAI decision tool is set-up in three steps with each 3 to 4 substeps.

Dependent on where you are in the process, you can navigate to the different steps of the tool by clicking on one of the three steps below. Or scroll down to find a template for managing and tracking your XAI decisions.

XAI steps overview 06
XAI steps overview 07
XAI steps overview 08

Understand

intro

what

who

why

Available tools & methods

Create

intro

Determine WHEN the explanation should to be presented

In what moment of the interaction does this user need an explanation? Since not all explanation techniques work in the same way, this determines heavily your options in choosing a specific algorithm for creating explanations.

Questions to ask:

  • In what moment of the interaction does this user need an explanation?
  • Do they need an explanation of the working of the model or of the reason behind the output?
  • Would it add value if the user can interact with the system and/or explanation?

xx

Determine the XAI TECHNIQUE & ALGORITHM for interpretation

Different types of techniques can provide interpretations of an AI system, all have advantages and disadvantages in terms of faithfulness (in how far is the explanation of how the model works correct), explicitness (in how far the output of the technique is immediate and understandable), prediction accuracy and meaningfulness to a human.

Questions to ask:

  • What level of accuracy, explicitness, faithfulness and meaningfulness do you need?
  • Do you want to explain the model, the decision or both?
  • Can you use a white box or grey box (explainability-by-design) or do you need a black box with an explainability module?
XAI tool substeps 18

Translate the interpretation output into a human understandable explanation

The output of an interpretation technique does not necessarily provide an understandable explanation to human-users. Taking all the previous steps, the what, who, why and when, into account – a user interface should now be designed. Some design heuristics below:

Questions to ask:

  • Can you make the information layered?
  • How transparent can you design the system?
  • How can you give users a feeling of control over the system?
  • How can you make the message understandable for humans?
  • Can you make the interface interactive in a relevant way?
  • How can users give feedback on the system or report bugs?

Available tools & methods

Evaluate

intro

Evaluate the EFFECTIVENESS of the explanation

An important step in interaction design is to evaluate the effectiveness of the explanation. This should be done on all levels refering back to the service, digital system, ML model and the explanation itself.

Questions to ask:

  • In how far is the model accurate and precise?
  • In how far is the interpretation given explicit, faithful and transparent?
  • In how far can users understand the explanation and take action on it?
  • In how far is the explanation sufficient to help the user reach their goal?

Evaluate the technical performance of the XAI technique

An important addition is to evaluate the performance of the chosen XAI technique. The goal of this evaluation is to find out if the interpretation output gives a good, transparent overview of the working and/or reasoning of the model.

Questions to ask:

  • In how far is the interpretation given explicit, faithful and transparent?
  • In how far can users understand the explanation and take action on it?
  • In how far is the explanation sufficient to help the user reach their goal?

Evaluate the performance of users

Then it is important to evaluate in how far the users can understand the explanation (and the service in general) and take action on it. Refer back to the decisions made in the first steps to see which users to do the evaluation with and what to evaluate on exactly.

Questions to ask:

  • Does the explanation help users in understanding the system and/or the output?
  • How does the explanation change the behaviour of the user in interaction with the system?

Evaluate the explainability impact

Finally, you can assess the impact on human & society in order to see if improvements are needed. Refer back to the decisions made in the first steps to see which users to do the evaluation with and what to evaluate on exactly.

Questions to ask:

  • Does the explanation help users in reaching their goal?
  • In how far does the explanation contribute to building trust, improving usability, acceptability and perceived safety?

Available tools & methods

Sources

All icons in the images are retrieved from flaticon.com and created by Freepik, eucalyp, mynamepong, itim2101, GoodWare, ultimatearm, Nhor Phai, iconixar, photo3idea_studio

  • Alonso, J. M. (2019). Explainable Artificial Intelligence for Kids. Proceedings of the 2019 Conference of the International Fuzzy Systems Association and the European Society for Fuzzy Logic and Technology (EUSFLAT 2019). Proceedings of the 2019 Conference of the International Fuzzy Systems Association and the European Society for Fuzzy Logic and Technology (EUSFLAT 2019), Prague, Czech Republic. https://doi.org/10.2991/eusflat-19.2019.21
  • Benjamin, J. J., & Müller-Birn, C. (2019). Materializing Interpretability: Exploring Meaning in Algorithmic Systems. Companion Publication of the 2019 on Designing Interactive Systems Conference 2019 Companion - DIS ’19 Companion, 123–127. https://doi.org/10.1145/3301019.3323900
  • Ehsan, U., Tambwekar, P., Chan, L., Harrison, B., & Riedl, M. O. (2019). Automated rationale generation: A technique for explainable AI and its effects on human perceptions. Proceedings of the 24th International Conference on Intelligent User Interfaces, 263–274. https://doi.org/10.1145/3301275.3302316
  • Gretarsson, B., O’Donovan, J., Bostandjiev, S., Hall, C., & Höllerer, T. (2010). SmallWorlds: Visualizing Social Recommendations. Computer Graphics Forum, 29(3), 833–842. https://doi.org/10.1111/j.1467-8659.2009.01679.x
  • Gulshad, S., & Smeulders, A. (2020). Explaining with Counter Visual Attributes and Examples. Proceedings of the 2020 International Conference on Multimedia Retrieval, 35–43. https://doi.org/10.1145/3372278.3390672
  • Jin, Y., Cardoso, B., & Verbert, K. (n.d.). How Do Different Levels of User Control Affect Cognitive Load and Acceptance of Recommendations? 8.
  • Millecamp, M., Htun, N. N., Jin, Y., & Verbert, K. (2018). Controlling Spotify Recommendations: Effects of Personal Characteristics on Music Recommender User Interfaces. 9.
  • Misztal-Radecka, J., & Indurkhya, B. (2020). Persona Prototypes for Improving the Qualitative Evaluation of Recommendation Systems. 7.
  • Neuhaus, R., Laschke, M., Theofanou-Fülbier, D., Hassenzahl, M., & Sadeghian, S. (2019). Exploring the impact of transparency on the interaction with an in-car digital AI assistant. Proceedings of the 11th International Conference on Automotive User Interfaces and Interactive Vehicular Applications: Adjunct Proceedings, 450–455. https://doi.org/10.1145/3349263.3351325
  • Rosenfeld, A., & Richardson, A. (2019). Explainability in human–agent systems. Autonomous Agents and Multi-Agent Systems, 33(6), 673–705. https://doi.org/10.1007/s10458-019-09408-y
  • Sokol, K., & Flach, P. (2020). Explainability fact sheets: A framework for systematic assessment of explainable approaches. Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency, 56–67. https://doi.org/10.1145/3351095.3372870
  • Weitz, K., Schiller, D., Schlagowski, R., Huber, T., & André, E. (2019). “Do you trust me?”: Increasing User-Trust by Integrating Virtual Agents in Explainable AI Interaction Design. Proceedings of the 19th ACM International Conference on Intelligent Virtual Agents, 7–9. https://doi.org/10.1145/3308532.3329441
  • Zhou, T., Sheng, H., & Howley, I. (2020). Assessing Post-hoc Explainability of the BKT Algorithm. Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society, 407–413. https://doi.org/10.1145/3375627.3375856