Saved in:
Bibliographic Details
Main Authors: Chung, Neo Christopher, Laletin, Maxim
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.01339
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910096365191168
author Chung, Neo Christopher
Laletin, Maxim
author_facet Chung, Neo Christopher
Laletin, Maxim
contents Vision transformers (ViT) rely on attention mechanism to weigh input features, and therefore attention scores have naturally been considered as explanations for its decision-making process. However, attention scores are almost always non-zero, resulting in noisy and diffused attention maps and limiting interpretability. Can we quantify uncertainty measures of attention scores and obtain regularized attention scores? To this end, we consider attention scores of ViT in a statistical framework where independent noise would lead to insignificant yet non-zero scores. Leveraging statistical learning techniques, we introduce the bootstrapping for attention scores which generates a baseline distribution of attention scores by resampling input features. Such a bootstrap distribution is then used to estimate significances and posterior probabilities of attention scores. In natural and medical images, the proposed \emph{Attention Regularization} approach demonstrates a straightforward removal of spurious attention arising from noise, drastically improving shrinkage and sparsity. Quantitative evaluations are conducted using both simulation and real-world datasets. Our study highlights bootstrapping as a practical regularization tool when using attention scores as explanations for ViT. Code available: https://github.com/ncchung/AttentionRegularization
format Preprint
id arxiv_https___arxiv_org_abs_2604_01339
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Regularizing Attention Scores with Bootstrapping
Chung, Neo Christopher
Laletin, Maxim
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Methodology
Vision transformers (ViT) rely on attention mechanism to weigh input features, and therefore attention scores have naturally been considered as explanations for its decision-making process. However, attention scores are almost always non-zero, resulting in noisy and diffused attention maps and limiting interpretability. Can we quantify uncertainty measures of attention scores and obtain regularized attention scores? To this end, we consider attention scores of ViT in a statistical framework where independent noise would lead to insignificant yet non-zero scores. Leveraging statistical learning techniques, we introduce the bootstrapping for attention scores which generates a baseline distribution of attention scores by resampling input features. Such a bootstrap distribution is then used to estimate significances and posterior probabilities of attention scores. In natural and medical images, the proposed \emph{Attention Regularization} approach demonstrates a straightforward removal of spurious attention arising from noise, drastically improving shrinkage and sparsity. Quantitative evaluations are conducted using both simulation and real-world datasets. Our study highlights bootstrapping as a practical regularization tool when using attention scores as explanations for ViT. Code available: https://github.com/ncchung/AttentionRegularization
title Regularizing Attention Scores with Bootstrapping
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Methodology
url https://arxiv.org/abs/2604.01339