[Paper Review] PopMAG: Pop Music Accompaniment Generation
PopMAG proposes a novel MUlti-track MIDI (MuMIDI) representation that enables joint, harmony-aware generation of multiple music tracks in a single sequence, improving inter-track dependency modeling. By modeling multiple note attributes per step and using long-context memory via Transformer-XL, PopMAG achieves state-of-the-art performance in multi-track pop music accompaniment generation, winning 42–40% preference votes over ground truth on LMD, FreeMidi, and a Chinese pop dataset.
In pop music, accompaniments are usually played by multiple instruments (tracks) such as drum, bass, string and guitar, and can make a song more expressive and contagious by arranging together with its melody. Previous works usually generate multiple tracks separately and the music notes from different tracks not explicitly depend on each other, which hurts the harmony modeling. To improve harmony, in this paper, we propose a novel MUlti-track MIDI representation (MuMIDI), which enables simultaneous multi-track generation in a single sequence and explicitly models the dependency of the notes from different tracks. While this greatly improves harmony, unfortunately, it enlarges the sequence length and brings the new challenge of long-term music modeling. We further introduce two new techniques to address this challenge: 1) We model multiple note attributes (e.g., pitch, duration, velocity) of a musical note in one step instead of multiple steps, which can shorten the length of a MuMIDI sequence. 2) We introduce extra long-context as memory to capture long-term dependency in music. We call our system for pop music accompaniment generation as PopMAG. We evaluate PopMAG on multiple datasets (LMD, FreeMidi and CPMD, a private dataset of Chinese pop songs) with both subjective and objective metrics. The results demonstrate the effectiveness of PopMAG for multi-track harmony modeling and long-term context modeling. Specifically, PopMAG wins 42\%/38\%/40\% votes when comparing with ground truth musical pieces on LMD, FreeMidi and CPMD datasets respectively and largely outperforms other state-of-the-art music accompaniment generation models and multi-track MIDI representations in terms of subjective and objective metrics.
Motivation & Objective
- To address the lack of explicit inter-track dependency modeling in existing multi-track music generation methods.
- To improve harmony in pop music accompaniment generation by enabling simultaneous generation of multiple instrument tracks.
- To mitigate the long sequence length introduced by multi-track encoding, which hinders long-term music modeling.
- To enhance long-term dependency modeling through sequence-level note attribute encoding and extended context memory.
- To develop a generalizable framework applicable to music generation from scratch, semi-manufactured music, or song recomposition.
Proposed method
- Proposes MuMIDI, a novel MUlti-track MIDI representation that encodes multiple instrument tracks into a single sequential token format, enabling joint generation and explicit modeling of inter-track dependencies.
- Models multiple note attributes—pitch, duration, velocity—within a single sequence step, reducing sequence length compared to per-attribute tokenization.
- Employs a sequence-to-sequence model with a Transformer-XL backbone to capture long-term musical dependencies using extra-long context memory in both encoder and decoder.
- Introduces bar-level and position-level embeddings to better encode musical structure, improving modeling of rhythmic and temporal relationships.
- Uses conditional input of melody and chord tracks to guide the autoregressive generation of target accompaniment tracks in the decoder.
- Employs a combination of relative positional encoding and learned embeddings to enhance attention over long sequences.
Experimental results
Research questions
- RQ1Can a unified sequence representation effectively model inter-track dependencies in multi-track music generation?
- RQ2How does joint multi-track generation improve harmony compared to independent track generation?
- RQ3To what extent can modeling multiple note attributes per step reduce sequence length and improve training efficiency?
- RQ4How effective is extra-long context memory in capturing long-term musical dependencies in multi-track sequences?
- RQ5Does the proposed bar and position embedding scheme outperform standard sinusoidal or relative positional encodings in music generation tasks?
Key findings
- PopMAG achieved 42% preference votes over ground truth on the LMD dataset, 38% on FreeMidi, and 40% on the private CPMD Chinese pop dataset in subjective evaluations.
- PopMAG outperformed all compared state-of-the-art models in both subjective and objective metrics across all datasets.
- The ablation study showed that removing memory in the decoder (PopMAG - DM) degraded performance more than removing it from the encoder (PopMAG - EM), indicating decoder memory is more critical for long-term modeling.
- The combination of bar and position embeddings outperformed sinusoidal and relative positional encodings in all metrics, with the highest preference scores in subjective evaluations.
- Modeling multiple note attributes in a single step significantly shortened sequence length, improving training efficiency and long-context modeling.
- The full PopMAG model with MuMIDI, multi-attribute tokenization, and long-context memory achieved the best performance, confirming the synergy of all proposed components.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.