Skip to main content
QUICK REVIEW

[Paper Review] XMem: Long-Term Video Object Segmentation with an Atkinson-Shiffrin Memory Model

Ho Kei Cheng, Alexander G. Schwing|arXiv (Cornell University)|Jul 14, 2022
Visual Attention and Saliency DetectionComputer Science15 citations
TL;DR

XMem proposes a multi-store memory architecture for long-term video object segmentation, inspired by the Atkinson-Shiffrin memory model, integrating sensory, working, and long-term memory stores with a memory potentiation and consolidation mechanism. It achieves state-of-the-art performance on long-video benchmarks while maintaining high accuracy on short videos, with minimal GPU memory usage and real-time inference capability.

ABSTRACT

We present XMem, a video object segmentation architecture for long videos with unified feature memory stores inspired by the Atkinson-Shiffrin memory model. Prior work on video object segmentation typically only uses one type of feature memory. For videos longer than a minute, a single feature memory model tightly links memory consumption and accuracy. In contrast, following the Atkinson-Shiffrin model, we develop an architecture that incorporates multiple independent yet deeply-connected feature memory stores: a rapidly updated sensory memory, a high-resolution working memory, and a compact thus sustained long-term memory. Crucially, we develop a memory potentiation algorithm that routinely consolidates actively used working memory elements into the long-term memory, which avoids memory explosion and minimizes performance decay for long-term prediction. Combined with a new memory reading mechanism, XMem greatly exceeds state-of-the-art performance on long-video datasets while being on par with state-of-the-art methods (that do not work on long videos) on short-video datasets. Code is available at https://hkchengrex.github.io/XMem

Motivation & Objective

  • To address the scalability limitations of existing video object segmentation methods that rely on a single feature memory store, which leads to high GPU memory usage and performance decay in long videos.
  • To enable accurate, real-time, and memory-efficient video object segmentation on long videos (e.g., 3× longer than standard benchmarks) without sacrificing performance on short videos.
  • To develop a biologically inspired memory architecture that mimics human memory processes—sensory, working, and long-term memory—through distinct, interconnected feature memory stores.
  • To design a memory potentiation and consolidation algorithm that enables compact, high-fidelity long-term memory storage while preventing memory explosion and representation drift.

Proposed method

  • XMem employs three distinct feature memory stores: a rapidly updated sensory memory (GRU-based), a high-resolution working memory that aggregates historical frames, and a compact long-term memory for sustained storage.
  • A memory potentiation algorithm enriches selected prototypes from the working memory by aggregating richer, multi-scale features before storing them in the long-term memory, reducing aliasing from sub-sampling.
  • A memory consolidation mechanism periodically transfers active working memory elements into the long-term memory based on usage statistics, ensuring long-term retention without excessive memory growth.
  • A space-time memory reading mechanism enables attention-based feature matching between query frames and both working and long-term memory stores, using anisotropic L2 similarity with selection and shrinkage terms.
  • Deep updates are applied every r-th frame to the sensory memory to maintain temporal consistency and reduce drift, with minimal computational overhead.
  • The model uses a dual-branch network with a feature encoder and a mask head, where memory stores are updated and read in an online, streaming fashion.

Experimental results

Research questions

  • RQ1Can a multi-store memory architecture inspired by human cognition improve long-term video object segmentation accuracy while maintaining low memory consumption?
  • RQ2How does the integration of sensory, working, and long-term memory stores affect performance on long videos compared to single-memory baselines?
  • RQ3To what extent does memory potentiation and consolidation improve long-term memory fidelity and reduce performance decay in long video sequences?
  • RQ4Can a unified memory architecture achieve state-of-the-art performance on both short and long video benchmarks without compromising inference speed or memory efficiency?

Key findings

  • XMem achieves a J&F score of 90.0 ± 0.4 on the Long-time Video (3×) dataset, significantly outperforming prior state-of-the-art methods that struggle with long videos.
  • On the standard DAVIS 2017 benchmark, XMem achieves a J&F score of 89.8 ± 0.2, matching the performance of top methods that do not scale to long videos.
  • The memory potentiation algorithm with usage-based prototype selection and feature enrichment increases long-term memory quality, improving performance by 2.1% over non-potentiated baselines.
  • Memory consolidation using usage-based selection with P=128 prototypes achieves the best balance between performance and memory compression, outperforming random, k-means, and local window strategies.
  • The space-time memory reading mechanism with anisotropic L2 similarity and dual scaling terms (selection and shrinkage) improves attention accuracy and robustness, with ablation showing synergy between the two components.
  • Deep updates every r-th frame improve performance by 0.5–1.0 J&F points with negligible speed impact, confirming their effectiveness in maintaining sensory memory quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.