Explanatory Interactive Machine Learning

Nicolas Pfeuffer, Lorenz Baum, Wolfgang Stammer, Benjamin M. Abdel-Karim, Patrick Schramowski, Andreas M. Bucher, Christian Hügel, Gernot Rohde, Kristian Kersting, Oliver HinzBus. Inf. Syst. Eng 2023 · DOI

Introduction

Standard deep learning models often achieve high performance but remain "black boxes." In high-stakes fields like healthcare, this opacity leads to the "Clever Hans" effect, where models pick up on spurious correlations—such as hospital-specific watermarks—rather than actual clinical features. This paper introduces XIL-ADR, a framework that integrates Explanatory Interactive Machine Learning (XIL) into the Action Design Research (ADR) process. By allowing domain experts to inspect and correct a model’s reasoning, XIL-ADR ensures AI systems are not just accurate, but "right for the right reasons."

The XIL-ADR Methodology

The authors propose a structured organizational process that embeds XIL into the five stages of ADR: Diagnosis, Design, Implementation, and Evolution. This approach moves beyond simple transparency by providing a formal methodology for teams to iteratively build, inspect, and "debug" the reasoning of machine learning models.

The Action Design Research (ADR) stages and design cycles integrated with XIL.

The core of the methodology is the XIL-ADR Implementation Cycle, which facilitates a loop between human experts and the machine:

  1. Initial Instantiation: Building a baseline model.
  2. Explain, Visualize, and Inspect: Using XAI techniques (e.g., Grad-CAM and VarGrad) to visualize model focus.
  3. Reflect & Insight: Domain experts (acting as "model breakers") identify logic flaws.
  4. Define XIL Strategies: Planning corrections, such as region-specific annotations.
  5. Refine Data & Retrain: Implementing fixes using a "Right-for-the-Right-Reasons" (RRR) loss function to penalize incorrect focus.
The detailed XIL-ADR Implementation cycle, illustrating the iterative path from strategy definition to insight generation.

Case Study: Chest X-ray Diagnosis

The framework was evaluated using chest X-ray (CXR) datasets for diagnosing viral pneumonia and COVID-19. The authors emphasize the role of domain experts as "model breakers"—users who intentionally seek logic failures rather than accepting high accuracy scores. To assist these experts, the team developed 2D colormaps that combine pixel importance with original image intensity, allowing doctors to see the explanation and anatomy simultaneously.

Through multiple iterations, these "model breakers" uncovered significant biases:

  • The "R" Confounder: Initial models achieved >90% accuracy by focusing on the letter "R" (a right-side marker) prevalent in COVID-19 scans.
  • The Pediatric Trap: Models distinguished COVID-19 from "Normal" cases by identifying bone maturity, as the "Normal" dataset primarily featured children while the COVID-19 set featured adults. The AI was essentially identifying "adulthood" rather than pneumonia.

Results and Discussion

The iterative power of XIL-ADR was demonstrated through four loops. While Loop 1 and 2 showed high accuracy (91-94%), they relied on confounders. Loop 3a successfully isolated pediatric data to learn actual disease features. However, Loop 3b—testing on an independent, multi-site dataset from Hannover Medical School—saw accuracy drop to ~67%. This "failure" highlighted a critical success of the ADR process: it forced the team to realize that current public datasets are too biased for reliable clinical use, prompting an "Abort and Realign" strategy.

Conclusion

XIL-ADR provides a robust pathway for developing trustworthy AI. While challenges remain regarding data quality and the high cost of expert annotation, the framework shifts the focus from pure accuracy to logical integrity, empowering domain experts to act as essential "model breakers" in the development lifecycle.

Summary updated

Abstract

The most promising standard machine learning methods can deliver highly accurate classification results, often outperforming standard white-box methods. However, it is hardly possible for humans to fully understand the rationale behind the black-box results, and thus, these powerful methods hamper the creation of new knowledge on the part of humans and the broader acceptance of this technology. Explainable Artificial Intelligence attempts to overcome this problem by making the results more interpretable, while Interactive Machine Learning integrates humans into the process of insight discovery. The paper builds on recent successes in combining these two cutting-edge technologies and proposes how Explanatory Interactive Machine Learning (XIL) is embedded in a generalizable Action Design Research (ADR) process – called XIL-ADR. This approach can be used to analyze data, inspect models, and iteratively improve them. The paper shows the application of this process using the diagnosis of viral pneumonia, e.g., Covid-19, as an illustrative example. By these means, the paper also illustrates how XIL-ADR can help identify shortcomings of standard machine learning projects, gain new insights on the part of the human user, and thereby can help to unlock the full potential of AI-based systems for organizations and research.
BibTeX
@article{pfeuffer2023explanatory,
  author = {Nicolas Pfeuffer and Lorenz Baum and Wolfgang Stammer and Benjamin M. Abdel-Karim and Patrick Schramowski and Andreas M. Bucher and Christian Hügel and Gernot Rohde and Kristian Kersting and Oliver Hinz},
  title = {{Explanatory Interactive Machine Learning}},
  journal = {Bus. Inf. Syst. Eng.},
  year = {2023},
  doi = {10.1007/s12599-023-00806-x},
}
Figure