When SAM2 meets video camouflaged object segmentation: a comprehensive evaluation and adaptation

Yuli Zhou, Guolei Sun, Yawei Li, Guo-Sen Xie, Luca Benini, Ender Konukoglu

Abstract

The Segment Anything Model 2 (SAM2) represents a significant advancement in video object segmentation. This study evaluates its efficacy in the challenging domain of Video Camouflaged Object Segmentation (VCOS), where targets are designed to blend seamlessly into their environments. Through extensive testing across zero-shot, hybrid, and fine-tuned configurations, the researchers demonstrate that SAM2 sets new performance benchmarks when guided by human-in-the-loop prompting or specialized adaptation, despite remaining limitations in low-contrast scenarios.

Introduction

Camouflaged objects present a unique challenge for computer vision: they are intentionally difficult to perceive, often sharing textures, colors, and patterns with their backgrounds. In video sequences, these objects may only become discernible through motion. Traditional VCOS methods frequently suffer from temporal instability or fail when motion ceases. SAM2, with its native video support and memory-based architecture, offers a potential solution to these long-standing issues.

Methodology

The evaluation of SAM2 for VCOS was conducted through three primary approaches: zero-shot evaluation (both automatic and semi-supervised), hybrid integration with MLLMs, and task-specific fine-tuning.

Overview of SAM2 evaluation modes for video camouflaged object segmentation, including automatic, semi-supervised, and hybrid configurations.
  1. Zero-Shot Evaluation: SAM2 was tested "out of the box." In automatic mode, the model's internal mask generator attempted to identify objects without external guidance. In semi-supervised mode, manual prompts (clicks, boxes, or masks) were provided to the model.
  2. Hybrid Integration: The study explored using Multimodal Large Language Models (MLLMs) like LLaVA as automated prompters and using SAM2 to refine the outputs of existing VCOS models.
  3. Task-Specific Adaptation: The SAM2-Tiny architecture was fine-tuned on the MoCA-Mask dataset to assess the impact of specialized training on camouflaged targets.

Key Insights

  • Prompting Strategy: Prompting at the middle frame of a video often yielded superior results compared to the initial frame, as SAM2 can propagate information bidirectionally and the middle frame is often more representative.
  • The MLLM Bottleneck: Current MLLMs struggle to provide accurate bounding boxes for highly camouflaged objects, limiting their utility as automated prompters.
  • Refinement Capabilities: SAM2 excels at "polishing" noisy or jittery masks produced by older VCOS-specific models, significantly improving final segmentation quality.

Key Results

The results indicate that SAM2, particularly in semi-supervised modes, establishes a new state-of-the-art for the VCOS task.

Quantitative comparison of SAM2 variants against state-of-the-art VCOS models on the CAD dataset, highlighting the superior performance of prompt-based SAM2.

On the CAD dataset, SAM2-Large achieved a 0.775 mIoU when provided with a mask prompt, a substantial improvement over previous models like ZoomNeXt (0.510 mIoU). Even the lightweight SAM2-Tiny model maintained high efficiency, running at approximately 47 FPS while delivering competitive results.

Conclusion

SAM2 marks a significant leap forward for video camouflaged object segmentation. While it still struggles with extremely low-contrast targets and complex occlusions, its ability to leverage sparse prompts and maintain temporal consistency makes it a powerful tool for the field. Future research will likely focus on enhancing the automatic discovery of camouflaged targets to reduce reliance on human-in-the-loop prompting.

Summary updated

BibTeX
@article{zhou2025when,
  author = {Yuli Zhou and Guolei Sun and Yawei Li and Guo-Sen Xie and Luca Benini and Ender Konukoglu},
  title = {{When SAM2 meets video camouflaged object segmentation: a comprehensive evaluation and adaptation}},
  journal = {Vis. Intell.},
  year = {2025},
  doi = {10.1007/s44267-025-00082-1},
}
Figure