Spatial-Temporal Multi-level Association for Video Object Segmentation

Deshui Miao, Xin Li, Zhenyu He, Huchuan Lu, Ming-Hsuan Yang

Introduction: Addressing Detail Loss and Efficiency in VOS

Semi-supervised Video Object Segmentation (VOS) is the task of tracking and outlining specific objects in a video, given only the mask of the first frame. It is a foundational technology for autonomous driving and interactive video editing. However, current state-of-the-art methods often struggle with two primary issues:

  1. Detail Loss: Many models perform feature association after feature extraction. By the time the model attempts to match a target across frames, fine-grained spatial details—crucial for segmenting tiny or faint objects—are often lost.
  2. Efficiency-Quality Trade-off: Modeling complex spatial-temporal relationships often hinders parallel processing or long-term memory, making models slow or prone to "forgetting" targets over long durations.

The STMA Framework

The paper introduces STMA (Spatial-Temporal Multi-level Association), a framework designed to solve these problems by integrating feature extraction and interaction into a single multi-level module. This approach preserves fine-grained spatial details while maintaining temporal consistency through a dedicated spatial-temporal memory bank.

Overview of the STMA architecture, highlighting the multi-level feature association and the spatial-temporal memory bank.

Spatial-Temporal Multi-level (STML) Feature Association

The core of the framework is the STML module. Instead of extracting features and then matching them, STMA does both simultaneously. Key components include:

  • Decoupled Self-Attention: The STML module breaks down the attention mechanism into three specialized substreams: Object Feature Self-Attention (target differentiation), Reference Object Enhancement (sharpening reference frames), and Test Reference Correlation (propagating info to the current frame).
  • Asymmetric Information Interaction: This design ensures that reference frames remain "pure" and uninfluenced by other reference frames, while the test frame is heavily enriched with target-aware data.
  • Spatial-Temporal Memory Bank: A dual-purpose system where the spatial part stores recent frames for context, and the temporal part stores historical ID features to ensure the model doesn't lose track of objects over hundreds of frames.

Experimental Evaluation

The authors evaluated STMA on rigorous benchmarks, including DAVIS 2016/2017, YouTube-VOS, and LVOS (a benchmark for long-term VOS).

Key Results and Insights

STMA achieves state-of-the-art (SOTA) performance across the board while maintaining a practical inference speed of 10.7 FPS on an NVIDIA V100.

  • DAVIS 2017: Achieved 88.9% $\mathcal{J}\&\mathcal{F}$ on the validation set.
  • YouTube-VOS 2019: Reached 86.3% $\mathcal{J}\&\mathcal{F}$, showing strong generalization to unseen object categories.
  • Long-term Robustness: On the LVOS dataset, STMA outperformed previous leaders like XMem, proving its memory bank effectively handles long-term occlusions.
Qualitative comparison of STMA against other methods on tiny objects and long-term sequences.

Visualizations demonstrate that STMA produces much finer masks for thin structures and small objects compared to competitors. By moving "association" into the extraction phase, the model learns features that are already target-aware, which is why it excels at segmenting "tiny objects" that other models miss.

Conclusion and Future Work

STMA demonstrates that spatial-temporal multi-level association is a powerful approach for high-quality VOS. Despite its strengths, the authors highlight a specific failure case: extreme visual similarity combined with occlusion (e.g., identical geese crossing paths), which can still lead to ID-switches. Future work may involve incorporating additional modalities, such as motion information (optical flow) or textual descriptions, to maintain identity in these visually ambiguous scenarios.

Summary updated

BibTeX
@inproceedings{miao2024spatial,
  author = {Deshui Miao and Xin Li and Zhenyu He and Huchuan Lu and Ming-Hsuan Yang},
  title = {{Spatial-Temporal Multi-level Association for Video Object Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72855-6\_6},
}
Figure