mlsanityData to 14 Oct 2026

Statistical Test for Attention Map in Vision Transformer

arXiv 2401.08169 ↗First posted 16 Jan 2024stat.ML cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

The Vision Transformer (ViT) demonstrates exceptional performance in various computer vision tasks. Attention is crucial for ViT to capture complex wide-ranging relationships among image patches, allowing the model to weigh the importance of image patches and aiding our understanding of the decision-making process. However, when utilizing the attention of ViT as evidence in high-stakes decision-making tasks such as medical diagnostics, a challenge arises due to the potential of attention mechanisms erroneously focusing on irrelevant regions. In this study, we propose a statistical test for ViT's attentions, enabling us to use the attentions as reliable quantitative evidence indicators for ViT's decision-making with a rigorously controlled error rate. Using the framework called selective inference, we quantify the statistical significance of attentions in the form of p-values, which enables the theoretically grounded quantification of the false positive detection probability of attentions. We demonstrate the validity and the effectiveness of the proposed method through numerical experiments and applications to brain image diagnoses.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 23 of its 30 references that are in the map. First posted on arXiv 16 Jan 2024.

Builds on

23 of 30 references.

References · 23

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  3. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
  4. 2021Transformers in Vision: A Surveycited by 1,013
  5. 2020Quantifying Attention Flow in Transformerscited by 775
  6. 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 673
  7. 2021Early Convolutions Help Transformers See Bettercited by 396
  8. 2021Multi-Modal Fusion Transformer for End-to-End Autonomous Drivingcited by 377
  9. 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 334
  10. 2013Exact post-selection inference, with application to the lassocited by 91
  11. 2021TransMed: Transformers Advance Multi-modal Medical Image Classificationcited by 86
  12. 2019Association of genomic subtypes of lower-grade gliomas with shape features automatically extracted by a deep learning algorithmcited by 77
11 more
  1. 2014Optimal Inference After Model Selectioncited by 67
  2. 2014Exact Post-Selection Inference for Sequential Regression Procedurescited by 48
  3. 2020Selective Inference for Hierarchical Clusteringcited by 39
  4. 2017Valid Inference Corrected for Outlier Removalcited by 26
  5. 2020Computing Valid p-value for Optimal Changepoint by Selective Inference using Dynamic Programmingcited by 25
  6. 2018More powerful post-selection inference, with application to the Lassocited by 23
  7. 2020Quantifying Statistical Significance of Neural Network-based Image Segmentation by Selective Inferencecited by 21
  8. 2014Selecting the number of principal components: estimation of the true rank of a noisy matrixcited by 18
  9. 2014A significance test for forward stepwise model selectioncited by 17
  10. 2015Selective Sequential Model Selectioncited by 17
  11. 2023Valid P-Value for Deep Learning-Driven Salient Regioncited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 1; 2026: 2.

6 papers.