Efficient Video Instance Segmentation via Tracklet Query and Proposal

Jialian Wu, Sudhir Yarram, Hui Liang, Tian Lan, Junsong Yuan, Jayan Eledath, Gérard G. Medioni

TL;DR

This paper introduces EfficientVIS, a novel framework for video instance segmentation (VIS) that achieves end-to-end training and real-time inference. By employing tracklet queries and proposals, it efficiently associates and segments objects across space and time, significantly reducing training time and eliminating the need for manual data association between clips.

What Problem Does This Paper Address?

Video Instance Segmentation (VIS) is a challenging task that requires simultaneously identifying, segmenting, and tracking individual object instances throughout a video. Existing methods fall into two main categories: frame-level approaches that track-by-segment and struggle with occlusions and limited temporal context, and clip-level approaches that leverage more temporal information but are often not end-to-end trainable and suffer from slow inference. While the VisTR (Video Instance Segmentation Transformer) addressed some of these issues by enabling end-to-end processing within a clip, it faced challenges with slow convergence due to dense frame-wise attention and still required manual data association to link tracklets between successive clips, hindering true end-to-end learning for entire videos. EfficientVIS aims to overcome these limitations by providing a fully end-to-end, efficient, and high-performing VIS system.

Methods

EfficientVIS introduces several key innovations:

  • Tracklet Query and Proposal: Instead of relying on traditional object detection pipelines, EfficientVIS uses "tracklet queries" (latent embeddings representing instance appearance) and "tracklet proposals" (space-time tubes localizing instances) to represent each object. This allows for a more unified representation of an instance across frames.
  • Query-Video Interaction: The framework employs an iterative process where tracklet queries interact with video features. This interaction is designed to be efficient by focusing only on regions of interest (RoIs) defined by the tracklet proposals, rather than dense attention across all pixels. This RoI-wise interaction is crucial for fast convergence.
  • Factorized Temporo-Spatial Self-Attention (FTSA): To enable tracklet queries to exchange information effectively, FTSA is used. It separately applies temporal self-attention (within a single tracklet query across frames) and spatial self-attention (across different tracklet queries within a single frame). This is more computationally efficient than joint spatio-temporal attention.
  • Temporal Dynamic Convolution (TDC): This module allows tracklet queries to collect instance-specific information from the video features. A dynamic convolutional filter, conditioned on the tracklet query, is used to extract temporal context from nearby frames, improving robustness to occlusions and motion blur.
  • Correspondence Learning: To achieve fully end-to-end learning across multiple clips, EfficientVIS introduces a correspondence learning mechanism. This allows tracklet queries from one clip to be used as initial queries for the next clip, enabling seamless association of instances without manual data association. This is trained by pairing clips and backpropagating losses across them.

Datasets

The paper primarily uses the YouTube-VIS 2019 and YouTube-VIS 2021 datasets for training and evaluation. These datasets are standard benchmarks for video instance segmentation.

Key Insights and Ideas

  • RoI-wise attention is key to efficiency: Focusing attention on proposed regions (RoIs) rather than the entire frame drastically reduces computation and speeds up training, a significant improvement over dense attention methods like VisTR.
  • End-to-end learning for inter-clip association is superior: Replacing hand-crafted data association with a learned correspondence mechanism between clips leads to better performance and a simpler, more robust framework.
  • Time-disentangled queries are more effective: Using multiple embeddings for a single tracklet query, each potentially focusing on different frames, helps capture appearance changes due to occlusion or motion, leading to better instance representation.
  • Temporal context from dynamic convolution matters: Incorporating temporal information through dynamic convolution, beyond just spatial context, improves performance by better handling object appearance variations.

Key Results

  • Efficiency: EfficientVIS achieves 15x fewer training epochs compared to VisTR while reaching state-of-the-art accuracy. It also enables real-time inference at 36 FPS.
  • Accuracy: On the YouTube-VIS 2019 benchmark, EfficientVIS achieves an AP of 37.0 (with ResNet-50 backbone) and 37.9 (with multi-scale training), outperforming VisTR. It also shows strong performance on YouTube-VIS 2021.
  • Robustness: The method demonstrates robustness to dramatic object movements and low frame rates (e.g., 0.2 FPS), maintaining performance where motion-based trackers fail.
  • End-to-end capability: EfficientVIS is the first fully end-to-end neural network for VIS, eliminating the need for post-processing like Non-Maximum Suppression (NMS) or manual data association.

Limitations and Future Work

  • Limitations: While EfficientVIS is efficient, the paper notes that for videos too long to fit into GPU memory, they are still divided into multiple clips for sequential processing, making it "partially end-to-end" in such scenarios. The correspondence learning is applied to pairs of clips, and its scalability to very long videos with many sequential clips could be further explored.
  • Future Work: The paper implicitly suggests that further exploration of the correspondence learning mechanism for even longer sequences and potentially more complex video structures could be beneficial. The authors also highlight the potential for further improvements by leveraging more advanced backbone architectures or training strategies.

Summary updated

BibTeX
@inproceedings{wu2022efficient,
  author = {Jialian Wu and Sudhir Yarram and Hui Liang and Tian Lan and Junsong Yuan and Jayan Eledath and Gérard G. Medioni},
  title = {{Efficient Video Instance Segmentation via Tracklet Query and Proposal}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=vOQct7S52a},
}
Figure