Skip to main content
QUICK REVIEW

[Paper Review] VideoMaMa: Mask-Guided Video Matting via Generative Prior

Sangbeom Lim, Seoung Wug Oh|arXiv (Cornell University)|Jan 20, 2026
Image Enhancement TechniquesComputer Science0 citations
TL;DR

VideoMaMa converts input binary masks into high-quality alpha mattes for video matting by leveraging pretrained video diffusion priors, enabling zero-shot real-world generalization and scalable pseudo-labeling. It also introduces MA-V, a large-scale real-video matting dataset built from MA-V annotations.

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.

Motivation & Objective

  • Bridge the synthetic-to-real domain gap in video matting by leveraging generative priors from diffusion models.
  • Develop a mask-guided matting model that produces pixel-accurate alpha mattes from coarse segmentation masks.
  • Create a scalable pipeline to generate large-scale video matting annotations from segmentation masks.
  • Demonstrate that large-scale pseudo-labeled data improves matting robustness on in-the-wild videos.

Proposed method

  • Build VideoMaMa on top of Stable Video Diffusion with mask-conditioned latent inputs to generate alpha mattes in a single-step forward pass.
  • Encode video frames, input masks, and alpha mattes into a shared latent space via a VAE, enabling efficient spatiotemporal processing.
  • Introduce mask augmentation (polygon degradation and downsampling degradation) to prevent copy-paste behavior and promote appearance-guided matting.
  • Adopt a two-stage training strategy: (i) train spatial layers at high resolution for fine details, (ii) train temporal layers at lower resolution for temporal coherence.
  • Inject semantic knowledge by aligning diffusion features with DINOv3 representations to improve boundary localization and tracking.
  • Train with a pixel-level matting loss and a Laplacian-edge-preserving component to encourage sharp boundaries.
  • Apply a two-tower inference regime using concatenated frame, mask, and noise latents to predict alpha latents, followed by VAE decoding.
Figure 2 : Overview of VideoMaMa architecture. RGB frames and guide masks are processed through video diffusion U-Net layers to generate high-quality video mattes. Semantic injection with DINO features is applied during training.
Figure 2 : Overview of VideoMaMa architecture. RGB frames and guide masks are processed through video diffusion U-Net layers to generate high-quality video mattes. Semantic injection with DINO features is applied during training.

Experimental results

Research questions

  • RQ1How can pretrained diffusion priors be used to produce high-quality video mattes from coarse masks in a zero-shot real-world setting?
  • RQ2Can a mask-conditioned diffusion model be trained in two stages to achieve both high spatial detail and temporal coherence in video matting?
  • RQ3Does semantic feature alignment (e.g., with DINOv3) improve matte quality and boundary handling in video matting?
  • RQ4Can large-scale pseudo-labeled data (MA-V) improve downstream video matting models when fine-tuned on real-world footage?

Key findings

  • VideoMaMa achieves strong zero-shot generalization to real-world videos despite being trained only on synthetic data.
  • MA-V provides over 50k real-world videos with high-quality matting annotations, enabling effective training of matting models.
  • SAM2-Matte trained on MA-V outperforms the same model trained on existing matting datasets in robustness on in-the-wild videos.
  • Large-scale pseudo-labeling with VideoMaMa substantially boosts matting performance, and MA-V improves both matting quality and tracking robustness when used for fine-tuning.
  • VideoMaMa demonstrates robustness across diverse mask sources, including synthetic degradations and model-generated masks (e.g., SAM2).
  • Two-stage training plus semantic injection (DINO features) are beneficial, improving boundary and temporal consistency.
Figure 3 : Examples of mask augmentation methods. Polygon and Downsampling degradation are applied at weak and strong augmentation levels.
Figure 3 : Examples of mask augmentation methods. Polygon and Downsampling degradation are applied at weak and strong augmentation levels.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.