TL;DR
RhythmicNet is an end-to-end pipeline that generates synchronized, multi-instrument soundtracks for silent videos of human movement. By mimicking the human process of musical improvisation—starting with a beat, building a drum track, and layering melody—it creates plausible music that aligns with both structured dance and "in the wild" athletic actions.
What Problem Does This Paper Address?
While we have seen significant progress in "audio-visual learning," most research focuses on either separating existing sounds (like isolating a speaker in a crowd) or transcribing visible instruments (like turning a video of a pianist into MIDI).
The challenge this paper tackles is much more abstract: How do you generate music for movement that has no inherent sound? Human movement is deeply rhythmic, but capturing that "rhythm of motion" to create a high-quality, synchronized soundtrack is difficult. Existing methods often rely on retrieving pre-existing tracks or are limited to single-instrument impact sounds. RhythmicNet aims to bridge this gap by translating skeleton keypoints directly into a multi-track musical arrangement.
Methods
The authors propose a three-stage sequential pipeline that mirrors how a musician might improvise over a dancer:
- Video2Rhythm:
- Beat Prediction: The system extracts 2D skeleton keypoints (using OpenPose) and processes them through a Spatio-Temporal Graph Convolutional Network (ST-GCN). To handle the periodic nature of music, they use a Transformer with Relative Position Encoding and a Self-Similarity Matrix (SSM). This allows the model to "count" repetitions and align with the tempo.
- Style Extraction: Not all movement happens on the beat. The authors use a rule-based approach involving "directograms" and kinematic offsets (acceleration) to identify sudden, transitional movements (the "style") that occur between beats.
- Rhythm2Drum:
- This stage converts the combined beat and style streams into a drum performance. It uses an encoder-decoder Transformer to predict drum "hits" (treating them like words in a sentence) and a U-Net to predict the "human" elements: velocity (how hard the drum is hit) and micro-timing offsets.
- Drum2Music:
- Finally, the system uses Transformer-XL to add a melodic layer (piano or guitar). This model is conditioned on the generated drum track, ensuring the melody follows the established rhythmic foundation.
Datasets
The researchers utilized three primary datasets to train and evaluate the different components of the pipeline:
- AIST Dance Video Database: A large-scale collection of 10,800 dance videos across 10 genres, used for training the Video2Rhythm component.
- Groove MIDI Dataset: Contains 1,150 MIDI files of professional drumming, used to train the Rhythm2Drum model to produce realistic "feel."
- Lakh MIDI Dataset: A massive collection of multi-track MIDI files used to train the Drum2Music component to associate drum patterns with piano and guitar accompaniments.
- "In the Wild" Videos: For testing, they used YouTube clips of non-dance activities like ice skating and football to prove the model's generalizability.
Key Insights and Ideas
- Rhythm = Beat + Style: A steady metronome isn't enough to make music feel "in-sync" with a human. By explicitly extracting "style" (sudden accelerations), the music can react to a dancer's flourishes or an athlete's sudden pivots.
- Relative Timing is King: In music, the distance between notes is more important than their absolute position in time. Switching from standard positional sinusoids to relative position encoding in the Transformer was a critical "aha moment" for achieving stable musical structure.
- The Improvisation Heuristic: Rather than trying to generate a full orchestra at once, the hierarchical approach (Video $\rightarrow$ Rhythm $\rightarrow$ Drums $\rightarrow$ Melody) makes the complex generative task much more manageable and musically coherent.
Key Results
- Beat Accuracy: RhythmicNet outperformed the previous state-of-the-art (TCN-based methods) in beat prediction, showing a 26% improvement in metrical continuity scores.
- Drum Realism: The combination of a Transformer for hits and a U-Net for velocity/offsets reduced error rates (MSE) by 40-58% compared to the GrooveVAE baseline.
- Human Preference: In perceptual studies, participants preferred RhythmicNet's soundtracks over random or shuffled versions. Interestingly, users showed a clear preference for the multi-instrument (Drums + Piano/Guitar) tracks over drums alone, suggesting the added melody significantly enhances the viewing experience.
Limitations and Future Work
- Instrumentation: The current model only adds one melodic instrument at a time. The authors note that moving toward a "full symphony" or more complex arrangements is a logical next step.
- Real-Time Interaction: Currently, the system processes video in batches. Optimizing the pipeline for real-time performance could enable interactive installations where music is generated instantly as a person moves.
- Semantic Vibe: While the rhythm is synchronized, the "mood" (e.g., happy vs. sad) isn't explicitly controlled by the visual semantics yet. Future work could involve conditioning the music on the emotional content of the scene.
Summary updated