Sound Event Detection of Weakly Labelled Data with CNN-Transformer and Automatic Threshold Optimization

Qiuqiang Kong, Yong Xu, Wenwu Wang, Mark D. Plumbley
12/10/2019
cs.SDeess.AS
transformer-attention

Official code: qiuqiangkong/sound_event_detection_dcase2017_task4 (54 stars, Python, MIT, last commit 2020-06-03).

Abstract

Sound event detection (SED) is a task to detect sound events in an audio recording. One challenge of the SED task is that many datasets such as the Detection and Classification of Acoustic Scenes and Events (DCASE) datasets are weakly labelled.

Show full abstract

That is, there are only audio tags for each audio clip without the onset and offset times of sound events. \qk{We compare segment-wise and clip-wise training for SED that is lacking in previous works. We propose a convolutional neural network transformer (CNN-Transfomer) for audio tagging and SED, and show that CNN-Transformer performs similarly to a convolutional recurrent neural network (CRNN)}. Another challenge of SED is that thresholds are required for detecting sound events. Previous works set thresholds empirically, and are not an optimal approaches. To solve this problem, we propose an automatic threshold optimization method. The first stage is to optimize the system with respect to metrics that do not depend on thresholds, such as mean average precision (mAP). The second stage is to optimize the thresholds with respect to metrics that depends on those thresholds. Our proposed automatic threshold optimization system achieves a state-of-the-art audio tagging F1 of 0.646, outperforming that without threshold optimization of 0.629, and a sound event detection F1 of 0.584, outperforming that without threshold optimization of 0.564.

View on arXivView PDF

Code Implementations(1)

MIT
5411Python, ShellDec 8, 20196 years agoMIT

Similar Papers

Cite this paper

@article{kong2019sound,
  title  = {Sound Event Detection of Weakly Labelled Data with CNN-Transformer and Automatic Threshold Optimization},
  author = {Qiuqiang Kong and Yong Xu and Wenwu Wang and Mark D. Plumbley},
  year   = {2019},
  eprint = {1912.04761},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.04761}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.04761.svg)](https://codeofpaper.com/paper/1912.04761)

Discussion