PSLA: Improving Audio Tagging With Pretraining, Sampling, Labeling, and Aggregation

Yuan Gong, Yu-An Chung, James R. Glass

Abstract

The PSLA framework demonstrates that training strategies are as critical as model architecture for large-scale audio tagging. By integrating cross-modal pretraining, balanced sampling with heavy data augmentation, label enhancement, and model aggregation, the authors achieve a new state-of-the-art on AudioSet (0.474 mAP). The resulting EfficientNet-based model is significantly more efficient than previous record-holders, highlighting the importance of a robust training "recipe" over sheer parameter count.

Introduction

Audio tagging—identifying sound events like "dog barking" or "siren" in a recording—has seen a surge in performance thanks to massive datasets like AudioSet. However, most research has focused on designing complex new neural network architectures or attention mechanisms. This paper argues that training techniques have been neglected and specifically addresses three major hurdles in large-scale audio tagging: extreme class imbalance, label noise in weakly labeled data, and the untapped potential of cross-modal transfer from computer vision to audio spectrograms.

Methodology

The authors propose PSLA, a collection of four "model-agnostic" pillars designed to optimize the training process:

  • Pretraining (P): The framework utilizes ImageNet pretraining, treating audio spectrograms as single-channel images. Low-level features learned from natural images transfer remarkably well to identifying acoustic patterns.
  • Sampling & Augmentation (S): To address class imbalance, Random Balanced Sampling is used to increase the frequency of rare classes. This is paired with Mixup and SpecAugment to prevent overfitting on repeated samples.
  • Label Enhancement (L): An ontology-based label enhancement strategy uses a teacher model and the AudioSet hierarchy to automatically fill in missing labels, reducing annotation errors.
  • Aggregation (A): The system employs Weight Averaging across training epochs for stability and Ensembling of multiple models to maximize final accuracy.
The PSLA framework overview, illustrating the integration of pretraining, sampling, labeling, and aggregation.

Results and Discussion

The "training recipe" proved highly effective. A standard EfficientNet-B2 (13.6M parameters) trained with the PSLA pipeline outperformed a massive 81M parameter model (PANNs) trained with conventional methods.

Key Insights

  • Cross-Modal Transfer: ImageNet pretraining provided a massive 51.9% relative improvement on the AudioSet balanced set, confirming that spectrogram patterns share similarities with natural image textures.
  • Balanced Sampling Synergy: While balanced sampling helps learn rare classes, it can lower overall performance without heavy data augmentation like Mixup and masking, which prevent the model from memorizing rare samples.
  • Efficiency: The single PSLA model (0.444 mAP) is more accurate and significantly smaller than previous systems, making it practical for real-world deployment.
Impact of ImageNet pretraining on mAP across different training sample sizes.

PSLA achieved a new state-of-the-art on AudioSet (0.474 mAP) and FSD50K (0.567 mAP). Ablation studies revealed that ImageNet pretraining and balanced sampling/augmentation were the most critical components; removing either led to a significant drop in accuracy. Interestingly, while label enhancement helped on smaller subsets like ESC-50, it did not provide a boost on the full AudioSet, likely due to a mismatch between the "cleaned" training labels and the "noisy" evaluation set.

Conclusion

Ultimately, this research highlights that a well-crafted training pipeline can elevate standard architectures to state-of-the-art performance. While label enhancement showed promise, its impact on the full AudioSet was limited by noise in the evaluation set itself. Future work may explore self-supervised pretraining to further reduce reliance on ImageNet and improve performance without labeled data.

Summary updated

BibTeX
@article{gong2021psla,
  author = {Yuan Gong and Yu-An Chung and James R. Glass},
  title = {{PSLA: Improving Audio Tagging With Pretraining, Sampling, Labeling, and Aggregation}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2021},
  doi = {10.1109/taslp.2021.3120633},
}
Figure