clapsep-eval
CLAPSep: Leveraging Contrastive Pre-trained Model for Multi-Modal Query-Conditioned Target Sound Extraction — Hao Ma et al. (2024) (arXiv:2402.17455, 2024)
What this evaluates
This benchmark evaluates query-conditioned target sound extraction (TSE), testing a model's ability to isolate a target audio source from a mixture using language captions or reference audio queries. It probes multi-modal query processing and positive/negative query valence across diverse acoustic environments and musical instruments.
Datasets
- AudioCaps — total ?; splits: test (4785)
- AudioSet — total ?; splits: eval (18869)
- ESC-50 — total ?; splits: test (6500)
- FSDKaggle2018 — total ?; splits: test (8000)
- MUSIC21 — total ?; splits: test (19805)
Metrics
SDRi (primary) — range: other
- SDRi = SDR(estimated_source, ground_truth) - SDR(mixture, ground_truth). Measures the improvement in signal-to-distortion ratio after separation.
SISDRi (primary) — range: other
- SISDRi = SISDR(estimated_source, ground_truth) - SISDR(mixture, ground_truth). Measures the improvement in scale-invariant signal-to-distortion ratio after separation.
Input / output format
Input: A mixed audio waveform (target source + interference noise at 0 dB SNR) paired with a query, which can be either a text caption or a reference audio sample.
Output: A single extracted target sound source waveform corresponding to the query.
Scoring recipe
def score(predictions, gold, mixture):
sdri = sdr(predictions, gold) - sdr(mixture, gold)
sisdri = sisdr(predictions, gold) - sisdr(mixture, gold)
return {'SDRi': sdri, 'SISDRi': sisdri}
Common pitfalls
- Using evaluation mixtures with SNR levels other than the strictly specified 0 dB.
- Allowing query audio samples to be used in generating the evaluation mixtures, causing information leakage.
- Failing to resample all audio to 32kHz for consistent evaluation across datasets like ESC-50 and FSDKaggle2018.
- Confusing positive vs. negative query valence, which significantly impacts performance reporting.
Evidence (verbatim from paper)
Following previous works [[19], [20]], we use signal-to-distortion ratio improvement (SDRi) and scale-invariant signal-to-distortion ratio improvement (SISDRi) as the evaluation metrics. They indicate to what extent SDR and SISDR ... are improved by sound separation. They are defined as follows, SDRi(x̂, x̃, x) = SDR(x̂, x) - SDR(x̃, x), SISDRi(x̂, x̃, x) = SISDR(x̂, x) - SISDR(x̃, x), where x̂, x̃ and x denote the extracted sound source, sound mixture, and ground truth source, respectively.
Citation
@misc{ma2024clapsep,
title={CLAPSep: Leveraging Contrastive Pre-trained Model for Multi-Modal Query-Conditioned Target Sound Extraction},
author={Hao Ma et al. (2024)},
year={2024},
note={arXiv:2402.17455}
}
1---2name: clapsep-eval3description: This benchmark evaluates query-conditioned target sound extraction (TSE), testing a model's ability to isolate a target audio source from a mixture using language captions or reference audio queries. It probes multi-modal query processing and positive/negative query valence across diverse acoustic environments and musical instruments. Use when the user wants to benchmark on AudioCaps, AudioSet, ESC-50, FSDKaggle2018, MUSIC21, or asks about evaluating this task. Reports SDRi, SISDRi.4---56# clapsep-eval78> CLAPSep: Leveraging Contrastive Pre-trained Model for Multi-Modal Query-Conditioned Target Sound Extraction — Hao Ma et al. (2024) (arXiv:2402.17455, 2024)910## What this evaluates1112This benchmark evaluates query-conditioned target sound extraction (TSE), testing a model's ability to isolate a target audio source from a mixture using language captions or reference audio queries. It probes multi-modal query processing and positive/negative query valence across diverse acoustic environments and musical instruments.1314## Datasets1516- **AudioCaps** — total ?; splits: test (4785)17- **AudioSet** — total ?; splits: eval (18869)18- **ESC-50** — total ?; splits: test (6500)19- **FSDKaggle2018** — total ?; splits: test (8000)20- **MUSIC21** — total ?; splits: test (19805)2122## Metrics2324- `SDRi` **(primary)** — range: other25 - SDRi = SDR(estimated_source, ground_truth) - SDR(mixture, ground_truth). Measures the improvement in signal-to-distortion ratio after separation.26- `SISDRi` **(primary)** — range: other27 - SISDRi = SISDR(estimated_source, ground_truth) - SISDR(mixture, ground_truth). Measures the improvement in scale-invariant signal-to-distortion ratio after separation.2829## Input / output format3031**Input**: A mixed audio waveform (target source + interference noise at 0 dB SNR) paired with a query, which can be either a text caption or a reference audio sample.3233**Output**: A single extracted target sound source waveform corresponding to the query.3435## Scoring recipe3637```python38def score(predictions, gold, mixture):39 sdri = sdr(predictions, gold) - sdr(mixture, gold)40 sisdri = sisdr(predictions, gold) - sisdr(mixture, gold)41 return {'SDRi': sdri, 'SISDRi': sisdri}42```4344## Common pitfalls4546- Using evaluation mixtures with SNR levels other than the strictly specified 0 dB.47- Allowing query audio samples to be used in generating the evaluation mixtures, causing information leakage.48- Failing to resample all audio to 32kHz for consistent evaluation across datasets like ESC-50 and FSDKaggle2018.49- Confusing positive vs. negative query valence, which significantly impacts performance reporting.5051## Evidence (verbatim from paper)5253> Following previous works [[19], [20]], we use signal-to-distortion ratio improvement (SDRi) and scale-invariant signal-to-distortion ratio improvement (SISDRi) as the evaluation metrics. They indicate to what extent SDR and SISDR ... are improved by sound separation. They are defined as follows, SDRi(x̂, x̃, x) = SDR(x̂, x) - SDR(x̃, x), SISDRi(x̂, x̃, x) = SISDR(x̂, x) - SISDR(x̃, x), where x̂, x̃ and x denote the extracted sound source, sound mixture, and ground truth source, respectively.5455## Citation5657```bibtex58@misc{ma2024clapsep,59 title={CLAPSep: Leveraging Contrastive Pre-trained Model for Multi-Modal Query-Conditioned Target Sound Extraction},60 author={Hao Ma et al. (2024)},61 year={2024},62 note={arXiv:2402.17455}63}64```6566- arXiv: 2402.17455