VideoMaMa: Mask-Guided Video Matting via Generative Prior
Sangbeom Lim, Seoung Wug Oh, Jiahui Huang, Heeji Yoon, Seungryong Kim, Joon-Young Lee
TL;DR
VideoMaMa leverages diffusion priors to convert binary segmentation masks into high-quality alpha mattes for videos, achieving strong zero-shot generalization to real footage despite synthetic training data. A two-stage training regime and semantic knowledge injection enable both detailed spatial matting and temporal coherence, while mask augmentation prevents trivial copying of inputs. The MA-V dataset, created by pseudo-labeling SA-V masks with VideoMaMa, provides over 50K real-world videos and enables substantial improvements when fine-tuning SAM2 to SAM2-Matte, yielding robust in-the-wild matting performance. Together, VideoMaMa and MA-V demonstrate a scalable path to high-quality video matting and set the stage for broader data-driven matting research.
Abstract
Generalizing video matting models to real-world videos remains a significant challenge due to the scarcity of labeled data. To address this, we present Video Mask-to-Matte Model (VideoMaMa) that converts coarse segmentation masks into pixel accurate alpha mattes, by leveraging pretrained video diffusion models. VideoMaMa demonstrates strong zero-shot generalization to real-world footage, even though it is trained solely on synthetic data. Building on this capability, we develop a scalable pseudo-labeling pipeline for large-scale video matting and construct the Matting Anything in Video (MA-V) dataset, which offers high-quality matting annotations for more than 50K real-world videos spanning diverse scenes and motions. To validate the effectiveness of this dataset, we fine-tune the SAM2 model on MA-V to obtain SAM2-Matte, which outperforms the same model trained on existing matting datasets in terms of robustness on in-the-wild videos. These findings emphasize the importance of large-scale pseudo-labeled video matting and showcase how generative priors and accessible segmentation cues can drive scalable progress in video matting research.
