Audio-To-Symbolic Arrangement Via Cross-Modal Music Representation Learning

Ziyu Wang, Dejing Xu, Gus Xia, Ying Shan

TL;DR

Researchers have developed the first end-to-end deep learning framework for audio-to-symbolic piano arrangement—automatically turning a pop song's audio into a playable MIDI piano score. By using a cross-modal training strategy that gradually shifts the model's reliance from "cheating" with ground-truth scores to "listening" to raw audio, the system produces arrangements that human listeners rated as more creative than even professional human compositions.

What Problem Does This Paper Address?

Creating a piano arrangement of a pop song is more than just "transcribing" notes; it’s a creative act. A good arranger must capture the essence of the original audio (the melody and chords) while inventing a "texture" (rhythms, bass lines, and accompaniment patterns) that makes sense for the piano.

Technically, this is a one-to-many problem: a single song can be arranged in dozens of valid ways. Previous attempts often relied on rigid rules or simple statistical models, resulting in "robotic" arrangements that lacked nuance. Naive deep learning models struggle here because the relationship between noisy audio and a clean MIDI score is complex; without the right guidance, these models often "collapse" and produce repetitive, boring patterns.

Methods

The authors propose a cross-modal representation-learning framework. The core idea is to teach the model a shared "language" for music that bridges the gap between raw audio and symbolic MIDI.

The Architecture

The model consists of five main components:

  1. Chord Encoder/Decoder: Extracts the harmonic progression from the audio.
  2. Audio Encoder: Uses a pre-trained piano transcriber to turn audio into a "piano-roll-like" feature stack, then encodes it into an audio-texture representation.
  3. Symbolic Encoder: Processes a "corrupted" version of the ground-truth MIDI to learn a symbolic-texture representation.
  4. Symbolic Decoder: Based on the PianoTree VAE (a state-of-the-art model for polyphonic music), this takes the latent representations and generates the final MIDI notes.

The "Secret Sauce": 3-Stage Training

To prevent the model from ignoring the audio or becoming too dependent on the ground-truth MIDI, the authors used a clever three-stage strategy:

  • Stage 1 (Warm-up): The model sees the MIDI but the lead melody is hidden. It must learn to "fill in" the melody by listening to the audio.
  • Stage 2 (Pre-training): More of the MIDI is randomly masked (hidden). The model is forced to lean more on the audio features to reconstruct the arrangement.
  • Stage 3 (Fine-tuning): The symbolic encoder is abandoned entirely. During inference, the model generates the texture either from pure audio or by looking at the previous two measures (autoregression).

Datasets

  • POP909: The primary dataset, containing ~1,000 MIDI files of pop songs with time-aligned audio. The authors processed these into 66,000 8-beat segments.
  • MAESTRO: Used to pre-train the "piano transcriber" component of the audio encoder to ensure it could accurately recognize note-like features in raw audio.

Key Insights and Ideas

  • Disentanglement is Key: By separating music into "Chord Space" and "Cross-modal Texture Space," the model can manipulate harmony and rhythm independently. This allows for "style transfer"—keeping the rhythm of one song while applying the chords of another.
  • Bridging the Gap with Symbolic Features: The model doesn't just jump from audio to notes. It is explicitly trained to predict intermediate symbolic features from the audio, such as bass onset, melody onset, and rhythmic intensity. These act as a "musical skeleton" that guides the final generation.
  • Overcoming the "One-to-Many" Hurdle: By using a Variational Autoencoder (VAE) structure, the model maps arrangements to a probability distribution (a standard normal distribution). This allows it to sample different, creative versions of an arrangement rather than just picking the single "most likely" (and often boring) note.

Key Results

The researchers conducted a double-blind subjective survey with 26 participants, comparing their model against several baselines and original human compositions.

  • Superiority over Baselines: The proposed model significantly outperformed standard supervised learning approaches across all metrics: Faithfulness, Creativity, Naturalness, and Musicality.
  • Beating Humans at Creativity: In a surprising twist, the model's arrangements were rated significantly higher in "Creativity" than the original human-written arrangements in the POP909 dataset.
  • Style Transfer: The authors demonstrated that they could swap the "texture" latent code of one song into another, effectively "remixing" a song's accompaniment style on the fly.

Limitations and Future Work

  • Rhythmic Constraints: The current model is limited to 4/4 and 2/4 time signatures and a fixed tempo of 95 BPM.
  • Segment-based: The model generates music in 2-bar chunks. While the autoregressive approach helps, maintaining long-term musical structure over an entire 4-minute song remains a challenge.
  • Future Directions: The authors suggest moving toward even more flexible cross-modal methods that allow for finer user control over the "vibe" or complexity of the generated arrangement.

Summary updated

BibTeX
@inproceedings{wang2022audio,
  author = {Ziyu Wang and Dejing Xu and Gus Xia and Ying Shan},
  title = {{Audio-To-Symbolic Arrangement Via Cross-Modal Music Representation Learning}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp43922.2022.9747884},
}
Figure