Skip to main content
QUICK REVIEW

[Paper Review] Ground Truth Evaluation of Neural Network Explanations with CLEVR-XAI

Leila Arras, Ahmed Osman|arXiv (Cornell University)|Mar 16, 2020
Explainable Artificial Intelligence (XAI)Computer Science57 references19 citations
TL;DR

This paper introduces CLEVR-XAI, a novel benchmark dataset with ground truth pixel-level explanations for visual question answering (VQA) tasks, enabling objective evaluation of neural network explanations. By leveraging synthetic, realistic 3D scenes from the CLEVR dataset and generating precise object-wise relevance masks, the framework evaluates 10 XAI methods under controlled, selective, and realistic conditions, revealing that Layer-wise Relevance Propagation (LRP), Integrated Gradients (IG), and Guided Backpropagation achieve the highest accuracy, while DeconvNet and Grad-CAM perform worst.

ABSTRACT

The rise of deep learning in today's applications entailed an increasing need in explaining the model's decisions beyond prediction performances in order to foster trust and accountability. Recently, the field of explainable AI (XAI) has developed methods that provide such explanations for already trained neural networks. In computer vision tasks such explanations, termed heatmaps, visualize the contributions of individual pixels to the prediction. So far XAI methods along with their heatmaps were mainly validated qualitatively via human-based assessment, or evaluated through auxiliary proxy tasks such as pixel perturbation, weak object localization or randomization tests. Due to the lack of an objective and commonly accepted quality measure for heatmaps, it was debatable which XAI method performs best and whether explanations can be trusted at all. In the present work, we tackle the problem by proposing a ground truth based evaluation framework for XAI methods based on the CLEVR visual question answering task. Our framework provides a (1) selective, (2) controlled and (3) realistic testbed for the evaluation of neural network explanations. We compare ten different explanation methods, resulting in new insights about the quality and properties of XAI methods, sometimes contradicting with conclusions from previous comparative studies. The CLEVR-XAI dataset and the benchmarking code can be found at https://github.com/ahmedmagdiosman/clevr-xai.

Motivation & Objective

  • To address the lack of objective, ground truth-based evaluation for neural network explanations in computer vision.
  • To create a controlled, selective, and realistic testbed for evaluating XAI methods beyond proxy metrics like pixel perturbation or object localization.
  • To provide a benchmark dataset with precise, human-annotated ground truth relevance masks for VQA predictions.
  • To compare the performance of 10 post-hoc XAI methods under a unified, objective evaluation framework.
  • To challenge previous qualitative conclusions about XAI method quality by offering empirical, quantitative insights.

Proposed method

  • The authors extend the CLEVR VQA dataset by generating pixel-level ground truth masks for each question, indicating which image regions are relevant to the answer.
  • Ground truth masks are created by identifying the objects in the image that are necessary to answer each question, based on the question's semantic content.
  • The evaluation framework uses these masks to compute relevance accuracy, measuring how well XAI heatmaps align with the true relevant image regions.
  • Ten post-hoch XAI methods—including Grad-CAM, LRP, Integrated Gradients, and Guided Backpropagation—are evaluated using the same test set and metrics.
  • The evaluation is conducted on a standard Relation Network-based VQA model, ensuring consistency with training and inference conditions.
  • Metrics include mass accuracy and object-wise accuracy, with results aggregated across multiple question types and image variations.

Experimental results

Research questions

  • RQ1Which XAI method produces heatmaps that most accurately reflect the true relevant image regions for a given VQA prediction?
  • RQ2How does the performance of XAI methods vary across different question types (e.g., counting, attribute, relation-based questions)?
  • RQ3Can ground truth-based evaluation reveal performance differences that are masked by proxy evaluation methods like pixel perturbation or localization?
  • RQ4To what extent do deterministic XAI methods outperform stochastic or gradient-integration-based methods in terms of relevance accuracy?
  • RQ5Does the model’s prediction confidence correlate with the accuracy of the XAI explanation?

Key findings

  • Layer-wise Relevance Propagation (LRP) and Integrated Gradients (IG) achieved the highest relevance accuracy, with LRP showing strong performance even on complex, occluded scenes.
  • Guided Backpropagation also performed well, particularly in localizing relevant objects, suggesting its effectiveness in capturing feature importance.
  • DeconvNet and Grad-CAM were the least accurate methods, often failing to localize relevant objects or spreading relevance across irrelevant image regions.
  • The performance of XAI methods correlated with the model’s prediction confidence: higher confidence predictions led to more accurate explanations.
  • The ground truth evaluation revealed that some methods previously considered reliable based on proxy metrics (e.g., Grad-CAM) performed poorly when evaluated against actual relevance masks.
  • The benchmark demonstrated that methods relying on gradient integration (e.g., IG) or single backward passes (e.g., LRP, Guided Backprop) outperform those requiring perturbations or baseline inputs (e.g., SmoothGrad).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.