Unifying Symbolic Music Arrangement: Track-Aware Reconstruction and Structured Tokenization

Longshen Ou, Jingwei Zhao, Ziyu Wang, Gus Xia, Qihao Liang, Torin Hopkins Ye Wang

TL;DR

This paper introduces a unified framework that allows a single pre-trained symbolic music model to tackle diverse music arrangement tasks—such as piano reduction, band arrangement, and drum generation—without requiring scarce parallel datasets. The secret sauce is REMI-z, a novel structured tokenization scheme that prioritizes track-wise continuity over strict global time-ordering, significantly improving both modeling efficiency and arrangement quality.

What Problem Does This Paper Address?

Automating symbolic music arrangement (adapting a piece of music for different instruments or formats) is highly challenging. Historically, researchers have treated different arrangement scenarios—like reinterpretation (band arrangement), simplification (piano reduction), or additive generation (adding a drum track)—as completely separate problems. This led to specialized, siloed architectures that couldn't generalize across tasks or leverage the power of large-scale pre-trained models.

Furthermore, training these models typically required parallel datasets (e.g., the exact same song explicitly scored for both an orchestra and a solo piano), which are incredibly rare. Finally, standard music tokenization methods like REMI+ flatten multitrack music into a strict chronological sequence. If a guitar and a synthesizer play at the same time, their tokens interleave, fragmenting the track data and making it difficult for a model to learn instrument-specific syntax and boundaries.

Methods

The authors address these challenges with two core innovations:

  1. A Unified Reconstruction Framework: Instead of relying on parallel data, the framework formulates arrangement as a self-supervised, segment-level reconstruction task. As shown in Figure 1, any multitrack music segment is decomposed into three token streams:
  2. <INSTRUMENT>: The target instrumentation style.
  3. <CONTENT>: A clean, time-ordered note sequence stripped of instrument identities (what notes are played).
  4. <HISTORY>: The musical context from the preceding segment to ensure long-form coherence.

A standard decoder-only Transformer (GPT-2 architecture with 80M parameters) is then trained to predict the <TARGET> sequence given these conditions. To prevent the model from simply copying inputs during training, the authors introduce a random track deletion mechanism, forcing the model to creatively infer missing parts.

Overview of the proposed unified framework for each arrangement task.
  1. REMI-z Tokenization: To fix the content fragmentation problem, the authors introduce a "zig-zag" tokenization scheme. Instead of ordering every single note chronologically across the entire ensemble, REMI-z groups notes by track (instrument) within a given bar. Within each track, notes are sorted by onset and pitch. The tracks themselves are then ordered from highest to lowest average pitch register.

Datasets

  • Pre-training: The model was pre-trained on the Los Angeles MIDI dataset (LMD), encompassing 405,000 MIDI files (approx. 4.3 billion tokens after REMI-z tokenization).
  • Fine-tuning & Evaluation: Fine-tuning was performed using the Slakh2100 dataset, which contains 2,100 tracks featuring 34 pitched instruments and drums, providing a rich ground truth for multi-instrument arrangements.

Key Insights and Ideas

  • The Power of Disentanglement: Because symbolic music explicitly separates note properties (pitch, duration) from the instrument playing them, the model can treat content and style as independent variables. This enables flexible, "any-to-any" instrumentation transformations at inference time.
  • Chronology is Overrated (Locally): Relaxing strict global time-ordering in favor of track continuity (REMI-z) actually makes the data easier for the Transformer to model. It eliminates redundant instrument tokens, reducing sequence length per bar by 32.9%.
  • Pre-training Transfers Structural Knowledge: Through linear probing analysis, the authors proved that generative pre-training helps the model internalize latent musical concepts like chord progressions and instrument roles, which directly translates to higher-fidelity arrangements.

Key Results

The unified model consistently outperformed task-specific, state-of-the-art (SOTA) baselines across all three evaluated scenarios in both objective metrics and human listening tests.

Band Arrangement

As detailed in Table 1, the model leveraging REMI-z and pre-training achieved massive gains over the previous SOTA (Transformer-VAE), particularly in melody preservation (Mel F1 jumped from 24.7% to 84.5%) and instrument control accuracy (I-IoU reached 99.8%).

Table 1: Objective evaluation results for the band arrangement task. Statistical significance is indicated as follows: ∗for p < 0.05, † for p < 0.01, and ‡ for p < 0.001.

Subjective human evaluations (Table 2) mirrored these findings, with the proposed model scoring highest in Faithfulness, Coherence, and Musicality.

Table 2: Band arrangement subjective evaluation results. Fa., Co., In., Cr., and Mu. represent Faithfulness, Coherence, Instrumentation, Creativity, and Musicality, respectively.

Piano Reduction

For piano reduction (Table 3), the model achieved an F1 score of 85.5% (compared to 58.3% for the UNet baseline) and struck the best subjective balance between faithfulness to the original ensemble and physical playability for a human pianist.

Table 3: Piano reduction results. The Pl. represents Playability score.

Limitations and Future Work

While a major step forward, the authors note a few limitations:

  • Genre Bias: The framework was primarily trained and evaluated on pop music.
  • Strict Structural Alignment: The model assumes the input and output share an identical phrase structure, meaning it cannot currently handle complex structural re-arrangements (like adding an intro or lengthening a chorus).
  • Melody Retention in Reductions: Because pop piano tracks in the training data don't always carry the main melody, the piano reduction model occasionally drops the primary melodic line—a issue that could be resolved with explicit melody supervision in the future.
  • Time and Tempo Constraints: The current implementation is optimized for a fixed 4/4 time signature and stable tempos.

Summary updated

BibTeX
@inproceedings{ou2025unifying,
  author = {Longshen Ou and Jingwei Zhao and Ziyu Wang and Gus Xia and Qihao Liang and Torin Hopkins Ye Wang},
  title = {{Unifying Symbolic Music Arrangement: Track-Aware Reconstruction and Structured Tokenization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=FNYFSolinQ},
}
Figure