A Manifold Representation of the Key in Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Vision Transformers implement multi-head self-attention via stacking multiple attention blocks. The query, key, and value are often intertwined and generated within those blocks via a single, shared linear transformation. This paper explores the concept of disentangling the key from the query and value, and adopting a manifold representation for the key. Our experiments reveal that decoupling and endowing the key with a manifold structure can enhance the model's performance. Specifically, ViT-B exhibits a 0.87% increase in top-1 accuracy, while Swin-T sees a boost of 0.52% in top-1 accuracy on the ImageNet-1K dataset, with eight charts in the manifold key. Our approach also yields positive results in object detection and instance segmentation tasks on the COCO dataset. We establish that these performance gains are not merely due to the simplicity of adding more parameters and computations. Future research may investigate strategies for cutting the budget of such representations and aim for further performance improvements based on our findings.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 31 of its 40 references that are in the map. First posted on arXiv 1 Feb 2024.
Builds on
31 of 40 references.
References · 31
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2017Mask R-CNNcited by 7,259
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
19 more
- 2021Going deeper with Image Transformerscited by 759
- 2021Transformer in Transformercited by 632
- 2022DeiT III: Revenge of the ViTcited by 417
- 2022Vision Transformer with Deformable Attentioncited by 293
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 170
- 2023The geometry of hidden representations of large transformer modelscited by 108
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2021KVT: k-NN Attention for Boosting Vision Transformerscited by 64
- 2022Learning to Merge Tokens in Vision Transformerscited by 64
- 2023TransNeXt: Robust Foveal Visual Perception for Vision Transformerscited by 61
- 2021Learning Efficient Vision Transformers via Fine-Grained Manifold Distillationcited by 60
- 2021Refiner: Refining Self-attention for Vision Transformerscited by 38
- 2021Improving Transformers with Probabilistic Attention Keyscited by 28
- 2021Learned Queries for Efficient Local Attentioncited by 27
- 2023Robustifying Token Attention for Vision Transformerscited by 19
- 2022Scratching Visual Transformer's Back with Uniform Attentioncited by 16
- 2022Multi-manifold Attention for Vision Transformerscited by 12
- 2023State Representation Learning Using an Unbalanced Atlascited by 3
- 2022Efficient Representation Learning via Adaptive Context Poolingcited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.