TL;DR
UOT-IR is a training-free framework that reformulates fixed-budget symbolic music compression as a structured routing problem using Unbalanced Optimal Transport. By incorporating orchestration priors and playability constraints, it successfully condenses complex, high-polyphony orchestral scores into compact, musically coherent forms without losing salient lines or violating performance limits.
What Problem Does This Paper Address?
Many modern symbolic music processing frameworks and generative models (like large music language models) require inputs to conform to a strict "structural budget"—a fixed number of tracks or target slots. However, real-world classical music, such as a richly orchestrated symphony, contains a high degree of polyphony spread across dozens of concurrent instrument tracks.
To feed these complex scores into downstream models, they must first be compressed into a bounded form. Existing approaches generally fall into two flawed categories:
- Heuristic simplification: Rule-based methods (like greedy cutoffs or prioritizing the highest notes) often drop critical lower voices or salient melodic lines entirely.
- Representation-space reduction: Matrix factorization or clustering techniques (like PCA, NMF, or K-Means) compress the data mathematically but ignore musical logic. This leads to structural inconsistencies, such as merging completely incompatible instruments or generating parts that violate physical playability constraints (e.g., forcing a cello to play notes outside its pitch range).
Methods
The authors introduce UOT-IR (Unbalanced Optimal Transport for Information Routing), a training-free framework that treats music compression as a cost-aware optimal transport problem. Instead of blindly discarding notes, it mathematically "routes" musical mass from source tracks to target slots based on a series of structured constraints.
The pipeline consists of five main stages:
- Orch2Vec Prior Branch: To ensure instrument compatibility, the authors developed a program-level orchestration prior. It combines a tree-structured musical taxonomy (grouping instruments into families like Strings or Brass) with data-driven co-occurrence statistics calculated from a large corpus.
- Bar-level Descriptor Extraction: The input score is segmented bar-by-bar, and statistical descriptors (pitch, duration, density, polyphony) are extracted alongside semantic embeddings derived from track names.
- Structure-Aware Cost Construction: A routing cost matrix is built by combining four terms: instrument prior compatibility, local descriptor mismatch, semantic role mismatch, and physical infeasibility (pitch-range violations).
- Adaptive UOT Routing: The system solves an Unbalanced Optimal Transport problem for each bar. Crucially, unbalanced transport relaxes strict mass conservation, allowing the algorithm to selectively discard redundant musical mass or merge compatible parts into a single slot. A bar-specific relaxation parameter ($\rho_b$) dynamically adjusts how much material is retained.
- Temporal Decoding & Playability Projection: To prevent instruments from erratically jumping between slots from one bar to the next, a Viterbi-style sticky decoding scheme enforces temporal coherence. Finally, a playability projection cleans up the output by adjusting pitch ranges and enforcing polyphonic limits.
The framework is evaluated under two distinct settings: Template Standardization (mapping the input to a predefined target template, like a standard string quartet) and Adaptive Preservation (condensing the music into a fixed number of slots without an external template).
Datasets
The framework was evaluated using the SymphonyNet corpus, a large-scale dataset of complex, multi-track symbolic orchestral music. To ensure a rigorous evaluation, the authors specifically filtered the corpus to construct evaluation subsets consisting only of pieces or bars where the active track count strictly exceeded the target slot budget.
Key Insights and Ideas
- Compression as Information Routing: Shifting the paradigm from "what do we throw away?" to "how do we route this information?" allows the model to preserve concurrent musical functions (melody, accompaniment, and bass) in a coordinated, holistic way.
- The Elegance of Unbalanced Mass: Standard optimal transport requires all "mass" to be moved from source to destination. By utilizing unbalanced optimal transport, the framework naturally mirrors the real-world task of an arranger: deciding what to keep, what to merge, and what to gracefully discard.
- Hybrid Instrument Geometry: Relying solely on data-driven instrument co-occurrence can be noisy, while relying solely on rigid taxonomies lacks nuance. Combining both into the Orch2Vec matrix provides a robust prior that prevents egregious arrangement errors (like routing a flute line to a tuba slot).
Key Results
UOT-IR demonstrated a superior balance between content fidelity and structural compatibility across both experimental settings:
- Adaptive Preservation: UOT-IR achieved the highest overall Note-F1 score (0.9120) and Note-Recall (0.9200), significantly outperforming matrix factorization methods (PCA, NMF) and standard heuristics.
- Template Standardization: UOT-IR achieved a Note-F1 score of 0.9370 while delivering the lowest Structural Cost (14.7165) and the lowest Bad Structural Confusion rate (0.3406). This proves that the framework effectively respects the target template's instrument identities and constraints.
- Ablation Validation: Ablation studies confirmed that removing the Orch2Vec prior causes a massive spike in structural confusion, highlighting the necessity of domain-specific musical knowledge in optimal transport formulations.
Limitations and Future Work
While UOT-IR provides a mathematically principled paradigm for training-free compression, the authors note several avenues for extension. Future work will explore applying this bounded routing paradigm to controllable automatic arrangement, orchestration-aware music generation, and directly integrating fixed-budget routing constraints into the training loops of symbolic music neural networks. Additionally, because the semantic cost term relies on track names, performance could vary on poorly labeled or unannotated MIDI datasets.
Summary updated