Abstract: Automatic music arrangement streamlines the creation of musical variants for composers and arrangers, reducing reliance on extensive music expertise. However, existing methods suffer from inefficient tokenization, underutilization of pre-trained music language models (LMs), and suboptimal fidelity and coherence in generated arrangements. This paper introduces an efficient multitrack music tokenizer for unconditional and conditional symbolic music generation, along with a unified sequence-to-sequence reconstruction fine-tuning objective for pre-trained music LMs that balances task-specific needs with coherence constraints. Our approach achieves state-of-the-art results on band arrangement, piano reduction, and drum arrangement, surpassing task-specific models in both objective metrics and perceptual quality. Additionally, we demonstrate that generative pretraining significantly contributes to the performance across these arrangement tasks, especially when handling long segments with complex alignment.
Introduction
Music arrangement is the complex process of adapting a musical composition for a different set of instruments. For human arrangers, this requires a deep understanding of "instrument syntax"—the idiomatic ways different instruments perform notes. In the field of AI, music arrangement has traditionally been hindered by the "data desert" problem: the scarcity of parallel datasets (the same piece in multiple arrangements) required for supervised learning. Furthermore, standard music representations often interleave notes from all instruments into a single chronological stream, which fragments the musical content and makes it difficult for models to track individual instrument behavior over time.
This paper presents a unified framework that enables a single pre-trained model to perform diverse music arrangement tasks—such as piano reduction, band orchestration, and drum arrangement—without requiring rare parallel data.
Methods
The proposed framework introduces two primary innovations: a novel tokenization scheme and a unified reconstruction objective.
REMI-z Tokenization
To address the issue of content fragmentation, the researchers developed REMI-z, a "track-aware" tokenization scheme. Instead of following a strict global timeline, REMI-z organizes music into bars and, within each bar, groups notes by instrument. This "zig-zag" structure ensures that an instrument's performance is locally contiguous, allowing the model to learn distinct instrument syntaxes more effectively. This approach also makes the data more compact, reducing sequence lengths by approximately 33% compared to previous methods.
Unified Reconstruction Objective
Rather than training on specific translation tasks, the model is trained to reconstruct a multitrack segment from three disentangled components: Instrument Condition (target instrumentation), Content Condition (musical skeleton), and History Condition (preceding context).
By employing Random Track Deletion during training—hiding certain tracks and requiring the model to fill them in—the model learns to creatively infer missing parts based on the remaining context. This enables the model to act as an "any-to-any" transformer for music arrangement.
Experimental Setup
The model, an 80M-parameter GPT-2 style Transformer, was first pre-trained on the Los Angeles MIDI Dataset (405,000 MIDI files, 4.3 billion tokens). It was then fine-tuned and evaluated using the Slakh2100 dataset, which contains high-quality multi-track MIDI files. Performance was assessed through both objective metrics and a human evaluation involving 26 participants who judged creativity, musicality, and faithfulness.
Results and Discussion
The unified model consistently outperformed task-specific state-of-the-art (SOTA) baselines across all evaluated tasks:
- Band Arrangement: The model achieved a Note F1 score of 97.5%, a massive improvement over the 49.5% achieved by the Transformer-VAE baseline.
- Piano Reduction: It significantly outperformed the UNet baseline, reaching an 85.5% F1 score compared to 58.3%.
- Drum Arrangement: Human evaluations showed the model approached the quality of ground truth tracks, particularly excelling in creating natural-sounding phrase transitions.
Key Insights
The success of REMI-z suggests that for multi-track music, track-wise continuity is more critical for model understanding than a strict global clock. By disentangling "content" from "instrumentation," the model becomes a versatile tool capable of reallocating musical roles across different ensembles. Furthermore, large-scale pre-training was found to be a "force multiplier," helping the model internalize musical concepts like chord progressions and instrument roles before task-specific training.
Conclusion and Future Work
While the framework represents a significant advancement, limitations remain. The model's performance is currently optimized for Western pop music due to training data biases, and it lacks high-level global planning for entire song structures. Future work will focus on improving melody preservation in reductions and expanding the model's capabilities to handle more complex rhythmic structures and non-Western musical traditions.
Summary updated