[Paper Review] Kernelized Memory Network for Video Object Segmentation
This paper proposes a Kernelized Memory Network (KMN) for semi-supervised video object segmentation that reduces the non-local matching bias of existing space-time memory networks (STM) by introducing a Gaussian kernel to enforce local correspondence. Pre-training on static images using the Hide-and-Seek data augmentation strategy enhances robustness to occlusions and improves boundary accuracy, resulting in a 5% mAP gain on DAVIS 2017 and inference speed of 0.12s per frame.
Semi-supervised video object segmentation (VOS) is a task that involves predicting a target object in a video when the ground truth segmentation mask of the target object is given in the first frame. Recently, space-time memory networks (STM) have received significant attention as a promising solution for semi-supervised VOS. However, an important point is overlooked when applying STM to VOS. The solution (STM) is non-local, but the problem (VOS) is predominantly local. To solve the mismatch between STM and VOS, we propose a kernelized memory network (KMN). Before being trained on real videos, our KMN is pre-trained on static images, as in previous works. Unlike in previous works, we use the Hide-and-Seek strategy in pre-training to obtain the best possible results in handling occlusions and segment boundary extraction. The proposed KMN surpasses the state-of-the-art on standard benchmarks by a significant margin (+5% on DAVIS 2017 test-dev set). In addition, the runtime of KMN is 0.12 seconds per frame on the DAVIS 2016 validation set, and the KMN rarely requires extra computation, when compared with STM.
Motivation & Objective
- To address the mismatch between the non-local nature of space-time memory networks (STM) and the predominantly local nature of video object segmentation (VOS).
- To improve robustness to occlusions and boundary inaccuracies in segmentation masks, especially at object edges.
- To develop a memory network that maintains high inference speed while achieving state-of-the-art performance in semi-supervised VOS.
- To explore the use of Hide-and-Seek as a pre-training strategy for segmentation tasks, particularly for refining boundary predictions.
Proposed method
- Introduces a kernelized memory read operation using a Gaussian kernel to localize matching between query and memory features, reducing spurious non-local matches.
- Employs Hide-and-Seek data augmentation during pre-training on static images to simulate occlusions and generate cleaner, more accurate mask boundaries.
- Pre-trains the network on ImageNet-style static images with Hide-and-Seek to improve generalization before fine-tuning on video datasets.
- Uses a standard QKV (query-key-value) mechanism but modifies the correlation computation with a spatially constrained Gaussian kernel to favor local context.
- Applies the same kernelized memory module during inference on video frames, maintaining fast inference speed.
- Trains the model in an offline manner using fixed parameters, avoiding the need for online adaptation per video sequence.
Experimental results
Research questions
- RQ1Can a kernelized memory mechanism reduce the non-local matching errors inherent in STM-based VOS models?
- RQ2Does pre-training with the Hide-and-Seek strategy improve generalization to occlusions and boundary accuracy in video segmentation?
- RQ3Can a kernelized memory network achieve state-of-the-art performance while maintaining low inference latency compared to online-learning methods?
- RQ4To what extent does Hide-and-Seek improve the quality of mask boundaries during pre-training?
Key findings
- KMN achieves a 5.0% absolute mAP improvement over the previous state-of-the-art on the DAVIS 2017 test-dev set, reaching 88.1% mAP.
- The model runs at 0.12 seconds per frame on the DAVIS 2016 validation set, significantly faster than online-learning methods and comparable to STM.
- The ablation study confirms that both the kernelized memory and Hide-and-Seek pre-training contribute independently and significantly to performance gains.
- Visualization of pixel-level loss shows that Hide-and-Seek reduces boundary noise, confirming its effectiveness in generating clean, accurate mask supervision.
- Qualitative results demonstrate superior performance on challenging cases such as occlusions, fast deformations, and similar background objects.
- The method outperforms even online-learning approaches on all benchmarks, including DAVIS 2016, DAVIS 2017, and YouTube-VOS, without requiring per-sequence adaptation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.