Music-to-Dance Generation with Optimal Transport

Shuang Wu, Shijian Lu, Li Cheng

Abstract

Dance choreography for a piece of music is a challenging task, having to be creative in presenting distinctive stylistic dance elements while taking into account the musical theme and rhythm. It has been tackled by different approaches such as similarity retrieval, sequence-to-sequence modeling and generative adversarial networks, but their generated dance sequences are often short of motion realism, diversity and music consistency. In this paper, we propose a Music-to-Dance with Optimal Transport Network (MDOT-Net) for learning to generate 3D dance choreographies from music. We introduce an optimal transport distance for evaluating the authenticity of the generated dance distribution and a Gromov-Wasserstein distance to measure the correspondence between the dance distribution and the input music. This gives a well defined and non-divergent training objective that mitigates the limitation of standard GAN training which is frequently plagued with instability and divergent generator loss issues. Extensive experiments demonstrate that our MDOT-Net can synthesize realistic and diverse dances which achieve an organic unity with the input music, reflecting the shared intentionality and matching the rhythmic articulation.

Introduction

Generating realistic 3D dance from music is a complex cross-modal task. Previous attempts using sequence-to-sequence models or Generative Adversarial Networks (GANs) often struggle with three main issues: a lack of physical realism leading to "robotic" movements, mode collapse where the model produces limited motion diversity, and domain mismatch between auditory and kinematic spaces.

To address these challenges, we present MDOT-Net, a novel framework that replaces traditional adversarial losses with geometric distance measures. By leveraging Optimal Transport (OT) and Gromov-Wasserstein (GW) distances, the model achieves superior motion realism and rhythmic synchronization while avoiding the common training instabilities of standard GANs.

Methodology

The core innovation of MDOT-Net lies in its training objective, which moves away from standard discriminators toward geometric distance measures on manifolds.

Training Objectives

  • Optimal Transport (OT) for Authenticity: Instead of a standard GAN discriminator, the model uses an OT distance (specifically the Wasserstein distance) to measure how closely the distribution of generated dances matches the distribution of real human dances. This is computed on an Articulated Pose Manifold using geodesic distances on the $SO(3)$ rotation manifold, ensuring joint rotations remain physically plausible.
  • Gromov-Wasserstein (GW) for Correspondence: To compare audio to motion, we use the GW distance. Unlike standard OT, GW compares the relational structures of two different domains. It assesses whether the relationship between music snippets is similar to the relationship between corresponding dance sequences, allowing the model to learn rhythmic alignment without a shared embedding space.
The MDOT-Net architecture utilizes Optimal Transport and Gromov-Wasserstein distances for training.

Architecture and Data

The model uses an encoder to process musical features—including MFCC, chroma, and beats—alongside a noise vector. A Gated Recurrent Unit (GRU) decoder then translates these latent representations into a sequence of 3D poses represented by SMPL joint orientations.

We utilize a public dataset of 3D motion capture data featuring professional dancers in four styles: Waltz, Tango, Cha-cha, and Rumba. The raw data is fitted to the SMPL (Skinned Multi-Person Linear) model to ensure bone-length invariance and focus on rotational dynamics.

Results and Discussion

MDOT-Net was evaluated against several baselines using quantitative metrics and a user study with professional dancers.

Quantitative Performance

  • Realism and Consistency: In user studies, MDOT-Net achieved a realism score of 1.2 (lower is better ranking), significantly outperforming the next best baseline (3.3).
  • FID (Fréchet Inception Distance): MDOT-Net achieved an FID of 25.6, compared to 43.4 for previous state-of-the-art methods, indicating the generated dance distribution is much closer to real human movement.
  • Diversity: The model achieved a diversity score of 60.1, nearly reaching the ground truth of 63.5, proving it can generate varied dances for the same music without collapsing.
  • Beat Matching: It achieved a beat-matching accuracy of 63.2% to 73.1% across different styles, mimicking the performance range of actual human dancers.
Qualitative comparison of Tango dance sequences generated by MDOT-Net versus baseline methods.

Key Insights

The use of Gromov-Wasserstein distance provides a "relational alignment" that recognizes we don't need to map music and dance to the same coordinates; we just need their internal rhythms to match. Furthermore, working directly with 3D rotations on a manifold leads to more natural-looking turns and extensions compared to 2D skeletal approaches.

Conclusion

MDOT-Net demonstrates that framing cross-modal generation as an optimization of transport distances provides a stable and effective training objective. While currently focused on four specific dance styles, future work could explore generalization to freestyle movements and end-to-end learning from raw audio waveforms. This optimal transport-based approach holds promise for other cross-domain sequence learning tasks, such as sign language generation or lip-syncing.

Summary updated

Abstract

Dance choreography for a piece of music is a challenging task, having to be creative in presenting distinctive stylistic dance elements while taking into account the musical theme and rhythm. It has been tackled by different approaches such as similarity retrieval, sequence-to-sequence modeling and generative adversarial networks, but their generated dance sequences are often short of motion realism, diversity and music consistency. In this paper, we propose a Music-to-Dance with Optimal Transport Network (MDOT-Net) for learning to generate 3D dance choreographies from music. We introduce an optimal transport distance for evaluating the authenticity of the generated dance distribution and a Gromov-Wasserstein distance to measure the correspondence between the dance distribution and the input music. This gives a well defined and non-divergent training objective that mitigates the limitation of standard GAN training which is frequently plagued with instability and divergent generator loss issues. Extensive experiments demonstrate that our MDOT-Net can synthesize realistic and diverse dances which achieve an organic unity with the input music, reflecting the shared intentionality and matching the rhythmic articulation. Sample results are found at https://www.youtube.com/watch?v=dErfBkrlUO8.
BibTeX
@inproceedings{wu2022music,
  author = {Shuang Wu and Shijian Lu and Li Cheng},
  title = {{Music-to-Dance Generation with Optimal Transport}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/691},
}
Figure