TL;DR
MagicID is a framework that brings Direct Preference Optimization (DPO) to personalized text-to-video generation. By abandoning traditional static-image self-reconstruction in favor of a hybrid preference-learning scheme with explicit identity and motion rewards, it prevents the identity drift and motion collapse typical of customized video models.
What Problem Does This Paper Address?
Personalizing video generation—synthesizing high-fidelity videos of a specific person performing various actions based only on a few reference photos—is notoriously difficult.
Standard approaches adapt text-to-image customization techniques (such as DreamBooth or LoRA) and train the model via self-reconstruction on static images. The authors observe two severe failure modes arising from this setup:
- Identity degradation across long videos: Single images lack temporal dynamics; as the generated clip gets longer (e.g., 60+ frames), the subject's face quickly drifts away from the target identity.
- Dynamic motion collapse: Because the model spends training time reconstructing static images, it suffers a severe distribution shift, progressively losing the ability to generate natural camera and subject motion.
While tuning-free adapter-based methods (e.g., ConsisID, ID-Animator) exist, they require massive human video training sets and often exhibit unnatural, rigid "copy-paste" facial artifacts during complex motions.
Methods
Instead of forcing models to memorize static reference photos, MagicID frames video customization as Direct Preference Optimization (DPO) using pairwise video comparisons:
[Reference Images + Base T2V Model]
│
▼
Candidate Video Pool
(Static "Inflated" Videos + Initial/Base T2V Generations)
│
▼
Customized Video Scoring
(Identity: ArcFace | Motion: RAFT Flow | Semantics: Qwen-VL)
│
▼
Hybrid Pair Selection
├── Stage 1: Identity-Preferred Pairs (Inflated Stills vs. Base Video)
└── Stage 2: Dynamic-Preferred Pairs (Pareto Frontier Sampling)
│
▼
Hybrid Preference Optimization (HPO)
(Diffusion/DiT DPO Loss)
- Preference Data Pool: The repository blends three sources:
- $V_t$: Videos generated by a preliminary LoRA fine-tuned model.
- $V_s$: Videos generated by the un-tuned base video model (preserving original motion distribution).
- $V_{id}$: Static videos created by "inflating" (repeating) reference still photos across frames.
- Multi-Reward Video Evaluation: Each candidate video is scored across three dimensions (1–10 scale):
- Identity Consistency ($R_{id}$): Evaluated against reference images using a pretrained ArcFace facial recognition encoder.
- Dynamic Degree ($R_{dy}$): Average optical flow magnitude calculated via RAFT.
- Semantic/Prompt Alignment ($R_{sem}$): Evaluated with Qwen-VL.
- Hybrid Pair Selection:
- Stage 1 (Identity-focused): Pairs inflated reference videos ($V_{id}$) against base video clips ($V_s$) where identity gap is large, establishing a strong identity prior.
- Stage 2 (Dynamic-focused): Employs non-dominated sorting (NSGA-II) over the score triad $(R_{id}, R_{dy}, R_{sem})$ to extract upper and lower Pareto frontiers, ensuring dynamic gains do not compromise identity.
- Hybrid Preference Optimization (HPO): Derives an evidence lower-bound (ELBO) mapping KL divergence to diffusion noise-prediction errors, directly updating the base DiT (HunyuanVideo) without needing a separate reward model at inference.
Datasets
- Base Video Backbone: Built upon HunyuanVideo DiT.
- Customization Inputs: A few static photos per identity (or single-image inputs for comparison against tuning-free methods).
- Evaluation Benchmark:
- 40 diverse demographic identities evaluated against 40 action-specific text prompts (generating 61-frame videos).
- Evaluated using VBench for dynamic degree and text fidelity (CLIP-T), alongside ArcFace embeddings for facial identity similarity, CLIP-I, Temporal Consistency, and Fréchet Video Distance (FVD).
Key Insights and Ideas
- Still images can serve as positive preference anchors: Repeating a still photo into a pseudo-video clip creates an identity "winner" that lets preference optimization anchor identity without requiring pre-existing ground-truth video of the target subject.
- Pareto-frontier selection avoids the identity-motion trade-off: Maximizing identity similarity alone encourages freezing the character, while maximizing motion alone degrades facial features. Selecting preference pairs along the Pareto front trains the model to respect both objectives simultaneously.
- Eliminating self-reconstruction preserves DiT priors: Aligning by relative preference prevents the parameter distortion and catastrophic forgetting common in standard diffusion fine-tuning.
Key Results
MagicID outperforms both tuning-based baselines (DreamBooth, MagicMe) and large-scale video adapter models (ID-Animator, ConsisID):
- Identity Similarity (Face Sim $\uparrow$): Reaches 0.600, compared to ConsisID (0.482), ID-Animator (0.433), MagicMe (0.322), and DreamBooth (0.276).
- Motion Dynamics (Dyna. Deg. $\uparrow$): Achieves 14.42, outperforming ID-Animator (10.33) and ConsisID (9.26), and vastly exceeding DreamBooth (5.690) and MagicMe (5.332).
- Visual Quality & Distribution (FVD $\downarrow$): Achieves 1228.33 (compared to >1420 for tuning baselines and >1550 for adapter baselines).
- Visual Realism: Avoids the floating head / mask boundary artifacts present in tuning-free baselines when generating complex occlusions (e.g., helmets, heavy smoke).
Limitations and Future Work
- Single-ID Limitation: The current pipeline assumes a single primary identity per video and cannot yet customize scenes involving multiple target individuals.
- Future Directions: Incorporating multi-person detection and distinct identity assignment rewards to handle group interactions and multi-subject narrative videos.
Summary updated