Deep CNN Framework for Audio Event Recognition using Weakly Labeled Web Data

Anurag Kumar, Bhiksha RajarXiv 2017

Abstract

The development of audio event recognition systems require labeled training data, which are generally hard to obtain. One promising source of recordings of audio events is the large amount of multimedia data on the web. In particular, if the audio content analysis must itself be performed on web audio, it is important to train the recognizers themselves from such data. Training from these web data, however, poses several challenges, the most important being the availability of labels: labels, if any, that may be obtained for the data are generally weak, and not of the kind conventionally required for training detectors or classifiers. We propose that learning algorithms that can exploit weak labels offer an effective method to learn from web data. We then propose a robust and efficient deep convolutional neural network (CNN) based framework to learn audio event recognizers from weakly labeled data. The proposed method can train from and analyze recordings of variable length in an efficient manner and outperforms a network trained with strongly labeled web data by a considerable margin. Moreover, even though we learn from weakly labeled data, where event time stamps within the recording are not available during training, our proposed framework is able to localize events during the inference stage.

Introduction

In the field of Audio Event Detection (AED), the traditional "gold standard" has been strong labels, where human annotators mark exact millisecond timestamps for every event. However, this approach faces significant hurdles: manual timestamping is prohibitively slow and expensive, annotators often disagree on exact event boundaries, and the vast majority of web-based audio data only provides weak labels (e.g., a video tagged "dog" without specifying when the barking occurs).

This paper introduces a deep CNN framework designed to leverage massive, "webly labeled" data to build robust recognizers without the strong label bottleneck. By moving away from frame-by-frame timestamps, the authors demonstrate a system that is more scalable, faster to train, and capable of localizing sounds it was never explicitly timed for.

Methodology

The proposed architecture is a fully convolutional neural network (CNN) designed to handle variable-length audio inputs. This approach rejects the "Strong Label Assumption Training" (SLAT) baseline, which naively assumes every segment of a labeled file contains the target event.

Architecture and Features

The network consists of five blocks of convolutional layers (B1-B5), followed by three additional convolutional layers (F1-F3) that act like fully connected layers while preserving temporal information. To enhance robustness, the model extracts log-mel spectrograms using three different FFT window sizes (23ms, 46ms, and 92ms), providing multi-scale acoustic features.

Comparison of the standard SLAT approach vs. the proposed Weak Label Learning framework.

The Mapping Function

A critical component of the framework is the mapping function ($g$), which aggregates segment-level predictions into a single recording-level score. The authors found that an avg() function outperformed max(), likely because it allows gradients to flow back through all segments during training, providing a richer learning signal.

Results and Discussion

The framework was evaluated using several datasets, including Urbansounds, a custom YouTube training set (~48 hours), and the Audioset test set for real-world generalization.

Performance and Localization

The proposed weak label network outperformed the standard SLAT approach by 11.5% in Mean Average Precision (MAP) on the Urbansounds dataset. Remarkably, although the model is never trained with timestamps, the segment-level outputs naturally "spike" when an event is present. This allows for temporal localization during inference as a free byproduct of the architecture.

Computational Efficiency

Because the network is fully convolutional and avoids redundant processing of overlapping segments, it achieves significant speedups in both training and inference phases.

Computational efficiency comparison between SLAT ($N_{slat}$) and the proposed weak label network ($N_W$).

As shown in the figure above, the proposed network ($N_W$) is 45% faster to train and 55% faster during inference than segment-based CNNs. Furthermore, models trained on noisy YouTube data achieved a Mean AUC of 0.827 on the Audioset benchmark, proving that data volume and diversity can outweigh the need for "perfect" manual labeling.

Conclusion

This work presents a robust and efficient CNN framework for audio event recognition using weakly labeled data. By effectively utilizing web-scale data, the model achieves superior performance and efficiency compared to traditional strong-label assumptions. Future research will explore learnable mapping functions and multi-scale temporal approaches to further refine detection across varying event durations.

Summary updated

BibTeX
@misc{kumar2017deep,
  author = {Anurag Kumar and Bhiksha Raj},
  title = {{Deep CNN Framework for Audio Event Recognition using Weakly Labeled Web Data}},
  year = {2017},
  eprint = {1707.02530},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.02530},
}
Figure