BIRB: A Generalization Benchmark for Information Retrieval in Bioacoustics

Jenny Hamer, Eleni Triantafillou, Bart van Merriënboer, Stefan Kahl, Holger Klinck, Tom Denton, Vincent Dumoulin · DOI

Introduction

Machine learning models often demonstrate exceptional performance on curated datasets but fail significantly when deployed in real-world environments. This failure of generalization is particularly acute in bioacoustics. While laboratory "focal" recordings provide clean audio of individual species, real-world "soundscapes" are characterized by noise, overlapping calls, and varying distances. The Benchmark for Information Retrieval in Bioacoustics (BIRB) addresses this gap by providing a rigorous framework to evaluate models against natural distribution shifts, rare species, and novel classes.

The Retrieval Framework

Unlike standard classification, BIRB frames bioacoustic monitoring as an information retrieval task. A model is provided with a "query" consisting of a species identifier and a small set of labeled examples (exemplars). The objective is to rank all occurrences of that species within a large, unlabeled corpus of passive field recordings.

Overview of the BIRB retrieval task and the baseline embedding-based architecture.

The baseline system utilizes representation learning. Models are pre-trained on a massive upstream dataset to generate high-dimensional embeddings. During evaluation, a "nearest-centroid" approach is used: the model calculates the mean embedding of the provided exemplars and ranks corpus segments based on their cosine similarity to this centroid.

Experimental Setup and Datasets

BIRB leverages a diverse array of datasets to test different facets of generalization:

  • Upstream Training: The models are trained on Xeno-Canto (XC), a citizen-science repository containing over 750,000 recordings covering more than 10,000 species.
  • Downstream Evaluation: Evaluation is conducted on expert-annotated soundscapes from various global regions, including New York State, the Sierra Nevada, Hawai’i, Colombia, Costa Rica, and Peru. These datasets allow for testing under covariate shift (different recording conditions) and heldout species (novel classes).

The researchers evaluated several architectures, most notably EfficientNet (convolutional) and Conformer (transformer-based), alongside general audio models like YAMNet and AudioMAE.

Key Insights

  1. Dominance of Covariate Shift: The primary obstacle to performance is the shift in recording conditions (focal vs. soundscape) rather than changes in species frequency.
  2. Model Scaling Limits: Increasing model capacity (e.g., moving from small to large versions of the Conformer) did not significantly improve generalization, suggesting that data distribution is the current bottleneck.
  3. Domain Specificity: Models pre-trained on general audio (AudioSet) were outperformed by those trained specifically on bird vocalizations, highlighting the importance of domain-specific features.
  4. The Rare Species Challenge: While models benefit from learned representations of rare species seen during training, performing few-shot retrieval on entirely novel species remains a significant hurdle.

Results

The primary metric for BIRB is cROC-AUC (the geometric mean of the Area Under the Receiver Operating Characteristic curve across species).

Performance of the EfficientNet baseline as a function of the number of query exemplars.

The Conformer S and EfficientNet S models emerged as the strongest baselines. On the New York dataset, the Conformer S achieved a cROC-AUC of 0.87 on focal recordings, which dropped to 0.75 on passive soundscapes. For species in "Heldout" regions (never seen during training), models still achieved appreciable retrieval capabilities (cROC-AUC ~0.65-0.80), indicating that features learned from common species generalize partially to rare ones.

Conclusion and Future Directions

BIRB highlights the substantial gap between laboratory performance and field utility. Future work should explore the integration of metadata (time, location), the use of longer temporal contexts beyond fixed 5-6 second windows, and test-time adaptation techniques. By providing a standardized "stress test," BIRB encourages the development of more robust models for global biodiversity monitoring.

Summary updated

BibTeX
@misc{hamer2023birb,
  author = {Jenny Hamer and Eleni Triantafillou and Bart van Merriënboer and Stefan Kahl and Holger Klinck and Tom Denton and Vincent Dumoulin},
  title = {{BIRB: A Generalization Benchmark for Information Retrieval in Bioacoustics}},
  year = {2023},
  eprint = {2312.07439},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.07439},
}
Figure