Abstract
Target Sound Extraction (TSE) aims to isolate specific audio sources from a mixture based on natural language queries. Traditionally, training these models requires extensive parallel datasets of audio clips paired with precise text descriptions. This paper introduces a retrieval-augmented training scheme that bypasses the need for manually labeled data. By utilizing a pre-trained Contrastive Language-Audio Pretraining (CLAP) model and an embedding cache populated with LLM-generated captions, the proposed method mitigates modality gaps and information leakage. Our approach achieves a 1-2 dB improvement over existing parallel-data-free methods and outperforms several state-of-the-art supervised systems on standard benchmarks.
Introduction
The "cocktail party effect"—the human ability to focus on a single sound source in a noisy environment—is a long-standing challenge in audio processing. Replicating this via Target Sound Extraction (TSE) typically relies on supervised learning with large-scale parallel audio-text data. However, manual annotation is costly and difficult to scale.
While zero-shot approaches using pre-trained models like CLAP offer a potential solution, they face two primary hurdles:
- The Modality Gap: Audio and text embeddings, though aligned, reside in slightly different regions of the shared latent space.
- Information Leakage: Audio embeddings often contain fine-grained acoustic details that are absent in text queries. During training, models may "cheat" by exploiting these details rather than learning general semantic concepts.
Proposed Methodology
The core of our approach is a retrieval-augmented, parallel-data-free training pipeline designed to bridge the gap between training (using audio) and inference (using text).
1. Embedding Cache Construction
Before training, we leverage a Large Language Model (LLM) to generate diverse audio captions based on the WavCaps dataset. These captions are encoded into a text embedding space using a frozen CLAP text encoder and stored in a searchable cache.
2. Retrieval-Augmented Training
During training, we use the target audio's embedding as a query to retrieve the most semantically similar text embedding from the cache. By conditioning the TSE model on this retrieved text embedding rather than the original audio embedding, we force the model to operate on the same data modality it will encounter during inference. This process acts as a semantic filter, stripping away irrelevant acoustic details.
3. Gaussian Noise Injection
To further improve generalization and bridge the modality gap, we inject random Gaussian noise into the embeddings during training. This provides a buffer that helps the model become robust to the slight variations between audio-derived and text-derived representations.
Experimental Results
We evaluated our model on several major audio datasets, including AudioCaps, Clotho v2, AudioSet, MUSIC21, and ESC50.
Performance and Scaling
The retrieval-augmented method consistently outperformed vanilla parallel-data-free baselines. Notably, the diversity of the embedding cache proved critical. As shown in Figure 5, the inclusion of LLM-generated captions significantly boosted performance across nearly all evaluation sets.
Our method achieved an SDRi of 9.75 dB on the AudioCaps benchmark, surpassing supervised models such as CLAPSep (9.69 dB) and AudioSep (8.12 dB). Furthermore, performance continued to improve as we scaled the training data from the balanced AudioSet split to a larger, unlabeled dataset ($DS_{large}$) of nearly 2 million clips.
Conclusion
This work demonstrates that high-quality Target Sound Extraction can be achieved without the need for expensive parallel training data. By combining retrieval-augmented training with LLM-generated synthetic captions, we can leverage massive unlabeled audio repositories to build robust, generalizable TSE systems. Future work will focus on expanding the diversity of the embedding cache and optimizing noise injection strategies to further close the performance gap with fully supervised systems.
Source: Language-Queried Target Sound Extraction Without Parallel Training Data (2025). arXiv:2409.09398v3.
Summary updated