Siamese Network with Interactive Transformer for Video Object Segmentation

Meng Lan, Jing Zhang, Fengxiang He, Lefei Zhang

Abstract

Semi-supervised video object segmentation (VOS) requires robust tracking of target objects through complex temporal transformations. We present SITVOS (Siamese Network with Interactive Transformer), an architecture designed to model temporal dependencies explicitly. By employing a shared Siamese backbone and a novel Feature Interaction Module (FIM), SITVOS enables bidirectional refinement between historical and current frame features. Our approach achieves a J&F score of 83.5% on DAVIS 2017 at 11.8 FPS, demonstrating a superior balance of accuracy and efficiency.

Introduction

The primary challenge in semi-supervised VOS is maintaining accurate segmentation masks as objects undergo deformation, occlusion, or temporary disappearance. While existing matching-based methods, such as Space-Time Memory (STM) networks, have shown promise, they often treat pixels independently and fail to capture the continuous evolution of the target object. Furthermore, the use of separate encoders for memory and query frames leads to significant computational redundancy.

Methodology

SITVOS addresses these limitations through three core components:

1. Siamese Backbone

To minimize redundant feature extraction, SITVOS utilizes a shared ResNet50 backbone. Features extracted for the current query frame are cached and reused as memory features for subsequent frames, streamlining the pipeline.

2. Interactive Transformer

The model employs a transformer-based encoder-decoder structure. The encoder applies self-attention to historical frames to capture spatio-temporal context, while the decoder uses the current frame's features as queries to localize the target within the encoder's output.

3. Feature Interaction Module (FIM)

The FIM is the central innovation of SITVOS. Unlike standard unidirectional transformers, FIM facilitates a "two-way street" via cross-attention. Historical features guide the identification of the object in the current frame, while current features help filter noise from the historical memory.

Visualization of feature refinement across different modules: Backbone, Self-attention, and Feature Interaction.

Key Insights and Results

The bidirectional refinement provided by the FIM significantly sharpens the target representation. As shown in the visualization above, the Feature Interaction stage produces a much cleaner and more localized activation map compared to the initial backbone or self-attention stages. This "Aha!" moment stems from the realization that the current frame contains valuable information that can help clean up the "noise" in historical memory.

Performance Benchmarks

SITVOS was evaluated on DAVIS 2016/2017 and YouTube-VOS 2018 benchmarks, pre-trained on simulated video clips from MS-COCO to improve robustness.

  • Accuracy: On DAVIS 2017, SITVOS achieved an 83.5% J&F score, outperforming other transformer-based models like SSTVOS (82.5%) and matching top-tier matching-based models.
  • Efficiency: The model operates at 11.8 FPS on an RTX 2080Ti, nearly doubling the speed of high-accuracy competitors like CFBI (6.0 FPS).
  • Generalization: A score of 81.3% on YouTube-VOS indicates strong performance on both seen and unseen object categories, suggesting the model learns general object properties.

Conclusion

SITVOS demonstrates that integrating interactive transformers with a Siamese backbone can effectively model temporal dependencies in VOS without sacrificing computational speed. While current memory management relies on a fixed-window strategy (7 frames), future iterations could explore dynamic memory selection to further enhance performance on long-duration video sequences and reach true real-time performance.

Summary updated

BibTeX
@inproceedings{lan2022siamese,
  author = {Meng Lan and Jing Zhang and Fengxiang He and Lefei Zhang},
  title = {{Siamese Network with Interactive Transformer for Video Object Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i2.20009},
}
Figure