Lune

ICML2022Top-tier venue

Self-supervised Models are Good Teaching Assistants for Vision Transformers

Haiyan Wu, Yuting Gao, Yinqi Zhang, Shaohui Lin, Yuan Xie, Xing Sun, Ke Li

Abstract

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 small sized datasets. Meanwhile, recent researches discover that when transformers are trained with supervised and self-supervised manner respectively, the captured patterns are quite different both qualitatively and quantitatively. These findings motivate us to introduce a self-supervised teaching assistant (SSTA) besides the commonly used supervised teacher to improve the performance of transformers. Specifically, we propose a headlevel knowledge distillation method that selects the most important head of the supervised teacher and self-supervised teaching assistant, and let the student mimic the attention distribution of these two heads, so as to make the student focus on the relationship between tokens deemed by the teacher and the teacher assistant. Extensive experiments verify the effectiveness of SSTA and demonstrate that the proposed SSTA is a good compensation to the supervised teacher. Meanwhile, some analytical experiments towards multiple perspectives (e.g. prediction, shape bias, robustness, and transferability to downstream tasks) with supervised teachers, self-supervised teaching assistants and students are inductive and may inspire future researches. The code is released in https://github.com/GlassyWu/SSTA

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Emerging Properties in Self-Supervised Vision Transformers cites A Simple Framework for Contrastive Learning of Visual Representations
  • Emerging Properties in Self-Supervised Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Emerging Properties in Self-Supervised Vision Transformers cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Emerging Properties in Self-Supervised Vision Transformers cites Training data-efficient image transformers & distillation through attention
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites A Simple Framework for Contrastive Learning of Visual Representations
  • Boosting Vanilla Lightweight Vision Transformers via Re-parameterization cites Emerging Properties in Self-Supervised Vision Transformers
  • Boosting Vanilla Lightweight Vision Transformers via Re-parameterization cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Boosting Vanilla Lightweight Vision Transformers via Re-parameterization cites Generic-to-Specific Distillation of Masked Autoencoders
  • Boosting Vanilla Lightweight Vision Transformers via Re-parameterization cites Training data-efficient image transformers & distillation through attention
  • EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anything cites Emerging Properties in Self-Supervised Vision Transformers
  • EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anything cites A Simple Framework for Contrastive Learning of Visual Representations
  • EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anything cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anything cites Training data-efficient image transformers & distillation through attention
  • Asymmetric Masked Distillation for Pre-Training Small Foundation Models cites Emerging Properties in Self-Supervised Vision Transformers
  • Asymmetric Masked Distillation for Pre-Training Small Foundation Models cites A Simple Framework for Contrastive Learning of Visual Representations
  • Asymmetric Masked Distillation for Pre-Training Small Foundation Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Asymmetric Masked Distillation for Pre-Training Small Foundation Models cites Generic-to-Specific Distillation of Masked Autoencoders
  • Asymmetric Masked Distillation for Pre-Training Small Foundation Models cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Generic-to-Specific Distillation of Masked Autoencoders cites Emerging Properties in Self-Supervised Vision Transformers
  • Generic-to-Specific Distillation of Masked Autoencoders cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Generic-to-Specific Distillation of Masked Autoencoders cites Training data-efficient image transformers & distillation through attention
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • CDAC: Cross-domain Attention Consistency in Transformer for Domain Adaptive Semantic Segmentation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • CDAC: Cross-domain Attention Consistency in Transformer for Domain Adaptive Semantic Segmentation cites Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment AnythingYunyang Xiong, Bala Varadarajan, Lemeng Wu, Xiaoyu Xiang et al.CVPR 2024 · 185 citations
  2. CDAC: Cross-domain Attention Consistency in Transformer for Domain Adaptive Semantic SegmentationKaihong Wang, Donghyun Kim, Rogério Feris, Margrit BetkeICCV 2023 · 32 citations
  3. Asymmetric Masked Distillation for Pre-Training Small Foundation ModelsZhiyu Zhao, Bingkun Huang, Sen Xing, Gangshan Wu et al.CVPR 2024 · 6 citations
  4. Boosting Vanilla Lightweight Vision Transformers via Re-parameterizationZhentao Tan, Xiaodan Li, Yue Wu, Qi Chu et al.ICLR 2024 · 5 citations
  5. Generic-to-Specific Distillation of Masked AutoencodersWei Huang, Zhiliang Peng, Li Dong, Furu Wei et al.CVPR 2023

Builds on16

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  4. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  5. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations

Related papers

  1. Co-advise: Cross Inductive Bias DistillationSucheng Ren, Zhengqi Gao, Tianyu Hua, Zihui Xue et al.CVPR 2022 · 50 citations
  2. Knowledge Distillation via the Target-aware TransformerSihao Lin, Hongwei Xie, Bing Wang, Kaicheng Yu et al.CVPR 2022 · 126 citations
  3. Masked Video Distillation: Rethinking Masked Feature Modeling for Self-supervised Video Representation LearningRui Wang, Dongdong Chen, Zuxuan Wu, Yinpeng Chen et al.CVPR 2023
  4. A Closer Look at Self-Supervised Lightweight Vision TransformersShaoru Wang, Jin Gao, Zeming Li, Xiaoqin Zhang et al.ICML 2023 · 61 citations
  5. Supervised Masked Knowledge Distillation for Few-Shot TransformersHan Lin, Guangxing Han, Jiawei Ma, Shiyuan Huang et al.CVPR 2023
Dusk over the sea between two cliffs drawn in fine vertical lines