Skip to main content
QUICK REVIEW

[Paper Review] On Multitask Loss Function for Audio Event Detection and Localization

Huy Phan, Lam Pham|arXiv (Cornell University)|Sep 11, 2020
Music and Audio ProcessingComputer Science16 references16 citations
TL;DR

This paper proposes a homogeneous mean squared error (MSE) loss for multitask audio event detection and localization (SELD), formulating both event detection and direction-of-arrival estimation as regression problems. Experiments on DCASE 2020 show this approach reduces the combined SELD error by 10% absolute compared to the baseline, improving convergence and performance across all metrics.

ABSTRACT

Audio event localization and detection (SELD) have been commonly tackled using multitask models. Such a model usually consists of a multi-label event classification branch with sigmoid cross-entropy loss for event activity detection and a regression branch with mean squared error loss for direction-of-arrival estimation. In this work, we propose a multitask regression model, in which both (multi-label) event detection and localization are formulated as regression problems and use the mean squared error loss homogeneously for model training. We show that the common combination of heterogeneous loss functions causes the network to underfit the data whereas the homogeneous mean squared error loss leads to better convergence and performance. Experiments on the development and validation sets of the DCASE 2020 SELD task demonstrate that the proposed system also outperforms the DCASE 2020 SELD baseline across all the detection and localization metrics, reducing the overall SELD error (the combined metric) by approximately 10% absolute.

Motivation & Objective

  • To address the underfitting issue in multitask audio event detection and localization (SELD) when using heterogeneous loss functions.
  • To investigate whether a homogeneous loss function improves training convergence and model generalization in joint SELD modeling.
  • To evaluate the performance of a multitask-regression model using only MSE loss across both detection and localization subtasks.
  • To compare the proposed method against the DCASE 2020 baseline, which uses a combination of sigmoid cross-entropy (CE) and mean squared error (MSE) losses.
  • To demonstrate that a unified MSE-based approach leads to better-balanced and improved performance on both detection and localization metrics.

Proposed method

  • Formulate both sound event detection (SED) and direction-of-arrival (DOA) estimation as regression tasks, eliminating the need for classification-based sigmoid cross-entropy loss.
  • Use a single mean squared error (MSE) loss function for both subtasks, ensuring homogeneous optimization during training.
  • Implement a CRNN architecture with bidirectional GRUs and self-attention to model temporal and contextual dependencies in the time-frequency representation.
  • Process input spectrograms of size $ T \times F \times C $ through six convolutional layers with batch normalization and ReLU activation, followed by max pooling to reduce spatial dimensions.
  • Apply a 5×2 max pooling layer after the first convolutional block to downsample the time dimension to match the 100ms evaluation frame resolution.
  • Use self-attention on the GRU-encoded sequence to enhance context modeling around each time frame.

Experimental results

Research questions

  • RQ1Does combining heterogeneous loss functions (sigmoid cross-entropy for classification and MSE for regression) lead to underfitting in the SED subtask during joint training?
  • RQ2Can a homogeneous MSE loss for both SED and DOA estimation improve model convergence and performance compared to mixed loss strategies?
  • RQ3How does the proposed multitask-regression model compare to the DCASE 2020 baseline in terms of detection and localization accuracy?
  • RQ4What is the impact of loss weighting imbalance on the optimization dynamics of joint SELD models?
  • RQ5Does using only regression-based loss functions lead to better generalization and balanced performance across detection and localization metrics?

Key findings

  • The use of a homogeneous MSE loss for both SED and DOA estimation leads to significantly better convergence and reduced underfitting compared to the standard CE+MSE combination.
  • The proposed model reduces the overall SELD error by approximately 10% absolute compared to the DCASE 2020 baseline on both development and evaluation sets.
  • On the development set, the proposed system reduces the combined SELD error by 0.08 (FOA) and 0.11 (MIC) absolute compared to the baseline.
  • On the evaluation set, the error reduction reaches 0.11 (FOA) and 0.09 (MIC) absolute, demonstrating consistent improvement.
  • The SED subtask performance improves substantially under the homogeneous MSE loss, while DOA estimation performance remains comparable to the baseline.
  • The model achieves a 6th place ranking in the DCASE 2020 Task 3 challenge, despite being compact and not relying on ensembles or multiple microphone arrays.

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.