TL;DR
This paper introduces CustomVideoX, a novel framework for zero-shot personalized video generation that uses a reference image to guide a diffusion transformer. It tackles the challenge of creating videos that maintain subject identity and temporal consistency by introducing a 3D Reference Attention mechanism and a Time-Aware Attention Bias strategy, achieving state-of-the-art results on new and existing benchmarks.
What Problem Does This Paper Address?
Generating personalized videos, where the output video accurately reflects a specific subject from a reference image while adhering to a textual description, is a significant challenge. Existing methods often struggle with maintaining the subject's identity across frames (identity degradation) and ensuring smooth transitions between frames (temporal incoherence). This is partly due to inefficient exploitation of reference image features and a uniform application of these features throughout the video generation process, which doesn't account for the different needs of structural establishment versus motion refinement. The paper aims to bridge this gap by developing a more effective and temporally aware approach to personalized video generation.
Methods
CustomVideoX builds upon the Video Diffusion Transformer (VDiT) architecture. Its core innovations include:
- 3D Reference Attention: This mechanism allows for direct, simultaneous interaction between reference image features and all frames of the video, both spatially and temporally. This streamlines the process and avoids separate attention stages.
- Time-Aware Attention Bias (TAB): This strategy dynamically modulates the influence of reference image features over the denoising steps. It starts with minimal influence, increases during intermediate stages, and decreases in the final stages, promoting better temporal coherence and visual quality. This is achieved through a parabolic temporal mask.
- Entity Region-Aware Enhancement (ERAE): This module adaptively focuses on key entity regions in the reference image. It uses a differentiable thresholding operation to compute coarse entity regions, allowing for semantic grounding and controlled magnitude modulation without rigid spatial constraints.
- Parameter-Efficient Adaptation: The framework uses LoRA (Low-Rank Adaptation) to adapt the VDiT's vision expert transformer, allowing for efficient integration of reference image features without extensive retraining.
Datasets
- Training Data: The paper introduces a new, high-quality, customized single-object dataset for training. This dataset was created by filtering existing video data for resolution, aesthetic score, motion score, and temporal consistency. Main entities were extracted using Qwen2.5, and Grounding SAM was used for segmentation.
- Evaluation Benchmarks:
- DreamBench: An existing benchmark used for evaluation.
- VideoBench: A newly introduced benchmark comprising tasks for 50 different objects and over 100 prompts, with no overlap with the training set.
Key Insights and Ideas
- Temporal Dynamics Matter: The success of personalized video generation hinges on understanding and adapting to the temporal evolution of features, not just static image features. The Time-Aware Attention Bias is a key enabler of this.
- 3D Attention for Cohesion: Extending attention to a 3D space (across time and spatial dimensions) is crucial for directly linking reference image details to video frames, fostering better consistency.
- Adaptive Focus is Key: Simply injecting reference features uniformly is suboptimal. ERAE's ability to focus on relevant regions and TAB's dynamic modulation highlight the importance of adaptive feature injection.
- Efficiency Through LoRA: Using LoRA for adaptation significantly reduces trainable parameters and training complexity while maintaining performance, making personalized video generation more accessible.
Key Results
- CustomVideoX achieves state-of-the-art performance on both the DreamBench and the newly introduced VideoBench benchmarks.
- Quantitative Improvements:
- Outperforms the second-place method (MS-Diffusion) by an average of 0.52% in text alignment.
- Exceeds the second-place approach by 1.37% in CLIP-I and 1.72% in DINO-I for subject fidelity.
- Achieves the best results in Temporal Consistency (T.Cons).
- Qualitative Improvements: The paper presents visual examples demonstrating superior concept fidelity, caption semantic consistency, and subject identity preservation compared to other methods, including VideoBooth. The model successfully captures specific actions and maintains object appearance even during motion.
Limitations and Future Work
- Dataset Limitations: The paper notes that their training dataset does not include clothing categories, yet CustomVideoX demonstrates strong generalization capabilities. This suggests potential for further expansion.
- Future Work: The paper's contributions lay the groundwork for more advanced personalized video generation. Future work could explore expanding the dataset to include more diverse categories and further refining the adaptive mechanisms for even greater control and realism. The success of CustomVideoX also opens avenues for investigating more complex scenarios and interactions within generated videos.
Summary updated