[Paper Review] Segment-level Metric Learning for Few-shot Bioacoustic Event Detection
This paper proposes a segment-level metric learning framework for few-shot bioacoustic event detection that improves model generalization by jointly optimizing with both positive and negative audio segments during training. By incorporating transductive inference and leveraging negative events—comprising 91.3% of training data—the method achieves an F-measure of 62.73 on the DCASE2022-T5 validation set, outperforming the baseline prototypical network by 28.71 points and securing 2nd place in the challenge.
Few-shot bioacoustic event detection is a task that detects the occurrence time of a novel sound given a few examples. Previous methods employ metric learning to build a latent space with the labeled part of different sound classes, also known as positive events. In this study, we propose a segment-level few-shot learning framework that utilizes both the positive and negative events during model optimization. Training with negative events, which are larger in volume than positive events, can increase the generalization ability of the model. In addition, we use transductive inference on the validation set during training for better adaptation to novel classes. We conduct ablation studies on our proposed method with different setups on input features, training data, and hyper-parameters. Our final system achieves an F-measure of 62.73 on the DCASE 2022 challenge task 5 (DCASE2022-T5) validation set, outperforming the performance of the baseline prototypical network 34.02 by a large margin. Using the proposed method, our submitted system ranks 2nd in DCASE2022-T5. The code of this paper is fully open-sourced at https://github.com/haoheliu/DCASE_2022_Task_5.
Motivation & Objective
- To improve few-shot bioacoustic event detection by leveraging underutilized negative audio segments during model training.
- To enhance model generalization through a transductive inference scheme that uses unlabeled validation data during training.
- To investigate the impact of input features, embedding dimensions, and data augmentation on few-shot SED performance.
- To evaluate whether PSDS is a more robust metric than F-measure for few-shot audio detection by considering multiple thresholds and post-processing settings.
- To develop a fully open-source system that achieves state-of-the-art performance on the DCASE2022-T5 benchmark.
Proposed method
- The method employs a prototypical network architecture with episodic training in an N-way-M-shot setting, where M segments per class are used as support and query sets.
- Audio segments are embedded into a latent space using a learnable feature extractor, and prototypes are formed by averaging embeddings of the same class.
- A contrastive loss is applied not only between positive segments of the same class but also between positive and negative segments to improve decision boundary robustness.
- Transductive inference is applied during training by using unlabeled validation data to refine predictions and update model parameters iteratively.
- The system uses PCEN with Δ-MFCC as input features, adaptive average pooling to control embedding dimension, and post-processing to refine detection outputs.
- Ablation studies are conducted on negative segment usage, transductive inference, post-processing, and data combination (DCASE2022-T5 + AudioSet-SL).
Experimental results
Research questions
- RQ1Can incorporating negative audio segments—previously underutilized in metric learning—improve few-shot bioacoustic event detection performance?
- RQ2Does transductive inference using unlabeled validation data significantly enhance model generalization in few-shot SED?
- RQ3Which input feature combination (e.g., PCEN + Δ-MFCC) yields the best performance on the DCASE2022-T5 benchmark?
- RQ4How does combining domain-mismatched data (e.g., DCASE2022-T5 and AudioSet-SL) affect model robustness and overall performance?
- RQ5Is PSDS a more suitable evaluation metric than F-measure for few-shot audio detection due to its consideration of multiple thresholds and post-processing?
Key findings
- The proposed method achieves an F-measure of 62.73 on the DCASE2022-T5 validation set, a significant improvement over the baseline prototypical network (34.02).
- The system ranks 2nd in the DCASE2022-T5 challenge, demonstrating strong generalization and robustness on novel bioacoustic classes.
- Removing negative segment contrastive loss reduces F-measure to 55.25, indicating that negative events are critical for performance.
- Transductive inference improves performance from 56.37 to 62.73 F-measure, showing its value in adapting to novel classes.
- Using PCEN with Δ-MFCC as input features yields the best performance, outperforming other combinations in ablation studies.
- Combining DCASE2022-T5 and AudioSet-SL data achieves the highest PSDS (58.77), suggesting improved generalization across thresholds despite a drop in F-measure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.