TL;DR
MuPT (Music Pretrained Transformer) is a new series of large-scale models that shifts the paradigm of symbolic music generation from MIDI to a novel "Synchronized Multi-Track ABC Notation" (SMT-ABC). By training on 33.6 billion tokens with a specialized "Symbolic Music Scaling Law" (SMS Law), the authors produced models up to 4.23B parameters that significantly outperform GPT-4 and existing MIDI-based models in musicality and structural coherence.
What Problem Does This Paper Address?
While Large Language Models (LLMs) excel at text, music presents unique structural challenges. Most existing music models use MIDI, which captures performance details but is often too complex and lengthy for LLMs to maintain long-term structural symmetry.
Furthermore, standard ABC notation (a text-based music format) is usually written track-by-track. When an LLM generates multi-track music in this format, it often loses track of time, leading to "measure drift" where the violin and piano parts, for example, fall out of sync. Finally, the music domain suffers from data scarcity compared to text, meaning models often need to be trained over multiple epochs. Standard scaling laws (like the Chinchilla Law) fail to accurately predict performance when data is repeated and overfitting begins.
Methods
The researchers developed MuPT, a decoder-only Transformer architecture based on LLaMA-2 (utilizing SwiGLU activations, RMSNorm, and RoPE embeddings).
Two major innovations stand out:
- SMT-ABC Notation: To solve the synchronization problem, the authors proposed interleaving bars from different tracks. Instead of writing all of Track 1 then all of Track 2, the model generates Bar 1 of all tracks, then Bar 2, and so on. These synchronized groups are enclosed in a new
<|>token to maintain alignment. - Symbolic Music Scaling (SMS) Law: The authors modified the Chinchilla scaling law to account for the unique dynamics of music data. They introduced a new term ($L_{overfit}$) using a GELU-based regularization to predict the "early stop" points and the loss curve behavior when training on limited, repeated datasets.
Datasets
The models were trained on a massive corpus of 33.6 billion tokens of symbolic music in ABC notation, covering a diverse range of monophonic and polyphonic compositions.
- Context Length: The models support up to 8192 tokens, which covers 90% of the scores in their dataset.
- Tokenizer: They used the Byte-Pair Encoding (BPE) framework (YTTM) with a vocabulary of 50,000 tokens.
Key Insights and Ideas
- ABC > MIDI for LLMs: The authors argue that ABC notation's textual simplicity makes it inherently more compatible with the "next-token prediction" strengths of LLMs compared to the event-heavy MIDI format.
- The Power of Alignment: Synchronizing tracks at the bar level (SMT-ABC) drastically improves the structural integrity of generated music, preventing the "drifting" common in previous multi-track models.
- Music-Specific Scaling: Unlike text, music models benefit significantly from multiple training epochs, but they also overfit in predictable ways. The SMS Law provides a roadmap for researchers to optimize compute budgets in data-constrained environments.
Key Results
- Subjective Preference: In "blind" listening tests, human evaluators preferred MuPT-generated music over GPT-4 in 79% of cases.
- Structural Coherence: MuPT achieved a repetition rate (44.3%) and intra-texture similarity (0.4288) much closer to human-composed ground truth than MIDI-based models (MMT) or GPT-4.
- Efficiency: Increasing context length from 4096 to 8192 tokens significantly reduced training loss, particularly in the convergence phase.
Limitations and Future Work
The authors acknowledge that while SMT-ABC handles most music well, it struggles with extremely rare cases (0.01% of their dataset) where tracks have non-identical lengths or complex repetitions that don't align by bar index.
Future work includes expanding the model's capabilities to handle even more complex musical structures and exploring the intersection of symbolic music generation with raw audio synthesis. The team has open-sourced their models and checkpoints to foster further community innovation.
Summary updated