mlsanityData to 14 Oct 2026

Mask-guided Vision Transformer (MG-ViT) for Few-Shot Learning

arXiv 2205.09995 ↗First posted 20 May 2022cs.CVcited by 10

Not on the map. Why?

Abstract (arXiv)

Learning with little data is challenging but often inevitable in various application scenarios where the labeled data is limited and costly. Recently, few-shot learning (FSL) gained increasing attention because of its generalizability of prior knowledge to new tasks that contain only a few samples. However, for data-intensive models such as vision transformer (ViT), current fine-tuning based FSL approaches are inefficient in knowledge generalization and thus degenerate the downstream task performances. In this paper, we propose a novel mask-guided vision transformer (MG-ViT) to achieve an effective and efficient FSL on ViT model. The key idea is to apply a mask on image patches to screen out the task-irrelevant ones and to guide the ViT to focus on task-relevant and discriminative patches during FSL. Particularly, MG-ViT only introduces an additional mask operation and a residual connection, enabling the inheritance of parameters from pre-trained ViT without any other cost. To optimally select representative few-shot samples, we also include an active learning based sample selection method to further improve the generalizability of MG-ViT based FSL. We evaluate the proposed MG-ViT on both Agri-ImageNet classification task and ACFR apple detection task with gradient-weighted class activation mapping (Grad-CAM) as the mask. The experimental results show that the MG-ViT model significantly improves the performance when compared with general fine-tuning based ViT models, providing novel insights and a concrete approach towards generalizing data-intensive and large-scale deep learning models for FSL.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 32 of its 39 references that are in the map. First posted on arXiv 20 May 2022.

Builds on

32 of 39 references.

References · 32

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  5. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  7. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  8. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  9. 2017Random Erasing Data Augmentationcited by 1,239
  10. 2021Transformers in Vision: A Surveycited by 1,013
  11. 2021Deep Learning on a Data Diet: Finding Important Examples Early in Trainingcited by 533
  12. 2019Generalizing from a Few Examples: A Survey on Few-Shot Learningcited by 463
20 more
  1. 2019Deep Learning for Anomaly Detection: A Surveycited by 358
  2. 2020Frustratingly Simple Few-Shot Object Detectioncited by 282
  3. 2021Escaping the Big Data Paradigm with Compact Transformerscited by 264
  4. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
  5. 2018Meta-Learning: A Surveycited by 256
  6. 2021Incorporating Convolution Designs into Visual Transformerscited by 248
  7. 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
  8. 2021You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detectioncited by 170
  9. 2021Free Lunch for Few-shot Learning: Distribution Calibrationcited by 165
  10. 2017Learning Active Learning from Datacited by 101
  11. 2020A Universal Representation Transformer Layer for Few-Shot Image Classificationcited by 65
  12. 2021Rectifying the Shortcut Learning of Background for Few-Shot Learningcited by 51
  13. 2017Borrowing Treasures from the Wealthy: Deep Transfer Learning through Selective Joint Fine-tuningcited by 48
  14. 2020Rethinking Class Relations: Absolute-relative Supervised and Unsupervised Few-shot Learningcited by 31
  15. 2019Revisiting Fine-tuning for Few-shot Learningcited by 29
  16. 2016Image Segmentation for Fruit Detection and Yield Estimation in Apple Orchardscited by 19
  17. 2021Sparse Spatial Transformers for Few-Shot Learningcited by 14
  18. 2020Impact of base dataset design on few-shot image classificationcited by 9
  19. 2020Cross-Domain Few-Shot Learning with Meta Fine-Tuningcited by 8
  20. 2022Budget-aware Few-shot Learning via Graph Convolutional Networkcited by 3

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 8.

10 papers.