Abstract
Acoustic event detection is essential for content analysis and description of multimedia recordings. The majority of current literature on the topic learns the detectors through fully-supervised techniques employing strongly labeled data. However, the labels available for majority of multimedia data are generally weak and do not provide sufficient detail for such methods to be employed. In this paper we propose a framework for learning acoustic event detectors using only weakly labeled data. We first show that audio event detection using weak labels can be formulated as an Multiple Instance Learning problem. We then suggest two frameworks for solving multiple-instance learning, one based on support vector machines, and the other on neural networks. The proposed methods can help in removing the time consuming and expensive process of manually annotating data to facilitate fully supervised learning. Moreover, it can not only detect events in a recording but can also provide temporal locations of events in the recording. This helps in obtaining a complete description of the recording and is notable since temporal information was never known in the first place in weakly labeled data.
Introduction
The proliferation of consumer-generated multimedia content has created a significant need for automated content analysis. Recognizing specific sounds—such as a dog barking, glass shattering, or cheering—is a core component of this task. Traditionally, training robust Audio Event Detectors (AED) requires "strong labels," where human annotators mark the precise start and end times of every sound. This process is labor-intensive, expensive, and fails to scale with the massive volume of available data.
Most existing multimedia data is only "weakly labeled" with tags or titles that indicate the presence of a sound within a recording without specifying its temporal boundaries. This paper addresses the challenge of learning from such data, specifically focusing on how to handle temporal uncertainty: identifying which specific segment of a long recording corresponds to a given tag.
Methodology
Multiple Instance Learning (MIL) Framework
The authors frame Audio Event Detection as a Multiple Instance Learning (MIL) problem. In this paradigm, an audio recording is treated as a "bag" composed of multiple short segments, or "instances." * A positive bag is a recording labeled with a specific event, meaning it contains at least one instance of that sound. * A negative bag is a recording where the event is absent, implying every instance within it is negative.
Proposed Learning Frameworks
Two distinct approaches are proposed to solve the MIL problem:
- mi-SVM (Multiple Instance Support Vector Machines): An iterative algorithm that alternates between training an SVM on current instance labels and re-labeling instances in positive bags based on the SVM's output. It seeks to identify the most likely "trigger" segments for each positive label.
- BP-MIL (Back-Propagation MIL): A neural network approach utilizing a specialized loss function. The network evaluates all segments in a bag but only updates weights based on the maximum output; for positive bags, it pushes the highest-scoring segment toward a value of 1.
Feature Engineering
To capture the nuances of acoustic events within short segments, the researchers utilize a Universal Background Model (GMM) to derive two feature types:
- F Features: Soft-count histograms representing how audio frames map to the GMM components.
- M Features: Adapted GMM means that capture the shift in audio distribution, providing finer detail than simple frequency counts.
Experimental Setup
The framework was evaluated using a subset of the TRECVID-MED 2011 database, comprising 457 recordings (approximately 22 hours of audio). The study focused on 10 event categories: Cheering, Children Voices, Clanking, Clapping, Drums, Engine Noise, Hammering, Laughing, Marching Band, and Scraping.
While training relied solely on weak labels, a hidden set of "strong" labels (actual timestamps) was used to validate the models' ability to localize sounds temporally.
Results and Discussion
Detection Performance
Both the mi-SVM and BP-MIL approaches demonstrated strong detection capabilities, achieving a Mean AUC of approximately 0.70 across the 10 events. The inclusion of $M$ features was particularly impactful, raising the Mean AUC from 0.625 to 0.693, highlighting the importance of capturing distributional shifts in weakly labeled contexts.
As shown in the figures above, performance varied by event type. Distinctive sounds like Clanking and Scraping achieved high accuracy (AUC > 0.85), whereas rhythmic or background-heavy sounds like Drums and Hammering were more challenging for the models to distinguish from general noise.
Temporal Localization
A key finding of this research is that temporal localization is a "free" byproduct of the MIL framework. Because the models must identify which instances make a bag positive, they naturally discover the timestamps of the events. Despite the lack of temporal training data, the models achieved a Mean AUC of ~0.65 for localization.
Conclusion
This work demonstrates that robust audio event detectors can be trained using only weak labels, significantly reducing the need for expensive manual annotation. While a performance gap remains compared to fully supervised models (which averaged ~0.68 AUC on these tasks), the ability to localize events without prior temporal knowledge is a significant advancement. Future work will explore scaling this approach to larger vocabularies and integrating these models into active learning pipelines to further refine detection accuracy.
Summary updated