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

Introduction

Generating realistic piano-playing animations from audio is a formidable challenge in the field of human motion synthesis. While audio-driven motion has seen significant progress in applications like gaming and virtual reality, bimanual tasks—specifically piano performance—introduce a unique bottleneck. The left and right hands often perform distinct, asymmetric roles, such as melody versus harmony, moving with independent rhythms while requiring extreme spatial and temporal precision to strike keys accurately.

Existing state-of-the-art methods typically treat both hands as a single, unified entity during the generation process. This strong coupling often forces models to ignore the functional differences and independent kinematics of each hand, resulting in unnatural finger trajectories, poor inter-hand coordination, and a lack of fine-grained musical alignment. To address these issues, this research introduces a "separate to collaborate" framework: a dual-stream diffusion model that generates hand motions independently while ensuring seamless coordination through a novel attention mechanism.

Methodology: The Dual-Stream Framework

The proposed architecture moves away from unified generation in favor of a decoupled approach that preserves the unique kinematic signatures of each hand while maintaining global synchronization.

1. Position Predictor with Shared Context

The process begins with a module that extracts audio features using HuBERT and predicts the global 3D spatial trajectories of both hands. Crucially, the predicted positions of both hands are fed into each hand's subsequent gesture generator. This shared global context acts as a spatial anchor, preventing the independently generated hands from drifting out of sync during complex passages.

2. Decoupled Dual-Stream Diffusion

Rather than using one diffusion model to generate all 96 hand joints, the framework employs two independent diffusion streams to generate detailed finger gestures (joint angles) for the left and right hands. By initializing each stream with independent noise, the model captures the distinct rhythmic and dynamic patterns of each hand without the artificial constraints imposed by a coupled model.

3. Hand-Coordinated Asymmetric Attention (HCAA)

To facilitate communication between the separate streams during the iterative denoising process, the authors developed the Hand-Coordinated Asymmetric Attention (HCAA) module. Inspired by differential amplifiers in electrical engineering, HCAA compares the intermediate features of both hands. It calculates the difference between the two hands' attention responses to suppress shared "common-mode" noise and highlight meaningful, asymmetric, hand-specific features. This ensures that while the hands are generated separately, they remain aware of each other's state.

Experimental Setup and Datasets

The model was trained and evaluated using PianoMotion10M, currently the largest benchmark for this task. The dataset includes 116 hours of piano performance videos, synchronized MIDI files, and 10 million 3D hand pose annotations across 14 subjects. To test the model's generalization capabilities, the researchers also utilized "in-the-wild" data—unseen piano performance videos from social media featuring diverse genres and playing styles.

Key Insights

  • Independence via Noise Initialization: Forcing a single diffusion model to generate both hands from the same initial noise limits expressive diversity. Decoupling the noise allows the model to better represent the independent dynamics of piano playing.
  • Differential Attention as a Filter: The HCAA module effectively acts as a noise filter. Because noise distributions in the left and right hand streams are similar during intermediate steps, subtracting their attention responses naturally filters out symmetric noise, leading to cleaner and more robust feature learning.
  • The Necessity of Anchors: While decoupling is essential for detail, the shared 3D position predictions provide the necessary global awareness to maintain musical and spatial alignment.

Results and Performance

Quantitative Evaluation

The proposed method achieved state-of-the-art performance on the PianoMotion10M benchmark. It reduced the Frechet Inception Distance (FID) to 3.012, compared to the previous baseline of 3.281. Realism for individual hands also improved significantly, with the Frechet Gesture Distance (FGD) for the right hand dropping from 0.351 to 0.293.

Qualitative and Human Evaluation

Visualizations indicate that the dual-stream model successfully mitigates common artifacts such as awkward finger twisting, floating hands, and missed keys. In a user study involving 15 participants evaluating unseen audio, the generated motions received high scores for overall realism (6.9/10), positional accuracy (7.0/10), and naturalness (7.7/10), demonstrating strong generalization to new musical styles.

Limitations and Future Directions

Despite its success, the model relies solely on audio input, whereas real-world piano performance is influenced by body posture, hand size, and personal style. Future iterations could incorporate multi-modal inputs like video or style embeddings. Additionally, the current model lacks explicit physical constraints for finger-key contact, which can occasionally result in physically impossible bends. Finally, the iterative nature of diffusion models remains a hurdle for real-time applications; the authors suggest exploring Latent Consistency Models (LCMs) to accelerate inference speeds for interactive use cases.

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