CLAPSep: Leveraging Contrastive Pre-trained Model for Multi-Modal Query-Conditioned Target Sound Extraction
About
Universal sound separation (USS) aims to extract arbitrary types of sounds from real-world recordings. This can be achieved by language-queried target sound extraction (TSE), which typically consists of two components: a query network that converts user queries into conditional embeddings, and a separation network that extracts the target sound accordingly. Existing methods commonly train models from scratch. As a consequence, substantial data and computational resources are required to make the randomly initialized model comprehend sound events and perform separation accordingly. In this paper, we propose to integrate pre-trained models into TSE models to address the above issue. To be specific, we tailor and adapt the powerful contrastive language-audio pre-trained model (CLAP) for USS, denoted as CLAPSep. CLAPSep also accepts flexible user inputs, taking both positive and negative user prompts of uni- and/or multi-modalities for target sound extraction. These key features of CLAPSep can not only enhance the extraction performance but also improve the versatility of its application. We provide extensive experiments on 5 diverse datasets to demonstrate the superior performance and zero- and few-shot generalizability of our proposed CLAPSep with fast training convergence, surpassing previous methods by a significant margin. Full codes and some audio examples are released for reproduction and evaluation.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Target Sound Extraction | ESC-50 (test) | SISDRi12.37 | 46 | |
| Target Sound Extraction | MUSIC21 (test) | SDRi9.47 | 17 | |
| Target Sound Extraction | FSDKaggle 2018 (test) | SDRi21.11 | 17 | |
| Text-prompted separation | Instr pro | SAJ2.48 | 11 | |
| Text-prompted separation | Instr(wild) | SAJ2.47 | 9 | |
| Text-prompted separation | Speaker | SAJ2.8 | 9 | |
| Text-prompted separation | Speech | SAJ2.3 | 9 | |
| Text-prompted separation | music | SAJ2.48 | 7 | |
| Text-prompted separation | General SFX | SAJ Score2.68 | 5 |