Introduction
Automatic piano arrangement—the process of transforming a complex audio recording of a pop song into a playable, stylistically appropriate MIDI piano score—is a significant challenge in music information retrieval. Unlike simple transcription, arrangement is a creative "one-to-many" problem. A single audio source can be interpreted through various textures, rhythms, and accompaniment patterns. Traditional rule-based or naive deep learning approaches often fail to capture this creative nuance, resulting in repetitive or musically incoherent outputs.
This paper introduces an end-to-end framework that leverages cross-modal representation learning to bridge the gap between raw audio and symbolic music. By disentangling musical elements into harmonic and textural spaces, the system generates arrangements that human listeners have rated as more creative than even professional human-authored scores.
System Architecture
The proposed model is built on a modular architecture designed to separate the "what" (harmony) from the "how" (texture) of a musical piece. It consists of five primary components:
- Chord Extractor & Encoder: This branch identifies the harmonic progression ($c$) from the audio segment ($x$), mapping it to a 128-dimensional chord representation ($z_{chd}$).
- Audio Encoder: Utilizing a pre-trained piano transcriber (trained on the MAESTRO dataset), this component converts raw audio into a piano-roll-like feature stack. This is then encoded into an audio-texture representation ($z_{txt}^{aud}$).
- Symbolic Encoder: During training, this branch processes a "corrupted" version of the ground-truth MIDI ($y^*$) to learn a symbolic-texture representation ($z_{txt}^{sym}$).
- Symbolic Decoder: Based on the PianoTree VAE architecture, the decoder takes the combined latent representations and generates the final MIDI notes in a structured format.
- Cross-modal Texture Space: A key innovation is the alignment of audio and symbolic textures into a shared latent space, allowing the model to translate audio features into musical patterns effectively.
The Three-Stage Training Strategy
A major hurdle in training such models is "exposure bias" or "cheating," where the model ignores the noisy audio signal in favor of the cleaner ground-truth MIDI. To combat this, the researchers implemented a progressive three-stage training strategy:
- Stage 1: Warm-up: The model is provided with the ground-truth MIDI, but the lead melody is removed. It must learn to reconstruct the melody by attending to the audio signal.
- Stage 2: Pre-training: The model faces increasing difficulty as more of the MIDI is randomly masked. This forces the encoder to rely more heavily on the audio-texture features ($z_{txt}^{aud}$) to fill in the gaps.
- Stage 3: Fine-tuning: The symbolic encoder is eventually abandoned. The model is trained to generate the entire arrangement from pure audio or in an autoregressive fashion (using the previous two measures as context).
Experimental Results
The model was trained and evaluated using the POP909 dataset, which contains approximately 1,000 MIDI files of pop songs with time-aligned audio. To assess the quality of the generated arrangements, the authors conducted a double-blind subjective survey with 26 participants, including both experts and non-experts.
The results, summarized in the figure above, demonstrate that the proposed method significantly outperforms standard supervised learning baselines across four key metrics: Faithfulness, Creativity, Naturalness, and Musicality. Most notably, the model achieved a higher mean score for "Creativity" than the original human compositions in the dataset. This suggests that the VAE-based sampling allows the model to explore diverse and musically interesting accompaniment patterns that go beyond simple imitation.
Conclusion and Future Work
By disentangling chord and texture and employing a cross-modal training regime, this framework successfully automates the complex task of piano arrangement. The system not only produces high-quality MIDI scores but also enables "style transfer," where the texture of one song can be applied to the chord progression of another.
While highly effective, the current model is limited to specific time signatures (4/4 and 2/4) and a fixed tempo. Future research will focus on expanding these rhythmic capabilities and improving long-term structural coherence over entire songs, moving beyond the current 2-bar segment generation.
Summary updated