paper-with-me

홈 › Papers

Attention Distillation: self-supervised vision transformer students need more guidance

2022-10-03 · Kai Wang, Fei Yang, Joost Van de Weijer

Self-supervised learning has been widely applied to train high-quality vision transformers. Unleashing their excellent performance on memory and compute constraint devices is therefore an important research topic. However, how to distill knowledge from one self-supervised ViT to another has not yet been explored. Moreover, the existing self-supervised knowledge distillation (SSKD) methods focus on ConvNet based architectures are suboptimal for ViT knowledge distillation. In this paper, we study knowledge distillation of self-supervised vision transformers (ViT-SSKD). We show that directly distilling information from the crucial attention mechanism from teacher to student can significantly narrow the performance gap between both. In experiments on ImageNet-Subset and ImageNet-1K, we show that our method AttnDistill outperforms existing self-supervised knowledge distillation (SSKD) methods and achieves state-of-the-art k-NN accuracy compared with self-supervised learning (SSL) methods learning from scratch (with the ViT-S model). We are also the first to apply the tiny ViT-T model on self-supervised learning. Moreover, AttnDistill is independent of self-supervised learning algorithms, it can be adapted to ViT based SSL methods to improve the performance in future research. The code is here: https://github.com/wangkai930418/attndistill

📄 PDF Abstract BibTeX arXiv:2210.00944

Code (1)

wangkai930418/attndistill pytorch

Tasks

Knowledge DistillationSelf-Supervised Learning

Methods 이 논문이 사용한 방법론

Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…
k-NN $k$-Nearest Neighbors is a clustering-based algorithm for classification and regression. It is a a type of instance-based learning as it does not attempt to construct a…

Similar Papers 제목 키워드 기반

Emergence of Human-Like Attention in Self-Supervised Vision Transformers: an eye-tracking study

2024-10-30 · Takuto Yamamoto, Hirosato Akahoshi, Shigeru Kitazawa

Many models of visual attention have been proposed so far. Traditional bottom-up models, like saliency models, fail to replicate human gaze patterns, and deep gaze prediction models lack biological plausibility due to th…

Gaze Prediction

Self-supervised Models are Good Teaching Assistants for Vision Transformers

2021-09-29 · Haiyan Wu, Yuting Gao, Ke Li, Yinqi Zhang 외

Transformers have shown remarkable progress on computer vision tasks in the past year. Compared to their CNN counterparts, transformers usually need the help of distillation to achieve comparable results on middle or sma…

Image ClassificationKnowledge Distillation

Supervised Masked Knowledge Distillation for Few-Shot Transformers

2023-03-25 · CVPR 2023 1 · Han Lin, Guangxing Han, Jiawei Ma, Shiyuan Huang 외

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 o…

Few-Shot LearningInductive BiasKnowledge Distillation

TransDSSL: Transformer based Depth Estimation via Self-Supervised Learning

2022-08-05 · journal 2022 8 · Daechan Han, Jeongmin Shin, Namil Kim, Soomnim Hwang 외

Recently, transformers have been widely adopted for various computer vision tasks and show promising results due to their ability to encode long-range spatial dependencies in an image effectively. However, very few studi…

DecoderDepth EstimationMonocular Depth EstimationSelf-Supervised Learning+1

What to Hide from Your Students: Attention-Guided Masked Image Modeling

2022-03-23 · Ioannis Kakogeorgiou, Spyros Gidaris, Bill Psomas, Yannis Avrithis 외

Transformers and masked language modeling are quickly being adopted and explored in computer vision as vision transformers and masked image modeling (MIM). In this work, we argue that image token masking differs from tok…

Language ModelingLanguage ModellingMasked Language ModelingSelf-Supervised Learning