Abstract
This paper introduces Generalized Multi-Source Diffusion Inference (GMSDI), a novel framework that enables text-to-music diffusion models to generate and separate individual musical "stems" (e.g., bass, drums, vocals) even when trained exclusively on full, mixed audio. By manipulating the score function during inference and applying coherence constraints, GMSDI provides a flexible, unsupervised method for compositional music generation and zero-shot source separation without requiring scarce multi-track datasets.
Introduction
State-of-the-art music generation models typically produce a single "flat" audio mixture, lacking the ability to manipulate individual components. Existing solutions for multi-source generation often suffer from data scarcity, requiring clean multi-track recordings for training, and are frequently restricted to a fixed set of instruments. GMSDI addresses these limitations by repurposing standard text-conditioned diffusion models for multi-source tasks at inference time.
Methods
GMSDI operates by manipulating the score function—the gradient guiding the diffusion process—during sampling. Instead of training a model on clean stems, the framework approximates the score of an individual source by conditioning a mixture-trained model on specific text embeddings (e.g., "Bass").
Key technical components include:
- Source Score Approximation: Using text prompts to shift the model's focus toward specific rhythmic or melodic components.
- Coherence Constraint: A mathematical term added during sampling to ensure that the generated individual sources sum to a coherent musical mixture.
- Negative Prompting: Utilizing negative embeddings to steer the diffusion process away from unwanted sounds or "bleeding" between tracks.
- GMSDI Separator/Extractor: A modification of the inference equations that allows for extracting specific instruments from existing songs by treating the remainder of the audio as a known constraint.
Key Insights and Results
The researchers evaluated GMSDI on the Slakh2100 (synthetic MIDI) and MTG-Jamendo (real-world music) datasets. A primary insight is that models can learn the "concept" of an instrument from mixtures alone, allowing for unsupervised compositionality.
Generation Quality
On the Slakh2100 dataset, GMSDI achieved Fréchet Audio Distance (FAD) scores competitive with supervised models. Notably, for drums, GMSDI achieved an FAD of ~4.55, outperforming a supervised baseline's ~5.16. The use of negative prompting was crucial in achieving these results, as it prevents the model from generating silence or overlapping textures.
Separation Performance
In source separation tasks, the GMSDI ensemble reached an SI-SDRi (Signal-to-Distortion Ratio improvement) of 11.56 dB. While this is lower than specialized supervised separators like Demucs, it represents a remarkably high performance for a zero-shot, unsupervised method that was never explicitly trained to separate audio.
Limitations and Future Work
Despite its flexibility, a performance gap remains between GMSDI and models trained on massive multi-track datasets. Additionally, the iterative nature of diffusion makes multi-source inference computationally intensive. Future work may involve moving to Latent Diffusion Models to improve efficiency and audio quality, as well as addressing minor artifacts or "hallucinated" textures that can occur during extraction.
Summary updated