Abstract
Traditional digital music production often lacks the expressive nuance of human performance, resulting in "robotic" drum tracks. We present GrooVAE, a system designed to bridge this gap by transforming quantized musical scores into expressive, human-like performances. By training on the new Groove MIDI Dataset (GMD)—the largest of its kind—our model learns to predict micro-timings and velocity variations. Our results show that GrooVAE can generate performances that are statistically indistinguishable from human drumming in specific tasks, providing a powerful new tool for musical collaboration and production.
Introduction
In digital music, "humanization" typically involves adding random noise to MIDI note timings and velocities. However, professional drummers do not play randomly; they use intentional micro-timing (pushing or pulling the beat) and dynamic variations to create a "groove." The primary obstacle to modeling this behavior has been the lack of high-quality paired data—matching perfectly quantized scores with expressive human performances.
Methodology: The GrooVAE Model
We frame the generation of expressive drums as an inverse sequence transformation. By taking a human performance and "deterministically compressing" it into a quantized score, we create the necessary paired data for supervised learning.
Architecture
GrooVAE utilizes a Sequence-to-Sequence (Seq2Seq) architecture based on Long Short-Term Memory (LSTM) networks. The model processes music through three synchronized matrices: Hits (binary strike events), Offsets (millisecond deviations from the grid), and Velocities (strike intensity). To improve generalization and prevent simple memorization, we incorporate a Variational Information Bottleneck (VIB), forcing the model to learn the underlying distribution of "grooviness."
The model is evaluated on three distinct tasks:
- Humanization: Predicting expressive nuances for a quantized MIDI score.
- Infilling: Generating missing instrumental parts (e.g., hi-hats) for a partial loop.
- Tap2Drum: Expanding a simple rhythmic "tap" into a full, multi-instrument performance.
The Groove MIDI Dataset (GMD)
A core contribution of this work is the Groove MIDI Dataset (GMD). It consists of approximately 13.6 hours of recordings, featuring 1,150 MIDI files and over 22,000 measures. Ten professional drummers performed on electronic kits (Roland TD-11) to a metronome, ensuring that micro-timing and dynamics were captured with high precision and perfectly aligned to a ground-truth grid.
Key Insights and Results
A pivotal discovery was that timing offsets at specific metrical positions are approximately normally distributed. This observation justified the use of single Gaussian distributions to model timing and velocity, leading to more perceptually realistic outputs.
Performance Evaluation
Listening tests conducted via Amazon Mechanical Turk revealed that the Seq2Seq + VIB model significantly outperformed traditional baselines. Notably, for Humanization and Infilling tasks, listeners found the model-generated performances statistically indistinguishable from real human recordings. The model achieved a Mean Absolute Error (MAE) for timing of roughly 18ms, placing its precision at the threshold of human auditory perception (typically 2ms to 20ms).
Limitations and Future Directions
Despite its success, GrooVAE has limitations. The current 16th-note grid prevents the modeling of very fast flourishes or drum rolls. Additionally, the model assumes a fixed tempo, failing to capture the natural "rubato" or tempo drift found in live music. Future work will focus on expanding the model's understanding of long-term song structure and variable tempo.
By acting as a "creative amplifier," GrooVAE moves beyond simple generation toward a collaborative AI that can add "soul" to digital compositions.
Summary updated