Pseudo Strong Labels for Large Scale Weakly Supervised Audio Tagging

Heinrich Dinkel, Zhiyong Yan, Yongqing Wang, Junbo Zhang, Yujun Wang

TL;DR

Researchers at Xiaomi have developed Pseudo Strong Labels (PSL), a framework that significantly improves audio tagging by refining "weak" labels (clip-level tags) into "stronger" ones (short-segment tags). By using a machine annotator to relabel audio in 2-second chunks, they achieved a massive performance boost on the AudioSet benchmark and proved that these models generalize much better to new environments.

What Problem Does This Paper Address?

In the world of Audio Tagging (AT)—teaching machines to recognize sounds like "dog barking" or "glass breaking"—data is the biggest bottleneck. The gold standard is "strong labels," where a human marks the exact start and end time of every sound. However, this is incredibly expensive and slow to produce.

Instead, most large-scale datasets like AudioSet use "weak labels." A human listens to a 10-second clip and says, "I hear a car," but doesn't specify when it happens. These weak labels are often "noisy": they might miss sounds that are actually present (incomplete) or be too vague. This lack of temporal precision limits how well a neural network can learn to distinguish specific acoustic patterns.

Methods

The authors propose a three-step "Teacher-Student" pipeline called Pseudo Strong Labels (PSL):

  1. Train the Machine Annotator (MA): First, they train a "Teacher" model (using a MobileNetV2 architecture) on the full, weakly-labeled dataset.
  2. Generate Pseudo Strong Labels: They take the trained Teacher and have it "re-annotate" the dataset. Instead of looking at 10-second clips, the Teacher looks at fixed 2-second segments and provides "soft" labels (probabilities) for each segment.
  3. Train the Student: Finally, a "Student" model is trained from scratch using these 2-second segments and their new pseudo-labels.

What’s new? Unlike standard Knowledge Distillation, where a student usually tries to mimic a teacher while keeping the original ground-truth labels, the authors found that discarding the original weak labels entirely and relying solely on the machine-generated 2-second labels yielded the best results.

Datasets

  • AudioSet: The primary benchmark, containing over 2 million 10-second YouTube clips across 527 classes. The authors used the "Balanced," "Aud-300h," and "Full" subsets.
  • Freesound Datasets (FSD50k, FSD2018, FSD2019): Used for transfer learning experiments to see how well the PSL-trained models perform on different data.

Key Insights and Ideas

  • Resolution is King: Moving from 10-second resolution to 2-second resolution provided a massive jump in Mean Average Precision (mAP). The finer time scale forces the model to focus on the actual acoustic event rather than the "silence" or background noise surrounding it.
  • Mitigating Human Error: The analysis showed that the Machine Annotator often "found" labels that humans missed. By using these pseudo-labels, the student model learns from a more complete (though synthetic) version of reality.
  • The "Cleanliness" Paradox: In many cases, the machine-generated labels were actually "cleaner" for training than the original human-provided weak labels. This is because the machine provides a consistent, probabilistic estimate of what is happening in every 2-second window, reducing the confusion caused by missing human tags.
  • Efficiency: A model trained on just 58 hours of data using PSL achieved 87% of the performance of a model trained on the full 5,244-hour dataset using standard weak labels.

Key Results

  • Performance Boost: On the AudioSet balanced subset, the baseline model (weak labels) scored 17.69 mAP. The PSL-2s model (2-second segments) skyrocketed to 35.48 mAP.
  • Outperforming SOTA: The PSL approach outperformed several much larger and more complex models (like CNN14 and ResNet-50) that were trained on the same data.
  • Superior Generalization: When the models were tested on entirely different datasets (Transfer Learning), the PSL-trained model beat the baseline by a wide margin—notably gaining +9.82 mAP on the FSD50k dataset.

Limitations and Future Work

The authors noted that while PSL works wonders on smaller subsets, the gains were less dramatic when training on the entire 5,000-hour AudioSet. They hypothesize this is because the evaluation set itself contains label noise, which masks the improvements.

They also suggest that for PSL to reach its full potential, we might need even larger "source" datasets to train the initial Machine Annotator, drawing an analogy to the "ReLabel" technique used in Computer Vision, which relies on massive datasets like JFT-300M. Future work could involve exploring even finer time resolutions or iterative "self-training" loops where the student becomes the teacher for the next generation.

Summary updated

BibTeX
@inproceedings{dinkel2022pseudo,
  author = {Heinrich Dinkel and Zhiyong Yan and Yongqing Wang and Junbo Zhang and Yujun Wang},
  title = {{Pseudo Strong Labels for Large Scale Weakly Supervised Audio Tagging}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp43922.2022.9746431},
}
Figure