mlsanityData to 7 Oct 2026

Token Transformation Matters: Towards Faithful Post-hoc Explanation for Vision Transformer

arXiv 2403.14552 ↗First posted 21 Mar 2024cs.CVcited by 19

Not on the map. Why?

Abstract (arXiv)

While Transformers have rapidly gained popularity in various computer vision applications, post-hoc explanations of their internal mechanisms remain largely unexplored. Vision Transformers extract visual information by representing image regions as transformed tokens and integrating them via attention weights. However, existing post-hoc explanation methods merely consider these attention weights, neglecting crucial information from the transformed tokens, which fails to accurately illustrate the rationales behind the models' predictions. To incorporate the influence of token transformation into interpretation, we propose TokenTM, a novel post-hoc explanation method that utilizes our introduced measurement of token transformation effects. Specifically, we quantify token transformation effects by measuring changes in token lengths and correlations in their directions pre- and post-transformation. Moreover, we develop initialization and aggregation rules to integrate both attention weights and token transformation effects across all layers, capturing holistic token contributions throughout the model. Experimental results on segmentation and perturbation tests demonstrate the superiority of our proposed TokenTM compared to state-of-the-art Vision Transformer explanation methods.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 44 of its 52 references that are in the map. First posted on arXiv 21 Mar 2024.

Builds on

44 of 52 references.

References · 44

  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. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  7. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  8. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  10. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  11. 2015Learning Deep Features for Discriminative Localizationcited by 2,430
  12. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
32 more
  1. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  2. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  3. 2017SmoothGrad: removing noise by adding noisecited by 1,097
  4. 2014Striving for Simplicity: The All Convolutional Netcited by 983
  5. 2019Attention is not Explanationcited by 916
  6. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  7. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  8. 2020Quantifying Attention Flow in Transformerscited by 759
  9. 2019Attention is not not Explanationcited by 629
  10. 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
  11. 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
  12. 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 523
  13. 2019Is Attention Interpretable?cited by 387
  14. 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 316
  15. 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 295
  16. 2015Explaining NonLinear Classification Decisions with Deep Taylor Decompositioncited by 248
  17. 2017Real Time Image Saliency for Black Box Classifierscited by 246
  18. 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 197
  19. 2019Full-Gradient Representation for Neural Network Visualizationcited by 189
  20. 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 158
  21. 2022OpenXAI: Towards a Transparent Evaluation of Model Explanationscited by 125
  22. 2019On Identifiability in Transformerscited by 115
  23. 2017Interpreting Deep Visual Representations via Network Dissectioncited by 103
  24. 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
  25. 2015Visualizing Deep Convolutional Neural Networks Using Natural Pre-Imagescited by 93
  26. 2020Generating Hierarchical Explanations on Text Classification via Feature Interaction Detectioncited by 57
  27. 2022Grad-SAM: Explaining Transformers via Gradient Self-Attention Mapscited by 42
  28. 2018Understanding Individual Decisions of CNNs via Contrastive Backpropagationcited by 40
  29. 2019Explaining Convolutional Neural Networks using Softmax Gradient Layer-wise Relevance Propagationcited by 29
  30. 2020Visualization of Supervised and Self-Supervised Neural Networks via Attribution Guided Factorizationcited by 23
  31. 2023Visual Explanations via Iterated Integrated Attributionscited by 18
  32. 2023Deep Integrated Explanationscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 9; 2026: 4.

19 papers.

Sort:

By area:

  1. 2024PTQ4DiT: Post-training Quantization for Diffusion Transformerscited by 77
  2. 2024Towards Semantic Equivalence of Tokenization in Multimodal LLMcited by 45
  3. 2024On the Faithfulness of Vision Transformer Explanationscited by 19
  4. 2025Diffusion Model Quantization: A Reviewcited by 6
  5. 2024Aggregated Attributions for Explanatory Analysis of 3D Segmentation Modelscited by 5
  6. 2024LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributionscited by 5
  7. 2025Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC Bindingcited by 4
  8. 2025ZOO-Prune: Training-Free Token Pruning via Zeroth-Order Gradient Estimation in Vision-Language Modelscited by 4
  9. 2025TransPrune: Token Transition Pruning for Efficient Large Vision-Language Modelcited by 3
  10. 2025Enhancing Interpretability for Vision Models via Shapley Value Optimizationcited by 2
  11. 2025Towards Robust Optical-SAR Object Detection under Missing Modalities: A Dynamic Quality-Aware Fusion Frameworkcited by 2
  12. 2024ULTra: Unveiling Latent Token Interpretability in Transformer-Based Understanding and Segmentationcited by 1
7 more
  1. 2025TESSER: Transfer-Enhancing Adversarial Attacks from Vision Transformers via Spectral and Semantic Regularizationcited by 1
  2. 2025Two-stage Vision Transformers and Hard Masking offer Robust Object Representationscited by 1
  3. 2025WebXAII: an open-source web framework to study human-XAI interactioncited by 0
  4. 2026Why Does It Look There? Structured Explanations for Image Classificationcited by 0
  5. 2026DCP-Prune: Ultra-Low Token Pruning with Distribution Consistency Preservationcited by 0
  6. 2026Explaining AI-Image Detection: What the Heatmap Actually Showscited by 0
  7. 2026ProtoLIP: From Sentence-Level to Object-Level Evidence Disentanglementcited by 0