Fcaformer: Forward Cross Attention in Hybrid Vision Transformer
Not on the map. Why?
Abstract (arXiv)
Currently, one main research line in designing a more efficient vision transformer is reducing the computational cost of self attention modules by adopting sparse attention or using local attention windows. In contrast, we propose a different approach that aims to improve the performance of transformer-based architectures by densifying the attention pattern. Specifically, we proposed forward cross attention for hybrid vision transformer (FcaFormer), where tokens from previous blocks in the same stage are secondary used. To achieve this, the FcaFormer leverages two innovative components: learnable scale factors (LSFs) and a token merge and enhancement module (TME). The LSFs enable efficient processing of cross tokens, while the TME generates representative cross tokens. By integrating these components, the proposed FcaFormer enhances the interactions of tokens across blocks with potentially different semantics, and encourages more information flows to the lower levels. Based on the forward cross attention (Fca), we have designed a series of FcaFormer models that achieve the best trade-off between model size, computational cost, memory cost, and accuracy. For example, without the need for knowledge distillation to strengthen training, our FcaFormer achieves 83.1% top-1 accuracy on Imagenet with only 16.3 million parameters and about 3.6 billion MACs. This saves almost half of the parameters and a few computational costs while achieving 0.7% higher accuracy compared to distilled EfficientFormer.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 39 of its 48 references that are in the map. First posted on arXiv 14 Nov 2022.
Builds on
39 of 48 references.
References · 39
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2022A ConvNet for the 2020scited by 3,545
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
27 more
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2021Transformer in Transformercited by 632
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2021MetaFormer Is Actually What You Need for Visioncited by 523
- 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2021Early Convolutions Help Transformers See Bettercited by 395
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
- 2021Co-Scale Conv-Attentional Image Transformerscited by 224
- 2022Visual Attention Networkcited by 210
- 2021Adaptive Token Sampling For Efficient Vision Transformerscited by 181
- 2022EdgeNeXt: Efficiently Amalgamated CNN-Transformer Architecture for Mobile Vision Applicationscited by 121
- 2022EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformerscited by 116
- 2022Fast Vision Transformers with HiLo Attentioncited by 78
- 2022Next-ViT: Next Generation Vision Transformer for Efficient Deployment in Realistic Industrial Scenarioscited by 65
- 2018Pelee: A Real-Time Object Detection System on Mobile Devicescited by 56
- 2021Less is More: Pay Less Attention in Vision Transformerscited by 53
- 2022ParC-Net: Position Aware Circular Convolution with Merits from ConvNets and Transformercited by 28
- 2022EcoFormer: Energy-Saving Attention with Linear Complexitycited by 21
Built on by
Citing papers per year: 2023: 3; 2024: 4.
7 papers.
- 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognitioncited by 21
- 2024Are Self-Attentions Effective for Time Series Forecasting?cited by 18
- 2024SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networkscited by 14
- 2023NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learningcited by 6
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
- 20243D-RCNet: Learning from Transformer to Build a 3D Relational ConvNet for Hyperspectral Image Classificationcited by 1
- 2023Bridging Sensor Gaps via Attention Gated Tuning for Hyperspectral Image Classificationcited by 0
- 2024SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networks15 Sep 2024
- 20243D-RCNet: Learning from Transformer to Build a 3D Relational ConvNet for Hyperspectral Image Classification25 Aug 2024
- 2024Are Self-Attentions Effective for Time Series Forecasting?27 May 2024
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insights28 Mar 2024
- 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognition30 Oct 2023
- 2023Bridging Sensor Gaps via Attention Gated Tuning for Hyperspectral Image Classification22 Sep 2023
- 2023NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning19 Jun 2023