paper-with-me

홈 › Papers

ScaleKD: Strong Vision Transformers Could Be Excellent Teachers

2024-11-11 · Jiawei Fan, Chao Li, Xiaolong Liu, Anbang Yao

In this paper, we question if well pre-trained vision transformer (ViT) models could be used as teachers that exhibit scalable properties to advance cross architecture knowledge distillation (KD) research, in the context of using large-scale datasets for evaluation. To make this possible, our analysis underlines the importance of seeking effective strategies to align (1) feature computing paradigm differences, (2) model scale differences, and (3) knowledge density differences. By combining three coupled components namely cross attention projector, dual-view feature mimicking and teacher parameter perception tailored to address the above problems, we present a simple and effective KD method, called ScaleKD. Our method can train student backbones that span across a variety of convolutional neural network (CNN), multi-layer perceptron (MLP), and ViT architectures on image classification datasets, achieving state-of-the-art distillation performance. For instance, taking a well pre-trained Swin-L as the teacher model, our method gets 75.15%|82.03%|84.16%|78.63%|81.96%|83.93%|83.80%|85.53% top-1 accuracies for MobileNet-V1|ResNet-50|ConvNeXt-T|Mixer-S/16|Mixer-B/16|ViT-S/16|Swin-T|ViT-B/16 models trained on ImageNet-1K dataset from scratch, showing 3.05%|3.39%|2.02%|4.61%|5.52%|4.03%|2.62%|3.73% absolute gains to the individually trained counterparts. Intriguingly, when scaling up the size of teacher models or their pre-training datasets, our method showcases the desired scalable properties, bringing increasingly larger gains to student models. The student backbones trained by our method transfer well on downstream MS-COCO and ADE20K datasets. More importantly, our method could be used as a more efficient alternative to the time-intensive pre-training paradigm for any target student model if a strong pre-trained ViT is available, reducing the amount of viewed training samples up to 195x.

📄 PDF Abstract BibTeX arXiv:2411.06786

Code (1)

deep-optimization/scalekd 공식 구현 pytorch

Tasks

image-classificationImage ClassificationKnowledge Distillation

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…
Multi-Head Attention 설명 없음
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

ScaleKD: Distilling Scale-Aware Knowledge in Small Object Detector

2023-01-01 · CVPR 2023 1 · Yichen Zhu, Qiqi Zhou, Ning Liu, Zhiyuan Xu 외

Despite the prominent success of general object detection, the performance and efficiency of Small Object Detection (SOD) are still unsatisfactory. Unlike existing works that struggle to balance the trade-off between…

Knowledge Distillationobject-detectionObject DetectionSmall Object Detection+1

ViTMatte: Boosting Image Matting with Pretrained Plain Vision Transformers

2023-05-24 · Jingfeng Yao, Xinggang Wang, Shusheng Yang, Baoyuan Wang

Recently, plain vision Transformers (ViTs) have shown impressive performance on various computer vision tasks, thanks to their strong modeling capacity and large-scale pretraining. However, they have not yet conquered th…

Image Matting

FedTune: A Deep Dive into Efficient Federated Fine-Tuning with Pre-trained Transformers

2022-11-15 · Jinyu Chen, Wenchao Xu, Song Guo, Junxiao Wang 외

Federated Learning (FL) is an emerging paradigm that enables distributed users to collaboratively and iteratively train machine learning models without sharing their private data. Motivated by the effectiveness and robus…

Federated LearningLanguage ModellingTransfer Learning

Do Transformers Really Perform Bad for Graph Representation?

2021-06-09 · Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng 외

The Transformer architecture has become a dominant choice in many domains, such as natural language processing and computer vision. Yet, it has not achieved competitive performance on popular leaderboards of graph-level …

Graph ClassificationGraph Property PredictionGraph RegressionGraph Representation Learning+2

Neighborhood Attention Makes the Encoder of ResUNet Stronger for Accurate Road Extraction

2023-06-08 · Ali Jamali, Swalpa Kumar Roy, Jonathan Li, Pedram Ghamisi

In the domain of remote sensing image interpretation, road extraction from high-resolution aerial imagery has already been a hot research topic. Although deep CNNs have presented excellent results for semantic segmentati…

SegmentationSemantic Segmentation