Abstract
Language-queried Audio Source Separation (LASS) typically requires extensive supervised training on massive datasets of paired audio mixtures and ground-truth sources. We present Diffusion-Guided Mask Optimization (DGMO), a novel training-free framework that repurposes pretrained audio diffusion models for zero-shot source separation. By combining deterministic DDIM inversion with test-time mask optimization, DGMO effectively steers generative priors to isolate target sounds while maintaining physical consistency with the input mixture. Our evaluation across four diverse benchmarks—VGGSound, AudioCaps, MUSIC, and ESC-50—demonstrates that DGMO achieves competitive performance, often outperforming established supervised baselines without requiring any task-specific fine-tuning or labeled separation data.
Introduction
Language-queried Audio Source Separation (LASS) enables the isolation of specific sound sources (e.g., "a barking dog") from a complex acoustic mixture using natural language queries. While recent advancements in generative diffusion models, such as AudioLDM, have shown remarkable capabilities in synthesizing high-quality audio from text, applying these models to separation tasks remains challenging. Naive generative approaches often suffer from "hallucinations"—generating sounds not present in the original mixture—or poor temporal alignment with the input signal.
Traditional supervised LASS models address these issues through large-scale training on paired data. However, this dependency limits their flexibility and generalization to unseen sound categories. DGMO addresses this by treating separation as a test-time optimization problem, leveraging the rich semantic priors of frozen diffusion models to guide the creation of a separation mask.
Methodology
DGMO operates through a two-stage, test-time optimization process that ensures both semantic alignment with the text query and structural fidelity to the original mixture.
1. Reference Generation via DDIM Inversion
To avoid the structural loss associated with random noise injection, DGMO utilizes DDIM Inversion. This process deterministically maps the input mixture into the diffusion model's latent space. By subsequently "denoising" this representation conditioned on the text query $q$, the model produces a reference signal. This reference captures the semantic essence of the target source while preserving the underlying temporal and spectral "skeleton" of the original mixture.
2. Mask Optimization
To prevent hallucinations and ensure the output is a true subset of the input, the reference signal is not used directly. Instead, a learnable mask $M$ is initialized in the magnitude spectrogram domain. The mask is optimized by minimizing the Mean Squared Error (MSE) between the mel-spectrogram of the masked mixture and the mel-spectrogram of the generated reference. This decoupling—optimizing in the magnitude domain while calculating loss in the mel-domain—allows the system to preserve the original phase of the mixture, resulting in higher reconstruction fidelity.
Experimental Results
We evaluated DGMO across four public benchmarks to assess its zero-shot generalization capabilities: VGGSound, AudioCaps, MUSIC, and ESC-50.
Performance Comparison
As shown in the table below, DGMO consistently outperforms older supervised models like LASSNet and CLIPSep across multiple metrics. For instance, on the AudioCaps dataset, DGMO achieved an SI-SDR of 1.89 and an SDRi of 3.62, significantly higher than LASSNet's performance. While it still trails behind state-of-the-art supervised systems like AudioSep, the gap is remarkably narrow considering DGMO requires zero training data for the separation task.
Key Insights
- Generative vs. Separation Quality: Our experiments indicate a direct correlation between a diffusion model's generative performance (measured by Frechet Audio Distance) and its effectiveness within the DGMO framework. This suggests that as audio generation models continue to improve, DGMO-style separation will see performance gains "for free."
- Semantic Fidelity: DGMO achieves high CLAP scores, which measure the alignment between the separated audio and the text query. In many cases, these scores surpass those of supervised models, highlighting the strength of the generative priors used.
- Ablation of Components: Ablation studies confirmed that DDIM inversion is critical. Using random noise injection instead of inversion leads to a significant drop in SI-SDR, as the model loses the structural constraints of the original mixture.
Conclusion and Future Work
DGMO demonstrates that pretrained generative models can be effectively repurposed for discriminative tasks like source separation without additional training. By using diffusion models as semantic guides for mask optimization, we achieve robust zero-shot separation.
However, limitations remain. The test-time optimization process is computationally intensive, requiring multiple iterations per sample, which currently precludes real-time application. Additionally, handling extremely dense mixtures with heavy spectral overlap remains a challenge for mask-based methods. Future research will focus on accelerating the optimization process and exploring latent-space manipulations to better handle complex acoustic environments.
Summary updated