paper-with-me

Papers

LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inference

2021-04-02 · ICCV 2021 10 · Ben Graham, Alaaeldin El-Nouby, Hugo Touvron, Pierre Stock, Armand Joulin, Hervé Jégou, Matthijs Douze

We design a family of image classification architectures that optimize the trade-off between accuracy and efficiency in a high-speed regime. Our work exploits recent findings in attention-based architectures, which are competitive on highly parallel processing hardware. We revisit principles from the extensive literature on convolutional neural networks to apply them to transformers, in particular activation maps with decreasing resolutions. We also introduce the attention bias, a new way to integrate positional information in vision transformers. As a result, we propose LeVIT: a hybrid neural network for fast inference image classification. We consider different measures of efficiency on different hardware platforms, so as to best reflect a wide range of application scenarios. Our extensive experiments empirically validate our technical choices and show they are suitable to most architectures. Overall, LeViT significantly outperforms existing convnets and vision transformers with respect to the speed/accuracy tradeoff. For example, at 80% ImageNet top-1 accuracy, LeViT is 5 times faster than EfficientNet on CPU. We release the code at https://github.com/facebookresearch/LeViT

📄 PDF Abstract BibTeX arXiv:2104.01136

Code (12)

facebookresearch/LeViT 공식 구현 pytorch
rwightman/pytorch-image-models 공식 구현 pytorch
JoegameZhou/Levit mindspore
ahmedelmahy/myownvit pytorch
conceptofmind/LeViT-flax jax
gatech-eic/vitcod pytorch
huggingface/transformers pytorch
leondgarse/keras_cv_attention_models/tree/main/keras_cv_attention_models/levit tf
mindspore-courses/External-Attention-MindSpore/blob/main/model/backbone/LeViT.py mindspore
mszpc/levit_c mindspore
ttt496/vit-pytorch pytorch
https://gitlab.com/birder/birder pytorch

Tasks

CPUGeneral Classificationimage-classificationImage Classification

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
ReLU6 ReLU6 is a modification of the rectified linear unit where we limit the activation to a maximum size of $6$. This is due to increased…
Multi-Head Attention 설명 없음
Hard Swish Hard Swish is a type of activation function based on Swish, but replaces the computationally expensive sigmoid with a piecewise…
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…
LeViT Attention Block LeViT Attention Block is a module used for attention in the…

Similar Papers 제목 키워드 기반

ParC-Net: Position Aware Circular Convolution with Merits from ConvNets and Transformer

2022-03-08 · Haokui Zhang, Wenze Hu, Xiaoyu Wang

Recently, vision transformers started to show impressive results which outperform large convolution based models significantly. However, in the area of small models for mobile or resource constrained devices, ConvNet sti…

Image Classificationobject-detectionObject DetectionPosition+1

Separable Self-attention for Mobile Vision Transformers

2022-06-06 · Sachin Mehta, Mohammad Rastegari

Mobile vision transformers (MobileViT) can achieve state-of-the-art performance across several mobile vision tasks, including classification and detection. Though these models have fewer parameters, they have high latenc…

Image ClassificationObject Detection

StableVITON: Learning Semantic Correspondence with Latent Diffusion Model for Virtual Try-On

2023-12-04 · CVPR 2024 1 · Jeongho Kim, Gyojung Gu, Minho Park, Sunghyun Park 외

Given a clothing image and a person image, an image-based virtual try-on aims to generate a customized image that appears natural and accurately reflects the characteristics of the clothing image. In this work, we aim to…

Semantic correspondenceVirtual Try-on

MobileViTv3: Mobile-Friendly Vision Transformer with Simple and Effective Fusion of Local, Global and Input Features

2022-09-30 · Shakti N. Wadekar, Abhishek Chaurasia

MobileViT (MobileViTv1) combines convolutional neural networks (CNNs) and vision transformers (ViTs) to create light-weight models for mobile vision tasks. Though the main MobileViTv1-block helps to achieve competitive s…

Image ClassificationObject DetectionSemantic Segmentation

Mobile Vision Transformer-based Visual Object Tracking

2023-09-11 · Goutam Yelluru Gopal, Maria A. Amer

The introduction of robust backbones, such as Vision Transformers, has improved the performance of object tracking algorithms in recent years. However, these state-of-the-art trackers are computationally expensive since …

GPUObjectObject TrackingVisual Object Tracking