FlowSep 2: Self-Supervised Flow Matching for Language-Queried Audio Source Separation


Yi Yuan1, Xubo Liu2, Haohe Liu2, Xiyuan Kang1, Mark D. Plumbley3, Wenwu Wang1

1School of Computer Science and Electronic Engineering, University of Surrey, Guildford, UK

2Superintelligence Labs, Meta, USA

3Department of Informatics, King's College London, London, UK


Paper              Code (coming soon)              FlowSep v1


Abstract

Language-queried audio source separation (LASS) aims to extract target sources from audio mixtures according to natural language descriptions, offering a flexible and scalable interface for audio source separation. However, most existing LASS methods rely on discriminative, mask-based models, which estimate masks from the input mixture. These methods often over-suppress target sounds or fail to fully separate them, especially when multiple sound events strongly overlap in complex acoustic scenes. In this work, we propose FlowSep2, a text-conditioned flow-matching generative model for LASS. Instead of directly predicting a separation mask, FlowSep2 learns to generate the target source representation from Gaussian noise in a latent space, conditioned on both the mixture representation and the text query. Specifically, we employ rectified flow matching with a Diffusion Transformer backbone. We further incorporate Self-Flow, a self-supervised flow-matching paradigm, into our LASS framework. By encouraging semantically structured latent representations under the generative objective, Self-Flow improves the model’s ability to separate target sources according to text queries. Experiments on multiple LASS benchmarks show that FlowSep2 achieves state-of-the-art performance and demonstrates enhanced sound separation results in challenging scenarios with overlapping sound events.

FlowSep2

FlowSep2 generates the target source in a continuous latent space instead of predicting a time-frequency mask. A FLAN-T5 encoder embeds the text query, a Stable-Audio VAE encoder maps the mixture waveform to a latent zm, and a Diffusion Transformer (DiT) learns a rectified-flow velocity field that transports Gaussian noise z0 to the target latent z1, conditioned on [zλ, zm] and the text embedding. On top of the flow-matching loss, Self-Flow adds a self-supervised representation objective: the student sees a noisy, mixed-timestep view of the latent while an EMA teacher sees a cleaner, uniform-timestep view, and an intermediate student layer l is aligned to a deeper teacher layer k by cosine loss. At inference an ODE solver integrates from λ = 0 to λ = 1 using the student only, and the VAE decoder reconstructs the waveform.

FlowSep2 architecture

Figure 1: The overall architecture of FlowSep2. zm denotes the mixture latent, z0 the Gaussian noise, z1 the target latent, and zλ the intermediate latent along the flow trajectory. During training the mixture latent is concatenated with the intermediate latent before the DiT flow module, and the teacher receives a cleaner intermediate latent zλc to provide representation-level supervision. The teacher is updated by EMA; the student is optimised with both the flow matching loss LRFM and the representation loss Lrep.


Demos on AudioCaps

Each row shares one dB reference, taken from the mixture, so panel brightness is comparable across systems and an output that collapsed to near-silence correctly renders as black. CLAPA is the cosine similarity between the CLAP audio embedding of each system's output and that of the reference.

Text Query
Mixture
SAM-Audio
FlowSep
FlowSep2 (ours)
Ground Truth
"A couple of men speaking as metal clanks and a power tool operates"
CLAPA  mixture 0.76 → FlowSep2 0.84  |  FlowSep 0.54  |  SAM-Audio 0.40
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"An aircraft engine is taking off"
CLAPA  mixture 0.34 → FlowSep2 0.81  |  FlowSep 0.52  |  SAM-Audio 0.01
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"A vehicle engine revving as a crowd of people talk"
CLAPA  mixture 0.44 → FlowSep2 0.90  |  FlowSep 0.63  |  SAM-Audio 0.19
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
Text Query
Mixture
SAM-Audio
FlowSep
FlowSep2 (ours)
Ground Truth
"Electronic beeping as a man talks and water pouring in the background"
CLAPA  mixture 0.80 → FlowSep2 0.90  |  FlowSep 0.47  |  SAM-Audio 0.65
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"A man speaks and then whistles"
CLAPA  mixture 0.60 → FlowSep2 0.75  |  FlowSep 0.59  |  SAM-Audio 0.52
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"Birds are squawking, and ducks are quacking"
CLAPA  mixture 0.80 → FlowSep2 0.92  |  FlowSep 0.77  |  SAM-Audio 0.53
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"Rain is falling continuously"
CLAPA  mixture 0.73 → FlowSep2 0.91  |  FlowSep 0.78  |  SAM-Audio 0.78
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"Bells ring followed by humming and vibrations as a train passes while blowing a horn"
CLAPA  mixture 0.64 → FlowSep2 0.90  |  FlowSep 0.79  |  SAM-Audio 0.79
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"Food is frying, and a woman talks"
CLAPA  mixture 0.66 → FlowSep2 0.89  |  FlowSep 0.80  |  SAM-Audio 0.63
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"Scraping and speech followed by people laughing"
CLAPA  mixture 0.76 → FlowSep2 0.90  |  FlowSep 0.59  |  SAM-Audio 0.81
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"A person snoring with another man speaking"
CLAPA  mixture 0.57 → FlowSep2 0.80  |  FlowSep 0.62  |  SAM-Audio 0.75
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"An adult female speaks, and muted speech occurs briefly in the background"
CLAPA  mixture 0.77 → FlowSep2 0.86  |  FlowSep 0.81  |  SAM-Audio 0.82
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"A baby cries as a woman speaks with other speech background noise"
CLAPA  mixture 0.86 → FlowSep2 0.93  |  FlowSep 0.82  |  SAM-Audio 0.90
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"Males speaking and then a clock ticks twice"
CLAPA  mixture 0.73 → FlowSep2 0.82  |  FlowSep 0.80  |  SAM-Audio 0.72
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"Crumpling paper noise with female speech"
CLAPA  mixture 0.50 → FlowSep2 0.68  |  FlowSep 0.60  |  SAM-Audio 0.67
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram
"Humming and vibrating with a man and children speaking and laughing"
CLAPA  mixture 0.85 → FlowSep2 0.90  |  FlowSep 0.90  |  SAM-Audio 0.39
spectrogram
spectrogram
spectrogram
spectrogram
spectrogram

