Saliency-Bench: A Comprehensive Benchmark for Evaluating Visual Explanations

Yifei Zhang, James Song, Siyi Gu, Tianxu Jiang, Bo Pan, Guangji Bai, Liang Zhao

Abstract

Explainable AI (XAI) often relies on saliency methods to interpret deep neural network decisions. However, the field lacks standardized evaluation protocols, diverse datasets, and a clear distinction between human-centric alignment and model-centric faithfulness. We introduce Saliency-Bench, a unified benchmark suite featuring eight diverse datasets and a standardized pipeline to rigorously evaluate visual explanations across various architectures and tasks.

Introduction: The XAI Wild West

Deep Neural Networks (DNNs) are frequently criticized as "black boxes." Saliency methods—heatmaps highlighting influential pixels—aim to provide transparency. Despite their popularity, XAI research faces significant challenges: a lack of standardized comparison metrics, narrow domain focus, and a frequent disconnect between "pretty" visualizations (alignment) and the model's actual logic (faithfulness). Saliency-Bench addresses these issues by providing a comprehensive, reproducible framework for XAI evaluation.

Methodology

Saliency-Bench implements a standardized evaluation pipeline accessible via the xaibenchmark Python API. The framework evaluates seven major saliency methods (e.g., GradCAM, Integrated Gradients, RISE) across ResNet-18, VGG-19, and ViT architectures.

Overview of the Saliency-Bench framework and evaluation pipeline.

The benchmark assesses two primary dimensions:

  1. Alignment (Human-Centric): Measures how well heatmaps overlap with human-annotated ground truth using mean Intersection over Union (mIoU) and the Pointing Game.
  2. Faithfulness (Model-Centric): Evaluates truth-to-model using insertion Area Under the Curve (iAUC), tracking model confidence as "important" pixels are progressively revealed.

Diverse Datasets

To ensure robustness across domains, Saliency-Bench curates eight distinct datasets, ranging from general object classification to specialized medical and security tasks.

The eight diverse datasets included in Saliency-Bench with corresponding human-annotated ground truth masks.

The datasets include:

  • Gender-XAI & Environment-XAI: Binary classification for social and environmental contexts.
  • Disease-XAI & Cancer-XAI: Radiologist-annotated medical imaging tasks.
  • Security-XAI: Prohibited item detection in X-ray scans.
  • Pet-XAI, Action-XAI, & Object-XAI: Multi-class tasks covering animals, human actions, and general objects.

Key Insights and Results

The benchmark reveals several critical trends in current XAI performance:

  • The Complexity Penalty: Saliency methods struggle as task complexity increases, often showing a drop in faithfulness.
  • Architecture Influence: ResNet-18 generally yields higher-quality explanations than VGG-19, likely due to skip connections preserving feature relevance.
  • Vision Transformers (ViT): ViT's self-attention mechanisms naturally capture global context, often outperforming CNN-based post-hoc methods in faithfulness, particularly in the Pet-XAI dataset (iAUC: 0.8012).
  • The Reliability Gap: Alignment and faithfulness are not always correlated; a heatmap that points to the "correct" object may not accurately reflect the model's internal decision-making process.

In terms of specific methods, Integrated Gradients and RISE frequently led in alignment metrics. However, GradCAM proved particularly effective for the specific textures found in medical datasets like Disease-XAI and Cancer-XAI.

Conclusion and Future Work

Saliency-Bench moves XAI from ad-hoc visualization toward a rigorous science. While current methods show promise, challenges remain regarding human bias in annotations and the need for pixel-perfect, fine-grained explanations. Future efforts will focus on mitigating dataset bias and developing "intrinsic" models designed for interpretability by default.

Summary updated

BibTeX
@inproceedings{zhang2023saliency,
  author = {Yifei Zhang and James Song and Siyi Gu and Tianxu Jiang and Bo Pan and Guangji Bai and Liang Zhao},
  title = {{Saliency-Bench: A Comprehensive Benchmark for Evaluating Visual Explanations}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2023},
}
Figure