A Consistent and Efficient Evaluation Strategy for Attribution Methods

Yao Rong, Tobias Leemann, Vadim Borisov, Gjergji Kasneci, Enkelejda Kasneci

Evaluating explainable AI (XAI) is currently a complex and often contradictory process. While numerous local feature attribution methods (like saliency maps) have been proposed to explain why a model makes a certain prediction, the benchmarks used to evaluate these explanations are computationally expensive and frequently produce conflicting results.

Recent research identifies a hidden "information leakage" flaw in standard evaluation techniques: models often learn to identify classes based on the shape of removed pixels rather than their actual content. To resolve this, researchers have introduced ROAD (RemOve And Debias), an evaluation framework that is up to 100x faster than current state-of-the-art methods and significantly more consistent across different experimental settings.

The Problem: Inconsistency and Cost

In computer vision, attribution methods highlight which pixels a model relied on to make a prediction. To determine if these explanations are accurate, researchers typically use an ablation approach: they remove the pixels deemed "most important" by the XAI method and observe the model's performance. If the accuracy plummets, the explanation was likely correct in identifying crucial features.

However, this standard approach suffers from two major flaws:

  1. Inconsistency: The order in which pixels are removed drastically alters the results. If you remove pixels starting with the "least relevant first" (LeRF) instead of the "most relevant first" (MoRF), the rankings of which XAI method is considered "best" often flip entirely.
Inconsistent rankings between MoRF and LeRF evaluation strategies.
  1. Computational Cost: Simply replacing important pixels with black boxes causes a "distribution shift"—the model gets confused by seeing unnatural black holes it wasn't trained on. To avoid this, the current gold-standard evaluation method is ROAR (Remove and Retrain). ROAR requires retraining the entire model from scratch for every single evaluation step, which is prohibitively expensive and time-consuming for large datasets.

The Solution: ROAD and Smart Imputation

Through information-theoretic analysis, the researchers proved that the "shape" of the removed pixels (the mask itself) leaks class information to the model.

The process of masking important features and imputing the missing pixels.

To solve this leakage and the distribution shift simultaneously, they propose two key innovations:

  • Noisy Linear Imputation: Instead of filling removed areas with a constant value (like black or the dataset mean), the missing pixels are filled using a weighted average of neighboring pixels combined with a small amount of random noise. This effectively "blurs" the edges of the removed area, making it much harder for a model to "cheat" by recognizing the geometric shape of the hole.
  • ROAD (Remove and Debias): By utilizing this smarter imputation technique, the distribution shift is minimized so effectively that retraining the model becomes unnecessary. Researchers can simply evaluate the original, pre-trained model on the newly imputed images.

Key Insights and Results

The researchers validated the ROAD framework on standard benchmarks like CIFAR-10 and large-scale, high-resolution datasets like Food-101. Their experiments yielded several surprising insights:

  • The "Hole" is a Feature: The most startling finding was that a model could achieve 80% accuracy on CIFAR-10 using only the binary masks (the shapes of the holes), without seeing a single actual pixel value. This confirmed that previous evaluation methods were inadvertently measuring how well an XAI method "outlines" an object, rather than identifying truly influential pixels.
  • Debiasing Leads to Consistency: Once the model is prevented from cheating via mask shapes, the conflicting rankings between different removal orders (MoRF and LeRF) largely disappear, resulting in a much more objective evaluation.
  • Massive Speedups: Because ROAD eliminates the need for retraining, it reduces computational costs by up to 99%. Evaluating an attribution method that previously took roughly 60 minutes with ROAR now takes only 33 seconds with ROAD.
  • Higher Statistical Consistency: Using Spearman rank correlation to measure consistency across different settings, traditional fixed-value imputation showed near-zero consistency (rankings were essentially random). ROAD improved this correlation to 0.61, providing a vastly more stable benchmark.

Limitations and Future Work

While ROAD significantly improves the consistency and efficiency of XAI evaluation, it does not achieve perfect agreement (a correlation of 1.0) across all possible evaluation strategies. The authors note that some attribution methods might inherently perform better at identifying irrelevant pixels versus relevant ones—a nuance that current metrics do not fully capture.

Future work will likely explore even more sophisticated imputation models within the ROAD framework and expand the analysis to include evaluation metrics beyond simple fidelity, such as explanation robustness and sensitivity.

Summary updated

BibTeX
@inproceedings{rong2022consistent,
  author = {Yao Rong and Tobias Leemann and Vadim Borisov and Gjergji Kasneci and Enkelejda Kasneci},
  title = {{A Consistent and Efficient Evaluation Strategy for Attribution Methods}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=rR1Y04dbYnC},
}
Figure