Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

MPViT: Multi-Path Vision Transformer for Dense Prediction

About

Dense computer vision tasks such as object detection and segmentation require effective multi-scale feature representation for detecting or classifying objects or regions with varying sizes. While Convolutional Neural Networks (CNNs) have been the dominant architectures for such tasks, recently introduced Vision Transformers (ViTs) aim to replace them as a backbone. Similar to CNNs, ViTs build a simple multi-stage structure (i.e., fine-to-coarse) for multi-scale representation with single-scale patches. In this work, with a different perspective from existing Transformers, we explore multi-scale patch embedding and multi-path structure, constructing the Multi-Path Vision Transformer (MPViT). MPViT embeds features of the same size~(i.e., sequence length) with patches of different scales simultaneously by using overlapping convolutional patch embedding. Tokens of different scales are then independently fed into the Transformer encoders via multiple paths and the resulting features are aggregated, enabling both fine and coarse feature representations at the same feature level. Thanks to the diverse, multi-scale feature representations, our MPViTs scaling from tiny~(5M) to base~(73M) consistently achieve superior performance over state-of-the-art Vision Transformers on ImageNet classification, object detection, instance segmentation, and semantic segmentation. These extensive results demonstrate that MPViT can serve as a versatile backbone network for various vision tasks. Code will be made publicly available at \url{https://git.io/MPViT}.

Youngwan Lee, Jonghee Kim, Jeff Willette, Sung Ju Hwang• 2021

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)
mIoU50.3
2888
Object DetectionCOCO 2017 (val)
AP48.3
2643
Image ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy83
1952
Instance SegmentationCOCO 2017 (val)
APm0.445
1201
ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy (%)84.3
1163
Image ClassificationImageNet-1k (val)
Top-1 Acc84.3
706
Object DetectionCOCO
AP50 (Box)70.5
237
Image ClassificationImageNet-1k 1.0 (test)
Top-1 Accuracy80.9
229
Image ClassificationImageNet-1K
Top-1 Accuracy83
78
Image ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy80.9
48
Showing 10 of 17 rows

Other info

Code

Follow for update