StochCA: A Novel Approach for Exploiting Pretrained Models with Cross-Attention
Not on the map. Why?
Abstract (arXiv)
Utilizing large-scale pretrained models is a well-known strategy to enhance performance on various target tasks. It is typically achieved through fine-tuning pretrained models on target tasks. However, na"ive fine-tuning may not fully leverage knowledge embedded in pretrained models. In this study, we introduce a novel fine-tuning method, called stochastic cross-attention (StochCA), specific to Transformer architectures. This method modifies the Transformer's self-attention mechanism to selectively utilize knowledge from pretrained models during fine-tuning. Specifically, in each block, instead of self-attention, cross-attention is performed stochastically according to the predefined probability, where keys and values are extracted from the corresponding block of a pretrained model. By doing so, queries and channel-mixing multi-layer perceptron layers of a target model are fine-tuned to target tasks to learn how to effectively exploit rich representations of pretrained models. To verify the effectiveness of StochCA, extensive experiments are conducted on benchmarks in the areas of transfer learning and domain generalization, where the exploitation of pretrained models is critical. Our experimental results show the superiority of StochCA over state-of-the-art approaches in both areas. Furthermore, we demonstrate that StochCA is complementary to existing approaches, i.e., it can be combined with them to further improve performance. Our code is available at https://github.com/daintlab/stochasticcrossattention
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 43 of its 58 references that are in the map. First posted on arXiv 25 Feb 2024.
Builds on
43 of 58 references.
References · 43
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023GPT-4 Technical Reportcited by 18,132
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Segment Anythingcited by 8,158
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,274
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
31 more
- 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,037
- 2019Invariant Risk Minimizationcited by 1,832
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2021Scaling Vision Transformerscited by 993
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 226
- 2022Domain Generalization by Mutual-Information Regularization with Pre-trained Modelscited by 133
- 2023ONE-PEACE: Exploring One General Representation Model Toward Unlimited Modalitiescited by 117
- 2020Heterogeneous Domain Generalization via Domain Mixupcited by 103
- 2021CAT: Cross Attention in Vision Transformercited by 92
- 2019DELTA: DEep Learning Transfer using Feature Map with Attention for Convolutional Networkscited by 80
- 2022Dual Cross-Attention Learning for Fine-Grained Visual Categorization and Object Re-Identificationcited by 78
- 2023The effectiveness of MAE pre-pretraining for billion-scale pretrainingcited by 68
- 2022Prompt Vision Transformer for Domain Generalizationcited by 52
- 2021Improved Regularization and Robustness for Fine-tuning in Neural Networkscited by 45
- 2023OmniVec: Learning robust representations with cross modal sharingcited by 44
- 2022Self-Distilled Vision Transformer for Domain Generalizationcited by 35
- 2022Unifying Vision-Language Representation Space with Single-tower Transformercited by 21
- 2022Cross-Attention Transformer for Video Interpolationcited by 10
- 2022CADG: A Model Based on Cross Attention for Domain Generalizationcited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.