InsPro: Propagating Instance Query and Proposal for Online Video Instance Segmentation

Fei He, Haoyang Zhang, Naiyu Gao, Jian Jia, Yanhu Shan, Xin Zhao, Kaiqi Huang

This paper, presented at NeurIPS 2022, introduces InsPro, a streamlined and efficient framework for online Video Instance Segmentation (VIS). By rethinking how objects are tracked across frames, the authors move away from complex, multi-step association algorithms toward a unified "one-shot" approach that leverages the power of learned queries.

TL;DR

InsPro achieves state-of-the-art online video instance segmentation by implicitly associating objects through the temporal propagation of instance query-proposal pairs. This eliminates the need for separate tracking heads or matching steps, resulting in a simpler, faster system that reaches real-time speeds (45.7 FPS) without sacrificing accuracy.

What Problem Does This Paper Address?

Video Instance Segmentation (VIS) is the dual task of segmenting every object in a video frame and maintaining their identities across the entire sequence. Traditionally, researchers have approached this in two ways:

  1. Frame-level (Tracking-by-detection): Detect objects in each frame independently, then use a separate "tracking head" or matching algorithm to link them.
  2. Clip-level: Process short chunks of video at once and match these clips together.

Both approaches suffer from a common flaw: explicit association. Designing these matching strategies is complex, computationally expensive, and often fails to fully utilize the rich temporal information inherent in video. As shown in Figure 1, these two-step paradigms add significant overhead and complexity to the system.

Figure 1: (a) Previous methods take a two-step approach to VIS. They first generate object instances and then perform explicit instance association to link them across frames. (b) Our InsPro implements implicit instance association through a temporal propagation mechanism, achieving object instance segmentation and tracking in one shot. It generates frame-level object instances based on a set of instance query and proposal pairs propagated from previous frames. Since the instance query-proposal pair is learned to represent one specific object across frames, the instance association is naturally achieved in parallel with segmentation and video temporal clues are elegantly exploited meanwhile.

Methods

InsPro is built upon the Sparse R-CNN detector, which uses a set of learnable "instance queries" (feature vectors describing an object) and "proposals" (bounding box priors). The core innovation of InsPro is Temporal Propagation.

Instead of starting from scratch on every frame, InsPro takes the queries and proposals generated for frame $t-1$ and uses them as the starting point for frame $t$. This creates an implicit association: if a specific query represented "Dog #1" in the previous frame, it naturally continues to represent "Dog #1" in the current frame.

To make this propagation work effectively, the authors introduced three key components:

  • Temporally Consistent Matching (TCM): During training, this mechanism ensures that a specific query is always matched to the same ground truth object throughout the video, forcing the model to learn stable, long-term object representations.
  • Box Deduplication Loss (BDL): A novel loss function that pushes "negative" (unmatched) queries away from "positive" (matched) ones. This suppresses duplicate detections and keeps "empty" queries distributed across the frame, ready to pick up new objects as they enter the scene.
  • Intra-query Attention: To handle occlusions or motion blur, the model maintains a "feature bank" of past object features. The current query uses an attention mechanism to look back at these past features, effectively giving the model a "memory" of what the object looked like before it was obscured.
Figure 2: The InsPro architecture overview and the details of the SegHead module.

Datasets

The authors evaluated InsPro on several major benchmarks:

  • YouTube-VIS 2019 & 2021: The standard benchmarks for video instance segmentation.
  • OVIS (Occluded Video Instance Segmentation): A significantly more challenging dataset featuring heavy occlusions and crowded scenes.
  • ImageNet VID: Used to test the framework's performance on the related task of video object detection.
  • COCO: Used for pre-training the instance segmentation backbone.

Key Insights and Ideas

  • Tracking as a Prior: By propagating queries, the model doesn't just "track"; it gains a powerful spatial and appearance prior. The model already knows roughly where the object was and what it looked like, making the segmentation task in the new frame much easier.
  • The Power of "Empty" Queries: The Box Deduplication Loss (BDL) is a clever way to manage the query set. By keeping unmatched queries spread out, the system can detect new objects effortlessly without needing a separate "new object detection" branch.
Figure 3: Visualization of how the Box Deduplication Loss (BDL) reduces duplicate boxes and helps in detecting new objects.
  • Simplicity Wins: By moving the association logic into the architecture itself (via propagation), the authors removed the need for heuristic-heavy post-processing like Non-Maximum Suppression (NMS) or complex bipartite matching during inference.

Key Results

InsPro sets a new high bar for online VIS methods:

  • Accuracy: On YouTube-VIS 2019, InsPro achieved 43.2 AP (Average Precision), outperforming all other online methods. On the challenging OVIS dataset, it reached 21.1 AP, a significant lead over previous state-of-the-art models like CrossVIS.
  • Speed: The standard InsPro runs at 26.3 FPS. A "lite" version, InsPro-lite, achieves an impressive 45.7 FPS on an NVIDIA RTX 2080Ti, making it suitable for real-time applications.
  • Robustness: Qualitative results (Figure 5) demonstrate that the model handles fast-moving objects and crowded scenes effectively, maintaining consistent IDs even through complex interactions.
Figure 5: Qualitative results showing InsPro's robustness to fast motion and crowded scenes.

Limitations and Future Work

The authors note that while InsPro is robust, it can still struggle with very small objects, as the framework lacks a specific design for multi-scale feature enhancement tailored for tiny instances.

For future work, the team plans to extend the temporal propagation mechanism to other related tasks, such as Multi-Object Tracking (MOT) and Video Panoptic Segmentation, suggesting that this "query-propagation" paradigm could be a new foundation for various video understanding tasks.

Summary updated

BibTeX
@inproceedings{he2022inspro,
  author = {Fei He and Haoyang Zhang and Naiyu Gao and Jian Jia and Yanhu Shan and Xin Zhao and Kaiqi Huang},
  title = {{InsPro: Propagating Instance Query and Proposal for Online Video Instance Segmentation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=K3heYSvrs3K},
}
Figure