TL;DR
InsPro introduces a streamlined, query-based framework for online Video Instance Segmentation (VIS) that eliminates the need for complex, explicit object tracking algorithms. By propagating "instance query and proposal" pairs across video frames, the model implicitly associates objects over time while simultaneously segmenting them, achieving state-of-the-art accuracy and real-time inference speeds.
The Problem: Explicit Tracking Bottlenecks
Video Instance Segmentation (VIS) requires a model to not only segment objects at the pixel level in individual frames but also track their identities consistently across an entire video.
Historically, methods have tackled this using a two-step approach: either a "tracking-by-detection" paradigm (segmenting frame-by-frame and using a tracking head to link them) or a "clip-matching" paradigm (processing short video clips and stitching the results together). Both approaches require explicit, often hand-crafted instance association algorithms.
This explicit matching increases system complexity, slows down inference, and fails to fully exploit the natural temporal continuity of videos during the actual segmentation phase. InsPro aims to build a simpler, faster, online VIS system that performs tracking and segmentation in one unified step.
How InsPro Works
Inspired by the query-based object detector Sparse R-CNN, InsPro (Propagating Instance Query and Proposal) treats VIS as a continuous propagation problem.
- Query and Proposal Propagation: Instead of detecting objects from scratch on every frame, InsPro initializes a set of learnable "instance queries" and bounding box "proposals" on the first frame. Once an object is found, its updated query and proposal are passed directly to the next frame. Because a specific query is forced to represent the same object over time, tracking happens implicitly.
- Intra-query Attention: To handle tough scenarios like occlusion and motion blur, InsPro maintains a lightweight "feature bank" of queries from the past $T$ frames. It uses an attention mechanism to aggregate this long-range temporal information into the current query, boosting its representation capacity.
- Temporally Consistent Matching: During training, the model uses a bipartite matching strategy (Hungarian algorithm) that forces a specific ground-truth object to be assigned to the exact same query across all frames, teaching the network to lock onto an identity.
- Box Deduplication Loss (BDL): A novel loss function penalizes duplicate bounding boxes for the same object. This pushes unmatched queries away from already-tracked objects, leaving them spatially distributed and ready to detect newly appearing objects.
- InsPro-lite: A high-speed variant that divides videos into key frames (processed heavily) and non-key frames (processed lightly) to reduce redundant computation.
Key Insights
- Implicit Tracking is Highly Effective: By forcing a single query to track an object through time, the network naturally learns temporal priors. This completely removes the need for heuristic tracking rules (like score thresholding or Non-Maximum Suppression) that often break trajectories when objects are temporarily occluded.
- One Query Set to Rule Them All: Unlike other query-based trackers that maintain separate "track" queries for existing objects and "detect" queries for new ones, InsPro uses a single unified set. The Box Deduplication Loss elegantly ensures that unused queries act as a net to catch new objects entering the frame.
- Long-term Memory is Cheap but Powerful: The Intra-query Attention mechanism acts as a highly efficient memory bank. By looking back up to 18 frames, the model gains significant robustness against occlusion with almost zero impact on inference speed.
Datasets and Key Results
The model was trained and evaluated on two standard VIS benchmarks: YouTube-VIS 2019 and YouTube-VIS 2021. COCO dataset pre-training was also utilized in some experimental setups to prevent overfitting.
- State-of-the-Art Accuracy: On YouTube-VIS 2019, InsPro (with a ResNet-50 backbone) achieves 43.2 AP (with COCO data) and 40.2 AP (without COCO data), outperforming all prior online VIS methods by a large margin. On YouTube-VIS 2021, it achieves 37.6 AP.
- Real-Time Speed: The standard InsPro model runs at 26.3 FPS on an NVIDIA RTX 2080Ti GPU.
- InsPro-lite: The efficient variant achieves 38.7 AP on YouTube-VIS 2019 at a blazing fast 45.7 FPS, making it highly practical for real-world, real-time applications.
- Ablation Success: The Box Deduplication Loss alone adds a +1.0 AP boost by reducing duplicate boxes and missed detections, while the Intra-query Attention adds up to +1.8 AP.
Limitations and Future Work
Inherent limitations of online query-propagation methods typically include handling extremely long-term occlusions (where an object disappears longer than the feature bank's memory capacity) and the difficulty of recovering a lost track once a query-proposal pair completely loses its target. Future work would likely explore scaling the backbone (e.g., using modern Vision Transformers) or extending the unified query framework to related tasks like multi-object tracking (MOT) or video panoptic segmentation.
Summary updated