mlsanityData to 7 Oct 2026

Dynamic Accumulated Attention Map for Interpreting Evolution of Decision-Making in Vision Transformer

arXiv 2503.14640 ↗First posted 18 Mar 2025cs.CV cs.AIcited by 12

Not on the map. Why?

Abstract (arXiv)

Various Vision Transformer (ViT) models have been widely used for image recognition tasks. However, existing visual explanation methods can not display the attention flow hidden inside the inner structure of ViT models, which explains how the final attention regions are formed inside a ViT for its decision-making. In this paper, a novel visual explanation approach, Dynamic Accumulated Attention Map (DAAM), is proposed to provide a tool that can visualize, for the first time, the attention flow from the top to the bottom through ViT networks. To this end, a novel decomposition module is proposed to construct and store the spatial feature information by unlocking the [class] token generated by the self-attention module of each ViT block. The module can also obtain the channel importance coefficients by decomposing the classification score for supervised ViT models. Because of the lack of classification score in self-supervised ViT models, we propose dimension-wise importance weights to compute the channel importance coefficients. Such spatial features are linearly combined with the corresponding channel importance coefficients, forming the attention map for each block. The dynamic attention flow is revealed by block-wisely accumulating each attention map. The contribution of this work focuses on visualizing the evolution dynamic of the decision-making attention for any intermediate block inside a ViT model by proposing a novel decomposition module and dimension-wise importance weights. The quantitative and qualitative analysis consistently validate the effectiveness and superior capacity of the proposed DAAM for not only interpreting ViT models with the fully-connected layers as the classifier but also self-supervised ViT models. The code is available at https://github.com/ly9802/DynamicAccumulatedAttentionMap.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 29 of its 41 references that are in the map. First posted on arXiv 18 Mar 2025.

Builds on

29 of 41 references.

References · 29

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  6. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  7. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  9. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  10. 2018Sanity Checks for Saliency Mapscited by 1,149
  11. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  12. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
17 more
  1. 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
  2. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  3. 2021Going deeper with Image Transformerscited by 759
  4. 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
  5. 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
  6. 2019Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networkscited by 575
  7. 2021XCiT: Cross-Covariance Image Transformerscited by 335
  8. 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 316
  9. 2015Explaining NonLinear Classification Decisions with Deep Taylor Decompositioncited by 248
  10. 2020Axiom-based Grad-CAM: Towards Accurate Visualization and Explanation of CNNscited by 151
  11. 2021Efficient Self-supervised Vision Transformers for Representation Learningcited by 149
  12. 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
  13. 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classificationcited by 89
  14. 2023RangeViT: Towards Vision Transformers for 3D Semantic Segmentation in Autonomous Drivingcited by 76
  15. 2021GasHis-Transformer: A Multi-scale Visual Transformer Approach for Gastric Histopathological Image Detectioncited by 26
  16. 2023Visual Explanations via Iterated Integrated Attributionscited by 18
  17. 2024ReViT: Enhancing Vision Transformers Feature Diversity with Attention Residual Connectionscited by 3

Built on by

Cited by year (2026 to 7 Oct)

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

12 papers.