Abstract
Similar to colorization in computer vision, instrument separation is to assign instrument labels (e.g. piano, guitar...) to notes from unlabeled mixtures which contain only performance information. To address the problem, we adopt diffusion models and explicitly guide them to preserve consistency between mixtures and music. The quantitative results show that our proposed model can generate high-fidelity samples for multitrack symbolic music with creativity.
Introduction
In digital music production, "zoning" allows a single keyboardist to play multiple instruments by splitting keys into sections. However, this is physically limiting and often results in overlapping pitch ranges. Researchers from LG AI Research address this through Instrument Separation (Mixture2Music), the task of assigning specific instrument labels to a flattened "mixture" of MIDI notes.
This is an "ill-posed" problem because a single note in a mixture could theoretically be assigned to any instrument. The challenge is twofold:
- Consistency: Every note assigned to an instrument must exist in the original mixture.
- Diversity: The model should generate various plausible arrangements, as there isn't always one "correct" answer.
Methodology
The authors employ Diffusion Models (specifically DDPM and DDIM) to handle the discrete structure of symbolic music. Unlike previous methods requiring complex differentiable tricks for binary data, diffusion models naturally handle these structures by iteratively denoising random noise into a structured signal.
Architecture and Explicit Guidance
The core denoiser is a TransUNet, combining the spatial processing of a U-Net with the global context-awareness of Transformers. To enforce strong consistency, the authors introduce Explicit Guidance.
Standard diffusion models often use "weak" conditioning. In this work, the authors multiply the input mixture into both the inputs and the targets of the denoiser. Since multiplying by zero always results in zero, this mathematical constraint prevents the model from "hallucinating" notes that weren't in the original performance.
Dataset and Preprocessing
The study utilizes the Lakh MIDI Dataset (LMD), filtering for 4/4 time signatures and five core instruments: piano, guitar, bass, strings, and drums. Music was quantized to 16th notes and sliced into 1-bar phrases. Training mixtures were created by summing multitrack songs into a single binary layer.
Results and Discussion
The diffusion approach was compared against a VAE baseline using Consistency (Hamming distance) and Diversity metrics.
| Model | Consistency (Lower is better) | Diversity (Higher is better) |
|---|---|---|
| VAE | 4.500e-3 | 8.625e-3 |
| DDPM (Ours) | 8.974e-5 | 1.107e-2 |
| DDIM (Ours) | 2.469e-4 | 1.138e-2 |
Diffusion models significantly outperformed the VAE. DDPM achieved the best consistency, while DDIM provided the highest diversity.
The model acts as a creative discrete solver. By forcing the model to work within the footprint of the mixture via multiplicative masking, it solves the consistency problem while allowing for "over-generation" or "under-generation" that remains musically valid.
Conclusion
While effective, the current model is limited to 4/4 time signatures and five instruments. Future work will expand the rhythmic and orchestral palette. Additionally, while Hamming distance provides a mathematical benchmark, subjective listening tests are needed to fully evaluate the "musicality" of the generated arrangements.
Summary updated