TL;DR
DanceTogether is the first end-to-end diffusion framework designed specifically for multi-person video generation that prevents "identity drifting"—the common glitch where characters swap appearances during complex interactions. By introducing a novel MaskPoseAdapter that binds identity to motion at every step, the model can generate photorealistic, long-form videos of people (and even robots) dancing, skating, or wrestling while keeping their unique looks perfectly consistent.
The Challenge: Identity Drift in Multi-Actor Video
Controllable video generation (CVG) has seen massive leaps recently, but most systems are "lonely"—they excel at animating a single person but fall apart when two or more actors interact.
The primary challenge is identity drift and appearance bleeding. When two actors cross paths, exchange positions, or occlude one another, existing models often get confused, causing the actors' clothes or facial features to "bleed" into each other. This happens because most models rely on frame-wise pipelines or noisy pose signals that don't explicitly track which motion belongs to which person. DanceTogether aims to bridge this gap, moving CVG from single-subject choreography to complex, multi-actor interactions.
How DanceTogether Works
The researchers built DanceTogether on top of the StableAnimator architecture but introduced critical components to handle the multi-person regime:
- MaskPoseAdapter: This is the core innovation. Instead of relying solely on fragile pose estimates (which look like stick-figure skeletons), this module fuses tracking masks (the "who") with pose heatmaps (the "how"). It uses a gated fusion mechanism to weigh these signals and a cross-person attention layer to handle occlusions. This ensures that the identity of a specific person is "locked" to their specific movements throughout the entire denoising process.
- MultiFace Encoder: To handle multiple people efficiently, the authors extended single-person identity encoding. It distills identity tokens from a reference image for every actor and injects them into the U-Net's cross-attention layers. This shared-weight design allows the model to understand inter-identity relationships without a massive increase in parameters.
- Masked Reconstruction Loss: During training, the model uses a loss function that prioritizes the face and body regions of the actors, forcing the neural network to focus its "attention" on preserving the most identity-critical parts of the video.
New Datasets for Complex Interactions
To train and evaluate at scale, the paper introduces several high-quality resources to the community:
- PairFS-4K: A massive new dataset containing 26 hours of dual-skater footage with over 7,000 distinct identities. This provides the "interaction-rich" data needed for training.
- HumanRob-300: A one-hour dataset of humanoid-robot interactions, used to demonstrate how the model can generalize beyond just human-to-human video.
- TogetherVideoBench: A comprehensive new benchmark featuring the DanceTogEval-100 test suite, which covers diverse activities like boxing, yoga, and figure skating.
Key Results and Visual Quality
DanceTogether significantly outperformed all existing baselines on the new TogetherVideoBench.
As seen in the visual comparisons against state-of-the-art methods like Animate Anyone, HumanVid, UniAnimate, and Stable Animator, DanceTogether maintains crisp boundaries and consistent clothing even during complex physical interactions like lifts and spins.
Quantitatively, the improvements are substantial:
- Tracking Accuracy: It achieved a +12.6 increase in HOTA (Higher-Order Tracking Accuracy) and a +7.1 increase in IDF1, proving it is far better at maintaining identity over time.
- Motion Fidelity: It reduced pose error (MPJPE) by a staggering 69% compared to the strongest prior arts.
- Visual Quality: Perceptual metrics like FVD (Fréchet Video Distance) improved significantly (dropping from 29.0 to 17.1 in masked regions), indicating much higher photorealism.
- Efficiency: Despite the complexity, it maintains a competitive inference speed of 0.88 fps on an NVIDIA A100 GPU.
Limitations and Future Work
While a major step forward, the authors acknowledge several hurdles:
- Scaling to Crowds: The current framework is optimized for two actors. Scaling to large groups would require significantly more computational power and perhaps a more hierarchical approach to character conditioning.
- Detector Dependency: The quality of the output is still heavily dependent on the accuracy of the underlying pose and mask detectors. If the "driving" signal is too messy, the video quality degrades.
- Static Cameras: The model currently assumes a mostly static camera and simple backgrounds. Handling dynamic camera movements in cluttered, real-world environments remains a challenge for future iterations.
Summary updated