Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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

Yufan Deng, Yuanyang Yin, Xun Guo, Yizhi Wang, Jacob Zhiyuan Fang, Shenghai Yuan, Yiding Yang, Angtian Wang, Bo Liu, Haibin Huang, Chongyang Ma• 2025

Related benchmarks

TaskDatasetResultRank
Multi-reference Video GenerationS2VTime
t-L20.283
18
Single-ID Video GenerationSingle-ID (evaluation)
ID-Sim59.5
13
Subject-to-videoOpenS2V Eval
Total Score52.51
11
Reference-to-Video GenerationOpenS2V-Eval 2025a
Total Score52.51
9
subject-to-video generationOpenS2V
Total52.51
8
Multi-subject Video GenerationMulti-subject Evaluation Dataset
ID-Sim54.2
7
Subject-consistent Video GenerationUser Study
Subject Consistency3.25
7
Identity-consistent video generationHuman-centric facial motion (test)
AES0.569
6
Multi-subject Video GenerationMoFu-Bench 1.0 (test)
Aesthetics Score0.369
5
Subject-driven video generationObject-Centric (OC) scenes
DINO Sim (V->R)0.637
5
Showing 10 of 12 rows

Other info

Code

Follow for update