Controllable Group Choreography using Contrastive Diffusion

Nhat Le, Tuong Do, Khoa Do, Hien Nguyen, Erman Tjiputra, Quang D. Tran, Anh Nguyen · DOI

Introduction

In the realm of generative AI, creating realistic human motion has seen significant progress, particularly for solo performances. However, group choreography presents a unique set of challenges that extend beyond individual movement. A successful group dance requires a delicate balance between consistency—where dancers are synchronized with the music and each other—and diversity, where individual dancers exhibit unique flourishes that prevent the performance from appearing robotic.

Existing generative methods often fail to strike this balance, resulting in either uncoordinated movements where dancers ignore the group context, or overly repetitive motions where every performer is a carbon copy of the next. Furthermore, many models struggle with long-term stability, leading to "drifting" or "freezing" in sequences longer than a few seconds. To address these issues, researchers have introduced Group Contrastive Diffusion (GCD), a framework designed to generate synchronized, expressive, and controllable group dance animations.

Methodology

The GCD framework leverages the power of diffusion models, treating dance generation as a denoising process that transforms random noise into structured motion. The architecture is built around a Music-Motion Transformer that incorporates several novel components to manage group dynamics.

Group Global Attention and Modulation

Drawing inspiration from generative adversarial networks like StyleGAN, the model utilizes a Group Modulation layer. This component takes a group embedding—derived from both the music and initial noise—and adaptively influences the motion features of every dancer in the set. This ensures that while individual movements may vary, the entire group maintains a unified stylistic "vibe."

The Contrastive Diffusion Strategy

The core innovation of this research is the Contrastive Encoder. During training, this encoder is taught to distinguish between "positive" samples (well-coordinated group dances) and "negative" samples (where dancers are randomly swapped from different groups). This contrastive learning approach defines a mathematical representation of what constitutes "good" coordination.

Controllable Guidance

During the sampling (generation) phase, the model uses the gradient of the Contrastive Encoder to steer the output. This is controlled by a single parameter, $\gamma$. By adjusting $\gamma$, users can precisely dictate the trade-off between synchronization and individual expression:

  • High Consistency: Dancers are perfectly in sync.
  • High Diversity: Dancers exhibit more individual variation and unique movements.

Experimental Results

The GCD model was trained and evaluated using AIOZ-GDance, the largest existing dataset for group dance, featuring 3D motions paired with 16 music genres. The model achieved state-of-the-art (SOTA) results across several key metrics:

  • Realism: In its "neutral" mode ($\gamma=0$), GCD achieved a Frechet Inception Distance (FID) of 31.16, a significant improvement over the previous SOTA, GDanceR (43.90).
  • Synchronization: In high-consistency mode, the Group Motion Correlation (GMC) reached 82.01, the highest reported for generated group dance to date.
  • Physical Plausibility: The model maintained a low Trajectory Intersection Frequency (TIF), indicating that the dancers successfully avoided collisions even as the group size increased.
  • Long-term Stability: Unlike auto-regressive models that accumulate errors over time, the diffusion approach generates the entire sequence at once. This allows for stable, high-quality motion in clips lasting 60 seconds or longer.

Qualitative user studies further confirmed these findings, with human evaluators consistently preferring GCD-generated dances for their realism, synchronization, and correspondence to the underlying music.

Conclusion and Future Work

Group Contrastive Diffusion represents a significant step forward in automated choreography, providing a mathematical "steering wheel" for group coordination. While the model excels at generating synchronized movement, the authors note that it does not yet account for complex physical interactions, such as dancers holding hands or performing lifts. Future research will likely explore "contact-aware" loss functions to enable more intimate partner dancing and focus on reducing the computational cost of diffusion-based training to make these tools more accessible to creators.

Summary updated

BibTeX
@article{le2023controllable,
  author = {Nhat Le and Tuong Do and Khoa Do and Hien Nguyen and Erman Tjiputra and Quang D. Tran and Anh Nguyen},
  title = {{Controllable Group Choreography using Contrastive Diffusion}},
  journal = {ACM Trans. Graphics},
  year = {2023},
  doi = {10.1145/3618356},
}
Figure