Zero-Shot Audio Source Separation through Query-Based Learning from Weakly-Labeled Data

Ke Chen, Xingjian Du, Bilei Zhu, Zejun Ma, Taylor Berg-Kirkpatrick, Shlomo Dubnov

Abstract

Universal audio source separation remains a significant challenge due to the scarcity of large-scale datasets with isolated ground-truth stems. This paper introduces a novel pipeline that leverages massive, weakly-labeled datasets like AudioSet (2.1 million clips) to train a flexible separator. The system integrates a Swin Token-Semantic Transformer for precise sound event detection (SED), a latent source processor for generating query embeddings, and a query-based U-Net separator. Our approach achieves state-of-the-art performance in SED and demonstrates impressive zero-shot generalization, successfully isolating sound sources never encountered during training.

1. Introduction

Traditional audio source separation relies on supervised learning with "clean" datasets containing both mixtures and isolated sources. However, such datasets are typically small and limited in category diversity. In contrast, weakly-labeled datasets like AudioSet offer vast scale and diversity but lack precise temporal boundaries and isolated stems. This work addresses the challenge of utilizing these abundant but "messy" data sources to build a universal separator capable of handling any sound type, including unseen categories.

2. Methodology

The proposed system employs a three-stage pipeline to bridge the gap between weak labels and high-quality source separation.

Overview of the proposed zero-shot audio source separation system.

2.1 Swin Token-Semantic Transformer (ST-SED)

To utilize weakly-labeled data, the model must first identify the most representative segments of a clip. The ST-SED system uses a Swin Transformer backbone combined with a "token-semantic" CNN to localize sound events with high precision. This localization allows the model to "self-supervise" by focusing on segments where a specific sound is dominant.

2.2 Latent Source Processor and Query-Based U-Net

The localized clips are encoded into a latent embedding space, creating a "digital fingerprint" or query for specific sound types. This query is then fed into a U-Net separator. Unlike fixed-output models, this architecture uses the latent query to dynamically adjust its weights, allowing a single model to extract any source defined by the input embedding.

Detailed architecture of the ST-SED components and the query-based U-Net separator.

3. Experiments and Results

The model was trained on AudioSet (527 classes) and evaluated across multiple benchmarks.

3.1 Sound Event Detection

The ST-SED component achieved a state-of-the-art mean Average Precision (mAP) of 0.467 on AudioSet, outperforming previous benchmarks like PANNs and AST. This confirms the effectiveness of hierarchical windowing in Swin Transformers for audio tasks.

3.2 Source Separation and Zero-Shot Generalization

On the MUSDB18 music separation task, the model achieved a Source-to-Distortion Ratio (SDR) of 6.15 dB for vocals, despite no music-specific training. Crucially, zero-shot experiments on held-out classes (e.g., "Cat", "Orchestra") yielded high SDRs (9.49 dB and 9.18 dB respectively), proving the model's ability to generalize to entirely new sound categories using latent queries.

4. Conclusion

This work demonstrates that high-quality, universal audio source separation can be achieved using weakly-labeled data. By treating latent embeddings as a universal language for sound, the model moves beyond fixed-category separation toward a truly flexible, query-based system. Future research will focus on improving performance for complex "catch-all" categories and refining query generation techniques.

Summary updated

BibTeX
@inproceedings{chen2022zero,
  author = {Ke Chen and Xingjian Du and Bilei Zhu and Zejun Ma and Taylor Berg-Kirkpatrick and Shlomo Dubnov},
  title = {{Zero-Shot Audio Source Separation through Query-Based Learning from Weakly-Labeled Data}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i4.20366},
}
Figure