[Paper Review] Bioacoustic Event Detection with prototypical networks and data augmentation
This paper presents a few-shot learning approach for bioacoustic event detection using prototypical networks with data augmentation and PCEN-normalized Mel spectrograms. Despite achieving an F-measure of 26.243%, the method improves recall to 38.1% but struggles with precision, indicating challenges in generalization despite robust feature engineering and augmentation techniques.
This report presents deep learning and data augmentation techniques used by a system entered into the Few-Shot Bioacoustic Event Detection for the DCASE2021 Challenge. The remit was to develop a few-shot learning system for animal (mammal and bird) vocalisations. Participants were tasked with developing a method that can extract information from five exemplar vocalisations, or shots, of mammals or birds and detect and classify sounds in field recordings. In the system described in this report, prototypical networks are used to learn a metric space, from which classification is performed by computing the distance of a query point to class prototypes, classifying based on shortest distance. We describe the architecture of this network, feature extraction methods, and data augmentation performed on the given dataset and compare our work to the challenge's baseline networks.
Motivation & Objective
- To develop a few-shot learning system capable of detecting and classifying animal vocalizations using only five labeled exemplars per class.
- To improve generalization in low-resource bioacoustic scenarios where annotation is costly and data is scarce.
- To evaluate the effectiveness of data augmentation and PCEN normalization in enhancing model robustness for unseen animal vocalization classes.
- To compare the proposed system with the challenge baseline, particularly in terms of F-measure, precision, and recall.
Proposed method
- The system uses prototypical networks to learn a metric space where classification is based on the Euclidean distance between query embeddings and class prototypes.
- Audio is converted to Mel spectrograms with 128 bins, 1024 FFT size, and 256 hop length, followed by Per-Channel Energy Normalization (PCEN) for noise robustness.
- Data augmentation includes time stretching (±5%), time masking (T consecutive time steps set to zero), and frequency masking, applied via Torchaudio.
- The model is trained end-to-end using cross-entropy loss on support sets, with prototypes computed as the mean of support embeddings.
- Onset and offset times are predicted using a thresholding and edge detection method on the attention map, followed by post-processing to filter short events.
- Post-processing removes events shorter than 60% of the shortest ground-truth event to reduce false positives.
Experimental results
Research questions
- RQ1Can prototypical networks effectively generalize to unseen animal vocalization classes with only five labeled examples per class?
- RQ2How does PCEN normalization compare to log-Mel spectrograms in improving model robustness on noisy bioacoustic data?
- RQ3To what extent do data augmentation techniques such as time stretching and masking improve few-shot detection performance?
- RQ4Why does the model with data augmentation show higher validation performance despite higher training loss than the baseline?
Key findings
- The best-performing model achieved an F-measure of 26.243% on the validation set, using PCEN-normalized spectrograms and data augmentation.
- Recall improved significantly to 38.1% compared to the baseline, indicating better detection of true positive events.
- Precision dropped to 20.0% due to a high number of false positives, suggesting limited separation in the learned embedding space.
- The model with data augmentation and PCEN outperformed the log-Mel baseline, which achieved 16.565% F-measure.
- Despite higher training loss, the augmented model converged more stably and reached lower minimum loss values, indicating better optimization dynamics.
- Post-processing reduced false positives with minimal impact on true positives, confirming its utility in refining predictions.
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.