mlsanityData to 7 Oct 2026

StochCA: A Novel Approach for Exploiting Pretrained Models with Cross-Attention

arXiv 2402.16092 ↗First posted 25 Feb 2024cs.CVcited by 1

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2023Segment Anythingcited by 8,158
  8. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  9. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  10. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  11. 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,274
  12. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
31 more
  1. 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,037
  2. 2019Invariant Risk Minimizationcited by 1,832
  3. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  4. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  5. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
  6. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
  7. 2020In Search of Lost Domain Generalizationcited by 1,042
  8. 2021Scaling Vision Transformerscited by 993
  9. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  10. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  11. 2021Florence: A New Foundation Model for Computer Visioncited by 802
  12. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
  13. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
  14. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  15. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
  16. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
  17. 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 226
  18. 2022Domain Generalization by Mutual-Information Regularization with Pre-trained Modelscited by 133
  19. 2023ONE-PEACE: Exploring One General Representation Model Toward Unlimited Modalitiescited by 117
  20. 2020Heterogeneous Domain Generalization via Domain Mixupcited by 103
  21. 2021CAT: Cross Attention in Vision Transformercited by 92
  22. 2019DELTA: DEep Learning Transfer using Feature Map with Attention for Convolutional Networkscited by 80
  23. 2022Dual Cross-Attention Learning for Fine-Grained Visual Categorization and Object Re-Identificationcited by 78
  24. 2023The effectiveness of MAE pre-pretraining for billion-scale pretrainingcited by 68
  25. 2022Prompt Vision Transformer for Domain Generalizationcited by 52
  26. 2021Improved Regularization and Robustness for Fine-tuning in Neural Networkscited by 45
  27. 2023OmniVec: Learning robust representations with cross modal sharingcited by 44
  28. 2022Self-Distilled Vision Transformer for Domain Generalizationcited by 35
  29. 2022Unifying Vision-Language Representation Space with Single-tower Transformercited by 21
  30. 2022Cross-Attention Transformer for Video Interpolationcited by 10
  31. 2022CADG: A Model Based on Cross Attention for Domain Generalizationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.