English

Always Skip Attention

Machine Learning 2025-08-20 v3 Computer Vision and Pattern Recognition

Abstract

We highlight a curious empirical result within modern Vision Transformers (ViTs). Specifically, self-attention catastrophically fails to train unless it is used in conjunction with a skip connection. This is in contrast to other elements of a ViT that continue to exhibit good performance (albeit suboptimal) when skip connections are removed. Further, we show that this critical dependence on skip connections is a relatively new phenomenon, with previous deep architectures (\eg, CNNs) exhibiting good performance in their absence. In this paper, we theoretically characterize that the self-attention mechanism is fundamentally ill-conditioned and is, therefore, uniquely dependent on skip connections for regularization. Additionally, we propose Token Graying -- a simple yet effective complement (to skip connections) that further improves the condition of input tokens. We validate our approach in both supervised and self-supervised training methods.

Keywords

Cite

@article{arxiv.2505.01996,
  title  = {Always Skip Attention},
  author = {Yiping Ji and Hemanth Saratchandran and Peyman Moghadam and Simon Lucey},
  journal= {arXiv preprint arXiv:2505.01996},
  year   = {2025}
}

Comments

This work has just been accepted by ICCV 2025

R2 v1 2026-06-28T23:20:26.797Z