TL;DR
SA-VIS (Sparse frame Annotation Video Instance Segmentation) introduces a highly efficient online VIS framework that can be trained effectively on sparsely annotated videos (e.g., only 1 out of every 5 frames labeled). By introducing two lightweight modules—Past-frames Feature Propagation (PFP) and Frame-specific Instance (FSI) Queries—it bridges the performance gap between sparse and dense training data with less than a 10% training time overhead.
What Problem Does This Paper Address?
Video Instance Segmentation (VIS) requires a model to simultaneously detect, segment, and track objects across video frames. State-of-the-art online VIS models have achieved remarkable results, but they typically rely on training sequences with dense, frame-by-frame annotations.
Labeling every single frame in a massive video dataset is incredibly expensive and time-consuming. Furthermore, processing long, densely annotated video clips during training demands massive computational power and memory. The authors address this bottleneck by asking a fundamental question: Do we really need dense annotations to model object evolution in videos? They argue that consecutive frames are highly redundant, and temporal context can be extracted from unlabeled frames without sacrificing accuracy.
Methods
SA-VIS builds on top of a standard online VIS baseline (DeformableDETR/IDOL) and introduces two key architectural components designed to exploit temporal context from unannotated frames:
- Past-frames Feature Propagation (PFP): Instead of ignoring unannotated frames, SA-VIS passes them through the image encoder to extract low-dimensional feature maps, which are stored in a Feature Queue (FQ). A lightweight 2-layer transformer encoder computes attention across these past features and propagates this temporal context into the current frame's encoder via cross-attention layers. During training, gradients are not retained for these past frames, keeping memory consumption low.
- Frame-specific Instance (FSI) Queries: Traditional transformer-based detectors use a fixed set of learnable object queries. SA-VIS supplements these with dynamic, frame-specific queries. A lightweight, single-channel heatmap detector predicts object centers in the current frame, samples features at those locations, and mixes them with the fixed queries to create customized queries tailored to the specific objects visible in that frame.
Datasets
The authors evaluated SA-VIS on four standard, challenging VIS benchmarks:
- YouTube-VIS 2019 / 2021 / 2022: The standard benchmarks for video instance segmentation, with 2022 focusing on longer video sequences.
- Occluded VIS (OVIS): A dataset specifically designed to evaluate models on heavily occluded and overlapping objects in complex scenes.
Key Insights and Ideas
- Unlabeled Frames are Cheap Context: You don't need to supervise every frame to learn temporal consistency. By using a "frozen" backbone to extract features from unannotated past frames, the model gains vital tracking context without the heavy computational burden of backpropagation through time.
- Complementary Architectural Design: Ablation studies revealed that PFP (temporal awareness) and FSI Queries (spatial awareness) have a strong complementary effect. FSI queries ensure accurate mask generation for currently visible objects, while PFP ensures those objects are correctly matched and tracked across frames.
- Hardware Accessibility: Because the model trains on pairs of annotated frames rather than full, dense video clips, it can be trained effectively on just 2 NVIDIA A100 GPUs, compared to the 8 GPUs required by competing video-clip training methods.
Key Results
The most striking result is how well the model retains performance when annotations are drastically reduced.
- The Sparsity Gap Closed: When training SA-VIS using annotations for only 1 out of every 5 frames ($\text{SA-VIS}_5$), the performance drop is a mere 0.4% AP on YouTube-VIS 2021 compared to training on 100% of the annotations.
- State-of-the-Art Performance: SA-VIS outperforms all comparable "pairs train" methods (methods trained on pairs of frames) by over 4% AP across the YouTube-VIS datasets and achieves competitive results against "video train" methods that require full video clip annotations.
Limitations and Future Work
While SA-VIS demonstrates excellent robustness to sparse data, the authors note a few areas for improvement:
- Fixed Queue Limitations: The Feature Queue operates on a simple FIFO (First-In, First-Out) strategy. For very long videos where objects disappear and reappear after long intervals, an adaptive selection mechanism for past frames would be more effective.
- Query Redundancy: If the lightweight object detector used for FSI queries achieves high enough recall, the hundreds of fixed object queries currently used might become entirely redundant, offering a path to even lighter and faster models.
Summary updated