MViTv2: Improved Multiscale Vision Transformers for Classification and Detection
About
In this paper, we study Multiscale Vision Transformers (MViTv2) as a unified architecture for image and video classification, as well as object detection. We present an improved version of MViT that incorporates decomposed relative positional embeddings and residual pooling connections. We instantiate this architecture in five sizes and evaluate it for ImageNet classification, COCO detection and Kinetics video recognition where it outperforms prior work. We further compare MViTv2s' pooling attention to window attention mechanisms where it outperforms the latter in accuracy/compute. Without bells-and-whistles, MViTv2 has state-of-the-art performance in 3 domains: 88.8% accuracy on ImageNet classification, 58.7 boxAP on COCO object detection as well as 86.1% on Kinetics-400 video classification. Code and models are available at https://github.com/facebookresearch/mvit.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Semantic segmentation | ADE20K (val) | mIoU41.39 | 2731 | |
| Object Detection | COCO 2017 (val) | -- | 2454 | |
| Image Classification | ImageNet-1K 1.0 (val) | Top-1 Accuracy88.8 | 1866 | |
| Classification | ImageNet-1K 1.0 (val) | Top-1 Accuracy (%)88.8 | 1155 | |
| Instance Segmentation | COCO 2017 (val) | APm0.488 | 1144 | |
| Image Classification | ImageNet-1K | Top-1 Acc85.3 | 836 | |
| Image Classification | ImageNet 1k (test) | Top-1 Accuracy88.8 | 798 | |
| Object Detection | COCO (val) | mAP55.8 | 613 | |
| Action Recognition | Something-Something v2 (val) | Top-1 Accuracy73.3 | 535 | |
| Instance Segmentation | COCO (val) | APmk50.5 | 472 |