NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Intuitively Assessing ML Model Reliability through Example-Based Explanations and Editing Model Inputs

Harini Suresh, Kathleen M. Lewis, John V. Guttag, Arvind Satyanarayan

TL;DR

Researchers from MIT CSAIL have developed a visual analytics interface that helps domain experts (like physicians) decide when to trust a machine learning model. By grounding predictions in familiar training examples (K-Nearest Neighbors) and allowing users to interactively "stress-test" the model by editing inputs, the system enables more intuitive assessment of model reliability than traditional feature-importance methods.

What Problem Does This Paper Address?

Most machine learning interpretability tools are built for ML developers, not the domain experts who actually use the models. Common techniques, like highlighting "important pixels" or listing feature weights, often feel abstract and don't map to how professionals—such as doctors—actually think.

Furthermore, a single "confidence score" (e.g., "90% certain") doesn't tell a user why a model is uncertain. Is the data ambiguous? Is the model biased? This paper addresses the "gulf of evaluation" (understanding what the model did) and the "gulf of execution" (probing the model to see how it handles specific scenarios) to help users build a better mental model of a system's strengths and limitations.

Methods

The authors introduced two primary visual modules:

  1. The KNN Module: Instead of just showing a class label, the system finds the 50 "nearest neighbors" from the training set using the embeddings from a trained Convolutional Neural Network (CNN).
  2. Aggregate View: A histogram shows the distribution of classes among these neighbors.
  3. Unit Visualization: Each neighbor is a dot, ordered by similarity. Users can "brush" over these dots to see the raw data (ECG waveforms) overlaid on top of each other. This allows users to see if the neighbors are consistent or noisy.
  4. The Interactive Editor: Users can manipulate the input signal using semantically meaningful transformations. For ECG data, these include Amplify, Dampen, Stretch, and Compress. Users can apply these to the whole signal or specific regions (like the QRS complex) to see if the model's prediction changes in a way that aligns with clinical logic.

Datasets

The researchers used the MIT-BIH Arrhythmia Dataset, a standard benchmark for ECG analysis.

  • Task: Classifying individual heartbeats into four categories: Normal, Supraventricular Ectopic, Ventricular Ectopic, or Fusion.
  • Model: A CNN architecture that achieved 98.3% overall accuracy, though performance varied significantly across classes (e.g., only 70.4% for the rare "Fusion" class).

Key Insights and Ideas

  • Case-Based Reasoning: Physicians are trained on case studies. Showing them similar training examples (neighbors) aligns with their existing cognitive workflows much better than showing them abstract heatmaps.
  • Variation as Uncertainty: When the overlaid waveforms of the nearest neighbors look "messy" or inconsistent, physicians intuitively understood that the model was uncertain, even if the probability score was high.
  • The "Sanity Check" via Editing: By stretching a narrow heartbeat (a sign of an abnormality) to see if the model then classified it as "Normal," users could confirm the model was "looking" at the right clinical features.
  • Spotting Data Limitations: The interface helped users realize when the model was failing due to poor training data (e.g., "Normal" beats that were mislabeled in the training set), prompting critical questioning rather than blind trust.

Key Results

The authors evaluated the tool with 14 medical professionals (physicians and med students) against a baseline "feature importance" interface (LIME).

  • Spotting Errors: When the model made an incorrect prediction, participants using the baseline interface agreed with the model 73% of the time (over-reliance). Using the KNN/Editor interface, agreement dropped to ~48-50%, meaning users were significantly better at identifying when the model was wrong.
  • Qualitative Reasoning: Participants using the new modules used high-level clinical terms (e.g., "P-wave presence," "T-wave elevation") to explain their decisions, whereas those using the baseline often struggled to understand why certain segments were highlighted.

Limitations and Future Work

  • Simplified Input: In real clinical settings, doctors look at multi-lead ECG strips with grid overlays; the study used simplified, single-lead 1.5-second segments.
  • Neighbor Quality: If a class is under-represented in the training data (like the "Supraventricular Ectopic" class), the nearest neighbors might not look very similar, which can confuse users.
  • The "Blank Page" Problem: Some users (especially students) found the editor too open-ended and weren't sure what hypotheses to test. The authors suggest that future versions could "bootstrap" the editor by automatically suggesting counterfactual examples (e.g., "What's the smallest change that would make this beat look Normal?").

Summary updated

BibTeX
@inproceedings{suresh2022intuitively,
  author = {Harini Suresh and Kathleen M. Lewis and John V. Guttag and Arvind Satyanarayan},
  title = {{Intuitively Assessing ML Model Reliability through Example-Based Explanations and Editing Model Inputs}},
  booktitle = {IUI},
  year = {2022},
  doi = {10.1145/3490099.3511160},
}
Figure