Abstract
Dancing with music is an essential human art form to express emotion. Due to the high temporal-spatial complexity, long-term 3D realist dance generation synchronized with music is challenging. Existing methods suffer from the freezing problem when generating long-term dances due to error accumulation and training-inference discrepancy. To address this, we design a conditional diffusion model, LongDanceDiff, for this sequence-to-sequence long-term dance generation, addressing the challenges of temporal coherency and spatial constraint. LongDanceDiff contains a transformer-based diffusion model, where the input is a concatenation of music, past motions, and noised future motions. This partial noising strategy leverages the full-attention mechanism and learns the dependencies among music and past motions. To enhance the diversity of generated dance motions and mitigate the freezing problem, we introduce a mutual information minimization objective that regularizes the dependency between past and future motions. We also address common visual quality issues in dance generation, such as foot sliding and unsmooth motion, by incorporating spatial constraints through a Global-Trajectory Modulation (GTM) layer and motion perceptual losses, thereby improving the smoothness and naturalness of motion generation. Extensive experiments demonstrate a significant improvement in our approach over the existing state-of-the-art methods.
Introduction: The Challenge of Long-Term Dance
Generating realistic 3D dance sequences synchronized with music is a significant challenge in computer vision and graphics. While short-term generation has seen success, long-term sequences (e.g., up to 2 minutes) often suffer from two primary issues: the freezing problem and abrupt transitions.
Autoregressive models like FACT tend to accumulate errors over time, leading to a "freezing" effect where the character eventually stops moving or performs tiny, jittery motions. Conversely, non-autoregressive models like EDGE generate independent chunks of motion, which often results in unnatural "teleportation" or jerky transitions between segments. LongDanceDiff is designed to bridge this gap by maintaining temporal coherency without sacrificing motion continuity.
The LongDanceDiff Framework
To address these challenges, we introduce LongDanceDiff, a conditional diffusion model designed for sequence-to-sequence long-term dance generation. The core of the model is a transformer-based architecture that utilizes a unique partial noising strategy.
Partial Noising and Full Attention
Unlike standard diffusion models that noise the entire sequence, LongDanceDiff only injects noise into the future dance sequence ($d_f$). The music ($m$) and the past motion ($d_p$) are provided as clean conditions. By concatenating these elements and feeding them into a Transformer decoder, the model leverages a full-attention mechanism to learn complex dependencies between the rhythm of the music and the context of past movements simultaneously.
Mutual Information Minimization
A key innovation in LongDanceDiff is the introduction of a Mutual Information (MI) minimization objective. By regularizing the dependency between past and future motions, the model is discouraged from simply copying previous frames. This "creativity regularizer" forces the model to generate diverse and dynamic movements, effectively mitigating the freezing problem that stems from over-deterministic predictions.
Enhancing Visual Realism: GTM and Perceptual Losses
To fix common artifacts like "foot sliding," we developed the Global-Trajectory Modulation (GTM) layer. This layer learns the interdependence between a character's global trajectory (movement across the floor) and their local joint rotations. Combined with motion perceptual losses that penalize unrealistic velocities and joint positions, the GTM layer ensures that the generated dance is not only synchronized with music but also physically plausible.
Experimental Evaluation
We evaluated LongDanceDiff on the AIST++ dataset, the gold standard for music-conditioned dance, containing nearly 1,000 paired clips across 10 genres.
- Freezing Rate: LongDanceDiff achieved a freezing rate of 24.2%, a significant improvement over the 39.0% seen in the autoregressive FACT baseline.
- Diversity: Our model achieved the highest diversity scores (12.01 in kinematic features), demonstrating its ability to generate a wide variety of moves for the same music.
- Human Preference: In user studies, evaluators preferred LongDanceDiff over state-of-the-art baselines like FACT and Bailando in more than 80% of comparisons.
Conclusion
LongDanceDiff represents a significant step forward in long-term 3D dance generation. By combining a conditional diffusion framework with MI minimization and spatial constraints, it produces smooth, diverse, and realistic dance sequences that remain synchronized with music over extended periods. While a gap still exists between AI-generated sequences and human "ground truth," this model provides a robust foundation for future choreography AI.
Summary updated