Zero-shot music separation on MUSDB18

FlowSep2 is trained only on general sound datasets (VGGSound, AudioCaps, AudioSetCaps, WavCaps) and has seen no music stems, so MUSDB18 is entirely zero-shot for it. SAM-Audio is trained on large-scale music data and is the stronger system on this benchmark overall — the examples below are chosen to show both sides: cases where FlowSep2 matches or beats it, cases where SAM-Audio collapses on the query, and cases where SAM-Audio is clearly ahead. FlowSep is not included here, as it was not evaluated on MUSDB18.

Text Query
Mixture
SAM-Audio
FlowSep2 (ours)
Ground Truth
"people speech"
The Mountaineering Club - Mallory — vocals stem
SI-SDRi  FlowSep2 +10.1 dB  |  SAM-Audio +10.9 dB
spectrogram
spectrogram
spectrogram
spectrogram
"people speech"
Lyndsey Ollard - Catching Up — vocals stem
SI-SDRi  FlowSep2 +5.6 dB  |  SAM-Audio +4.7 dB
spectrogram
spectrogram
spectrogram
spectrogram
"sound of drums"
Detsky Sad - Walkie Talkie — drums stem
SI-SDRi  FlowSep2 +2.0 dB  |  SAM-Audio +1.1 dB
spectrogram
spectrogram
spectrogram
spectrogram
Text Query
Mixture
SAM-Audio
FlowSep2 (ours)
Ground Truth
"sound of bass"
BKS - Too Much — bass stem
SI-SDRi  FlowSep2 +3.8 dB  |  SAM-Audio -44.9 dB
spectrogram
spectrogram
spectrogram
spectrogram
"sound of bass"
Sambasevam Shanmugam - Kaathaadi — bass stem
SI-SDRi  FlowSep2 +3.7 dB  |  SAM-Audio +9.3 dB
spectrogram
spectrogram
spectrogram
spectrogram
"sound of bass"
Hollow Ground - Ill Fate — bass stem
SI-SDRi  FlowSep2 +0.4 dB  |  SAM-Audio -72.5 dB
spectrogram
spectrogram
spectrogram
spectrogram
"sound of drums"
Cristina Vane - So Easy — drums stem
SI-SDRi  FlowSep2 +3.6 dB  |  SAM-Audio +13.1 dB
spectrogram
spectrogram
spectrogram
spectrogram
"sound of bass"
Triviul feat. The Fiend - Widow — bass stem
SI-SDRi  FlowSep2 +5.7 dB  |  SAM-Audio +17.0 dB
spectrogram
spectrogram
spectrogram
spectrogram

Objective results

Model FAD ↓ CLAP Score ↑ CLAPA Score ↑
ACDE-SVGGESC ACDE-SDE-RVGGESC ACDE-SVGGESCMUC
Unprocessed 31.742.741.733.638.6 54.466.362.766.850.2
LASS-Net5.091.833.093.28 33.944.444.836.440.5 65.272.164.575.6
AudioSep4.381.212.301.93 33.645.149.738.540.2 65.174.467.476.050.4
FlowSep2.860.902.061.49 41.946.450.339.542.2 76.775.669.275.754.1
SAM-Audio1.580.981.861.49 37.843.445.839.140.9 64.171.370.578.662.8
FlowSep2-M0.880.721.321.15 44.947.551.042.044.5 80.578.572.080.558.5

AC = AudioCaps, DE-S = DCASE-Synth, DE-R = DCASE-Real, VGG = VGGSound, ESC = ESC-50, MUC = MUSDB18. FAD is not defined for the unprocessed mixture, since the target and the mixture share the same audio events.


Subjective and human-aligned results

Model SAJ ↑ AA ↑ REL ↑ OVL ↑
ACMUCDE-S ACMUCDE-SDE-R ACMUCDE-SDE-R ACMUCDE-SDE-R
LASS-Net2.572.032.68 4.865.275.414.89 3.122.872.963.59 2.162.452.843.88
AudioSep2.842.972.93 5.185.946.035.57 3.663.993.243.93 2.693.853.534.02
SAM-Audio2.583.762.91 5.566.486.145.79 3.544.353.243.85 2.694.443.754.26
FlowSep2.733.083.02 5.366.075.835.28 4.083.713.624.11 3.983.843.724.26
FlowSep2-M2.963.393.47 5.496.676.085.86 4.133.913.624.16 4.094.023.884.28

SAJ = SAM Audio Judge, AA = AudioBox Aesthetics, REL = audio-text relation, OVL = overall impression. SAM-Audio is trained on large-scale music data and is the stronger system on MUSDB (MUC); FlowSep2 is evaluated there zero-shot.


Acknowledgement

This research was partly supported by a research scholarship from the China Scholarship Council (CSC), funded by British Broadcasting Corporation Research and Development (BBC R&D), Engineering and Physical Sciences Research Council (EPSRC) Grant EP/T019751/1 'AI for Sound', and a PhD scholarship from the Centre for Vision, Speech and Signal Processing (CVSSP), University of Surrey. For the purpose of open access, the authors have applied a Creative Commons Attribution (CC BY) license to any Author Accepted Manuscript version arising.



Page updated on 22 Aug 2026