Saliency-Bench: A Comprehensive Benchmark for Evaluating Visual Explanations

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

TL;DR

Saliency-Bench is a new, standardized benchmark designed to rigorously evaluate visual explanations in computer vision. By providing eight diverse, human-annotated datasets and a unified evaluation API, it allows researchers to measure both how well saliency maps align with human reasoning and how faithfully they reflect a model's internal decision-making process.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) are notoriously "black boxes." To peek inside, researchers use saliency methods—techniques that generate heatmaps (saliency maps) to highlight which pixels most influenced a model's prediction. However, the field of Explainable AI (XAI) faces a major "evaluation crisis."

Existing benchmarks are often narrow in scope (limited to just medical images or general objects), expensive to scale (relying on user questionnaires), or lack standardized metrics. Furthermore, there is a fundamental tension between alignment (does the explanation make sense to a human?) and faithfulness (does the explanation accurately represent the model’s actual logic?). Without a comprehensive and unified framework, comparing different saliency methods across different tasks remains an apples-to-oranges comparison.

Methods

The authors introduce Saliency-Bench, a framework that unifies the evaluation of visual explanations. The core of their approach involves:

  1. Standardized Evaluation Pipeline: A modular API that automates data loading, saliency map generation, and performance assessment.
  2. Dual-Metric Assessment:
    • Alignment Metrics: Using mean Intersection over Union (mIoU) and the Pointing Game (PG) to see how closely the AI's "focus" matches human-annotated ground truth.
  3. Faithfulness Metrics: Using Insertion Area Under the Curve (iAUC). This measures how the model's confidence increases as pixels identified as "important" are progressively added back into a blank image.
  4. Broad Benchmarking: They tested six post-hoc saliency methods (GradCAM, GradCAM++, Integrated Gradients, InputXGradient, Occlusion, and RISE) across two CNN architectures (ResNet-18 and VGG-19), as well as the intrinsic attention mechanisms of Vision Transformers (ViT-B/16).
Figure 2: Overview of Saliency-Bench: A Comprehensive Benchmark for Evaluating Visual Explanations.

Datasets

Saliency-Bench introduces a collection of eight diverse datasets, each paired with ground-truth explanation annotations:

  • Human-Annotated: Gender-XAI (gender classification), Environment-XAI (urban vs. nature), Disease-XAI (lung nodule detection), Cancer-XAI (pancreatic tumor diagnosis), and Security-XAI (prohibited items in X-rays).
  • Foreground Extraction Proxies: Pet-XAI, Action-XAI, and Object-XAI, where pixel-level masks of the primary subjects serve as the ground truth.
Figure 1: Example images from the eight datasets—Gender-XAI, Environment-XAI, Disease-XAI, Cancer-XAI, Security-XAI, Pet-XAI, Action-XAI, and Object-XAI—across different tasks. Each image is paired with a ground-truth explanation annotation.

Key Insights and Ideas

  • Architecture Influences Explanation: ResNet-18 consistently outperformed VGG-19 in explanation quality. The authors suggest that ResNet's deeper architecture and skip connections help it capture more complex features relevant to saliency mapping.
  • RISE and GradCAM are Robust: Across diverse tasks, RISE and GradCAM emerged as the most reliable methods, showing consistent performance regardless of the underlying model architecture.
  • The ViT Advantage: Vision Transformers (ViT) produce much more refined and detailed attention maps compared to traditional CNN-based saliency methods (see Figure 4 below). Their self-attention mechanism allows them to capture global context and long-range dependencies more effectively.
  • Complexity vs. Faithfulness: The study found that as tasks become more complex, the faithfulness of saliency methods tends to decrease. This suggests that for intricate tasks, we might need to incorporate more context, such as object-level segmentation, to ensure explanations remain accurate.
Figure 4: Qualitative results of visual explanation methods: (1) Original image; (2) Saliency map generated by GradCAM; (4) Saliency map generated by InputXGradient; (3) Generated by attention mechanisms of ViT-B/16.

Key Results

  • ResNet-18 Superiority: On the Action-XAI dataset, ResNet-18 achieved an mIoU of 0.4406 with RISE, significantly higher than VGG-19's 0.3855.
  • Medical Challenges: Medical datasets (Disease-XAI and Cancer-XAI) proved the most difficult for all methods, with mIoU scores often falling below 0.15, highlighting a critical need for better XAI tools in healthcare.
  • Metric Correlation: The authors found a high correlation (0.8462) between mIoU and Pointing Game for Integrated Gradients on ResNet-18, suggesting these metrics are stable indicators of alignment for that specific method.

Limitations and Future Work

The authors acknowledge several hurdles:

  • Human Bias: Even with independent assessments, human-annotated explanations (like those in Gender-XAI) can introduce subjective biases.
  • Dataset Bias: The Cancer-XAI dataset combines samples from different sources, which could lead to unintended model biases.
  • Ethical Concerns: The inclusion of gender classification tasks raises questions about reinforcing stereotypes, necessitating careful ethical consideration in future dataset construction.
  • Scalability: While the API helps, high-quality human annotation remains expensive and difficult to scale to massive datasets.

Future work will likely focus on refining these datasets and developing saliency methods that can maintain high faithfulness even in highly complex, multi-object scenes.

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