NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Robust and Efficient Memory Network for Video Object Segmentation

Yadang Chen, Dingwei Zhang, Zhixin Yang, Enhua Wu · DOI

Abstract

Video Object Segmentation (VOS) has seen significant progress through memory-based architectures. However, these models often suffer from background distractors due to global matching and computational inefficiency in long-duration videos. This paper presents the Robust and Efficient Memory Network (REMN), a framework designed to address these challenges. By incorporating a Foreground Reinforcing Module (FRM) for local attention, an Adaptive Sampling Module (ASM) for intelligent memory updates, and a Redundancy Reduction Module (RRM) for memory compression, REMN achieves state-of-the-art performance (86.3% J&F on DAVIS 2017) while maintaining real-time inference speeds of over 25 FPS.

Introduction

Semi-supervised Video Object Segmentation (VOS) requires tracking and segmenting a specific object throughout a video sequence, given only its initial mask. Recent advancements have been dominated by memory-based methods, such as the Space-Time Correspondence Network (STCN), which store features from past frames in a memory bank to identify the target in subsequent frames.

Despite their success, these methods face two critical hurdles. First, background distraction occurs because models perform non-local matching across the entire memory, often confusing the target with visually similar background objects. Second, temporal redundancy leads to memory bloat; as models typically save memory frames at fixed intervals, long videos result in massive, redundant datasets that slow down inference and increase GPU memory consumption. REMN is proposed to solve these issues by introducing spatial priors and dynamic memory management.

Methodology

REMN builds upon the STCN architecture by introducing three specialized modules designed to improve both robustness and efficiency.

Foreground Reinforcing Module (FRM)

To combat background distractors, the FRM implements a "local attention" mechanism. Rather than allowing the model to look globally across every pixel, the FRM utilizes the segmentation mask from the previous frame to define a spatial prior. By assuming the object moves continuously, the module suppresses features from distant background areas. This effectively "mutes" potential distractors that might otherwise trigger a false positive during the matching process.

Adaptive Sampling Module (ASM)

Traditional VOS models typically save a new memory frame every $N$ frames regardless of the video content. The ASM replaces this rigid approach with a dynamic trigger. It calculates the Intersection over Union (IoU) between the current mask and the most recently saved memory mask. A new frame is only added to the memory bank if the object has undergone significant changes in shape or position, preventing the storage of redundant, nearly identical frames.

Redundancy Reduction Module (RRM)

To prevent the memory bank from growing indefinitely, the RRM manages the total size of stored features. When the bank reaches a predefined capacity, the RRM employs a lightweight "soft modulation gate"—a small neural network—to identify redundant features. It then uses 3D convolutions to compress the temporal dimension. This allows the model to maintain a fixed memory footprint without discarding the critical historical information necessary for long-term tracking.

Experiments and Results

REMN was evaluated on three major benchmarks: DAVIS 2017, YouTube-VOS 2018, and a specialized Long-time Dataset featuring videos averaging over 2,000 frames.

Performance and Speed

On the DAVIS 2017 benchmark, REMN achieved a J&F score of 86.3%, outperforming the baseline STCN by 1.0% while operating 36% faster. On YouTube-VOS 2018, the model reached a mean score of 85.5%, demonstrating strong generalization capabilities to unseen object categories.

Efficiency in Long Sequences

The model's efficiency is most apparent in long-duration videos. In tests involving extended sequences, REMN was 8 times faster than STCN. While standard memory-based models experience a linear increase in computation time as the memory bank grows, REMN’s dynamic sampling and redundancy reduction keep the computational overhead constant.

Discussion and Conclusion

REMN demonstrates that "locality matters" in video segmentation. While global attention is a powerful tool, re-introducing spatial priors through the FRM ensures the model remains focused on the target. Furthermore, the transition from fixed-interval memory to dynamic, compressed memory (via ASM and RRM) proves that efficiency can be a primary feature rather than an afterthought.

One noted limitation is that the RRM can occasionally lose fine-scale details during the compression process, which may affect the segmentation of very small objects. Future research will likely explore methods to preserve high-frequency details within the compressed memory bank to ensure high-fidelity masks across all object scales. Overall, REMN sets a new standard for balancing state-of-the-art accuracy with real-time performance in VOS.

Summary updated

BibTeX
@inproceedings{chen2023robust,
  author = {Yadang Chen and Dingwei Zhang and Zhixin Yang and Enhua Wu},
  title = {{Robust and Efficient Memory Network for Video Object Segmentation}},
  booktitle = {ICME},
  year = {2023},
  doi = {10.1109/icme55011.2023.00304},
}
Figure