Coarse-to-Fine Vision Transformer

03/08/2022
by   Mengzhao Chen, et al.
0

Vision Transformers (ViT) have made many breakthroughs in computer vision tasks. However, considerable redundancy arises in the spatial dimension of an input image, leading to massive computational costs. Therefore, We propose a coarse-to-fine vision transformer (CF-ViT) to relieve computational burden while retaining performance in this paper. Our proposed CF-ViT is motivated by two important observations in modern ViT models: (1) The coarse-grained patch splitting can locate informative regions of an input image. (2) Most images can be well recognized by a ViT model in a small-length token sequence. Therefore, our CF-ViT implements network inference in a two-stage manner. At coarse inference stage, an input image is split into a small-length patch sequence for a computationally economical classification. If not well recognized, the informative patches are identified and further re-split in a fine-grained granularity. Extensive experiments demonstrate the efficacy of our CF-ViT. For example, without any compromise on performance, CF-ViT reduces 53 LV-ViT, and also achieves 2.01x throughput.

READ FULL TEXT

page 2

page 14

research
06/19/2021

Exploring Vision Transformers for Fine-grained Classification

Existing computer vision research in categorization struggles with fine-...
research
07/03/2021

Efficient Vision Transformers via Fine-Grained Manifold Distillation

This paper studies the model compression problem of vision transformers....
research
03/24/2022

ViT-FOD: A Vision Transformer based Fine-grained Object Discriminator

Recently, several Vision Transformer (ViT) based methods have been propo...
research
08/17/2022

Conviformers: Convolutionally guided Vision Transformer

Vision transformers are nowadays the de-facto preference for image class...
research
09/07/2021

FuseFormer: Fusing Fine-Grained Information in Transformers for Video Inpainting

Transformer, as a strong and flexible architecture for modelling long-ra...
research
08/23/2023

Masking Strategies for Background Bias Removal in Computer Vision Models

Models for fine-grained image classification tasks, where the difference...
research
08/21/2023

Patch Is Not All You Need

Vision Transformers have achieved great success in computer visions, del...

Please sign up or login with your details

Forgot password? Click here to reset