[Paper Review] Multi-Source Diffusion Models for Simultaneous Music Generation and Separation
A diffusion-based model (MSDM) learns the joint distribution of multiple musical sources to enable total generation, partial generation (source imputation), and source separation within a single framework, using a Dirac likelihood for posterior sampling.
In this work, we define a diffusion-based generative model capable of both music synthesis and source separation by learning the score of the joint probability density of sources sharing a context. Alongside the classic total inference tasks (i.e., generating a mixture, separating the sources), we also introduce and experiment on the partial generation task of source imputation, where we generate a subset of the sources given the others (e.g., play a piano track that goes well with the drums). Additionally, we introduce a novel inference method for the separation task based on Dirac likelihood functions. We train our model on Slakh2100, a standard dataset for musical source separation, provide qualitative results in the generation settings, and showcase competitive quantitative results in the source separation setting. Our method is the first example of a single model that can handle both generation and separation tasks, thus representing a step toward general audio models.
Motivation & Objective
- Bridge generation and separation by learning the joint prior p(x1,...,xN) of contextual sources (stems)
- Enable total generation, partial generation (source imputation), and separation from a single model
- Introduce a Dirac-likelihood-based posterior for improved separation
- Demonstrate competitive separation results on Slakh2100 while enabling generation tasks
- Discuss extensions to weakly supervised settings and practical implications for general audio models
Proposed method
- Use a denoising score-matching diffusion framework to learn the prior p(x1,...,xN) over stems
- Represent x(t) as a context set of sources perturbed with a Gaussian kernel and train a score network Sθ(x(t),σ(t)) to approximate ∇x(t)log p(x(t))
- Infer tasks via solving the backward ODE dx(t)=σ(t)∇x(t)log p(x(t))dt with a trained score network
- Introduce a novel Dirac delta-based likelihood p(y(t)|x(t))=1{y(t)=∑nxn(t)} to derive the posterior score for separation (MSDM Dirac)
- Enable partial generation by conditioning on a subset of sources xI(t) and imputing the rest using conditional scores
- Provide a sampler (Algorithm 1) that integrates the posterior score for separation and supports weakly supervised variants
- Train on Slakh2100 using 4 stems (Bass, Drums, Guitar, Piano) with a time-domain U-Net score model inspired by Moûsai
Experimental results
Research questions
- RQ1Can a single diffusion model learn the joint distribution of multiple musical stems to support both generation and separation?
- RQ2How can partial generation (source imputation) be achieved within a diffusion prior framework?
- RQ3Does a Dirac delta-based likelihood provide better posterior conditioning for separation than Gaussian likelihoods?
- RQ4What are the quantitative gains of MSDM Dirac and its variants on standard separation benchmarks (e.g., Slakh2100) compared to state-of-the-art baselines?
- RQ5Can the model operate in weakly supervised settings where some sources are known but not the full joint context?
Key findings
- MSDM can perform total generation, partial generation, and source separation with a single learned prior over contexts.
- MSDM Dirac generally outperforms the Gaussian likelihood variant and competitive baselines on SI-SDRi averaged over stems, especially with correction steps.
- Weakly MSDM Dirac and its corrected variant achieve strong results on Bass and Drums stems, sometimes outperforming Demucs-based baselines.
- The approach yields competitive separation performance while also enabling complementary generation tasks not catered to by conventional discriminative separation models.
- Dirac-based conditioning reduces reliance on inflated Gaussian likelihoods and tightens the posterior through a zero-variance conditioning limit.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.