Classification Metrics for Image Explanations: Towards Building Reliable XAI-Evaluations
Benjamin Fresz, Lena Lörcher, Marco Huber
TL;DR
This work tackles the challenge of evaluating image saliency explanations without ground-truth pixel labels by introducing a mosaic-based framework that defines true/false feature importance for positives and negatives. It extends the Focus score with negative FI and additional metrics, and assesses metric validity through psychometric-inspired reliability analyses using Krippendorff's α and Spearman's ρ. Benchmarking across datasets (including Cars/Cats, Mountain Dogs, and ImageNet) and saliency methods (including SHAP and B-cos) reveals that method performance is highly dependent on the model and dataset, with no single approach excelling universally. The study provides open-source code, a rigorous reliability-oriented evaluation protocol, and practical guidance for selecting XAI methods in real-world use cases, while acknowledging limitations and encouraging further expansion of objective XAI metrics.
Abstract
Decision processes of computer vision models - especially deep neural networks - are opaque in nature, meaning that these decisions cannot be understood by humans. Thus, over the last years, many methods to provide human-understandable explanations have been proposed. For image classification, the most common group are saliency methods, which provide (super-)pixelwise feature attribution scores for input images. But their evaluation still poses a problem, as their results cannot be simply compared to the unknown ground truth. To overcome this, a slew of different proxy metrics have been defined, which are - as the explainability methods themselves - often built on intuition and thus, are possibly unreliable. In this paper, new evaluation metrics for saliency methods are developed and common saliency methods are benchmarked on ImageNet. In addition, a scheme for reliability evaluation of such metrics is proposed that is based on concepts from psychometric testing. The used code can be found at https://github.com/lelo204/ClassificationMetricsForImageExplanations .
