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:
- Frame-level (Tracking-by-detection): Detect objects in each frame independently, then use a separate "tracking head" or matching algorithm to link them.
- 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.
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.
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.
- 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.
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