Dual Temporal Memory Network for Efficient Video Object Segmentation

Kaihua Zhang, Long Wang, Dong Liu, Bo Liu, Qingshan Liu, Zhu Li

Abstract

The Dual Temporal Memory Network (DTMNet) addresses the core challenges of Video Object Segmentation (VOS) by simultaneously modeling short-term local consistency and long-term object evolution. Utilizing graph convolutions for fine-grained spatial-temporal matching and a simplified Gated Recurrent Unit (S-GRU) for robust tracking, DTMNet delivers high accuracy and impressive inference speeds. Notably, it achieves these results without the computationally expensive online fine-tuning required by many contemporary top-tier methods.

Introduction: The Challenge of Temporal Modeling in VOS

Video Object Segmentation (VOS) involves tracking and segmenting specific objects throughout a video sequence, typically guided by a ground-truth mask provided for the initial frame. The primary difficulty lies in effective temporal modeling—leveraging historical frame data to predict the current object state.

Existing methodologies often encounter two significant hurdles:

  1. Short-term failures: Approaches relying solely on neighboring frames (e.g., via optical flow) frequently suffer from "drift" and struggle with occlusions. These methods often fail to capture fine-grained interactions between local regions, leading to noise at object boundaries.
  2. Long-term inefficiency: Recurrent Neural Network (RNN) based methods that process entire image frames are computationally intensive and prone to "distractions" from background elements, which can accumulate errors over extended sequences.

Methodology: The Dual-Memory Architecture

DTMNet proposes a "dual-memory" architecture designed to mitigate these issues by separating local consistency from global dynamics.

The DTMNet architecture consists of three primary components: a short-term memory sub-network, a long-term memory sub-network, and a segmentation sub-network.

Short-term Memory Sub-network (Graph-based)

Instead of rigid pixel-matching, this module constructs a spatial-temporal graph over a window of recent frames. By treating local regions as nodes and applying Graph Convolutional Filtering (GCF)—specifically Laplacian smoothing—the network ensures feature consistency across frames. This flexible approach allows for more accurate feature propagation than traditional point-to-point mappings.

Long-term Memory Sub-network (Object-oriented S-GRU)

To maintain object identity over long durations (e.g., during re-emergence after occlusion), DTMNet employs a Simplified-Gated Recurrent Unit (S-GRU). This module is uniquely "object-oriented": it selectively pools features from predicted object masks, effectively ignoring background noise. This focus reduces computational overhead and prevents memory "pollution" from irrelevant scene elements.

Segmentation Sub-network

The final module integrates short-term and long-term memory with the initial frame information. A target-specific attention mechanism highlights the object of interest, while a U-Net-like decoder with skip-connections generates the final high-resolution segmentation mask.

Experimental Evaluation

The authors evaluated DTMNet across three major benchmarks:

  • DAVIS 2016: Standard single-object segmentation.
  • DAVIS 2017: Complex multi-object scenarios.
  • YouTube-VOS: A large-scale dataset used to assess generalization to unseen object categories.

Performance and Results

DTMNet establishes a new "sweet spot" between segmentation accuracy and processing efficiency.

Quantitative comparison on the DAVIS 2016 dataset. DTMNet achieves competitive accuracy with significantly lower inference times compared to online learning (OL) methods.
  • Efficiency: On DAVIS 2016, DTMNet operates at 0.12 seconds per frame, outperforming "online learning" methods that require seconds or minutes of fine-tuning per sequence.
  • Accuracy: It achieved a global mean score ($\mathcal{G}$) of 65.6% on YouTube-VOS, significantly surpassing previous benchmarks like CapsuleVOS.
  • Generalization: Strong performance on "unseen" categories in YouTube-VOS suggests that the semi-supervised graph learning effectively captures the general concept of an "object" rather than just memorizing specific shapes.

Key Insights

  • Graph Convolutions vs. Optical Flow: Modeling local regions as graph nodes provides superior spatial-temporal consistency, avoiding the boundary failures typical of restrictive point-to-point optical flow mappings.
  • Background Suppression: Masking background features before memory updates significantly enhances robustness against drift and reduces computational cost.
  • Synergy of Dual Modeling: Ablation studies highlighted the necessity of both modules; removing long-term memory resulted in a 14.9% drop in accuracy, confirming that short-term consistency alone is insufficient for reliable VOS.

Limitations and Future Directions

While highly efficient, DTMNet currently relies on a perfect initial frame mask. Future research could explore robustness to noisy initializations. Additionally, while the S-GRU is efficient, further optimizations in graph construction—such as sparser representations—could enable even faster processing for ultra-high-resolution video.

Summary updated

BibTeX
@inproceedings{zhang2020dual,
  author = {Kaihua Zhang and Long Wang and Dong Liu and Bo Liu and Qingshan Liu and Zhu Li},
  title = {{Dual Temporal Memory Network for Efficient Video Object Segmentation}},
  booktitle = {ACM Multimedia},
  year = {2020},
  doi = {10.1145/3394171.3413942},
}
Figure