VideoMaMa++: Temporally Consistent Video Matting via Preserve-and-Refine Token
Abstract
A diffusion-based video matting framework uses separate token streams and learnable embeddings to propagate mattes across chunks, improving temporal consistency and detail accuracy on long videos.
Diffusion-based video matting has recently emerged as a leading approach, leveraging video diffusion priors from internet-scale pretraining to achieve strong zero-shot generalization from limited synthetic data. However, the heavy compute of these diffusion backbones limits inference to a short chunk of just 6 to 24 frames, so even ordinary videos span multiple chunks. Because each chunk is matted independently from coarse mask guidance, existing methods fail to maintain consistency across chunk boundaries, producing flickering edges and discontinuous transparency. We address this with a mask-guided diffusion-matting framework built on two ideas. The RGB and mask conditioning are represented as separate token streams that interact through full spatio-temporal self-attention, letting the model adaptively combine fine RGB texture with coarse mask layout rather than committing to a fixed channel-wise fusion. On top of this, we propose a novel pair of learnable embeddings, the preserve token and the refine token, that act as a per-frame conditioning interface and enable a sliding-window inference scheme in which already-generated mattes are propagated across chunk boundaries for local temporal consistency, complemented by a globally shared reference anchor at every chunk to prevent error accumulation in long sequences without any additional training. Across standard video matting benchmarks and in-the-wild long footage, our framework outperforms prior diffusion-based methods in both fine-detail accuracy and temporal consistency, and uniquely maintains consistency across chunk boundaries on long videos.
Community
VideoMaMa++: Temporally Consistent Video Matting via Preserve-and-Refine Tokens
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Keep-or-Drop? Adaptive Tokenizer for Compact Video Representation (2026)
- StreamErase: Towards Ultra-Fast Streaming Video Erasing (2026)
- From Short Clips to Real-Time Streams: Identity-Aware Supervision and Context-Efficient Generation for Video Face Swapping (2026)
- FastVR: Efficient Streaming Video Restoration with One-Step Diffusion (2026)
- WorldCrafter: Consistent Video World Model with Implicit 3D-aware Memory (2026)
- EagleDepth: Efficient Fine-Grained Depth Estimation via Pixel Diffusion Decoder (2026)
- AlayaVista: Streaming World Modeling from Panoramic States to Perspective Video (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2610.26857 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper