Abstract
Recent advancements in semi-supervised video object segmentation (VOS) have been driven by memory-based approaches that predict object masks frame-by-frame. While these methods achieve high accuracy, their sequential nature limits computational efficiency and prevents the utilization of future temporal context. We propose a "per-clip" inference scheme that processes groups of consecutive frames simultaneously. By introducing Intra-Clip Refinement (ICR) and Progressive Memory Matching (PMM), our model, PCVOS, achieves state-of-the-art results on YouTube-VOS and DAVIS benchmarks. Notably, PCVOS offers a superior speed-accuracy trade-off, providing up to a 3x speedup over existing methods while maintaining competitive performance.
Introduction
Semi-supervised Video Object Segmentation (VOS) requires a model to track and segment specific objects throughout a video sequence, given only the initial frame's mask. The current state-of-the-art is dominated by memory-based matching networks (e.g., STM, STCN). These models store features from past frames in a memory bank and query them to predict the mask for the current frame.
However, this per-frame approach has two inherent limitations. First, it is strictly causal; the model cannot use information from future frames to resolve current ambiguities, such as occlusions or motion blur. Second, the sequential dependency prevents parallel processing, leading to a computational bottleneck. We address these issues by shifting the paradigm from per-frame to per-clip inference.
The PCVOS Framework
The core idea of Per-Clip VOS (PCVOS) is to divide a video into clips of length $L$ and process all frames within a clip as a single unit. Memory is updated only at the boundaries of these clips, rather than every frame.
Intra-Clip Refinement (ICR)
To leverage the temporal context within a clip, we introduce the Intra-Clip Refinement module. Unlike per-frame models that treat each frame in isolation, ICR employs a transformer-based architecture that allows frames within a clip to communicate. By calculating spat-temporal correlations, the model can refine the features of a blurry or partially occluded frame using information from clearer frames within the same clip. To maintain efficiency and prevent confusion from similar objects, we implement a locality constraint, focusing the attention mechanism on spatially and temporally adjacent regions.
Progressive Memory Matching (PMM)
As the interval between memory updates increases, the temporal distance between the current frame and the stored memory grows. This can lead to matching inaccuracies. Progressive Memory Matching (PMM) mitigates this by establishing intermediate "bridge" points within the clip. This ensures that long-range correspondences remain robust even when the memory update interval is large.
Per-Clip Training
Traditional VOS models are typically trained on random triplets of frames. To align the training process with our inference scheme, we propose a per-clip training strategy. The model is trained on entire sequences using a combination of standard cross-entropy and a clip-level Dice loss. This encourages the network to learn fine-grained temporal transitions and improves the consistency of masks across the clip.
Experimental Results
We evaluated PCVOS on the YouTube-VOS (2018/2019) and DAVIS (2016/2017) datasets.
Accuracy and Efficiency
PCVOS achieves state-of-the-art performance across all benchmarks. On YouTube-VOS 2018, it reached 84.6% J&F, and on DAVIS 2017, it achieved 86.1% J&F.
The most significant advantage of PCVOS is its efficiency. By increasing the clip length ($L$), we can drastically reduce the frequency of memory updates. For instance, the "Ours-L15" configuration (updating memory every 15 frames) runs at 29.2 FPS. This is approximately three times faster than STCN (~10 FPS) while still delivering higher segmentation accuracy.
Flexibility
A unique property of PCVOS is its flexibility at test time. A single model, once trained, can be deployed with different clip lengths depending on the hardware constraints or the required speed. This allows for a seamless trade-off between maximum precision and real-time performance without the need for retraining.
Conclusion
By breaking the frame-by-frame bottleneck, PCVOS demonstrates that frequent memory updates are not a prerequisite for high-quality VOS. The per-clip inference scheme, supported by Intra-Clip Refinement and Progressive Memory Matching, provides a more efficient and context-aware approach to video segmentation. While the clip-based latency makes it more suited for offline applications like video editing, its speed and accuracy set a new standard for the field.
Summary updated