Sa2VA: Marrying SAM2 with LLaVA for Dense Grounded Understanding of Images and Videos
Haobo Yuan, Xiangtai Li, Tao Zhang, Yueyi Sun, Zilong Huang, Shilin Xu, Shunping Ji, Yunhai Tong, Lu Qi, Jiashi Feng, Ming-Hsuan Yang
TL;DR
Sa2VA presents a unified framework that merges SAM-2 with a vision-language LLM to achieve dense, grounded understanding for both images and videos. By adopting a one-shot instruction-tuning approach and a decoupled architecture with a learnable [SEG] prompt, it enables tasks ranging from referring segmentation to visual question answering and grounded captioning. The paper introduces Ref-SAV, a large auto-labeled video grounding dataset, and demonstrates strong performance across image/video grounding benchmarks, video VQA, and conversational tasks, while remaining extensible to other VLMs. Its open-source release and detailed ablations position Sa2VA as a versatile baseline for pixel-level multimodal systems and dense grounding in real-world scenarios.
Abstract
This work presents Sa2VA, the first comprehensive, unified model for dense grounded understanding of both images and videos. Unlike existing multi-modal large language models, which are often limited to specific modalities and tasks, Sa2VA supports a wide range of image and video tasks, including referring segmentation and conversation, with minimal one-shot instruction tuning. Sa2VA combines SAM-2, a foundation video segmentation model, with MLLM, the advanced vision-language model, and unifies text, image, and video into a shared LLM token space. Using the LLM, Sa2VA generates instruction tokens that guide SAM-2 in producing precise masks, enabling a grounded, multi-modal understanding of both static and dynamic visual content. Additionally, we introduce Ref-SAV, an auto-labeled dataset containing over 72k object expressions in complex video scenes, designed to boost model performance. We also manually validate 2k video objects in the Ref-SAV datasets to benchmark referring video object segmentation in complex environments. Experiments show that Sa2VA achieves strong performance across multiple tasks, particularly in referring video object segmentation, highlighting its potential for complex real-world applications. In addition, Sa2VA can be easily extended into various VLMs, including Qwen-VL and Intern-VL, which can be updated with rapid process in current open-sourced VLMs. Code and models have been provided to the community.
