Vision Transformer with Attention Map Hallucination and FFN Compaction
Not on the map. Why?
Abstract (arXiv)
Vision Transformer(ViT) is now dominating many vision tasks. The drawback of quadratic complexity of its token-wise multi-head self-attention (MHSA), is extensively addressed via either token sparsification or dimension reduction (in spatial or channel). However, the therein redundancy of MHSA is usually overlooked and so is the feed-forward network (FFN). To this end, we propose attention map hallucination and FFN compaction to fill in the blank. Specifically, we observe similar attention maps exist in vanilla ViT and propose to hallucinate half of the attention maps from the rest with much cheaper operations, which is called hallucinated-MHSA (hMHSA). As for FFN, we factorize its hidden-to-output projection matrix and leverage the re-parameterization technique to strengthen its capability, making it compact-FFN (cFFN). With our proposed modules, a 10%-20% reduction of floating point operations (FLOPs) and parameters (Params) is achieved for various ViT-based backbones, including straight (DeiT), hybrid (NextViT) and hierarchical (PVT) structures, meanwhile, the performances are quite competitive.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 20 of its 58 references that are in the map. First posted on arXiv 19 Jun 2023.
Builds on
20 of 58 references.
References · 20
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2017Decoupled Weight Decay Regularizationcited by 1,831
- 2020Rethinking Attention with Performerscited by 1,601
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
8 more
- 2021DeepViT: Towards Deeper Vision Transformercited by 289
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2022Separable Self-attention for Mobile Vision Transformerscited by 163
- 2021Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image Recognitioncited by 144
- 2019MultiGrain: a unified image embedding for classes and instancescited by 85
- 2022Next-ViT: Next Generation Vision Transformer for Efficient Deployment in Realistic Industrial Scenarioscited by 65
- 2022LightViT: Towards Light-Weight Convolution-Free Vision Transformerscited by 40
- 2022ScalableViT: Rethinking the Context-oriented Generalization of Vision Transformercited by 36
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 1.
2 papers.