Skip to main content
QUICK REVIEW

[Paper Review] TransVOS: Video Object Segmentation with Transformers

Jianbiao Mei, Mengmeng Wang|arXiv (Cornell University)|Jun 1, 2021
Visual Attention and Saliency DetectionComputer Science44 references14 citations
TL;DR

TransVOS proposes a vision transformer-based framework for semi-supervised video object segmentation that jointly models spatial and temporal relationships using a single two-path feature extractor, reducing parameters by 20% while outperforming state-of-the-art methods by 2.4% in overall J&F score on DAVIS and YouTube-VOS benchmarks.

ABSTRACT

Recently, Space-Time Memory Network (STM) based methods have achieved state-of-the-art performance in semi-supervised video object segmentation (VOS). A crucial problem in this task is how to model the dependency both among different frames and inside every frame. However, most of these methods neglect the spatial relationships (inside each frame) and do not make full use of the temporal relationships (among different frames). In this paper, we propose a new transformer-based framework, termed TransVOS, introducing a vision transformer to fully exploit and model both the temporal and spatial relationships. Moreover, most STM-based approaches employ two separate encoders to extract features of two significant inputs, i.e., reference sets (history frames with predicted masks) and query frame (current frame), respectively, increasing the models' parameters and complexity. To slim the popular two-encoder pipeline while keeping the effectiveness, we design a single two-path feature extractor to encode the above two inputs in a unified way. Extensive experiments demonstrate the superiority of our TransVOS over state-of-the-art methods on both DAVIS and YouTube-VOS datasets.

Motivation & Objective

  • Address the limitation of existing Space-Time Memory (STM) methods in fully modeling both spatial and temporal relationships in video object segmentation.
  • Reduce model complexity by replacing the dual-encoder setup with a unified two-path feature extractor for reference and query inputs.
  • Improve segmentation accuracy by leveraging self-attention mechanisms in vision transformers to capture long-range dependencies across frames and within frames.
  • Demonstrate that dynamic memory updating in STM-style frameworks may degrade performance due to propagation of low-quality historical masks.
  • Establish a lightweight yet effective architecture that maintains high performance without increasing parameter count or inference cost.

Proposed method

  • Introduce a vision transformer-based architecture that processes both reference frames (with predicted masks) and the query frame in a unified manner using a two-path input stream.
  • Design a two-path feature extractor that separately processes RGB frames and predicted masks from reference frames, enabling parameter-efficient fusion without concatenation or siamese sharing.
  • Employ a transformer decoder with self-attention to model dependencies among all pixels across frames and within each frame, capturing both spatial and temporal relationships simultaneously.
  • Utilize cross-attention between query frame features and reference frame features to predict accurate segmentation masks using global context.
  • Apply feature maps from the vision transformer backbone to generate attention maps that attend to relevant regions across time and space.
  • Avoid mask warping and padding-induced misalignment by directly feeding predicted masks into a dedicated path in the feature extractor.

Experimental results

Research questions

  • RQ1Can a vision transformer effectively model both spatial and temporal relationships in video object segmentation without relying on separate encoders?
  • RQ2Does a unified two-path feature extractor outperform traditional dual-encoder or siamese architectures in terms of accuracy and parameter efficiency?
  • RQ3How does the inclusion of a transformer decoder improve mask prediction compared to standard attention modules in STM-based models?
  • RQ4What is the impact of using only the first and previous frames as reference inputs versus maintaining a dynamic memory bank with periodic updates?
  • RQ5Can direct feature fusion of predicted masks with RGB features via a two-path structure improve performance over concatenation or residual connections?

Key findings

  • TransVOS achieves a 76.4% J&F score on DAVIS 17 validation set using only the first and previous frames as reference, outperforming STM by 2.4 percentage points.
  • The two-path feature extractor reduces model parameters by 20% compared to the independent dual-encoder setup while improving J&F by 7.8 percentage points.
  • The model achieves a 15.1% improvement in J&F when using the two-path feature extractor compared to directly multiplying the mask with encoded features.
  • Removing the transformer decoder reduces the J&F score by 1.2 percentage points, confirming its necessity for optimal performance.
  • Dynamic memory updating every 5 frames, as used in STM, leads to performance degradation due to propagation of low-quality historical predictions.
  • The proposed method surpasses KMN and CFBI by 0.4% each in overall J&F score, demonstrating strong generalization and robustness on benchmark datasets.

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.