Skip to main content
QUICK REVIEW

[Paper Review] Sound event detection using weakly labeled dataset with stacked convolutional and recurrent neural network

Sharath Adavanne, Tuomas Virtanen|arXiv (Cornell University)|Oct 9, 2017
Music and Audio ProcessingComputer Science20 references42 citations
TL;DR

This paper proposes a stacked convolutional and recurrent neural network with dual prediction heads to detect sound event boundaries (strong labels) from weakly labeled audio data—where only event classes are provided without timing. By jointly training on frame-wise strong labels (replicated from weak labels) and weak labels with adaptive loss weighting, the model achieves a strong label error rate of 0.84 and weak label F-score of 43.3% on a 155-hour dataset, demonstrating effective self-supervised temporal localization from minimal supervision.

ABSTRACT

This paper proposes a neural network architecture and training scheme to learn the start and end time of sound events (strong labels) in an audio recording given just the list of sound events existing in the audio without time information (weak labels). We achieve this by using a stacked convolutional and recurrent neural network with two prediction layers in sequence one for the strong followed by the weak label. The network is trained using frame-wise log mel-band energy as the input audio feature, and weak labels provided in the dataset as labels for the weak label prediction layer. Strong labels are generated by replicating the weak labels as many number of times as the frames in the input audio feature, and used for strong label layer during training. We propose to control what the network learns from the weak and strong labels by different weighting for the loss computed in the two prediction layers. The proposed method is evaluated on a publicly available dataset of 155 hours with 17 sound event classes. The method achieves the best error rate of 0.84 for strong labels and F-score of 43.3% for weak labels on the unseen test split.

Motivation & Objective

  • To develop a deep learning method that learns precise sound event boundaries (strong labels) from only event class lists (weak labels) without temporal annotations.
  • To address the high annotation cost of strong labels by leveraging weakly labeled data for large-scale sound event detection.
  • To improve temporal resolution in sound event detection by designing a network that learns frame-wise predictions from weak supervision.
  • To investigate the impact of loss weighting between strong and weak prediction heads on model performance.
  • To validate the method on a large-scale, publicly available dataset with 17 sound event classes and 155 hours of audio.

Proposed method

  • A stacked convolutional and recurrent neural network (CNN-GRU) is used as the backbone, processing log mel-band energy features extracted from audio.
  • The network has two sequential prediction heads: one for frame-wise strong labels (event start/end times), and one for weak labels (event presence in the clip).
  • Strong labels are generated by replicating the weak label vector across all frames of the input audio feature sequence.
  • The model is trained using a weighted combination of two loss functions: one for the strong label prediction and one for the weak label prediction.
  • Loss weights for the strong and weak heads are adjusted during training to control the network's focus on learning temporal boundaries versus event presence.
  • Saliency maps are used to visualize which input features the network attends to, providing interpretability of learned event representations.

Experimental results

Research questions

  • RQ1Can a deep neural network learn accurate sound event boundaries from only weakly labeled audio data, where no timing information is provided?
  • RQ2How does the relative weighting of strong and weak label losses affect the model's ability to learn precise temporal boundaries?
  • RQ3Does the proposed architecture outperform existing methods in sound event detection when trained solely on weakly labeled data?
  • RQ4What types of sound events are most and least reliably detected by the model, and why?
  • RQ5To what extent can the network's internal representations be interpreted as learning relevant audio patterns for specific events?

Key findings

  • The model achieves a strong label error rate of 0.84 and a weak label F-score of 43.3% on the unseen test split of the DCASE 2017 dataset.
  • The best performance was achieved when equal loss weights were applied to both the strong and weak prediction heads, contrary to initial intuition that higher weight on weak labels would improve results.
  • When the strong label loss was weighted more heavily, the model improved in strong label detection (ER = 0.84) but degraded in weak label performance, indicating a trade-off between the two objectives.
  • Vehicular sounds (e.g., train, skateboard) and warning signals (e.g., fire engine siren, civil defense siren) achieved F-scores above 60%, while others like ambulance siren and car alarm scored zero.
  • Saliency map visualization confirmed that the network learns to attend to relevant time regions in the log mel-band energy input corresponding to actual sound events.
  • The method outperforms prior approaches that rely on upsampling or segment-based training, offering higher temporal resolution due to its end-to-end frame-wise prediction design.

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.