CVAIMar 25, 2023

Supervised Masked Knowledge Distillation for Few-Shot Transformers

arXiv:2303.15466v256 citationsh-index: 20Has Code
AI Analysis

This work addresses the challenge of adapting ViTs to few-shot learning for computer vision tasks, which is an incremental advancement in bridging the gap between self-supervised and supervised methods.

The paper tackles the problem of Vision Transformers (ViTs) overfitting and performing poorly in few-shot learning settings by proposing a Supervised Masked Knowledge Distillation model (SMKD) that incorporates label information into self-distillation frameworks, achieving state-of-the-art results on four benchmark datasets with significant performance improvements.

Vision Transformers (ViTs) emerge to achieve impressive performance on many data-abundant computer vision tasks by capturing long-range dependencies among local features. However, under few-shot learning (FSL) settings on small datasets with only a few labeled data, ViT tends to overfit and suffers from severe performance degradation due to its absence of CNN-alike inductive bias. Previous works in FSL avoid such problem either through the help of self-supervised auxiliary losses, or through the dextile uses of label information under supervised settings. But the gap between self-supervised and supervised few-shot Transformers is still unfilled. Inspired by recent advances in self-supervised knowledge distillation and masked image modeling (MIM), we propose a novel Supervised Masked Knowledge Distillation model (SMKD) for few-shot Transformers which incorporates label information into self-distillation frameworks. Compared with previous self-supervised methods, we allow intra-class knowledge distillation on both class and patch tokens, and introduce the challenging task of masked patch tokens reconstruction across intra-class images. Experimental results on four few-shot classification benchmark datasets show that our method with simple design outperforms previous methods by a large margin and achieves a new start-of-the-art. Detailed ablation studies confirm the effectiveness of each component of our model. Code for this paper is available here: https://github.com/HL-hanlin/SMKD.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes