[Paper Review] Large-scale weakly supervised audio classification using gated convolutional neural network
This paper proposes a gated convolutional recurrent neural network (Gated-CRNN) with temporal attention for large-scale weakly supervised audio classification, using log Mel spectrograms and learnable Gated Linear Units (GLUs) to dynamically attend to relevant audio features. The method achieved 1st place in the DCASE 2017 audio tagging sub-task (F1: 55.6%) and 2nd place in weakly supervised sound event detection (Equal Error Rate: 0.73), demonstrating superior performance on weakly labeled YouTube audio data without time-stamped event annotations.
In this paper, we present a gated convolutional neural network and a temporal attention-based localization method for audio classification, which won the 1st place in the large-scale weakly supervised sound event detection task of Detection and Classification of Acoustic Scenes and Events (DCASE) 2017 challenge. The audio clips in this task, which are extracted from YouTube videos, are manually labeled with one or a few audio tags but without timestamps of the audio events, which is called as weakly labeled data. Two sub-tasks are defined in this challenge including audio tagging and sound event detection using this weakly labeled data. A convolutional recurrent neural network (CRNN) with learnable gated linear units (GLUs) non-linearity applied on the log Mel spectrogram is proposed. In addition, a temporal attention method is proposed along the frames to predicate the locations of each audio event in a chunk from the weakly labeled data. We ranked the 1st and the 2nd as a team in these two sub-tasks of DCASE 2017 challenge with F value 55.6\% and Equal error 0.73, respectively.
Motivation & Objective
- Address the challenge of large-scale audio classification using weakly labeled data, where only audio tags are provided without temporal event boundaries.
- Overcome the limitations of standard CNNs and RNNs in focusing on short-duration audio events by introducing learnable attention mechanisms.
- Develop a unified deep learning framework that jointly performs audio tagging and weakly supervised sound event detection without requiring time-stamped annotations.
- Improve feature representation and localization accuracy by integrating Gated Linear Units (GLUs) and temporal attention modules into a CRNN architecture.
Proposed method
- Replace ReLU activations with learnable Gated Linear Units (GLUs) in convolutional layers to enable dynamic, attention-based feature selection based on relevance to target audio events.
- Process raw audio waveforms by converting them into log Mel spectrograms, which are then fed into a stack of three gated convolutional blocks with 64 filters and 3×3 kernel size.
- Apply max pooling with 2×2 or 1×2 kernel size depending on the task (audio tagging vs. SED), followed by a bidirectional gated recurrent network (Bi-GRU) with 128 units to model long-range temporal dependencies.
- Introduce a temporal attention mechanism that generates attention weights across frames to localize audio events within a chunk, enabling weakly supervised detection without ground-truth timestamps.
- Train the model using binary cross-entropy loss with Adam optimization, and apply mini-batch data balancing to improve class-imbalance performance.
- Fusion of models trained on log Mel and MFCC features improves generalization, achieving state-of-the-art results on both sub-tasks.
Experimental results
Research questions
- RQ1Can learnable Gated Linear Units (GLUs) improve feature representation in audio classification by selectively attending to relevant time-frequency units?
- RQ2Can a unified deep learning model effectively perform both audio tagging and weakly supervised sound event detection using only audio tags and no temporal annotations?
- RQ3Does a temporal attention mechanism applied after the recurrent layer enhance localization accuracy of short-duration audio events in weakly labeled data?
- RQ4How does the proposed Gated-CRNN compare to baseline models in terms of F1 score and error rate on the DCASE 2017 challenge?
Key findings
- The proposed Gated-CRNN with log Mel spectrograms achieved an F1 score of 55.6% on the evaluation set in the audio tagging sub-task, ranking 1st in the DCASE 2017 challenge.
- The fusion of Gated-CRNN models trained on log Mel and MFCC features achieved a 57.7% F1 score on the audio tagging task, outperforming the 2nd-place system by 3 percentage points.
- For weakly supervised sound event detection, the Gated-CRNN system achieved an Equal Error Rate (EER) of 0.73 and an F1 score of 51.8%, ranking 2nd among teams.
- The temporal attention mechanism successfully localized audio events such as 'train' and 'train horn' with high accuracy, though minor false alarms occurred in short segments.
- The use of mini-batch data balancing significantly improved F1, precision, and recall scores, demonstrating its importance in handling class imbalance in weakly labeled audio data.
- The model outperformed the DCASE 2017 baseline (F1: 28.4%) by over 20 percentage points in the SED sub-task, confirming the effectiveness of the proposed architecture and attention mechanism.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.