English

The Manifold Hypothesis for Gradient-Based Explanations

Machine Learning 2024-07-16 v2 Computer Vision and Pattern Recognition

Abstract

When do gradient-based explanation algorithms provide perceptually-aligned explanations? We propose a criterion: the feature attributions need to be aligned with the tangent space of the data manifold. To provide evidence for this hypothesis, we introduce a framework based on variational autoencoders that allows to estimate and generate image manifolds. Through experiments across a range of different datasets -- MNIST, EMNIST, CIFAR10, X-ray pneumonia and Diabetic Retinopathy detection -- we demonstrate that the more a feature attribution is aligned with the tangent space of the data, the more perceptually-aligned it tends to be. We then show that the attributions provided by popular post-hoc methods such as Integrated Gradients and SmoothGrad are more strongly aligned with the data manifold than the raw gradient. Adversarial training also improves the alignment of model gradients with the data manifold. As a consequence, we suggest that explanation algorithms should actively strive to align their explanations with the data manifold. This is an extended version of a CVPR Workshop paper. Code is available at https://github.com/tml-tuebingen/explanations-manifold.

Keywords

Cite

@article{arxiv.2206.07387,
  title  = {The Manifold Hypothesis for Gradient-Based Explanations},
  author = {Sebastian Bordt and Uddeshya Upadhyay and Zeynep Akata and Ulrike von Luxburg},
  journal= {arXiv preprint arXiv:2206.07387},
  year   = {2024}
}

Comments

Extended version of a CVPR Workshop paper, available at https://openaccess.thecvf.com/content/CVPR2023W/XAI4CV/papers/Bordt_The_Manifold_Hypothesis_for_Gradient-Based_Explanations_CVPRW_2023_paper.pdf

R2 v1 2026-06-24T11:52:01.923Z