Skip to main content
QUICK REVIEW

[Paper Review] Mask2Former for Video Instance Segmentation

Bowen Cheng, Anwesa Choudhuri|arXiv (Cornell University)|Dec 20, 2021
Generative Adversarial Networks and Image SynthesisComputer Science64 citations
TL;DR

Mask2Former generalizes image segmentation to video by predicting 3D segmentation volumes with spatio-temporal masked attention, achieving state-of-the-art YouTubeVIS results without changing architecture or training.

ABSTRACT

We find Mask2Former also achieves state-of-the-art performance on video instance segmentation without modifying the architecture, the loss or even the training pipeline. In this report, we show universal image segmentation architectures trivially generalize to video segmentation by directly predicting 3D segmentation volumes. Specifically, Mask2Former sets a new state-of-the-art of 60.4 AP on YouTubeVIS-2019 and 52.6 AP on YouTubeVIS-2021. We believe Mask2Former is also capable of handling video semantic and panoptic segmentation, given its versatility in image segmentation. We hope this will make state-of-the-art video segmentation research more accessible and bring more attention to designing universal image and video segmentation architectures.

Motivation & Objective

  • Demonstrate that a universal image segmentation model (Mask2Former) can perform video instance segmentation without architectural changes.
  • Extend Mask2Former to operate on 3D spatio-temporal data and predict 3D instance masks across time.
  • Evaluate performance on YouTubeVIS-2019 and YouTubeVIS-2021 to establish state-of-the-art results.

Proposed method

  • Treat a video sequence as a 3D volume T x H x W and apply masked attention over this volume.
  • Add a temporal positional encoding and a 3D mask prediction mechanism to produce per-instance masks across time.
  • Use joint spatio-temporal masked attention with a 3D attention mask derived from previous layer masks.
  • Employ sinusoidal temporal and spatial positional encodings that are non-parametric and length-flexible.
  • Predict 3D instance masks R n,t,h,w = sigmoid(E_mask(:,n)^T · E_pixel(:,t,h,w)).
  • Train and evaluate using Detectron2 with AdamW, standard VIS training settings, and no COCO augmentation.

Experimental results

Research questions

  • RQ1Can Mask2Former, a universal image segmentation model, achieve competitive or superior video instance segmentation results without architectural or training pipeline modifications?
  • RQ2How well does 3D spatio-temporal masking and 3D volume prediction perform on YouTubeVIS datasets compared to specialized VIS models?
  • RQ3What is the impact of temporal encoding and 3D attention on cross-frame consistency and tracking of instances?
  • RQ4Is Mask2Former capable of extending to video semantic and panoptic segmentation given its image segmentation versatility?

Key findings

  • On YouTubeVIS-2019, Mask2Former with Swin-L achieves 60.4 AP, surpassing prior methods without COCO augmentation.
  • On YouTubeVIS-2021, Mask2Former with Swin-L reaches 60.7 AP (best of 5 runs) and 84.4 AP50, outperforming state-of-the-art without extra data.
  • Mask2Former variants (R50, R101, Swin-T/S/B/L backbones) consistently outperform comparable VIS methods under the same training settings.
  • The method does not modify architecture, loss, or training pipeline yet delivers state-of-the-art results for video instance segmentation.
  • Inference handles whole video sequences with top-10 predictions and no post-processing, adapting to variable sequence lengths.

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.