Introduction
Sound Event Detection (SED) involves identifying both the category and the temporal boundaries (onset and offset) of acoustic events in an audio stream. Traditionally, training SED systems requires either strongly labelled data, where every frame is manually annotated—a process that is prohibitively expensive—or weakly labelled data, which only indicates the presence of an event within a clip, often leading to poor temporal precision.
This paper explores a middle ground: Sequentially Labelled Data (SLD). In SLD, the order of events is known (e.g., "dog bark" followed by "car horn"), but their exact timestamps are not. The authors propose a novel two-stage framework, termed "HKLP," to achieve high-precision detection using only these sequential labels.
The Two-Stage HKLP Framework
The proposed system decouples the identification of event sequences from the determination of their temporal boundaries.
Stage 1: Sequential Audio Tagging
The first stage employs a Convolutional Recurrent Neural Network (CRNN) integrated with Gated Linear Units (GLUs). The GLUs act as an attention mechanism, allowing the network to focus on relevant time-frequency regions. The model is trained using Connectionist Temporal Classification (CTC) loss, which is specifically designed to align input sequences with output label sequences of different lengths, making it ideal for learning from SLD.
Stage 2: Unsupervised Clustering for Temporal Localization
The second stage extracts "bottleneck features"—the high-dimensional internal representations from the CRNN—to pinpoint when events occur.
- Feature Clustering: The system applies K-means clustering to these features to distinguish between "foreground" (event activity) and "background" (ambient noise/silence).
- Distance Metric: The authors demonstrate that Pearson distance (correlation-based) significantly outperforms Euclidean distance for clustering these deep features, as it better captures the relational patterns of neural activations.
By combining the event sequence predicted by the CTC model in Stage 1 with the activity boundaries derived from Stage 2, the system generates final timestamps for each detected sound.
Experimental Results
The framework was evaluated on a synthesized dataset based on DCASE 2018 Task 2, featuring 41 sound classes across 33.4 hours of audio. The HKLP system was compared against a state-of-the-art strongly labelled system (A&V) and a weakly labelled baseline (XKWP).
- F-score: The proposed method reached 70.98%, remarkably close to the strongly labelled system's 75.05%, and vastly superior to the weakly labelled system's 25.02%.
- Error Rate (ER): The proposed method achieved an ER of 0.46, compared to 0.40 for the strong baseline.
- Audio Tagging Accuracy: The Stage 1 model was highly effective at identifying the sounds themselves, with an average F-score of 91.81%.
The results indicate that the SLD-based approach performs remarkably close to the strongly supervised baseline while requiring significantly less annotation effort.
Conclusion
The HKLP framework demonstrates that sequentially labelled data provides a powerful and efficient alternative for training SED systems. By leveraging the internal representations of a CTC-trained network through unsupervised clustering, the system achieves temporal localization that rivals strongly supervised methods. Future research will focus on extending this approach to polyphonic environments where multiple sound events overlap.
Summary updated