Abstract
Training robust audio event detectors typically requires thousands of hours of manually labeled data, creating a significant bottleneck in the field of Audio Event Detection (AED). This paper introduces WeblyNet, a framework designed to learn sound events from "webly labeled" data—audio scraped directly from the web without human intervention. By utilizing a co-teaching architecture with two distinct neural networks and a novel agreement-based loss function, WeblyNet effectively filters label noise inherent in web-scraped datasets. Experimental results demonstrate a 17% relative improvement over baseline methods, significantly narrowing the performance gap between fully automated learning and expensive manual annotation.
Introduction
In Audio Event Detection (AED), supervision is generally categorized into strong labels (precise timestamps) and weak labels (presence of a sound within a clip). While weak labels are easier to obtain, they still require human verification. The web offers a vast repository of audio data, but it is notoriously "noisy." For instance, a search for "dog" on YouTube may return vlogs where a dog is mentioned but never heard.
This paper addresses the challenge of building a system that learns effectively from this unverified web data while removing the human-in-the-loop entirely. The authors propose WeblyNet to navigate the label noise and signal interference characteristic of web-scraped content.
Methodology
WeblyNet employs two primary strategies to handle noisy labels: optimized data collection and a dual-view co-teaching architecture.
Smart Data Collection
To reduce initial noise, the authors refined search queries. Instead of searching for a simple keyword like "Dog," they used the prompt "sound of <class>" (e.g., "sound of dog"). This simple intuition improved the relevance of initial search results by over 60%, providing a cleaner starting point for the model.
Co-teaching with Dual Views
The core of WeblyNet is a joint training framework involving two neural networks that interpret the same audio through different representations:
- Network 1 (Deep CNN): Processes standard 128-dimensional audio embeddings.
- Network 2 (Fully Connected): Utilizes features derived via transfer learning from a model pre-trained on the extensive AudioSet dataset.
Agreement Loss
The networks are trained jointly using a loss function that includes a divergence term (generalized KL-divergence). This term penalizes the networks when their predictions disagree. The underlying theory is that while noisy labels might lead one architecture astray, it is statistically less likely that two independent architectures with different views will make the same error. Agreement thus serves as a proxy for ground truth, allowing the system to become robust against incorrect web labels.
Experimental Setup
The authors curated two new datasets for this study:
- Webly-2k & Webly-4k: Datasets containing approximately 1,900 and 3,800 recordings respectively, covering 40 sound classes scraped from YouTube.
- AudioSet-40: A manually labeled subset of AudioSet used as a gold-standard benchmark to compare webly-supervised performance against human-supervised performance.
Results and Discussion
WeblyNet achieved a 45.3 Mean Average Precision (MAP) on the Webly-4k dataset, representing a 17% relative improvement over the 38.7 MAP baseline.
The system showed particular strength in classes with high label noise. For example, the Average Precision for the "Vehicle" class jumped from 28.1 to 46.9. As shown in the per-class breakdown, WeblyNet consistently outperforms the baseline across a wide variety of sound events, from "Guitar" and "Singing" to more complex environmental sounds like "Tools" and "Water."
Key insights from the results include:
- Agreement as a Filter: The co-teaching strategy successfully identifies and ignores noisy labels that do not align with the features learned across both views.
- Transfer Learning Synergy: Using pre-trained AudioSet features for Network 2 provides a stable perspective that helps the system navigate the inconsistencies of web-scraped data.
Conclusion
WeblyNet demonstrates that it is possible to significantly reduce the need for human annotation in AED by leveraging the scale of web data and intelligent architectural constraints. While a ~9-point MAP gap remains between WeblyNet and human-labeled data (AudioSet-40), this work provides a scalable path forward for training audio models on hundreds of classes without the prohibitive cost of manual tagging. Future work will focus on scaling to more classes and using natural language processing to better associate video metadata with specific audio events.
Summary updated