Connectionist Temporal Localization for Sound Event Detection with Sequential Labeling

Yun Wang, Florian Metze · DOI

Abstract

Sound Event Detection (SED) typically relies on either expensive "strong" labels (exact timestamps) or coarse "weak" labels (presence/absence). This paper introduces Connectionist Temporal Localization (CTL), a framework that utilizes sequential labeling—the order of event boundaries—to achieve high-performance localization without the cost of full timestamping. CTL addresses the "peak clustering" failure of standard Connectionist Temporal Classification (CTC) in SED tasks. Experimental results on Audio Set demonstrate that CTL closes approximately 33% of the performance gap between weak and strong labeling systems.

Introduction

Training effective SED systems is often bottlenecked by data labeling costs. Strong labeling requires annotators to mark every onset and offset, while weak labeling only notes an event's presence in a clip. Sequential labeling offers a middle ground by specifying the order of event boundaries (e.g., "dog starts, then car starts") without exact times.

While Connectionist Temporal Classification (CTC) is the standard for sequential data like speech, it performs poorly in SED. CTC often predicts onset and offset boundaries immediately adjacent to each other—a phenomenon known as "peak clustering"—which fails to capture the actual duration of sound events. CTL is designed to overcome this by forcing the model to respect event durations.

Methodology

CTL modifies the standard CTC framework through three key innovations:

  1. Rectified Delta Operator: Instead of predicting boundary spikes directly, the network predicts frame-wise event activity probabilities ($y_t$). Onset and offset probabilities are then derived via the change between frames: $z_{onset} = \max[0, y_t - y_{t-1}]$. This ensures boundaries align with the predicted duration.
  2. Independence Assumption: Unlike CTC, which assumes mutual exclusivity at a single frame, CTL treats event boundaries as independent. This allows the model to handle overlapping sounds naturally.
  3. Simplified Mapping: CTL removes the requirement to collapse consecutive repeating labels and eliminates the need for a "blank" label, simplifying the mathematical formulation for SED.
Comparison of architectures for (a) Strong labeling, (b) MIL (weak), (c) CTC, and (d) the proposed CTL system.

Experimental Setup

The authors evaluated CTL using a 1,000-hour subset of Audio Set covering 35 sound categories. Since Audio Set lacks sequential labels, a teacher model (TALNet) was used to generate synthetic sequential and strong labels for training and evaluation. Performance was benchmarked against a Multiple Instance Learning (MIL) weak-labeling baseline, a standard CTC approach, and a strong-labeling topline.

Results and Discussion

CTL significantly outperformed both the weak-labeling baseline and the standard CTC approach. As shown in the visualization below, CTC suffers from severe peak clustering, whereas CTL accurately captures event durations.

Visualization of event detection across systems. Note the "peak clustering" in the CTC system (c) compared to the improved localization in the CTL system (d).
System Localization $F_1$ (%)
Strong Labeling (Topline) 67.38
CTL (Proposed) 59.92
MIL (Weak Baseline) 55.83
CTC 31.91

CTL achieved a localization $F_1$ of 59.92%, recovering roughly one-third of the performance gap between weak (55.83%) and strong (67.38%) labeling. The failure of standard CTC (31.91%) highlights the necessity of the CTL modifications for duration-based event detection.

Conclusion

Connectionist Temporal Localization provides a robust framework for SED using sequential labels. By addressing the peak clustering problem and supporting overlapping events, CTL offers a scalable path toward high-performance sound detection using labels that are significantly cheaper to obtain than full timestamps. Future work includes applying CTL to real-world sequential labels derived from audio captions or descriptions.

Summary updated

BibTeX
@inproceedings{wang2018connectionist,
  author = {Yun Wang and Florian Metze},
  title = {{Connectionist Temporal Localization for Sound Event Detection with Sequential Labeling}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2018},
  doi = {10.1109/icassp.2019.8682278},
}
Figure