RMem: Restricted Memory Banks Improve Video Object Segmentation

Junbao Zhou, Ziqi Pang, Yu-Xiong Wang
2/9/2026

No official code found. Best implementation: Restricted-Memory/RMem (54 stars, MIT, last commit 2025-01-31).

Abstract

With recent video object segmentation (VOS) benchmarks evolving to challenging scenarios, we revisit a sim-ple but overlooked strategy: restricting the size of memory banks. This diverges from the prevalent practice of ex-panding memory banks to accommodate extensive histor-ical information. Our specially designed “memory deci-phering” study offers a pivotal insight underpinning such a strategy: expanding memory banks, while seemingly bene-ficial, actually increases the difficulty for VOS modules to decode relevant features due to the confusion from redun-dant information. By restricting memory banks to a limited number of essential frames, we achieve a notable improvement in VOS accuracy. This process balances the im-portance and freshness of frames to maintain an informative memory bank within a bounded capacity. Additionally, restricted memory banks reduce the training-inference discrepancy in memory lengths compared with continuous expansion. This fosters new opportunities in temporal reasoning and enables us to introduce the previously overlooked “temporal positional embedding.” Finally, our insights are embodied in “RMem” (“R” for restricted), a simple yet effective VOS modification that excels at challenging VOS scenarios and establishes new state of the art for object state changes (on the VOST dataset) and long videos (on the Long Videos dataset). Our code and demos are available at https://restricted-memory.github.io/.

View on arXivView PDF

Code Implementations(1)

MIT

official repository of CVPR 2024 paper, RMem: Restricted Memory Banks Improve Video Object Segmentation

547Shell, PythonMar 25, 20241 years agoMIT

Similar Papers

Cite this paper

@article{zhou2026rmem,
  title  = {RMem: Restricted Memory Banks Improve Video Object Segmentation},
  author = {Junbao Zhou and Ziqi Pang and Yu-Xiong Wang},
  year   = {2026},
  eprint = {2406.08476},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2406.08476},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.08476.svg)](https://codeofpaper.com/paper/2406.08476)

Discussion