mlsanityData to 14 Oct 2026

GMAR: Gradient-Driven Multi-Head Attention Rollout for Vision Transformer Interpretability

arXiv 2504.19414 ↗First posted 28 Apr 2025cs.CVcited by 11

Not on the map. Why?

Abstract (arXiv)

The Vision Transformer (ViT) has made significant advancements in computer vision, utilizing self-attention mechanisms to achieve state-of-the-art performance across various tasks, including image classification, object detection, and segmentation. Its architectural flexibility and capabilities have made it a preferred choice among researchers and practitioners. However, the intricate multi-head attention mechanism of ViT presents significant challenges to interpretability, as the underlying prediction process remains opaque. A critical limitation arises from an observation commonly noted in transformer architectures: "Not all attention heads are equally meaningful." Overlooking the relative importance of specific heads highlights the limitations of existing interpretability methods. To address these challenges, we introduce Gradient-Driven Multi-Head Attention Rollout (GMAR), a novel method that quantifies the importance of each attention head using gradient-based scores. These scores are normalized to derive a weighted aggregate attention score, effectively capturing the relative contributions of individual heads. GMAR clarifies the role of each head in the prediction process, enabling more precise interpretability at the head level. Experimental results demonstrate that GMAR consistently outperforms traditional attention rollout techniques. This work provides a practical contribution to transformer-based architectures, establishing a robust framework for enhancing the interpretability of Vision Transformer models.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 21 of its 27 references that are in the map. First posted on arXiv 28 Apr 2025.

Builds on

21 of 27 references.

References · 21

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  9. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  10. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  11. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  12. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
9 more
  1. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  2. 2020Quantifying Attention Flow in Transformerscited by 775
  3. 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
  4. 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 334
  5. 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
  6. 2024MoH: Multi-Head Attention as Mixture-of-Head Attentioncited by 44
  7. 2023How Does Attention Work in Vision Transformers? A Visual Analytics Attemptcited by 30
  8. 2022ViT-CX: Causal Explanation of Vision Transformerscited by 28
  9. 2024FovEx: Human-Inspired Explanations for Vision Transformers and Convolutional Neural Networkscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 9.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Interpretability-Aware Vision Transformer
  2. 2026Interpretable Vision Transformers in Image Classification via SVDA
  3. 2024TAB: Transformer Attention Bottlenecks enable User Intervention and Debugging in Vision-Language Models
  4. 2026ViT-5: Vision Transformers for The Mid-2020s
  5. 2025Prisma: An Open Source Toolkit for Mechanistic Interpretability in Vision and Video
  6. 2026Accelerating Vision Foundation Models with Drop-in Depthwise Convolution
  7. 2026SpIn-ViT: Designing a Sparsity-Induced Vision Transformer That Is Mechanistically Interpretable
  8. 2026ViT-Explainer: An Interactive Walkthrough of the Vision Transformer Pipeline