A Meaningful Perturbation Metric for Evaluating Explainability Methods
Danielle Cohen, Hila Chefer, Lior Wolf
TL;DR
This work addresses the challenge of evaluating attribution methods for deep vision models by exposing the failures of standard perturbation approaches that alter inputs in out-of-distribution ways. It introduces Stratified Inpainting, leveraging Stable Diffusion to replace high-relevance pixels with content conditioned on the second-highest class, and defines a weighting scheme to link inpainted changes to the original relevance maps via $f(C,E,I)$. Across CNNs and ViTs, and a broad set of attribution methods, the proposed metric yields rankings that align more closely with human preferences and better distinguish truly faithful explanations from random baselines, while reducing computation compared with full-inpainting baselines. The method offers a practical, scalable approach to standardizing explainability evaluation and enhancing interpretability in deep networks, with potential impact on model debugging, robustness, and user trust.
Abstract
Deep neural networks (DNNs) have demonstrated remarkable success, yet their wide adoption is often hindered by their opaque decision-making. To address this, attribution methods have been proposed to assign relevance values to each part of the input. However, different methods often produce entirely different relevance maps, necessitating the development of standardized metrics to evaluate them. Typically, such evaluation is performed through perturbation, wherein high- or low-relevance regions of the input image are manipulated to examine the change in prediction. In this work, we introduce a novel approach, which harnesses image generation models to perform targeted perturbation. Specifically, we focus on inpainting only the high-relevance pixels of an input image to modify the model's predictions while preserving image fidelity. This is in contrast to existing approaches, which often produce out-of-distribution modifications, leading to unreliable results. Through extensive experiments, we demonstrate the effectiveness of our approach in generating meaningful rankings across a wide range of models and attribution methods. Crucially, we establish that the ranking produced by our metric exhibits significantly higher correlation with human preferences compared to existing approaches, underscoring its potential for enhancing interpretability in DNNs.
