Skip to main content
QUICK REVIEW

[Paper Review] Sound Event Detection Transformer: An Event-based End-to-End Model for Sound Event Detection

Zhirong Ye, Xiangdong Wang|arXiv (Cornell University)|Oct 5, 2021
Music and Audio ProcessingComputer Science45 references13 citations
TL;DR

This paper proposes Sound Event Detection Transformer (SEDT), the first end-to-end, event-based model for sound event detection that directly predicts event boundaries and labels using a one-dimensional Detection Transformer (1D-DETR) with an audio query branch and one-to-many matching strategy. SEDT outperforms frame-based models by eliminating post-processing, improving event-level detection through joint optimization of localization and classification, achieving competitive results on URBAN-SED and DCASE2019 Task4.

ABSTRACT

Sound event detection (SED) has gained increasing attention with its wide application in surveillance, video indexing, etc. Existing models in SED mainly generate frame-level prediction, converting it into a sequence multi-label classification problem. A critical issue with the frame-based model is that it pursues the best frame-level prediction rather than the best event-level prediction. Besides, it needs post-processing and cannot be trained in an end-to-end way. This paper firstly presents the one-dimensional Detection Transformer (1D-DETR), inspired by Detection Transformer for image object detection. Furthermore, given the characteristics of SED, the audio query branch and a one-to-many matching strategy for fine-tuning the model are added to 1D-DETR to form Sound Event Detection Transformer (SEDT). To our knowledge, SEDT is the first event-based and end-to-end SED model. Experiments are conducted on the URBAN-SED dataset and the DCASE2019 Task4 dataset, and both show that SEDT can achieve competitive performance.

Motivation & Objective

  • To address the inconsistency between frame-level prediction and event-level detection in existing SED models.
  • To eliminate the need for post-processing by enabling direct event-level output in an end-to-end manner.
  • To improve model generalization and reduce hyperparameter sensitivity by replacing frame-level classification with event-based learning.
  • To enable weakly supervised learning for SED using synthetic data to infer localization.
  • To develop a model that jointly optimizes event localization and classification without relying on frame-level supervision.

Proposed method

  • Proposes a one-dimensional Detection Transformer (1D-DETR) adapted from object detection in images for audio signals.
  • Introduces an audio query branch to inject category-specific prior knowledge into event queries.
  • Employs a one-to-many matching strategy during training to allow multiple predictions to align with a single ground-truth event, improving recall.
  • Uses a learnable query embedding initialized with audio event embeddings to guide event detection.
  • Applies a fine-tuning stage with dynamic matching based on IoU threshold (ε) and confidence threshold (α) to refine predictions.
  • Integrates event-level classification fusion strategies (e.g., P1, P2) to balance precision and recall in post-inference.

Experimental results

Research questions

  • RQ1Can an end-to-end, event-based detection framework outperform frame-based models in sound event detection?
  • RQ2How can event-level localization and classification be jointly optimized without relying on frame-level supervision?
  • RQ3What is the impact of one-to-many matching and query-based initialization on model recall and precision?
  • RQ4Can synthetic data enable weakly supervised localization in SED without strong annotations?
  • RQ5How do hyperparameters ε and α affect the trade-off between precision and recall in the final predictions?

Key findings

  • SEDT achieves a 2.27% higher event-based macro F1 and 0.89% higher segment-based macro F1 compared to the baseline model after fine-tuning with one-to-many matching.
  • The one-to-many matching strategy reduces the number of predictions labeled as 'empty' class, improving recall and reducing missed detections.
  • Visualizations show that fine-tuned predictions become more concentrated on true events, with better boundary localization and fewer false negatives.
  • The model with strategy 1 (focusing on precision) performs best after fine-tuning, indicating complementary benefits when combined with recall-focused strategies.
  • Hyperparameter tuning shows ε has a significant impact, while α has a moderate effect; optimal settings are ε > 0 and α < 2.
  • SEDT demonstrates competitive performance on both URBAN-SED and DCASE2019 Task4 datasets, validating its effectiveness in real-world SED scenarios.

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.