Static Key Attention in Vision
Not on the map. Why?
Abstract (arXiv)
The success of vision transformers is widely attributed to the expressive power of their dynamically parameterized multi-head self-attention mechanism. We examine the impact of substituting the dynamic parameterized key with a static key within the standard attention mechanism in Vision Transformers. Our findings reveal that static key attention mechanisms can match or even exceed the performance of standard self-attention. Integrating static key attention modules into a Metaformer backbone, we find that it serves as a better intermediate stage in hierarchical hybrid architectures, balancing the strengths of depth-wise convolution and self-attention. Experiments on several vision tasks underscore the effectiveness of the static key mechanism, indicating that the typical two-step dynamic parameterization in attention can be streamlined to a single step without impacting performance under certain circumstances.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 30 references that are in the map. First posted on arXiv 9 Dec 2024.
Builds on
11 of 30 references.
References · 11
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2020Rethinking Attention with Performerscited by 1,584
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2021Pay Attention to MLPscited by 367
- 2021ResNet strikes back: An improved training procedure in timmcited by 365
- 2022Patches Are All You Need?cited by 201
- 2022Inception Transformercited by 99
- 2024FFNet: MetaMixer-based Efficient Convolutional Mixer Designcited by 1
Built on by
Not cited yet.