Sound Event Detection in Domestic Environments with Weakly Labeled Data and Soundscape Synthesis

Nicolas Turpault, Romain Serizel, Justin Salamon, Ankit Parag Shah2019

Abstract

This paper presents Task 4 of the Detection and Classification of Acoustic Scenes and Events (DCASE) 2019 challenge and provides a first analysis of the challenge results. The task is a followup to Task 4 of DCASE 2018, and involves training systems for large-scale detection of sound events using a combination of weakly labeled data, i.e. training labels without time boundaries, and strongly-labeled synthesized data. We introduce the Domestic Environment Sound Event Detection (DESED) dataset, mixing a part of last year's dataset and an additional synthetic, strongly labeled, dataset provided this year that we describe in more detail. We also report the performance of the submitted systems on the official evaluation (test) and development sets as well as several additional datasets. The best systems from this year outperform last year's winning system by about 10% points in terms of F-measure.

Introduction

Sound Event Detection (SED) involves identifying both the type of sound (e.g., a dog barking) and its precise temporal boundaries (onset and offset). Traditional training requires "strong labels"—millisecond-accurate timestamps—which are expensive and difficult to annotate manually. Conversely, "weak labels" (indicating an event occurred within a clip without timing) are easier to obtain but provide less granular information.

The DCASE 2019 Task 4 addresses this by leveraging a mix of weakly labeled real-world data, a large pool of unlabeled data, and strongly labeled synthetic data. This approach aims to bridge the gap between low-cost labeling and high-precision detection.

Methodology: The Mean-Teacher Framework

The cornerstone of many top-performing systems in the challenge was the Mean-Teacher architecture. This semi-supervised learning framework utilizes two identical neural networks: a "Student" and a "Teacher."

The Mean-Teacher architecture for semi-supervised sound event detection, showing the interaction between student and teacher models across weakly, strongly, and unlabeled data.

As shown in Figure 1, the Student model learns directly from labeled data via classification costs. The Teacher model's weights are an exponential moving average (EMA) of the Student's weights, providing a stable target. A consistency loss is applied to unlabeled data: the same audio is passed through both models (with noise added to the Student's input), and the Student is penalized if its output deviates from the Teacher's.

Most systems employed a Convolutional Recurrent Neural Network (CRNN) architecture. CNNs extract local spectral features, while RNNs (typically GRUs or LSTMs) model temporal dependencies. To generate the necessary strong labels, researchers used the Scaper library to synthesize domestic soundscapes, mixing foreground events with background textures.

The DESED Dataset

The challenge introduced the Domestic Environment Sound Event Detection (DESED) dataset, a hybrid collection designed to test various aspects of SED:

  • Real-world data: 10-second YouTube clips from AudioSet, including weakly labeled training data and strongly labeled validation/test sets.
  • Unlabeled data: A large set of real-world domestic recordings.
  • Synthetic data: Over 12,000 clips generated with Scaper, providing perfect ground truth for segmentation training.
  • Evaluation Sets: Diverse subsets, including a "Vimeo" set, were used to evaluate generalization across different recording conditions.

Results and Analysis

The 2019 challenge saw a dramatic improvement in performance compared to previous years. The top-performing system achieved an event-based F1-score of 42.7%, a significant leap from the 2018 winner (~32%) and the 2019 baseline (25.8%).

Rankings and performance metrics of submitted systems across various evaluation sets, including real recordings (Youtube, Vimeo) and synthetic data.

As detailed in Figure 4, the top three teams (Lin, ICT; Delphin-Poulat, OL; and Shi, FRDC) all achieved F1-scores around 42%. Key insights from the results include:

  1. Consistency Regularization: The success of the Mean-Teacher approach across all top teams confirms that consistency loss is a powerful tool for leveraging unlabeled data in SED.
  2. Synthetic Data Utility: Synthetic data effectively teaches models the "concept" of temporal boundaries, which generalizes to real-world data despite acoustic differences.
  3. Generalization Challenges: Performance dropped significantly on the Vimeo dataset compared to YouTube data. This suggests that models are still prone to overfitting the specific recording characteristics of their primary training source.
  4. Refined Post-Processing: Winning teams often used class-specific median filtering, recognizing that different sounds (e.g., a short "cat meow" vs. a long "vacuum cleaner" run) require different smoothing durations.

Conclusion and Future Directions

DCASE 2019 Task 4 demonstrated that combining synthetic data with semi-supervised learning can significantly advance state-of-the-art SED. However, the "generalization gap" observed in the Vimeo results highlights the need for better domain adaptation techniques. Future research should focus on increasing the acoustic realism of synthetic data and developing models that are robust to varying recording environments, moving toward practical, "plug-and-play" domestic sound monitoring systems.

Summary updated

BibTeX
@misc{turpault2019sound,
  author = {Nicolas Turpault and Romain Serizel and Justin Salamon and Ankit Parag Shah},
  title = {{Sound Event Detection in Domestic Environments with Weakly Labeled Data and Soundscape Synthesis}},
  year = {2019},
  doi = {10.33682/006b-jx26},
}
Figure