Skip to main content
QUICK REVIEW

[Paper Review] Training sound event detection with soft labels from crowdsourced annotations

Irene Martín-Morató, Manu Harju|arXiv (Cornell University)|Feb 28, 2023
Music and Audio ProcessingComputer Science4 citations
TL;DR

This paper proposes training sound event detection (SED) systems using soft labels derived from crowdsourced annotations, which encode annotator uncertainty and consensus. By leveraging these soft labels—computed via competence-weighted aggregation of multiple annotators—the model learns to detect under-represented sound classes missed by standard hard-label training, achieving improved detection of rare events through class-specific thresholding, with the best performance using mean squared error (MSE) loss and soft label supervision.

ABSTRACT

In this paper, we study the use of soft labels to train a system for sound event detection (SED). Soft labels can result from annotations which account for human uncertainty about categories, or emerge as a natural representation of multiple opinions in annotation. Converting annotations to hard labels results in unambiguous categories for training, at the cost of losing the details about the labels distribution. This work investigates how soft labels can be used, and what benefits they bring in training a SED system. The results show that the system is capable of learning information about the activity of the sounds which is reflected in the soft labels and is able to detect sounds that are missed in the typical binary target training setup. We also release a new dataset produced through crowdsourcing, containing temporally strong labels for sound events in real-life recordings, with both soft and hard labels.

Motivation & Objective

  • To address the scarcity of large-scale, long-duration, strongly-labeled SED datasets by creating a new dataset with temporally strong labels.
  • To investigate whether soft labels—reflecting annotator uncertainty and consensus—improve SED model performance compared to traditional hard labels.
  • To evaluate the effectiveness of different training objectives (BCE vs. MSE) when using soft labels for SED.
  • To demonstrate that soft label supervision enables detection of under-represented sound classes that are ignored in standard hard-label training.
  • To explore class-specific thresholding strategies to better align model outputs with soft label distributions.

Proposed method

  • Crowdsourced annotations were collected using overlapping, weakly-labeled segments, where annotators indicated presence/absence of predefined sound events.
  • Soft labels were computed by aggregating multiple annotator opinions using MACE-estimated competence, resulting in activity scores between 0 and 1.
  • A new dataset, MAESTRO-Real, was released with 5 real-life acoustic scenes, 17 sound classes, and both soft and hard labels.
  • The SED model was trained using binary cross-entropy (BCE) and mean squared error (MSE) loss functions with soft labels.
  • System outputs were evaluated using 1-second segment-based F1-score and error rate (ER) against hard labels, and Kullback-Leibler divergence (KLD) against soft labels.
  • Class-wise performance was analyzed using a 10%-trimmed midrange threshold per class to optimize detection sensitivity for rare events.

Experimental results

Research questions

  • RQ1Can soft labels derived from crowdsourced annotations improve sound event detection performance compared to hard labels?
  • RQ2Does training with soft labels enable detection of under-represented sound classes that are missed in standard hard-label training setups?
  • RQ3How do different loss functions (BCE vs. MSE) interact with soft label supervision in SED?
  • RQ4To what extent does KLD between soft predictions and soft references reflect model calibration and uncertainty modeling?
  • RQ5Can class-specific thresholding improve detection of rare events when using soft label supervision?

Key findings

  • The S_MSE_lin model trained with soft labels achieved the highest micro-averaged F1-score (70.82%) and lowest KLD (1.383) to the soft reference, indicating better alignment with the soft label distribution.
  • The H_BCE_sig model, trained with hard labels and BCE loss, failed to detect under-represented classes due to class imbalance in the training objective.
  • Soft label training with MSE loss enabled detection of all sound classes, even when their soft label values were below 0.5, which was lost when applying a fixed 0.5 threshold.
  • Using class-dependent thresholds based on the 10%-trimmed midrange of soft labels significantly improved class-wise F1 scores, despite a slight increase in overall ER (0.47) and F1 (67.30%) compared to the best-performing hard-label model.
  • The KLD metric confirmed that the S_MSE_lin model's soft outputs were closest to the reference soft labels, demonstrating effective uncertainty modeling.
  • The release of the MAESTRO-Real dataset with both soft and hard labels provides a valuable benchmark for future SED research using uncertainty-aware annotations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.