mlsanityData to 7 Oct 2026

Visualizing and Understanding Patch Interactions in Vision Transformer

arXiv 2203.05922 ↗First posted 11 Mar 2022cs.CVcited by 26

Not on the map. Why?

Abstract (arXiv)

Vision Transformer (ViT) has become a leading tool in various computer vision tasks, owing to its unique self-attention mechanism that learns visual representations explicitly through cross-patch information interactions. Despite having good success, the literature seldom explores the explainability of vision transformer, and there is no clear picture of how the attention mechanism with respect to the correlation across comprehensive patches will impact the performance and what is the further potential. In this work, we propose a novel explainable visualization approach to analyze and interpret the crucial attention interactions among patches for vision transformer. Specifically, we first introduce a quantification indicator to measure the impact of patch interaction and verify such quantification on attention window design and indiscriminative patches removal. Then, we exploit the effective responsive field of each patch in ViT and devise a window-free transformer architecture accordingly. Extensive experiments on ImageNet demonstrate that the exquisitely designed quantitative method is shown able to facilitate ViT model learning, leading the top-1 accuracy by 4.28% at most. Moreover, the results on downstream fine-grained recognition tasks further validate the generalization of our proposal.

Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 37 of its 56 references that are in the map. First posted on arXiv 11 Mar 2022.

Builds on

37 of 56 references.

References · 37

  1. 2017Attention Is All You Needcited by 59,932
  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. 2020End-to-End Object Detection with Transformerscited by 7,384
  5. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  6. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  7. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  8. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  9. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  10. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  11. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  12. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
25 more
  1. 2017SmoothGrad: removing noise by adding noisecited by 1,097
  2. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  3. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  4. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  5. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  6. 2019Are Sixteen Heads Really Better than One?cited by 803
  7. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
  8. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
  9. 2021Intriguing Properties of Vision Transformerscited by 446
  10. 2019Is Attention Interpretable?cited by 387
  11. 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 295
  12. 2015Explaining NonLinear Classification Decisions with Deep Taylor Decompositioncited by 248
  13. 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
  14. 2019Full-Gradient Representation for Neural Network Visualizationcited by 189
  15. 2020Rethinking Transformer-based Set Prediction for Object Detectioncited by 156
  16. 2021Salient Object Detection via Integrity Learningcited by 133
  17. 2021TransFG: A Transformer Architecture for Fine-grained Recognitioncited by 131
  18. 2015Character-Aware Neural Language Modelscited by 129
  19. 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 126
  20. 2019Open Sesame: Getting Inside BERT's Linguistic Knowledgecited by 119
  21. 2020Fixed Encoder Self-Attention Patterns in Transformer-Based Machine Translationcited by 42
  22. 2021SOTR: Segmenting Objects with Transformerscited by 42
  23. 2021Understanding and Improving Robustness of Vision Transformers through Patch-based Negative Augmentationcited by 40
  24. 2021Leveraging redundancy in attention with Reuse Transformerscited by 33
  25. 2021Oriented Object Detection with Transformercited by 20

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 4; 2024: 7; 2025: 9; 2026: 3.

26 papers.

Sort:

By area:

  1. 2024Explainable and Interpretable Multimodal Large Language Models: A Comprehensive Surveycited by 52
  2. 2023AttentionViz: A Global View of Transformer Attentioncited by 50
  3. 2022Hierarchical Local-Global Transformer for Temporal Sentence Groundingcited by 38
  4. 2022QSAN: A Near-term Achievable Quantum Self-Attention Networkcited by 25
  5. 2024Pay Attention and Move Better: Harnessing Attention for Interactive Motion Generation and Training-free Editingcited by 17
  6. 2023Explainability of Vision Transformers: A Comprehensive Review and New Perspectivescited by 12
  7. 2024Application of Multimodal Fusion Deep Learning Model in Disease Recognitioncited by 12
  8. 2024Transformer Explainer: Learning LLM Transformers with Interactive Visual Explanation and Experimentationcited by 9
  9. 2025Understanding Multi-View Transformerscited by 8
  10. 2024Recasting Generic Pretrained Vision Transformers As Object-Centric Scene Encoders For Manipulation Policiescited by 6
  11. 2024FViT: A Focal Vision Transformer with Gabor Filtercited by 3
  12. 2022Demystify Self-Attention in Vision Transformers from a Semantic Perspective: Analysis and Applicationcited by 2
14 more
  1. 2025Improved Ear Verification with Vision Transformers and Overlapping Patchescited by 2
  2. 2025Knowledge Transfer from Interaction Learningcited by 2
  3. 2023Universal Deoxidation of Semiconductor Substrates Assisted by Machine-Learning and Real-Time-Feedback-Controlcited by 1
  4. 2025VisMoDAl: Visual Analytics for Evaluating and Improving Corruption Robustness of Vision-Language Modelscited by 1
  5. 2025An Evaluation of Hybrid Annotation Workflows on High-Ambiguity Spatiotemporal Video Footagecited by 1
  6. 2026Evading Visual Aphasia: Contrastive Adaptive Semantic Token Pruning for Vision-Language Modelscited by 1
  7. 2026ForensicConcept: Transferable Forensic Concepts for AIGI Detectioncited by 1
  8. 2023Model-Contrastive Federated Domain Adaptationcited by 0
  9. 2024ClickAttention: Click Region Similarity Guided Interactive Segmentationcited by 0
  10. 2025Learning Object Focused Attentioncited by 0
  11. 2025PerFormer: A Permutation Based Vision Transformer for Remaining Useful Life Predictioncited by 0
  12. 2025MoDA: Modulation Adapter for Fine-Grained Visual Grounding in Instructional MLLMscited by 0
  13. 2025PGKET: A Photonic Gaussian Kernel Enhanced Transformercited by 0
  14. 2026ViT-Explainer: An Interactive Walkthrough of the Vision Transformer Pipelinecited by 0