mlsanityData to 14 Oct 2026

Intra-task Mutual Attention based Vision Transformer for Few-Shot Learning

arXiv 2405.03109 ↗First posted 6 May 2024cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Humans possess remarkable ability to accurately classify new, unseen images after being exposed to only a few examples. Such ability stems from their capacity to identify common features shared between new and previously seen images while disregarding distractions such as background variations. However, for artificial neural network models, determining the most relevant features for distinguishing between two images with limited samples presents a challenge. In this paper, we propose an intra-task mutual attention method for few-shot learning, that involves splitting the support and query samples into patches and encoding them using the pre-trained Vision Transformer (ViT) architecture. Specifically, we swap the class (CLS) token and patch tokens between the support and query sets to have the mutual attention, which enables each set to focus on the most useful information. This facilitates the strengthening of intra-class representations and promotes closer proximity between instances of the same class. For implementation, we adopt the ViT-based network architecture and utilize pre-trained model parameters obtained through self-supervision. By leveraging Masked Image Modeling as a self-supervised training task for pre-training, the pre-trained model yields semantically meaningful representations while successfully avoiding supervision collapse. We then employ a meta-learning method to fine-tune the last several layers and CLS token modules. Our strategy significantly reduces the num- ber of parameters that require fine-tuning while effectively uti- lizing the capability of pre-trained model. Extensive experiments show that our framework is simple, effective and computationally efficient, achieving superior performance as compared to the state-of-the-art baselines on five popular few-shot classification benchmarks under the 5-shot and 1-shot scenarios

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 47 of its 74 references that are in the map. First posted on arXiv 6 May 2024.

Builds on

47 of 74 references.

References · 47

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  4. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  5. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  7. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  8. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  9. 2016Matching Networks for One Shot Learningcited by 2,255
  10. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
  11. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
  12. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
35 more
  1. 2019A Closer Look at Few-shot Classificationcited by 684
  2. 2018Meta-Learning with Latent Embedding Optimizationcited by 476
  3. 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
  4. 2018Meta-Learning for Semi-Supervised Few-Shot Classificationcited by 456
  5. 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 437
  6. 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
  7. 2018Meta-learning with differentiable closed-form solverscited by 397
  8. 2018Dynamic Few-Shot Visual Learning without Forgettingcited by 385
  9. 2019Rapid Learning or Feature Reuse? Towards Understanding the Effectiveness of MAMLcited by 359
  10. 2018Few-Shot Learning via Embedding Adaptation with Set-to-Set Functionscited by 294
  11. 2019Cross Attention Network for Few-shot Classificationcited by 219
  12. 2020CrossTransformers: spatially-aware few-shot transfercited by 174
  13. 2019Boosting Few-Shot Visual Learning with Self-Supervisioncited by 140
  14. 2020Negative Margin Matters: Understanding Margin in Few-shot Classificationcited by 129
  15. 2022Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Differencecited by 126
  16. 2020Few-Shot Classification with Feature Map Reconstruction Networkscited by 116
  17. 2019Finding Task-Relevant Features for Few-Shot Learning by Category Traversalcited by 101
  18. 2021Relational Embedding for Few-Shot Classificationcited by 74
  19. 2019Associative Alignment for Few-shot Image Classificationcited by 58
  20. 2020Instance Credibility Inference for Few-Shot Learningcited by 57
  21. 2021Pareto Self-Supervised Training for Few-Shot Learningcited by 52
  22. 2021Rectifying the Shortcut Learning of Background for Few-Shot Learningcited by 51
  23. 2022Joint Distribution Matters: Deep Brownian Distance Covariance for Few-Shot Classificationcited by 50
  24. 2021Shallow Bayesian Meta Learning for Real-World Few-Shot Recognitioncited by 48
  25. 2021Learning Dynamic Alignment via Meta-filter for Few-shot Learningcited by 41
  26. 2021Partner-Assisted Learning for Few-Shot Image Classificationcited by 36
  27. 2022Rethinking Generalization in Few-Shot Classificationcited by 36
  28. 2022Attribute Surrogates Learning and Spectral Tokens Pooling in Transformers for Few-shot Learningcited by 27
  29. 2023HRTransNet: HRFormer-Driven Two-Modality Salient Object Detectioncited by 27
  30. 2021Binocular Mutual Learning for Improving Few-shot Classificationcited by 26
  31. 2020Mixture-based Feature Space Learning for Few-shot Image Classificationcited by 23
  32. 2021Transductive Few-Shot Classification on the Oblique Manifoldcited by 23
  33. 2023Supervised Masked Knowledge Distillation for Few-Shot Transformerscited by 23
  34. 2021Meta Navigator: Search for a Good Adaptation Policy for Few-shot Learningcited by 19
  35. 2022Few-Shot Learning Meets Transformer: Unified Query-Support Transformers for Few-Shot Classificationcited by 16

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.