Skip to main content
QUICK REVIEW

[Paper Review] MViTv2: Improved Multiscale Vision Transformers for Classification and Detection

Yanghao Li, Chao-Yuan Wu|arXiv (Cornell University)|Dec 2, 2021
Advanced Neural Network ApplicationsComputer Science29 citations
TL;DR

MViTv2 advances Multiscale Vision Transformers with decomposed relative positional embeddings and residual pooling, delivering state-of-the-art results in image classification, object detection, and video recognition without external data. It presents five model sizes and shows pooling attention outperforms window-based attention in many settings.

ABSTRACT

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.

Motivation & Objective

  • Advance a single vision backbone for image, video, and detection tasks.
  • Improve pooling attention with shift-invariant positional embeddings.
  • Introduce residual pooling connections to stabilize pooling-based self-attention.
  • Evaluate five MViT variants across ImageNet, COCO, and Kinetics.
  • Provide practical training recipes and compare against state-of-the-art backbones.

Proposed method

  • Introduce decomposed relative positional embeddings to inject shift-invariant position information into pooling attention.
  • Add a residual pooling connection inside attention blocks to improve information flow and training stability.
  • Integrate the MViT backbone with standard detection frameworks (Mask R-CNN and Cascade Mask R-CNN) via FPN for object detection.
  • Adapt pooling attention to the spatiotemporal domain for video recognition with ImageNet pretraining and inflation-based initialization.
  • Instantiate five MViT variants (Tiny, Small, Base, Large, Huge) with varying width/depth/resolution and report training recipes.
  • Compare pooling attention and hybrid window attention (Hwin) against full and windowed attention on ImageNet and COCO.

Experimental results

Research questions

  • RQ1Can MViT serve as a general backbone for image classification, object detection, and video recognition?
  • RQ2Do decomposed relative positional embeddings and residual pooling improve accuracy and efficiency over prior MViT versions?
  • RQ3How does pooling attention compare to window-based attention in detection and classification tasks?
  • RQ4What are the performance and efficiency trade-offs across different model scales on ImageNet, COCO, and Kinetics?
  • RQ5What is the impact of pretraining (ImageNet-21K) on large-scale backbones for vision tasks?

Key findings

  • MViTv2 achieves 88.8% top-1 accuracy on ImageNet-1K (with IN-21K pretraining) and 86.3% without, outperforming several CNN/Transformer baselines.
  • On COCO, MViTv2 attains 58.7 AP(box) with Cascade Mask R-CNN and strong performance when using pretraining and longer schedules.
  • For video recognition, MViTv2 reaches 86.1% on Kinetics-400, 87.9% on Kinetics-600, 79.4% on Kinetics-700, and 73.3% on Something-Something-v2.
  • Pooling attention with decomposed relative positional embeddings and residual pooling provides better accuracy/compute trade-offs than full attention or plain window-based methods.
  • Hybrid window attention (Hwin) offers cross-window connections that improve detection/classification accuracy over fixed-window approaches.
  • FPN-enabled hierarchical MViT backbones demonstrate strong performance in dense prediction tasks with favorable speed/memory characteristics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.