STSeg-Complex Video Object Segmentation: The 1st Solution for 4th PVUW MOSE Challenge

Kehuan Song, Xinglin Xie, Kexin Zhang, Licheng Jiao, Lingling Li, Shuyuan Yang

TL;DR

The STSeg solution clinched 1st place in the 4th PVUW MOSE Challenge by tackling the chaos of complex video object segmentation. By finetuning SAM2 and the unsupervised TMO model, and introducing an intelligent multi-model routing pipeline, STSeg achieves an outstanding 87.26% J&F score on heavily occluded and complex video sequences.

What Problem Does This Paper Address?

While Video Object Segmentation (VOS) algorithms have become highly accurate on standard benchmarks, they frequently break down in real-world scenarios. Complex environments introduce severe occlusions, objects completely disappearing and reappearing frames later, and "confusing objects"—neighboring items that look nearly identical to the target.

On the challenging MOSE (Complex Video Object Segmentation) dataset, mainstream models experience massive performance drops. For instance, the popular XMem model plummets from an 87.7% J&F score on the cleaner DAVIS2017 dataset to just 57.6% on MOSE. The authors address this gap by recognizing that no single model excels at every complex scenario; instead, a successful system must leverage the complementary strengths of multiple architectures.

Methods

The authors introduce STSeg, a framework optimized across both training and inference stages:

  1. Targeted Model Finetuning: The team selected two foundational models with distinct strengths: SAM2 (excellent memory attention and zero-shot generalization) and TMO (a motion-as-option network that excels at reducing reliance on erratic motion cues). For SAM2, they froze the image encoder to preserve its generalization power and finetuned the decoder. For TMO, they utilized RAFT to generate precise optical flow maps and applied aggressive data augmentation to highlight small targets.
  2. Adaptive Pseudo-labels Guided Model Refinement Pipeline (PGMR): During inference, instead of relying on a single model, STSeg runs five distinct VOS models in parallel: SAM2, TMO, Cutie, XMem, and LiVOS.
  3. Pseudo-Label Fusion & Dynamic Recommendation: The outputs of these five models are fused into a comprehensive "pseudo-label" baseline using consistency checks, confidence weighting, and a voting mechanism to resolve conflicts. Finally, a recommendation algorithm analyzes the video frame features (scene complexity, object count, size distribution) and dynamically routes the video to the single best-performing model for that specific content.
Figure 2. Overview of the PGMR Framework. Inference and Pseudo-Label-Based Model Selection on MOSE Test Set: Employ- ing five models (SAM2, TMO, Cutie, XMem, and LiVOS) to conduct inference operations. Comprehensive pseudo-labels are constructed using the mask annotations from each model’s inference. Based on these pseudo-labels, the model with optimal perfor- mance for different video contents is intelligently selected.

Datasets

  • MOSE Dataset: The primary benchmark used for training, validation, and evaluation. It contains 2,149 video clips, 5,200 objects across 36 categories, and 431,725 high-quality object masks. It is explicitly designed to test tracking resilience under extreme crowding and prolonged object disappearance.

Key Insights and Ideas

  • The Power of an Ensemble Router: Instead of traditional ensemble methods that simply average pixel masks (which can blur boundaries or introduce noise), STSeg uses the ensemble to generate a pseudo-label baseline, which then recommends the single best standalone model for a given video's characteristics.
  • Preserving Foundation Features: When adapting massive foundation models like SAM2 to specialized, noisy datasets, freezing the encoder and only tuning the decoder prevents the model from overfitting or losing its core zero-shot capabilities.
  • Overcoming the "Pixel-Matching" Trap: Traditional VOS relies heavily on pixel-level matching across frames, which fails during long occlusions. By pairing SAM2's long-term memory with TMO's motion-as-option strategy, the system maintains tracking consistency even when objects disappear entirely for multiple frames.
Qualitative tracking improvements showing SAM2 successfully recovering an occluded dragon boat after targeted finetuning.

Key Results

The STSeg framework demonstrated clear advantages in both ablation studies and the final competition leaderboard:

  • Finetuning Impact: Finetuning SAM2 on the MOSE dataset raised its validation J&F score from 82.33% to 83.64%.
  • Pipeline Superiority: The proposed PGMR routing pipeline achieved a validation J&F score of 87.70%, noticeably outperforming standard average fusion (85.98%) and max fusion (84.33%) strategies.
  • Challenge Victory: On the official 2025 4th PVUW Challenge MOSE Track test set, the "imaplus" team secured 1st place with a final J&F score of 87.26% (J-score of 0.8359, F-score of 0.9092).

Limitations and Future Work

Not discussed in the paper. The technical report focuses strictly on the implementation details and quantitative results that led to their challenge victory.

Summary updated

BibTeX
@misc{song2025stseg,
  author = {Kehuan Song and Xinglin Xie and Kexin Zhang and Licheng Jiao and Lingling Li and Shuyuan Yang},
  title = {{STSeg-Complex Video Object Segmentation: The 1st Solution for 4th PVUW MOSE Challenge}},
  year = {2025},
  eprint = {2504.08306},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.08306},
}
Figure