CVAIMay 29, 2025

MAGREF: Masked Guidance for Any-Reference Video Generation with Subject Disentanglement

ByteDance
arXiv:2505.23742v28 citationsh-index: 24Has Code
Originality Incremental advance
AI Analysis

This work addresses the challenge of generating high-fidelity videos with multiple reference subjects for applications in content creation and AI-driven media, representing a significant but incremental advance in video synthesis.

The paper tackles the problem of any-reference video generation, which synthesizes videos from arbitrary reference subjects and text prompts, and introduces MAGREF to address identity inconsistency, subject entanglement, and copy-paste artifacts, achieving state-of-the-art performance on benchmarks.

We tackle the task of any-reference video generation, which aims to synthesize videos conditioned on arbitrary types and combinations of reference subjects, together with textual prompts. This task faces persistent challenges, including identity inconsistency, entanglement among multiple reference subjects, and copy-paste artifacts. To address these issues, we introduce MAGREF, a unified and effective framework for any-reference video generation. Our approach incorporates masked guidance and a subject disentanglement mechanism, enabling flexible synthesis conditioned on diverse reference images and textual prompts. Specifically, masked guidance employs a region-aware masking mechanism combined with pixel-wise channel concatenation to preserve appearance features of multiple subjects along the channel dimension. This design preserves identity consistency and maintains the capabilities of the pre-trained backbone, without requiring any architectural changes. To mitigate subject confusion, we introduce a subject disentanglement mechanism which injects the semantic values of each subject derived from the text condition into its corresponding visual region. Additionally, we establish a four-stage data pipeline to construct diverse training pairs, effectively alleviating copy-paste artifacts. Extensive experiments on a comprehensive benchmark demonstrate that MAGREF consistently outperforms existing state-of-the-art approaches, paving the way for scalable, controllable, and high-fidelity any-reference video synthesis. Code and model can be found at: https://github.com/MAGREF-Video/MAGREF

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes