Can Masked Autoencoders Also Listen to Birds?

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

Introduction

General-purpose audio models, typically trained on massive datasets like AudioSet, excel at identifying broad acoustic categories such as "dogs barking" or "cars honking." However, these models often struggle when applied to the specialized domain of bioacoustics. Bird species identification is a classic "fine-grained" classification task characterized by low inter-class variation—where different species sound remarkably similar—and high intra-class variation, as individual birds often possess vast repertoires of calls.

Furthermore, standard Self-Supervised Learning (SSL) models, such as Masked Autoencoders (MAEs), usually produce representations that require computationally expensive full fine-tuning to be effective. In ecological research, where labeled data is scarce and deployment often occurs on low-power "edge" devices, this requirement creates a significant bottleneck. This paper introduces Bird-MAE, a model designed to bridge the domain gap between general audio and bioacoustics while providing a more efficient path to adaptation.

Methodology

Bird-MAE Architecture

Rather than simply swapping the training data, the researchers re-engineered the SSL pipeline to suit the nuances of avian vocalizations. Bird-MAE adapts the Audio-MAE architecture through a specifically optimized pretraining recipe:

  • Domain-Specific Pretraining: The model is trained on a curated bioacoustic dataset.
  • Training Hyperparameters: The recipe includes increasing training to 150 epochs and utilizing a high masking ratio of 0.75.
  • Augmentation: The pipeline incorporates waveform-level mixup and domain-specific augmentations like noise mixing and gain adjustment to simulate real-world soundscape conditions.

Prototypical Probing

A primary technical contribution of this work is Prototypical Probing. Standard linear probing often fails with MAEs because it averages features across the entire spectrogram, which "washes out" the localized acoustic features typical of bird calls.

Instead of a simple linear layer, the authors introduced a parameter-efficient layer that learns class-specific "prototypes" (centroids). The model compares patch-level embeddings from the frozen encoder to these prototypes using cosine similarity, then employs max-pooling to identify the strongest match across the spectrogram. This method is highly efficient—utilizing approximately 430k parameters compared to the 300M+ in the encoder—and preserves the vital spatial and temporal structure of the sound.

Datasets and Evaluation

The model was evaluated using a rigorous set of benchmarks:

  • XCL-1.7M: A curated pretraining dataset derived from the Xeno-Canto collection, containing 1.7 million vocalization events across nearly 10,000 species. The authors found that this balanced, curated dataset outperformed a larger, raw 3.4M sample dataset, highlighting that quality and diversity are more critical than sheer volume.
  • BirdSet: A comprehensive multi-label classification benchmark consisting of eight downstream tasks representing diverse geographical regions and acoustic challenges.
  • MeerKAT: A small-scale dataset of mammal vocalizations used to test the model's generalizability beyond avian species.

Key Results and Insights

State-of-the-Art Performance

Bird-MAE-L achieved new state-of-the-art results on the BirdSet benchmark, improving mean Average Precision (mAP) by an average of 15 percentage points over previous leading models like Perch and BirdNeXt. On the specific SSW task, Bird-MAE-L reached 40.82% mAP, significantly outperforming Google’s supervised Perch model (28.11% mAP).

The Success of Prototypical Probing

The shift from linear to prototypical probing resulted in a performance increase of up to 37 percentage points in mAP. This method effectively narrowed the performance gap between a "frozen" model and a fully fine-tuned one to just 3.3 percentage points, making it a viable strategy for resource-constrained ecological research.

Few-Shot Capabilities

Bird-MAE demonstrated remarkable power in low-data regimes. Using prototypical probing, the model achieved performance levels with only 10 labeled examples per class that were surprisingly close to the results achieved with the full training set.

Conclusion and Future Work

Bird-MAE demonstrates that fine-grained bioacoustic tasks benefit significantly from domain-specific SSL adaptations. By moving away from global averaging and toward localized, prototype-based feature matching, the researchers have created a model that is both more accurate and more efficient to deploy.

While the initial pretraining is computationally intensive, the resulting model offers a powerful tool for ecologists. Future research may explore the scaling laws of these models beyond ViT-Large, compare reconstruction objectives against contrastive objectives (like CLIP), and further test the model's efficacy in other bioacoustic domains such as insect or underwater acoustics.

Summary updated

BibTeX
@article{rauch2025can,
  author = {Lukas Rauch and Ilyass Moummad and René Heinrich 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