Efficient Video Instance Segmentation via Tracklet Query and Proposal

Jialian Wu, Sudhir Yarram, Hui Liang, Tian Lan, Junsong Yuan, Jayan Eledath, Gerard Medioni

TL;DR

EfficientVIS is a fully end-to-end video instance segmentation (VIS) framework that replaces computationally expensive dense attention with efficient RoI-wise interactions. By introducing tracklet queries and a novel correspondence learning mechanism, it achieves state-of-the-art accuracy while training 15x faster than previous transformer-based methods and eliminating the need for hand-crafted data association between video clips.

What Problem Does This Paper Address?

Video Instance Segmentation (VIS) requires a model to simultaneously classify, segment, and track every object in a video. Traditionally, this was done frame-by-frame (tracking-by-segmentation), which is often fragile because it ignores the rich temporal context of video.

Recent "clip-level" methods, like the VIS Transformer (VisTR), improved performance by processing short video clips as a whole. However, they hit two major walls:

  1. Training Inefficiency: VisTR uses dense, frame-wise attention, meaning every pixel in every frame looks at every other pixel. This leads to incredibly slow convergence and long development cycles.
  2. The "Stitching" Problem: Most models can only process short clips at a time due to memory limits. To handle a full video, they rely on hand-crafted, non-learnable rules to "stitch" object tracks together between successive clips.

EfficientVIS aims to solve both, creating a system that is fast to train, runs in real-time, and is truly end-to-end across the entire video duration.

Figure 1. Overview of real-time VIS pipelines. Compared to (a) or (b), our method features 1) Efficient training thanks to the RoI- wise design; 2) Efficient framework that achieves whole video instance segmentation in a single end-to-end pass without any data association and post-processing; 3) Strong performance thanks to the clip-by-clip processing and fully end-to-end paradigm.

Methods

The authors propose a shift from dense pixel-wise attention to a Region-of-Interest (RoI)-wise design. The architecture revolves around two core concepts: Tracklet Queries (embeddings representing object appearance) and Tracklet Proposals (space-time "tubes" that locate the object).

Key technical innovations include:

  • Factorised Temporo-Spatial Self-Attention (FTSA): Instead of one massive attention operation, the model performs temporal attention (within a tracklet across time) followed by spatial attention (between different tracklets). This drastically reduces computation while maintaining the ability to reason about object relations and occlusions.
  • Temporal Dynamic Convolution (TDC): The model generates dynamic filters based on the tracklet queries. These filters are applied specifically to the RoIs defined by the proposals, filtering out background noise and focusing only on the target instance.
  • Correspondence Learning: To handle long videos, the model learns to pass the output queries from one clip as the initial queries for the next. This allows the network to "remember" identities across clip boundaries without needing manual data association rules.
Figure 2. EfficientVIS architecture. EfficientVIS performs VIS clip-by-clip where the above figure illustrates how it works in one clip.

Datasets

The model was evaluated on the primary benchmarks for this field:

  • YouTube-VIS 2019: The standard benchmark containing ~2,800 videos and 40 object categories.
  • YouTube-VIS 2021: An expanded version with ~3,800 videos, offering more challenging scenarios.

Key Insights and Ideas

  • RoI-wise Sparsity is Key: By forcing the model to interact only with relevant RoIs rather than every pixel in the video, the authors achieved a 15x reduction in training epochs. This suggests that dense attention in video is often redundant and counter-productive for convergence.
  • Time-Disentangled Queries: The authors found that using a unique embedding for each frame within a tracklet query (rather than one embedding for the whole clip) significantly improved performance. This allows the model to better capture dramatic appearance changes caused by motion blur or rotation.
  • Appearance over Motion: Unlike motion-based trackers that struggle when objects move erratically, EfficientVIS tracks based on appearance queries. This makes it remarkably robust to low-frame-rate videos where spatial jumps between frames are large.
Figure 4. Tracklet features carry exclusive target instance in- formation. The dynamic conv filter conditioned on tracklet query activates tracklet feature only in the region where the target instance appears. The #2 tracklet feature at t=1 is suppressed by the filter of #2 zebra query even the proposal has drifted to the #3 zebra.

Key Results

EfficientVIS sets a new bar for efficiency and accuracy in real-time VIS:

  • Speed: Achieves 36 FPS with a ResNet-50 backbone, making it suitable for real-time applications.
  • Accuracy: Reaches 37.9 AP on YouTube-VIS 2019, outperforming VisTR by 2.3 points while using significantly less training data.
  • Convergence: Requires only 33 training epochs, compared to the ~500 epochs typically required by VisTR.
  • Robustness: Maintained high performance even when the video frame rate was downsampled to 0.2 FPS (one frame every 5 seconds), a scenario where traditional trackers usually fail.

Limitations and Future Work

While EfficientVIS is highly efficient, the paper does not deeply explore its performance on extremely crowded scenes with hundreds of overlapping instances, where the fixed number of queries ($N=10$ in default settings) might become a bottleneck. The authors suggest that the fully end-to-end paradigm is the most promising path forward, implying that future work could involve scaling this architecture to even larger, more complex datasets or integrating it into broader video understanding tasks.

Summary updated

BibTeX
@inproceedings{wu2022efficient,
  author = {Jialian Wu and Sudhir Yarram and Hui Liang and Tian Lan and Junsong Yuan and Jayan Eledath and Gerard 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