Abstract
Generating customized videos featuring multiple specific subjects remains a significant challenge in text-to-video (T2V) synthesis. Existing models often struggle with subject-missing, attribute-binding, and action-binding errors when multiple entities are introduced. We present DisenStudio, a novel framework designed to master multi-subject customization through spatial-disentangled cross-attention and a motion-preserving finetuning strategy. By partitioning the latent space and utilizing motion priors, DisenStudio ensures high identity fidelity and logical action assignment without sacrificing temporal consistency.
Introduction
While large-scale text-to-video (T2V) models have demonstrated remarkable capabilities in generating high-quality cinematic content, personalizing these models for specific, user-defined subjects is the next frontier. The task becomes exponentially more difficult when a user wants to generate a video featuring multiple customized subjects—for instance, a specific pet dog and a specific cartoon character—interacting in a single scene.
Existing personalization methods, often adapted from text-to-image (T2I) techniques like DreamBooth, frequently fail in multi-subject video contexts. These failures typically manifest as "binding" problems: subjects may swap physical attributes, one subject may disappear entirely, or actions intended for one subject are incorrectly performed by another. DisenStudio addresses these issues by rethinking how the model processes spatial information and how it retains motion dynamics during the finetuning process.
The Challenges of Multi-Subject Personalization
The root cause of multi-subject failure in T2V models lies primarily in the cross-attention mechanism. In standard architectures, every word in a text prompt competes for every pixel in the video frame. Without explicit boundaries, the model becomes "confused" regarding which visual features belong to which subject. This leads to three primary failure modes:
- Subject-missing: The model fails to render one of the requested subjects.
- Attribute-binding: Visual features (e.g., fur color, clothing) bleed between subjects.
- Action-binding: The model confuses the temporal dynamics of the subjects (e.g., if the prompt specifies "the dog runs and the cat sleeps," both might run, or the roles might be reversed).
Methodology: The DisenStudio Framework
DisenStudio is built upon the AnimateDiff architecture and introduces two primary pillars to solve the disentanglement problem.
1. Spatial-Disentangled Cross-Attention (SDCA)
To prevent attribute and action bleeding, DisenStudio introduces Spatial-Disentangled Cross-Attention (SDCA). Instead of allowing the entire prompt to influence the entire frame, SDCA partitions the latent space into distinct regions. By splitting the prompt (e.g., "Subject A doing X" and "Subject B doing Y"), the model forces the attention for Subject A to remain within its designated spatial region. This ensures that the "running" action only attends to the pixels where the dog is located, physically separating the logical components of the scene.
2. Motion-Preserved Disentangled Finetuning
A common pitfall in T2V personalization is that finetuning on static images often "breaks" the model’s ability to generate motion, effectively turning a video generator into a static image generator. DisenStudio employs a three-pronged tuning strategy to mitigate this:
- Multi-subject Co-occurrence Tuning: The model is trained on synthesized images where multiple subjects are pasted into a single background, teaching the model that these entities can coexist.
- Masked Single-subject Tuning: Using segmentation masks, the model ensures that when it learns a specific subject's identity, it only updates the relevant pixels, preventing feature bleed into the background or other subjects.
- Multi-subject Motion-preserved Tuning: To maintain temporal dynamics, the authors introduce "motion prior data." This involves using videos of generic subjects (e.g., a random dog) performing actions during the finetuning process. This acts as a "temporal anchor," reminding the model how to handle movement while it learns the specific visual details of the new subjects.
Experimental Evaluation
To rigorously test the framework, the researchers introduced DisenStudioBench, a benchmark comprising 25 unique subjects and 15 multi-subject combinations. The evaluation involved 1,500 generated videos testing various actions, appearances, and backgrounds.
Quantitative Results
DisenStudio outperformed existing baselines, such as VideoDreamer and naive DreamBooth+AnimateDiff combinations, across several key metrics:
- Subject Fidelity: Achieved a DINO score of 0.391, indicating superior preservation of the subjects' unique identities.
- Text Alignment: Achieved a CLIP-T score of 0.247, demonstrating higher accuracy in following complex text prompts.
- Temporal Consistency: Maintained a T-Cons score of 0.963, ensuring the generated videos remain fluid without flickering or morphing.
Qualitative and Human Evaluation
In a user study involving 40 participants, DisenStudio was consistently ranked as the preferred method. Users particularly noted its ability to handle complex "storytelling" prompts where different subjects were required to perform distinct, non-overlapping tasks.
Conclusion and Future Work
DisenStudio demonstrates that the key to logical multi-subject video generation lies in spatial control. By physically separating where the model "looks" for each subject's description, the framework successfully resolves the attribute and action binding errors that plague previous models.
However, limitations remain. The model is currently constrained by the 512x512 resolution and 16-frame limit of its base architecture. Furthermore, while it handles localized actions well, complex large-scale motions—such as a character traversing a room and interacting with multiple objects—remain a challenge. Future research will focus on more dynamic, mask-based spatial controls that can evolve more fluidly over time.
Summary updated