Align Your Rhythm: Generating Highly Aligned Dance Poses with Gating-Enhanced Rhythm-Aware Feature Representation

Congyi Fan, Jian Guan, Xuanjia Zhao, Dongli Xu, Youtian Lin, Tong Ye, Pengming Feng, Haiwei Pan

TL;DR

This paper introduces Danceba, a novel framework for generating highly synchronized 3D dance movements from music. Danceba achieves this by introducing novel modules for rhythm extraction and attention, and by leveraging the Mamba architecture for efficient motion modeling, leading to more natural, diverse, and rhythmically accurate dances.

What Problem Does This Paper Address?

Generating realistic and expressive 3D dance animations that precisely follow music is a challenging task with applications in virtual reality, gaming, and film. Existing methods often struggle with accurately capturing and utilizing the rhythmic structure of music, leading to dances that are not well-aligned with the beat or exhibit unnatural motion dynamics. Some approaches impose rigid controls that limit diversity, while others fail to capture global rhythmic patterns effectively, resulting in a misalignment between music and motion.

Methods

Danceba tackles this problem with a three-pronged approach:

  • Phase-Based Rhythm Extraction (PRE): This module aims to decouple rhythmic information from semantic musical content. It uses the Short-Time Fourier Transform (STFT) to extract phase angles from music, which inherently capture temporal shifts and periodic structures. This "rhythm-rich" information is then processed and fused with the original music features.
  • Temporal-Gated Causal Attention (TGCA): To improve the alignment between music and dance, TGCA enhances traditional cross-conditional causal attention. It introduces a gating mechanism that prioritizes global rhythmic structures, ensuring that historical musical information more effectively guides the prediction of future dance poses. This helps prevent the error accumulation seen in prior methods.
  • Parallel Mamba Motion Modeling (PMMM): Recognizing that dance is a complex spatio-temporal sequence and that upper and lower body movements have distinct dynamics, PMMM uses parallel Mamba architectures. This allows for separate modeling of upper and lower body motions, while also incorporating the rhythm-aware features from TGCA. Mamba's efficient sequence modeling capabilities are leveraged to capture both local transitions and global rhythmic variations, leading to more fluid and diverse motion.

Datasets

The paper uses the AIST++ dataset for training and evaluation. This is a widely used benchmark for music-driven dance generation, consisting of 3D pose sequences recorded at 60 FPS. The authors follow standard practices for data splitting and evaluation.

Key Insights and Ideas

  • Rhythm is more than just beats: The paper emphasizes that accurately capturing the phase and periodicity of music is crucial for generating natural-feeling dances, not just identifying beat events.
  • Gating is key for attention: By introducing a gating mechanism within the attention module, the model can selectively focus on the most relevant rhythmic cues, leading to better alignment and preventing common misalignment issues.
  • Parallel processing for body parts: Separating the modeling of upper and lower body movements is essential for capturing their distinct dynamics and ensuring overall coherence.
  • Mamba's efficiency for long sequences: The choice of Mamba over Transformers is motivated by its superior performance in modeling long, complex sequences, which is directly applicable to dance generation.

Key Results

Danceba demonstrates state-of-the-art performance across several metrics:

  • Motion Quality: Achieved an exceptional FIDk score, improving by 48.68% over the second-best method. FIDg was also competitive.
  • Motion Diversity: Outperformed existing methods in both Divk (7.0% improvement) and Divg (16.3% improvement), even surpassing ground truth in some aspects.
  • Beat Alignment: Achieved the best Beat Align Score (BAS), improving by 12.0% over the previous best, indicating highly accurate synchronization with musical rhythms.
  • Qualitative results show generated dances that are more natural, diverse, and better aligned with music compared to prior methods like Bailando.

Limitations and Future Work

The authors acknowledge two main limitations:

  • Music Feature Encoding: Danceba uses a simple linear layer for music feature encoding, which might not fully capture nuanced musical structures. Future work could explore using pre-trained audio models (e.g., Jukebox, MERT) for richer feature extraction.
  • 3D Pose Quantization: The use of Pose VQ-VAE from Bailando limits the encoding space, potentially hindering motion diversity. Exploring hierarchical quantization or adaptive codebook learning could improve motion quality.

Future work could also involve extending the framework to style-conditioned motion synthesis and integrating more advanced quantization techniques.

Summary updated

BibTeX
@inproceedings{fan2025align,
  author = {Congyi Fan and Jian Guan and Xuanjia Zhao and Dongli Xu and Youtian Lin and Tong Ye and Pengming Feng and Haiwei Pan},
  title = {{Align Your Rhythm: Generating Highly Aligned Dance Poses with Gating-Enhanced Rhythm-Aware Feature Representation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure