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

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

Overview

Music arrangement is the art of adapting a composition for a different set of instruments or performance contexts—such as turning an orchestral piece into a playable piano solo, or adding a drum groove to an acoustic guitar track. Historically, AI models have tackled these tasks independently, requiring specialized architectures and "parallel datasets" (e.g., a dataset containing the exact same song in both orchestral and piano formats).

Because parallel data is incredibly rare, these models are difficult to scale. This paper introduces a unified Transformer-based framework capable of handling diverse symbolic music arrangement tasks—like band arrangement, piano reduction, and drum generation—using a single model. By leveraging a novel "zig-zag" tokenization scheme (REMI-z) and a self-supervised objective that disentangles musical content from instrumentation, the model achieves state-of-the-art results without relying on scarce parallel training data.

The Problem: Data Scarcity and Content Fragmentation

Beyond the lack of parallel data, standard methods for feeding multitrack MIDI data into Transformers (like the popular REMI+ tokenization) strictly order notes by time. This means notes from a guitar, bass, and piano played simultaneously get interleaved in the token sequence.

This "content fragmentation" makes it difficult for the model to understand track boundaries and learn the idiomatic playing styles of individual instruments. To build a unified arrangement model, the authors needed to solve both the data scarcity issue and the representation bottleneck.

Methods: A Unified Pre-train/Fine-tune Paradigm

The authors propose an 80M-parameter decoder-only Transformer trained via a unified pre-train/fine-tune paradigm.

1. Token-Level Disentanglement & Reconstruction

Instead of using parallel data, the model is trained via self-supervised segment-level reconstruction. The input is split into three distinct token streams:

  • Instrument condition: Who is playing (and their relative pitch register).
  • Content condition: What notes are being played (stripped of all instrument labels).
  • History: The musical context from the previous segment.
Overview of the unified framework handling band arrangement, piano reduction, and drum arrangement via disentangled condition sequences.

The model is tasked with reconstructing the original multitrack segment from these disentangled components. At inference time, users can swap out the "Instrument condition" to force the model to reinterpret the content with an entirely new band.

2. REMI-z Tokenization

To fix the fragmentation issue, the authors introduce a new tokenization scheme. Instead of strictly ordering notes by time across the whole song, REMI-z groups notes by instrument within a single bar, and then orders the instruments by average pitch. This "zig-zag" approach ensures that a specific instrument's notes remain contiguous in the sequence, making it much easier for the model to learn track-wise patterns.

Key Insights

  • Parallel data isn't strictly necessary for arrangement: By forcing a model to reconstruct a track from disentangled "content" and "style" (instrumentation) tokens, it learns to dynamically adapt musical material to new instruments. This unlocks flexible, any-to-any instrument transformations.
  • Track continuity beats strict time ordering: Grouping tokens by instrument within a bar (REMI-z) rather than strictly by time (REMI+) is a massive upgrade for multitrack modeling. It gives the model clear track boundaries, allowing it to better learn the physical constraints and syntax of specific instruments.
  • Pre-training teaches music theory: Probing experiments revealed that generative pre-training helps the model internalize concepts like chord progressions and instrument roles. This foundational knowledge directly boosts arrangement quality and fidelity during fine-tuning.

Key Results

The single unified model outperformed task-specific state-of-the-art baselines across three distinct scenarios:

  1. Band Arrangement (Reinterpretation): The model crushed the Transformer-VAE baseline, achieving a Note F1 score of 97.5% (vs. 49.5%) and a Melody F1 of 84.5% (vs. 24.7%), proving it preserves the core melody while re-orchestrating.
Quantitative results for the Band Arrangement task, showing the proposed model's significant improvements over baselines.
  1. Piano Reduction (Simplification): It outperformed the UNet baseline (F1: 85.5% vs 58.3%). In human evaluations, it achieved the best balance of faithfulness to the original track and actual playability for a human pianist.
  2. Drum Arrangement (Additive Generation): The model beat Composer's Assistant v2 in F1 (79.3% vs 20.3%). Human evaluators noted it produced much better phrase transitions, rather than just looping a static beat.
  3. Tokenization Efficiency: REMI-z reduced sequence lengths by 32.9% compared to REMI+ and significantly lowered note-level perplexity (84.11 vs 116.20) in unconditional generation, proving it is a more efficient representation of multitrack music.

Limitations and Future Work

While highly effective, the framework has a few limitations. It assumes the input and output share the exact same segment-level structure, meaning it cannot currently alter the high-level form of a song (e.g., extending a chorus). Furthermore, because the model arranges bar-by-bar (or in 4-bar chunks for drums), it lacks global planning for long-term instrument changes across a whole song.

Finally, fine-tuning was restricted to 4/4 time signatures and stable tempos, heavily biasing the model toward Western pop music. Future work will aim to expand the framework to handle dynamic tempos and non-4/4 signatures, while exploring how REMI-z could benefit other tasks like audio-to-MIDI transcription.

Summary updated

BibTeX
@inproceedings{ou2025unifying,
  author = {Longshen Ou and Jingwei Zhao and Ziyu Wang and Gus Xia and Qihao Liang and Torin Hopkins and 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