mlsanityData to 7 Oct 2026

LeGrad: An Explainability Method for Vision Transformers via Feature Formation Sensitivity

arXiv 2404.03214 ↗First posted 4 Apr 2024cs.CVcited by 32

Not on the map. Why?

Abstract (arXiv)

Vision Transformers (ViTs), with their ability to model long-range dependencies through self-attention mechanisms, have become a standard architecture in computer vision. However, the interpretability of these models remains a challenge. To address this, we propose LeGrad, an explainability method specifically designed for ViTs. LeGrad computes the gradient with respect to the attention maps of ViT layers, considering the gradient itself as the explainability signal. We aggregate the signal over all layers, combining the activations of the last as well as intermediate tokens to produce the merged explainability map. This makes LeGrad a conceptually simple and an easy-to-implement tool for enhancing the transparency of ViTs. We evaluate LeGrad in challenging segmentation, perturbation, and open-vocabulary settings, showcasing its versatility compared to other SotA explainability methods demonstrating its superior spatial fidelity and robustness to perturbations. A demo and the code is available at https://github.com/WalBouss/LeGrad.

Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 52 of its 59 references that are in the map. First posted on arXiv 4 Apr 2024.

Builds on

52 of 59 references.

References · 52

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  6. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  7. 2022Scalable Diffusion Models with Transformerscited by 5,931
  8. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  10. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  11. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  12. 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,048
38 more
  1. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  2. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  3. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  4. 2021ViViT: A Video Vision Transformercited by 1,610
  5. 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
  6. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
  7. 2023ImageBind: One Embedding Space To Bind Them Allcited by 1,162
  8. 2018Sanity Checks for Saliency Mapscited by 1,149
  9. 2017SmoothGrad: removing noise by adding noisecited by 1,097
  10. 2014Striving for Simplicity: The All Convolutional Netcited by 983
  11. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  12. 2023Vision Transformers Need Registerscited by 844
  13. 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
  14. 2020Quantifying Attention Flow in Transformerscited by 759
  15. 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
  16. 2018A Benchmark for Interpretability Methods in Deep Neural Networkscited by 467
  17. 2015Evaluating the visualization of what a Deep Neural Network has learnedcited by 416
  18. 2017The (Un)reliability of saliency methodscited by 331
  19. 2016Top-down Neural Attention by Excitation Backpropcited by 318
  20. 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 316
  21. 2018On the Robustness of Interpretability Methodscited by 310
  22. 2019On the (In)fidelity and Sensitivity for Explanationscited by 309
  23. 2022From Anecdotal Evidence to Quantitative Evaluation Methods: A Systematic Review on Evaluating Explainable AIcited by 299
  24. 2023Demystifying CLIP Datacited by 265
  25. 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 189
  26. 2022Contrastive Audio-Visual Masked Autoencodercited by 142
  27. 2022Natural Language Descriptions of Deep Visual Featurescited by 136
  28. 2019Sanity Checks for Saliency Metricscited by 119
  29. 2019XRAI: Better Attributions Through Regionscited by 116
  30. 2021Large-scale Unsupervised Semantic Segmentationcited by 98
  31. 2023Grounding Everything: Emerging Localization Properties in Vision-Language Transformerscited by 89
  32. 2018Jointly Discovering Visual Objects and Spoken Words from Raw Sensory Inputcited by 81
  33. 2023FunnyBirds: A Synthetic Vision Dataset for a Part-Based Analysis of Explainable AI Methodscited by 49
  34. 2022Metrics for saliency map evaluation of deep learning explanation methodscited by 40
  35. 2018What made you do this? Understanding black-box decisions with sufficient input subsetscited by 31
  36. 2021Shared Interest: Measuring Human-AI Alignment to Identify Recurring Patterns in Model Behaviorcited by 29
  37. 2020Overinterpretation reveals image classification model pathologiescited by 28
  38. 2022From colouring-in to pointillism: revisiting semantic segmentation supervisioncited by 22

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 9; 2025: 8; 2026: 15.

32 papers.

Sort:

By area:

  1. 2024B-cosification: Transforming Deep Neural Networks to be Inherently Interpretablecited by 12
  2. 2025Attention (as Discrete-Time Markov) Chainscited by 11
  3. 2024Visual Prompt Engineering for Vision Language Models in Radiologycited by 6
  4. 2024Explaining Caption-Image Interactions in CLIP Models with Second-Order Attributionscited by 3
  5. 2025Symbolic Rule Extraction from Attention-Guided Sparse Representations in Vision Transformerscited by 3
  6. 2026DAVE: Distribution-aware Attribution via ViT Gradient Decompositioncited by 3
  7. 2024MaskInversion: Localized Embeddings via Optimization of Explainability Mapscited by 2
  8. 2026On the Explainability of Vision-Language Models in Art Historycited by 2
  9. 2024LoRA-PT: Low-Rank Adapting UNETR for Hippocampus Segmentation Using Principal Tensor Singular Values and Vectorscited by 1
  10. 2024VISTA: A Visual and Textual Attention Dataset for Interpreting Multimodal Modelscited by 1
  11. 2024Explainability in AI Based Applications: A Framework for Comparing Different Techniquescited by 1
  12. 2024ULTra: Unveiling Latent Token Interpretability in Transformer-Based Understanding and Segmentationcited by 1
20 more
  1. 2025Find your Needle: Small Object Image Retrieval via Multi-Object Attention Optimizationcited by 1
  2. 2026Focal Guidance: Unlocking Controllability from Semantic-Weak Layers in Video Diffusion Modelscited by 1
  3. 2026DEX-AR: A Dynamic Explainability Method for Autoregressive Vision-Language Modelscited by 1
  4. 2026Disentangling Hallucinations: Orthogonal Semantic Projection for Robust Interpretabilitycited by 1
  5. 2024Advancing Histopathology-Based Breast Cancer Diagnosis: Insights into Multi-Modality and Explainabilitycited by 0
  6. 2025Pose Matters: Evaluating Vision Transformers and CNNs for Human Action Recognition on Small COCO Subsetscited by 0
  7. 2025Leveraging Vision-Language Pre-training for Human Activity Recognition in Still Imagescited by 0
  8. 2025Turning Adversaries into Allies: Reversing Typographic Attacks for Multimodal E-Commerce Product Retrievalcited by 0
  9. 2025Application of Graph Based Vision Transformers Architectures for Accurate Temperature Prediction in Fiber Specklegram Sensorscited by 0
  10. 2025TRANSPORTER: Transferring Visual Semantics from VLM Manifoldscited by 0
  11. 2026Learn to Rank: Visual Attribution by Learning Importance Rankingcited by 0
  12. 2026Decision-Aware Attention Propagation for Vision Transformer Explainabilitycited by 0
  13. 2026Interpretability Without Tradeoffs: Disentangling Polysemanticity At Equal Predictive Performancecited by 0
  14. 2026Does Aurora Encode Atmospheric Structure? Latent Regime Analysis and Attributioncited by 0
  15. 2026What Pixels Are Enough? SEAMS: Sufficiency Saliency via MSE-Preservation Soft-Maskscited by 0
  16. 2026Explaining AI-Image Detection: What the Heatmap Actually Showscited by 0
  17. 2026SPICE: Simple Polysemantic Feature Interpretation via Clustering-based Explanationcited by 0
  18. 2026ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformerscited by 0
  19. 2026MorphoSHAP: Rethinking the Unit of Attribution in Explanation for Deep Visual Modelscited by 0
  20. 2026Diverse by Design: Architectural Constraints for Prototype-Based Interpretabilitycited by 0