[Paper Review] Debugging Tests for Model Explanations
This paper evaluates post-ho model explanations for diagnosing model errors by introducing targeted debugging tests across three contamination types—data, model, and test-time. It finds that attribution methods detect spurious background correlations but fail to reliably identify mislabeled examples or model contamination, especially when back-propagation is modified, and human subjects rely more on model predictions than explanations for defect detection.
We investigate whether post-hoc model explanations are effective for diagnosing model errors--model debugging. In response to the challenge of explaining a model's prediction, a vast array of explanation methods have been proposed. Despite increasing use, it is unclear if they are effective. To start, we categorize extit{bugs}, based on their source, into:~ extit{data, model, and test-time} contamination bugs. For several explanation methods, we assess their ability to: detect spurious correlation artifacts (data contamination), diagnose mislabeled training examples (data contamination), differentiate between a (partially) re-initialized model and a trained one (model contamination), and detect out-of-distribution inputs (test-time contamination). We find that the methods tested are able to diagnose a spurious background bug, but not conclusively identify mislabeled training examples. In addition, a class of methods, that modify the back-propagation algorithm are invariant to the higher layer parameters of a deep network; hence, ineffective for diagnosing model contamination. We complement our analysis with a human subject study, and find that subjects fail to identify defective models using attributions, but instead rely, primarily, on model predictions. Taken together, our results provide guidance for practitioners and researchers turning to explanations as tools for model debugging.
Motivation & Objective
- To assess whether post-hoc model explanations can effectively diagnose model errors in deep learning systems.
- To categorize model bugs into data, model, and test-time contamination for systematic evaluation.
- To evaluate the diagnostic capability of various explanation methods across different types of model defects.
- To investigate whether human users can leverage explanations to identify defective models in practice.
- To provide practical guidance for researchers and practitioners on the reliability of explanations in model debugging.
Proposed method
- Categorize model bugs into three types: data contamination (e.g., spurious correlations, mislabeled examples), model contamination (e.g., re-initialized weights), and test-time contamination (e.g., out-of-distribution inputs).
- Design targeted debugging tests to evaluate explanation methods on their ability to detect each bug type.
- Apply multiple explanation methods—including saliency maps, grad-CAM, and back-propagation-based techniques—across these tests.
- Use a human subject study to assess whether users can identify defective models using explanations versus relying on model predictions.
- Analyze invariance properties of certain explanation methods (e.g., those modifying back-propagation) to explain their failure in detecting model-level bugs.
- Compare explanation outputs across models with known defects to assess consistency and diagnostic utility.
Experimental results
Research questions
- RQ1Can post-hoc explanation methods detect spurious correlation artifacts in model predictions?
- RQ2Are explanation methods effective at identifying mislabeled training examples as a form of data contamination?
- RQ3Can explanation methods diagnose model-level contamination, such as partial re-initialization of network weights?
- RQ4Do explanation methods detect out-of-distribution inputs during inference (test-time contamination)?
- RQ5Can human users effectively use model explanations to identify defective models, or do they rely primarily on model predictions?
Key findings
- Saliency-based explanation methods successfully detect spurious background correlations, indicating some diagnostic capability for data contamination.
- Explanation methods fail to conclusively identify mislabeled training examples, even when such errors are present in the dataset.
- Methods that modify the back-propagation algorithm are invariant to higher-layer network parameters, rendering them ineffective for detecting model-level contamination.
- A human subject study shows participants do not rely on explanations to detect defective models but instead depend primarily on model predictions.
- The study reveals a disconnect between explanation utility in theory and usability in practice, especially for model debugging tasks.
- Overall, explanation methods show limited reliability for diagnosing model errors, particularly for model and data contamination beyond simple spurious correlations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.