Introduction
Generative music models, such as the LSTM-based Performance RNN, have demonstrated a remarkable ability to produce expressive solo piano music. However, these systems often function as "black boxes," offering users little control over the stylistic or structural characteristics of the output. This research addresses the challenge of conditioning: how to integrate high-level human concepts—such as composer style, tempo, or musical form—into a sequence-based model that operates on discrete MIDI events.
Methodology
The researchers extended the Performance RNN architecture, which treats music as a language using a 388-word MIDI event vocabulary. To enable steering, a control signal (a feature vector) is prepended to the input at every timestep.
The study explored several conditioning signals:
- Composer-based: One-hot vectors for 114 composers or 8 stylistic clusters.
- Spatiotemporal: Proxies for musical era and regional style using composer birth years and geographic coordinates.
- Title Keywords: Metadata extracted from piece titles, including "Key" (Major/Minor), "Tempo" (e.g., Adagio, Allegro), and "Form" (e.g., Scherzo, Waltz).
- Performance Dynamics: Explicit controls for "Velocity" (strike force) and "Relative Position" within a piece.
The model was trained on the e-Piano Junior Competition Dataset, consisting of 2,750 professional MIDI recordings. Data augmentation (transposition and temporal stretching) was used to expand the training set 35-fold. A key technical finding was that using a zero-vector or uniform distribution for missing metadata performed better than the standard "unknown" flag, which tended to cause "dead neurons" and silenced the controls.
Results and Discussion
The effectiveness of the conditioning was evaluated through both quantitative metrics and qualitative listening tests.
Stylistic Fidelity and Control
In blind tests, professional musicians correctly identified intended composers at a significantly higher rate (2.76/5) than incorrect ones (1.95/5), suggesting the model successfully captured distinct stylistic "fingerprints." Furthermore, the model demonstrated high precision in velocity control, with a median KL divergence of only 0.023 bits between requested and generated distributions.
Note Density and Tempo
One of the most visible successes was the model's response to tempo keywords. As shown in the figure below, the generated note density distributions closely mirror the ground truth for different tempo markings.
The model also supports style interpolation. Because the control signals are continuous vectors, users can dynamically shift parameters—for instance, transitioning from "Adagio" to "Presto"—and the model will naturally increase note density to match the evolving signal.
Conclusion and Future Work
While the system successfully follows general trends, data sparsity remains a significant hurdle; for example, only 19% of the training data included tempo markings. Future research will focus on more sophisticated probabilistic representations for missing data and improving the consistency of structural controls like "Relative Position." This work represents a significant step toward moving AI music generation from autonomous playback to collaborative, human-steered creativity.
Summary updated