paper-with-me

Papers

DeiT-LT: Distillation Strikes Back for Vision Transformer Training on Long-Tailed Datasets

2024-01-01 · CVPR 2024 1 · Harsh Rangwani, Pradipto Mondal, Mayank Mishra, Ashish Ramayee Asokan, R. Venkatesh Babu

Vision Transformer (ViT) has emerged as a prominent architecture for various computer vision tasks. In ViT we divide the input image into patch tokens and process them through a stack of self-attention blocks. However unlike Convolutional Neural Network (CNN) ViT's simple architecture has no informative inductive bias (e.g. locality etc.). Due to this ViT requires a large amount of data for pre-training. Various data-efficient approaches (DeiT) have been proposed to train ViT on balanced datasets effectively. However limited literature discusses the use of ViT for datasets with long-tailed imbalances. In this work we introduce DeiT-LT to tackle the problem of training ViTs from scratch on long-tailed datasets. In DeiT-LT we introduce an efficient and effective way of distillation from CNN via distillation \texttt DIST token by using out-of-distribution images and re-weighting the distillation loss to enhance focus on tail classes. This leads to the learning of local CNN-like features in early ViT blocks improving generalization for tail classes. Further to mitigate overfitting we propose distilling from a flat CNN teacher which leads to learning low-rank generalizable features for DIST tokens across all ViT blocks. With the proposed DeiT-LT scheme the distillation DIST token becomes an expert on the tail classes and the classifier CLS token becomes an expert on the head classes. The experts help to effectively learn features corresponding to both the majority and minority classes using a distinct set of tokens within the same ViT architecture. We show the effectiveness of DeiT-LT for training ViT from scratch on datasets ranging from small-scale CIFAR-10 LT to large-scale iNaturalist-2018. Project Page: https://rangwani-harsh.github.io/DeiT-LT.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Inductive Bias

Methods 이 논문이 사용한 방법론

Attention 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Residual Connection 설명 없음
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$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Focus 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

DeiT-LT Distillation Strikes Back for Vision Transformer Training on Long-Tailed Datasets

2024-04-03 · Harsh Rangwani, Pradipto Mondal, Mayank Mishra, Ashish Ramayee Asokan 외

Vision Transformer (ViT) has emerged as a prominent architecture for various computer vision tasks. In ViT, we divide the input image into patch tokens and process them through a stack of self attention blocks. However, …

Image ClassificationInductive BiasLong-tail Learning

ViTKD: Practical Guidelines for ViT feature knowledge distillation

2022-09-06 · Zhendong Yang, Zhe Li, Ailing Zeng, Zexian Li 외

Knowledge Distillation (KD) for Convolutional Neural Network (CNN) is extensively studied as a way to boost the performance of a small model. Recently, Vision Transformer (ViT) has achieved great success on many computer…

Image ClassificationKnowledge Distillation

Unified Visual Transformer Compression

2022-03-15 · ICLR 2022 4 · Shixing Yu, Tianlong Chen, Jiayi Shen, Huan Yuan 외

Vision transformers (ViTs) have gained popularity recently. Even without customized image operators such as convolutions, ViTs can yield competitive performance when properly trained on massive data. However, the computa…

Knowledge Distillation

Self-Supervised Learning with Swin Transformers

2021-05-10 · Zhenda Xie, Yutong Lin, Zhuliang Yao, Zheng Zhang 외

We are witnessing a modeling shift from CNN to Transformers in computer vision. In this work, we present a self-supervised learning approach called MoBY, with Vision Transformers as its backbone architecture. The approac…

Linear evaluationobject-detectionObject DetectionSelf-Supervised Image Classification+2

Memory-Efficient Vision Transformers: An Activation-Aware Mixed-Rank Compression Strategy

2024-02-08 · Seyedarmin Azizi, Mahdi Nazemi, Massoud Pedram

As Vision Transformers (ViTs) increasingly set new benchmarks in computer vision, their practical deployment on inference engines is often hindered by their significant memory bandwidth and (on-chip) memory footprint req…

Model Compression