Leveraging explanations in interactive machine learning: An overview

Stefano Teso, Öznur Alkan, Wolfgang Stammer, Elizabeth Daly · DOI

Abstract

The fields of eXplainable AI (XAI) and Interactive Machine Learning (IML) have traditionally operated in isolation. XAI provides transparency but often leaves users as passive observers, while IML enables human-in-the-loop training but frequently treats models as "black boxes." This paper synthesizes research at the intersection of these fields, defining the paradigm of Explanatory Interactive Learning (XIL). In XIL, explanations serve as a bi-directional bridge, allowing users to not only understand model reasoning but also provide direct feedback to debug, edit, and refine model behavior.

Introduction: Bridging the Gap

Historically, machine learning models have been evaluated primarily on predictive performance. However, high accuracy can be deceptive. Models often fall victim to the "Clever Hans" effect, where they rely on spurious correlations—such as identifying a "wolf" based on the presence of snow in the background rather than the animal's features.

While XAI aims to reveal these internal logics, it lacks a mechanism for correction. Conversely, IML allows users to provide labels, but without understanding the model's internal state, users cannot easily steer the model away from flawed reasoning. Explanatory Interactive Learning (XIL) addresses this by using explanations to elicit better human feedback, which is then used to build more robust and trustworthy models.

The XIL Framework

The authors categorize the XIL landscape across four primary dimensions:

  1. Algorithmic Goal: Systems may focus on learning a model from scratch, editing an existing model's logic, or debugging specific misbehaviors.
  2. Type of Machine Explanation: The method by which the model communicates its reasoning to the human.
  3. Human Feedback Type: How the user responds to the explanation (e.g., de-weighting a feature or correcting a rule).
  4. Incorporation Strategy: The technical method used to update the model based on feedback, such as loss function regularization or data augmentation.

Machine Explanations in Context

The choice of explanation type is critical for effective human-AI collaboration. Common approaches include:

  • Input Attributions (Saliency Maps): Highlighting specific input features (pixels, words) that influenced a decision.
  • Example Attributions: Presenting similar instances from the training set to justify a classification.
  • Rules: Providing global "If-Then" logic to summarize behavior.
  • Concept Attributions: Using high-level, human-understandable concepts (e.g., "pointy ears") instead of raw data points.
Illustration of different explanation types: input attributions, example attributions, rules, and concept attributions.

Key Insights: Explanations as Control Mechanisms

The core innovation of XIL is the shift from explanations as passive summaries to explanations as active control mechanisms.

Solving the "Clever Hans" Problem

XIL provides a systematic way to catch models "cheating." By visualizing what a model is looking at, experts can identify when a model relies on watermarks, background artifacts, or biased features. Penalizing these "wrong" reasons during training forces the model to learn more generalizable features.

Efficiency and Directability

Providing feedback on an explanation can be significantly more efficient than providing new labels. For instance, telling a model to "ignore the background" once can be as effective as providing hundreds of additional training images where the background varies. This reduces the annotation burden on domain experts, particularly in fields like medicine or law.

Results and Impact

Research into XIL has yielded several key benefits:

  • Improved Robustness: Systems like "Right for the Right Reasons" (RRR) demonstrate superior performance on out-of-distribution data by ensuring the model's logic aligns with human domain knowledge.
  • Trust Calibration: Explanations allow users to understand the limits of a model's expertise, helping them decide when to trust an automated prediction and when to intervene.
  • User Empowerment: Studies show that users feel more in control and satisfied when they can directly manipulate a model's underlying rules rather than just feeding it more data.

Challenges and Future Directions

Despite its promise, XIL faces several hurdles:

  • Human Factors: Cognitive biases, such as confirmation bias, may lead humans to provide flawed feedback, potentially degrading model performance.
  • Faithfulness: There is a risk that explanations may not accurately reflect a model's internal logic (the "lying explanation" problem), leading to misguided user interventions.
  • Computational Overhead: Generating complex explanations and retraining models in real-time requires significant optimization to maintain a fluid interactive experience.
  • Standardization: The field currently lacks unified benchmarks and metrics, making it difficult to compare the efficacy of different XIL strategies across diverse tasks.

Summary updated

BibTeX
@article{teso2023leveraging,
  author = {Stefano Teso and Öznur Alkan and Wolfgang Stammer and Elizabeth Daly},
  title = {{Leveraging explanations in interactive machine learning: An overview}},
  journal = {Frontiers Artif. Intell.},
  year = {2023},
  doi = {10.3389/frai.2023.1066049},
}
Figure