Abstract
Gradient-based attribution methods are widely used to explain deep learning models, yet raw gradients often appear as uninterpretable noise. This paper proposes the Manifold Hypothesis for Explanations: gradient-based AI explanations are perceptually aligned with human intuition only when they reside within the tangent space of the data manifold. By leveraging generative and reconstructive models to estimate these manifolds, we demonstrate that popular smoothing techniques and adversarial training succeed precisely because they project explanations onto the geometric bounds of natural data.
Introduction
Deep learning models are often criticized as "black boxes." To provide transparency, researchers use gradient-based attribution methods (e.g., saliency maps) to highlight pixels influencing a prediction. However, raw gradients are frequently noisy and nonsensical. While post-hoc methods like SmoothGrad or Integrated Gradients produce cleaner, "perceptually aligned" explanations, a formal mathematical justification for their success has been lacking. We investigate the geometric relationship between these explanations and the underlying structure of image data to bridge this gap.
Methodology
We evaluate the hypothesis that natural images concentrate around a lower-dimensional manifold. To test this, we developed two distinct approaches:
- Generative Approach: Using $\beta$-TCVAEs to create synthetic datasets where the manifold structure and its tangent space—the directions of valid data variation—are mathematically known.
- Reconstructive Approach: Using autoencoders to estimate the tangent space for complex real-world datasets where the true manifold is unknown.
We introduced the Fraction in Tangent Space metric to quantify how much of an explanation vector aligns with the manifold versus pointing toward random noise.
Geometric Insights
Our analysis reveals that the "noise" in standard gradients typically points in directions orthogonal to the data manifold. These orthogonal components represent changes that would transform a natural image into unrecognizable static.
Key findings include:
- Explanations as Projections: Methods like SmoothGrad and Integrated Gradients effectively filter out off-manifold components, projecting the attribution back onto the tangent space.
- Adversarial Robustness: $l_2$-adversarial training significantly increases the alignment of model logic with the data's geometric structure. On MNIST32, the mean fraction of the gradient in the tangent space increased from 0.31 in standard models to 0.68 in robust models.
Results and Human Evaluation
The hypothesis was validated across six datasets, including MNIST, CIFAR10, and medical imaging for Pneumonia and Diabetic Retinopathy.
In a user study, 100% of participants (580/580) identified the manifold-aligned component of an attribution as more perceptually aligned than the orthogonal component. This suggests that human interpretability is intrinsically linked to the geometric structure of the data manifold. Furthermore, the consistency of these results in medical imaging indicates that manifold alignment is a universal property of high-quality explanations.
Conclusion
The Manifold Hypothesis provides a rigorous geometric framework for understanding AI interpretability. While current methods improve alignment, they rarely reach 100%, suggesting that classification tasks may still rely on some off-manifold information or that current architectures are suboptimal. Future work should explore optimization techniques that actively enforce manifold alignment during the explanation process.
Summary updated