Consistent Video Instance Segmentation with Inter-Frame Recurrent Attention

Quanzeng You, Jiang Wang, Peng Chu, Andre Abrantes, Zicheng LiuarXiv 2022 · DOI

Introduction

Video Instance Segmentation (VIS) represents a significant challenge in computer vision, requiring models to simultaneously perform pixel-level segmentation and temporal tracking of multiple objects. While modern Transformer-based architectures have achieved high-quality spatial masks, they often struggle with temporal consistency. In complex scenarios involving occlusions, overlapping objects, or similar-looking instances, these models frequently suffer from "identity switches," "lost instances," or "merged masks."

Common temporal consistency errors in VIS compared to the proposed consistent precision.

Researchers from Microsoft have addressed these limitations by introducing a framework that explicitly models the relationship between adjacent frames. The core argument is that existing end-to-end methods rely too heavily on global kernels, failing to capture the local temporal dynamics necessary for stable tracking.

Methodology: Inter-Frame Recurrent Attention

The proposed framework introduces the Inter-Frame Recurrent (IFR) Attention mechanism. Unlike standard approaches that use a single set of queries for an entire video clip, this method bifurcates the workload into two specialized query types:

  1. Clip-level Queries: These serve as a global memory, predicting object categories and summarizing instance information across the entire video duration.
  2. Frame-level Queries: These act as local specialists, focusing on the specific appearance and spatial location of an object within a single frame.
Overview of the proposed framework architecture featuring the Inter-Frame Recurrent Transformer Decoder.

The IFR Attention Module operates recurrently. To generate frame-level queries for a specific frame t, the module integrates queries from the previous frame (t-1), the global clip-level queries, and the current frame's features. This creates a continuous "chain of thought" that preserves object identity across the temporal sequence.

To reinforce this stability, the authors implemented an auxiliary cross-frame mask prediction loss. During training, the model is tasked with using a query from one frame to predict the mask of the same object in a different frame. This self-supervised signal forces the network to learn robust temporal propagation rather than simple pixel memorization.

Experimental Results

The model was evaluated on the YouTubeVIS-2019 and YouTubeVIS-2021 benchmarks, using ResNet and Swin Transformer backbones. The results established a new state-of-the-art (SOTA) for the VIS task:

  • YouTubeVIS-2019: Achieved 62.1% Average Precision (AP) with a Swin-L backbone.
  • YouTubeVIS-2021: Achieved 54.7% AP, demonstrating strong performance on more complex movements and frequent occlusions.
  • Tracking Stability: The most significant breakthrough was in tracking consistency. On YouTubeVIS-2019, the model reduced the number of Identity Switches (IDs) from 202 (the previous benchmark set by Mask2Former) to just 50—a 75% improvement in tracking reliability.

Conclusion and Future Work

By reintroducing recurrence into the Transformer-based VIS pipeline, the IFR Attention framework effectively bridges the gap between global context and local temporal stability. While the model sets new performance records, its primary limitation remains computational cost; the end-to-end recurrent processing is currently too intensive for real-time applications. Future research will focus on more efficient temporal aggregation within the network backbones to reduce inference latency.

Summary updated

BibTeX
@misc{you2022consistent,
  author = {Quanzeng You and Jiang Wang and Peng Chu and Andre Abrantes and Zicheng Liu},
  title = {{Consistent Video Instance Segmentation with Inter-Frame Recurrent Attention}},
  year = {2022},
  eprint = {2206.07011},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.07011},
}
Figure