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

READMem: Robust Embedding Association for a Diverse Memory in Unconstrained Video Object Segmentation

Stéphane Vujasinovic, Sebastian Bullinger, Stefan Becker, Norbert Scherer-Negenborn, Michael Arens, Rainer Stiefelhagen

Abstract

Semi-automatic Video Object Segmentation (sVOS) often suffers from "memory explosion" in long-term sequences. Standard Space-Time Memory (STM) approaches rely on naive frame sampling, leading to GPU memory saturation or information redundancy. We present READMem (Robust Embedding Association for a Diverse Memory), a plug-and-play module designed to manage memory efficiently. READMem utilizes geometric diversity via the Gramian to select informative frames and a Robust Embedding Association (REA) to align features across distant frames. Experiments on long-term benchmarks show that READMem significantly improves stability and performance, allowing standard models to handle unconstrained video lengths without retraining.

Introduction

The task of semi-automatic Video Object Segmentation (sVOS) involves tracking and segmenting a specific object throughout a video based on an initial mask. Current state-of-the-art methods typically employ a Space-Time Memory (STM) architecture, which stores features from previous frames in a memory bank to assist in segmenting the current "query" frame. However, these methods often use fixed-interval sampling (e.g., every 5th frame), which creates a dilemma: frequent sampling leads to redundant information and GPU memory exhaustion, while sparse sampling may miss critical appearance changes. READMem addresses these issues by replacing heuristic sampling with a diversity-driven selection process.

Methods

READMem consists of three core components that can be integrated into existing sVOS baselines like MiVOS or STCN without additional training:

  • Diversification of Memory Embeddings (DME): Instead of time-based sampling, DME uses a geometric approach. It treats embeddings as vectors and calculates the Gramian (the determinant of the Gram matrix) to measure the "volume" or diversity of the memory. A new frame is only added if it significantly increases this volume, ensuring the memory bank contains only unique, informative features.
  • Robust Embedding Association (REA): Long-term tracking often fails when objects move significantly across the screen, as spatial locations no longer align. REA uses attention weights to project memory features into the current query frame's coordinate system, effectively "warping" old information to be spatially relevant to the object's current position.
  • Lower Similarity Bound (LSB): This component acts as a gatekeeper, ensuring that only frames where the object is recognized with sufficient confidence are considered for memory storage.
The READMem architecture integrated with a Space-Time Memory (STM) framework, highlighting the REA, LSB, and DME modules.

Evaluation and Results

The authors evaluated READMem on several benchmarks, including the Long-time Video (LV1) dataset, DAVIS 2017, and VOTS2023. The results on LV1 demonstrate the module's effectiveness in handling long sequences where memory management is critical.

Performance comparison (J&F score) between baseline models and their READMem-enhanced versions across different sampling intervals on the LV1 dataset.

When integrated with the MiVOS baseline on the LV1 dataset, the $\mathcal{J}\&\mathcal{F}$ score (combining overlap and contour accuracy) improved significantly from 64.3 to 86.0. Notably, READMem maintains high performance even when the sampling interval is set to 1, where standard models typically fail due to redundancy and memory limits. On the short-term DAVIS 2017 dataset, READMem preserved baseline performance (scores around 84-86), confirming that its long-term stability does not come at the cost of short-term accuracy.

Conclusion

READMem demonstrates that diversity is more important than quantity in video memory management. By maximizing the Gramian for memory selection and using REA for spatial alignment, the module enables robust, long-term VOS. Its zero-shot integration capability makes it a practical solution for upgrading existing models to handle unconstrained video lengths. Future work may involve making thresholds learnable and refining diversity calculations to focus exclusively on object-of-interest pixels to further reduce background noise interference.

Summary updated

BibTeX
@inproceedings{vujasinovic2023readmem,
  author = {Stéphane Vujasinovic and Sebastian Bullinger and Stefan Becker and Norbert Scherer-Negenborn and Michael Arens and Rainer Stiefelhagen},
  title = {{READMem: Robust Embedding Association for a Diverse Memory in Unconstrained Video Object Segmentation}},
  booktitle = {BMVC},
  year = {2023},
}
Figure