Can Masked Autoencoders Also Listen to Birds?

Lukas Rauch, René Heinrich, Ilyass Moummad, Alexis Joly, Bernhard Sick, Christoph Scholz

Abstract

Masked Autoencoders (MAEs) learn rich representations in audio classification through an efficient self-supervised reconstruction task. Yet, general-purpose models struggle in fine-grained audio domains such as bird sound classification, which demands distinguishing subtle inter-species differences under high intra-species variability. We show that bridging this domain gap requires full-pipeline adaptation beyond domain-specific pretraining data. Using BirdSet, a large-scale bioacoustic benchmark, we systematically adapt pretraining, fine-tuning, and frozen feature utilization. Our Bird-MAE sets new state-of-the-art results on BirdSet’s multi-label classification benchmark. Additionally, we introduce the parameter-efficient prototypical probing, which boosts the utility of frozen MAE features by achieving up to 37 mAP points over linear probes and narrowing the gap to fine-tuning in low-resource settings. Bird-MAE also exhibits strong few-shot generalization with prototypical probes on our newly established few-shot benchmark on BirdSet, underscoring the importance of tailored self-supervised learning pipelines for fine-grained audio domains.

Introduction

In the landscape of audio classification, general-purpose foundation models like Audio-MAE have demonstrated remarkable success on broad tasks. However, bioacoustics—specifically bird sound classification—presents a "fine-grained" challenge that these models often fail to meet. Bird vocalizations are characterized by high intra-species variability (the same species sounding different) and low inter-species variation (different species sounding similar). Furthermore, a significant domain gap exists: models trained on common environmental sounds like sirens or barking dogs do not effectively capture the sparse, harmonic structures of avian calls.

Comparison of input domains: ImageNet (vision), AudioSet (general audio), and BirdSet (bioacoustics), highlighting the sparse nature of bioacoustic signals.

Methodology

To bridge this gap, we propose Bird-MAE, a domain-specific Masked Autoencoder that holistically adapts the self-supervised learning pipeline. Our approach rests on three pillars:

  1. Domain-Specific Pretraining (M1): We pretrained a Vision Transformer (ViT) backbone exclusively on bird vocalizations using a curated version of the BirdSet dataset, rather than relying on general audio data.
  2. Tailored Fine-tuning (M2): We implemented bioacoustic-aware augmentations and replaced standard global average pooling with Prototypical Pooling. This architectural change allows the model to learn class-specific "representative" vectors, better capturing local spatial features within a spectrogram.
  3. Prototypical Probing (M3): To address the inherent poor performance of frozen MAE features when paired with simple linear classifiers, we developed a parameter-efficient probe. This probe learns to identify specific "prototypes" across the spatial map of frozen features, preventing the loss of critical localization information.

Results and Analysis

Bird-MAE-L establishes a new state-of-the-art, improving mean Average Precision (mAP) by an average of 15 percentage points across the BirdSet benchmark compared to previous leading models.

Ablation study illustrating the cumulative performance gains from bioacoustic-specific augmentations, pretraining, and architectural adaptations like Prototypical (PT) Pooling.

Key findings include:

  • Probing Breakthrough: Prototypical probing increased mAP by up to 37 points over standard linear probes, narrowing the performance gap between frozen features and full fine-tuning to just 3.3 mAP points.
  • Few-Shot Generalization: In low-resource settings with only 10 examples per class, Bird-MAE with prototypical probing approached the performance of models trained on full datasets, making it a vital tool for studying rare species.
  • Cross-Species Transfer: Bird-MAE outperformed general audio models on mammal vocalization datasets (e.g., MeerKAT), suggesting that bioacoustic features constitute a distinct and transferable category of audio information.

Conclusion

The development of Bird-MAE underscores that simply increasing data volume is insufficient for fine-grained domains. Success requires a holistic adaptation of the training pipeline, from domain-specific pretraining to innovative pooling and probing mechanisms. By preserving the spatial expertise of Masked Autoencoders, Bird-MAE provides a powerful, efficient framework for the bioacoustics community.

Summary updated

BibTeX
@article{rauch2025can,
  author = {Lukas Rauch and René Heinrich and Ilyass Moummad and Alexis Joly and Bernhard Sick and Christoph Scholz},
  title = {{Can Masked Autoencoders Also Listen to Birds?}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=GIBWR0Xo2J},
}
Figure