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

Right for the Wrong Scientific Reasons: Revising Deep Networks by Interacting with their Explanations

Patrick Schramowski, Wolfgang Stammer, Stefano Teso, Anna Brugger, Xiaoting Shao, Hans-Georg Luigs, Anne-Katrin Mahlein, Kristian Kersting

Introduction: The "Clever Hans" Problem

In machine learning, high performance can be deceptive. The "Clever Hans" effect occurs when a model achieves high accuracy by exploiting unintended correlations in a dataset rather than learning the underlying concept. For instance, a model might correctly identify a horse not by its features, but by a specific watermark found only in horse photos. In scientific fields like plant phenotyping, this is a dealbreaker. If a researcher wants to detect crop disease using hyperspectral imaging, they need a model that looks at biological markers, not the nutritional agar solution in the petri dish. Standard "black box" models often fail this test, leading to a total loss of trust from the scientists who are supposed to use them.

Explanatory Interactive Learning (XIL)

To address this, the authors introduce Explanatory Interactive Learning (XIL). This framework puts humans in the loop to ensure deep neural networks are "right for the right reasons." Unlike standard interactive learning, which usually only lets you correct the label, XIL allows experts to provide feedback on a model's explanations.

Overview of the XIL framework, contrasting standard machine learning with the proposed explanatory interactive approach to eliminate "Clever Hans" behavior.

The authors propose two primary ways to incorporate human feedback into the training process:

  1. CAIPI (Counterexample-based): When a user identifies an irrelevant region in an explanation (e.g., "the model is looking at the background"), the system generates counterexamples where those irrelevant features are randomized, teaching the model they are not predictive.
  2. RRR (Right for the Right Reasons) with Gradients: For differentiable models like CNNs, a penalty term is added to the training loss that discourages the model from having high sensitivity (gradients) in regions the user has marked as irrelevant, often using Grad-CAM to align model attention with human knowledge.

Case Study: Plant Phenotyping

The paper evaluates XIL using a newly introduced dataset of sugar beet leaf discs, either healthy or inoculated with Cercospora beticola. This scientific task highlights the dangers of confounding factors in complex data like hyperspectral (HS) images.

Visualizing the "Clever Hans" effect in plant pathology: the model incorrectly focuses on the agar background (yellow question mark) rather than the leaf tissue to make its prediction.

In this study, the default HS-CNN model achieved near-perfect 99% accuracy on the original data but dropped to 50% (random chance) when the confounding background was removed. This proved the model was "cheating" by looking at the agar. After XIL training, the model maintained high accuracy (82%) even when the background was completely changed, proving it had finally learned to look at the actual leaf symptoms.

Key Insights and Results

  • Accuracy is a False Idol: A model can have 99% accuracy in the lab but 0% utility in the field if it’s "cheating."
  • Trust is Dynamic: A user study with 106 participants confirmed that users are more forgiving of lower accuracy if the explanations are correct, but they quickly lose trust in highly accurate models that provide nonsensical or "wrong" explanations.
  • Interaction as a Teacher-Student Relationship: XIL transforms the human from a mere "labeler" into a "teacher" who can witness the evolution of the model’s beliefs and correct them in real-time.

Limitations and Future Work

While promising, XIL faces challenges regarding the annotation burden, as manually correcting explanations is time-consuming. Additionally, the method relies on the faithfulness of the XAI method (like Grad-CAM); if the explanation itself is misleading, the human feedback will be misdirected. Future research will focus on optimizing query strategies and extending XIL to other modalities like Natural Language Processing.

Summary updated

BibTeX
@article{schramowski2020right,
  author = {Patrick Schramowski and Wolfgang Stammer and Stefano Teso and Anna Brugger and Xiaoting Shao and Hans-Georg Luigs and Anne-Katrin Mahlein and Kristian Kersting},
  title = {{Right for the Wrong Scientific Reasons: Revising Deep Networks by Interacting with their Explanations}},
  journal = {Nat. Mach. Intell.},
  year = {2020},
  doi = {10.1038/s42256-020-0212-3},
}
Figure