Separate to Collaborate: Dual-Stream Diffusion Model for Coordinated Piano Hand Motion Synthesis

Zihao Liu, Mingwen Ou, Zunnan Xu, Jiaqi Huang, Haonan Han, Ronghui Li, Xiu Li

TL;DR

Generating realistic bimanual piano performances from audio requires balancing hand independence with precise coordination. This paper introduces a "separate to collaborate" dual-stream diffusion framework that models each hand independently using distinct noise initializations, while synchronizing them through a novel asymmetric attention mechanism. The resulting framework synthesizes highly realistic, expressive, and well-coordinated piano hand motions that outperform existing state-of-the-art methods.

What Problem Does This Paper Address?

Automating the synthesis of 3D hand motions from piano audio is an intricate challenge in computer animation and embodied AI. Piano playing demands a high level of bimanual coordination: the left and right hands often perform entirely different tasks (e.g., harmony vs. melody) with distinct rhythms and trajectories, yet they must remain perfectly synchronized in time and space.

Existing data-driven methods typically adopt a single-stream architecture, modeling both hands jointly as a unified representation. This strong coupling assumption tends to average out the unique kinematic signatures of each hand. As a result, previous models frequently suffer from temporal discontinuity, unnatural finger deformations, and a lack of fine-grained control over individual hand movements.

Methods

To address these limitations, the authors propose a dual-stream diffusion-based framework based on a "separate to collaborate" strategy.

Figure 2. The overall framework of our method. It consists of three main modules: (1) Position Predictor, which predicts hand positions from piano audio; (2) Hand-Coordinated Asymmetric Attention (HCAA), applied to the intermediate U-Net features after a Multi-Head Self-Attention (MHSA) layer, enabling asymmetric feature interaction between the two hands. (3) Decoupled Gesture Generator, which employs two diffusion models to generate motions for the left and right hands.

The architecture consists of three main components:

  1. Decoupled Position Predictor: A two-stage pipeline where global 3D hand positions ($P_L, P_R$) are first predicted directly from the audio features. Crucially, a position-sharing mechanism feeds the predicted locations of both hands into both generation streams, establishing a shared spatial context.
  2. Decoupled Gesture Generator: Instead of using a single diffusion model, the framework deploys two independent diffusion models to generate gestures for the left and right hands separately. This is achieved via dual-noise initialization, where each stream samples its own distinct latent noise vector, preserving independent hand dynamics.
  3. Hand-Coordinated Asymmetric Attention (HCAA): To prevent the independent streams from drifting out of sync, the authors introduce the HCAA module. Operating within the intermediate layers of the denoising U-Net, HCAA acts similarly to a differential amplifier in electrical engineering. It subtracts the attention responses of the opposite hand to suppress shared, symmetric ("common-mode") noise while amplifying the unique, asymmetric features of each hand.

Datasets

The model was trained and evaluated on PianoMotion10M, currently the largest large-scale piano motion dataset. It contains:

  • 1,966 piano performance videos (116 hours of audio).
  • Synchronized MIDI files.
  • 10 million corresponding 3D hand pose annotations across 14 different subjects.

The dataset was split into 7,519 clips for training, 821 for validation, and 8,399 for testing.

Key Insights and Ideas

  • The Constraint of Shared Noise: Forcing both hands to share the same initial noise vector in a single-stream model imposes artificial constraints on generation. Giving each hand its own independent noise space unlocks the flexibility needed to capture fine-grained, hand-specific finger movements.
  • Common-Mode Noise Suppression: During the iterative diffusion denoising process, intermediate feature representations carry significant noise. Standard cross-attention mechanisms often introduce redundant or misleading information. By explicitly calculating the difference between the hands' attention responses, the model filters out shared noise and focuses purely on essential coordinated patterns.

Key Results

The proposed method was compared against competitive baselines, including EmoTalk, LivelySpeaker, and the original PianoMotion benchmark.

  • Quantitative Improvements: The dual-stream model achieved a significant reduction in Frechet Inception Distance (FID), dropping to 3.012 compared to PianoMotion's 3.281. It also demonstrated superior performance in Frechet Gesture Distance (FGD) and Position Distance (PD), indicating higher spatial accuracy and more realistic gesture distributions.
  • Qualitative Realism: Visualizations showed that the model successfully avoided the finger artifacts and trajectory inaccuracies common in baseline methods.
  • User Study: A user study with 15 participants revealed a strong preference for the proposed method, scoring 88% in overall realism, 83% in positional accuracy, and 60% in naturalness over the baseline PianoMotion model.

Limitations and Future Work

Despite its strong performance, the authors note several areas for improvement:

  • Audio-Only Dependency: The current model relies solely on audio. Real piano playing is highly influenced by a performer's physical traits (hand size) and personal expression habits. Future work will explore integrating multi-modal inputs like visual recordings or style embeddings.
  • Handling Rapid Tempos: The model occasionally produces abnormal hand postures or positional inaccuracies during complex musical pieces with rapid tempo changes.
  • Inference Speed: Like most diffusion models, the iterative denoising process is computationally expensive, limiting its use in real-time applications. Incorporating accelerated sampling techniques (e.g., Latent Consistency Models) is a suggested next step.

Summary updated

BibTeX
@inproceedings{liu2025separate,
  author = {Zihao Liu and Mingwen Ou and Zunnan Xu and Jiaqi Huang and Haonan Han and Ronghui Li and Xiu Li},
  title = {{Separate to Collaborate: Dual-Stream Diffusion Model for Coordinated Piano Hand Motion Synthesis}},
  booktitle = {ACM Multimedia},
  year = {2025},
  url = {https://openreview.net/forum?id=8MRS9dlXg0},
}
Figure