paper-with-me

홈 › Papers

Training data-efficient image transformers & distillation through attention

2020-12-23 · Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, Hervé Jégou

Recently, neural networks purely based on attention were shown to address image understanding tasks such as image classification. However, these visual transformers are pre-trained with hundreds of millions of images using an expensive infrastructure, thereby limiting their adoption. In this work, we produce a competitive convolution-free transformer by training on Imagenet only. We train them on a single computer in less than 3 days. Our reference vision transformer (86M parameters) achieves top-1 accuracy of 83.1% (single-crop evaluation) on ImageNet with no external data. More importantly, we introduce a teacher-student strategy specific to transformers. It relies on a distillation token ensuring that the student learns from the teacher through attention. We show the interest of this token-based distillation, especially when using a convnet as a teacher. This leads us to report results competitive with convnets for both Imagenet (where we obtain up to 85.2% accuracy) and when transferring to other tasks. We share our code and models.

📄 PDF Abstract BibTeX arXiv:2012.12877

Code (40)

facebookresearch/deit 공식 구현 pytorch
BR-IDL/PaddleViT/blob/main/image_classification/DeiT paddle
Burf/VisionTransformer-Tensorflow2 tf
IMvision12/keras-vision-models pytorch
Oguzhanercan/Vision-Transformers
PaddlePaddle/PLSC/tree/master/task/classification/deit paddle
PaddlePaddle/PaddleClas paddle
TACJu/TransFG pytorch
UdbhavPrasad072300/Transformer-Implementations pytorch
affjljoo3581/deit3-jax jax
ahmedelmahy/myownvit pytorch
aiot-mlsys-lab/famba-v pytorch
alessiomora/unlearning_fl tf
alibaba/EasyCV pytorch
asrafulashiq/deit-custom pytorch
bshantam97/Attention_Based_Networks pytorch
code-implementation1/Code1/tree/main/DeiT mindspore
cogtoolslab/physics-benchmarking-neurips2021
gatech-eic/vitcod pytorch
holdfire/CLS pytorch
holdfire/FAS pytorch
huggingface/transformers pytorch
hustvl/vim pytorch
jacobgil/vit-explain pytorch
liuxingwt/CLS pytorch
mindspore-courses/External-Attention-MindSpore/blob/main/model/backbone/DeiT.py mindspore
moein-shariatnia/Pix2Seq pytorch
nus-hpc-ai-lab/dyvm pytorch
omihub777/vit-cifar pytorch
open-edge-platform/geti pytorch
open-edge-platform/training_extensions pytorch
rwightman/pytorch-image-models pytorch
s-chh/patchrot pytorch
skchen1993/TrangFG pytorch
smu-ivpl/DeepfakeDetection pytorch
tianhai123/vit-pytorch pytorch
ttt496/vit-pytorch pytorch
wangyz1608/knowledge-distillation-via-nd pytorch
zhuhanqing/lightening-transformer pytorch
https://gitlab.com/birder/birder pytorch

Tasks

Document Image ClassificationDocument Layout AnalysisEfficient ViTsFine-Grained Image Classificationimage-classificationImage Classification

Methods 이 논문이 사용한 방법론

([FAQ-Expedia])What does nonrefundable mean on Expedia? Is Expedia actually fully refundable? Yes, Expedia has a 24-hour cancellation policy allowing a full refund if you cancel within 24 hours of booking. For assistance or to process…
{{off-peak days}}what does refundable option mean on expedia{{off-peak days}}what does refundable option mean on expedia? Is Expedia actually fully refundable? Yes, Expedia has a 24-hour cancellation policy allowing a full refund if you cancel within 24 hours of booking. For assistance or to process…
15 Quick Methods to Contact How Do I Talk to Someone at Spirit Airlines®: Full Phone & Chat Guide 설명 없음
Nine Convenient Ways to Connect with Expedia’s Customer Service Team 설명 없음
Eight Proven Tips to Resolve Your Travel Concerns with Expedia’s Phone Support 설명 없음
Twenty Six Quick Fixes for Faster Assistance from Expedia’s Phone Support-24/7 설명 없음
Five Easy Tricks to Contact Expedia Support by Phone and Get Help Faster 설명 없음
Ten Quick Tips to Get in Touch with Expedia Customer Support via Call 설명 없음

Similar Papers 제목 키워드 기반

DearKD: Data-Efficient Early Knowledge Distillation for Vision Transformers

2022-04-27 · CVPR 2022 1 · Xianing Chen, Qiong Cao, Yujie Zhong, Jing Zhang 외

Transformers are successfully applied to computer vision due to their powerful modeling capacity with self-attention. However, the excellent performance of transformers heavily depends on enormous training images. Thus, …

Knowledge Distillation

Co-advise: Cross Inductive Bias Distillation

2021-06-23 · CVPR 2022 1 · Sucheng Ren, Zhengqi Gao, Tianyu Hua, Zihui Xue 외

Transformers recently are adapted from the community of natural language processing as a promising substitute of convolution-based neural networks for visual learning tasks. However, its supremacy degenerates given an in…

Inductive Bias

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

Pluggable Pruning with Contiguous Layer Distillation for Diffusion Transformers

2025-11-20 · Jian Ma, Qirong Peng, Xujie Zhu, Peixing Xie 외 arxiv

Diffusion Transformers (DiTs) have shown exceptional performance in image generation, yet their large parameter counts incur high computational costs, impeding deployment in resource-constrained settings. To address this…

Image Generation

COMEDIAN: Self-Supervised Learning and Knowledge Distillation for Action Spotting using Transformers

2023-09-03 · Julien Denize, Mykola Liashuha, Jaonary Rabarisoa, Astrid Orcesi 외

We present COMEDIAN, a novel pipeline to initialize spatiotemporal transformers for action spotting, which involves self-supervised learning and knowledge distillation. Action spotting is a timestamp-level temporal actio…

Action DetectionAction SpottingKnowledge DistillationSelf-Supervised Learning