Abstract
This paper presents a novel retrieval-based framework for music-to-dance translation, specifically tailored for role-playing games (RPGs). Traditional generative models often struggle with motion degradation and lack of user interactivity. By reframing the task as a phrase-wise retrieval problem and employing self-supervised pre-training on a massive unlabeled music dataset, the proposed system achieves high-quality, Motion Capture (Mocap)-level animations. A "co-ascent" learning mechanism further ensures choreographic flow. Experimental results demonstrate that this approach significantly outperforms existing state-of-the-art methods in both subjective quality and rhythmic synchronization.
Introduction
Generating realistic dance movements from music is a complex cross-modality challenge. In the context of modern RPGs, players expect high-fidelity animations that can be customized. However, existing deep learning methods typically treat this as a supervised regression problem, attempting to generate raw motion coordinates frame-by-frame. This approach often leads to "motion degradation," where movements appear floaty or unrealistic compared to professional Mocap. Furthermore, these models require vast amounts of labeled music-dance pairs, which are expensive to produce, and their "black box" nature makes it nearly impossible for players to edit specific moves.
To address these issues, this research introduces a retrieval-based approach. Instead of generating motion from scratch, the system selects the most appropriate dance phrases from a high-quality library, ensuring that the output always maintains professional-grade physical realism.
Methodology
The core of the system is a two-stage pipeline designed to maximize the utility of both labeled and unlabeled data.
Self-Supervised Pre-Training
To overcome the scarcity of labeled music-dance data, the authors utilize a massive unlabeled music dataset (20x larger than the labeled set). A ResNet50-based encoder is pre-trained to learn robust music representations by reconstructing Mel spectrograms and predicting melody and rhythm. This stage ensures the model develops a deep "understanding" of musical structure before any dance labels are introduced.
Phrase-Wise Retrieval and Co-Ascent Learning
The system segments input music into semantic phrases based on rhythm and melody. An attention-based predictor then maps these music embeddings to specific dance phrase indices in a pre-recorded library. To ensure that the sequence of moves flows naturally, the authors implement a "co-ascent" learning mechanism using a first-order Markov model (a transition matrix). This matrix is jointly refined during training to ensure choreographic coherence between consecutive phrases.
Experimental Setup and Datasets
The study leverages two primary datasets:
- Labeled Dance-Music Dataset: Contains 1,101 unique dance phrases (~2.3 hours) and 600 songs (~33 hours) segmented into 16,773 phrases, with expert labels matching music to dance.
- Unlabeled Music Dataset: A collection of ~10,000 songs (~686 hours) providing nearly 300,000 music phrases for self-supervised learning.
Results and Evaluation
The proposed method was evaluated against previous state-of-the-art (SOTA) models, including Dancing to Music (Lee et al., 2019) and Dance Video Synthesis (Ren et al., 2020).
Qualitative and Subjective Analysis
Professional dancers and instructors rated the system's output at 4.04/5.0, a significant improvement over the previous SOTA (~3.39/5.0). Visual comparisons show that the retrieval-based method avoids the artifacts and unnatural poses common in generative streams.
Quantitative Performance
The model achieved a Top-1 retrieval accuracy of 19.8% and a Beat Overlap score of 0.417, indicating superior synchronization between the music's rhythm and the character's movements. Ablation studies confirmed that the inclusion of self-supervised pre-training alone improved retrieval accuracy by over 7%.
Conclusion
By treating choreography as a language of discrete phrases rather than a continuous coordinate stream, this research provides a robust solution for in-game dance synthesis. The retrieval-based approach ensures high-quality Mocap realism while allowing players to manually swap or edit predicted phrases. Future work will focus on improving rhythmic extraction for "smooth" or ambient music and developing more sophisticated motion in-betweening techniques to further refine the transitions between retrieved phrases.
Summary updated