Abstract
In the context of passive acoustic monitoring (PAM) better models are needed to reliably gain insights from large amounts of raw, unlabeled data. Bioacoustics foundation models, which are general-purpose, adaptable models that can be used for a wide range of downstream tasks, are an effective way to meet this need. Measuring the capabilities of such models is essential for their development, but the design of robust evaluation procedures is a complex process. In this review we discuss a variety of fields that are relevant for the evaluation of bioacoustics models, such as sound event detection, machine learning metrics, and transfer learning (including topics such as few-shot learning and domain generalization). We contextualize these topics using the particularities of bioacoustics data, which is characterized by large amounts of noise, strong class imbalance, and distribution shifts (differences in the data between training and deployment stages). Our hope is that these insights will help to inform the design of evaluation protocols that can more accurately predict the ability of bioacoustics models to be deployed reliably in a wide variety of settings.
1 Introduction
Bioacoustics is an increasingly important and useful tool in conservation (; ) with applications in monitoring threatened and endangered species, biodiversity, habitat health, noise pollution, impacts of climate change, and more (Teixeira etĀ al., 2019; Penar etĀ al., 2020). A powerful tool in bioacoustics is passive acoustic monitoring (PAM), which enables large amounts (potentially petabytes worth) of ambient āsoundscapeā data to be collected cheaply (). While the collection of this data is inexpensive, transforming it into a format from which insights can be obtained can be costly. Annotating, counting, or otherwise interpreting the data requires expert knowledge and is expensive due to the large scale and the inherent complexity of the data (for instance, due to low signal-to-noise ratio, sparse vocalizations and overlapping vocalizations). While there have been recent advances in computational and automated bioacoustics with the increased adoption of machine learning (ML) techniques (; Stowell, 2022), there remains a need for more scalable and effective approaches for detecting and classifying various signals within this data (Sugai etĀ al., 2018).
1.1 Foundation models for PAM
Historically, many bioacoustics efforts have focused on building models for specific tasks, e.g., detecting specific species, call types, or individuals in a particular environment, contributing to a collection of specialized and fragmented approaches across the field. This approach is time-consuming, hard to scale, and makes the transfer of knowledge and techniques to different but related tasks and contexts brittle and challenging.
We expect that future work in machine learning for bioacoustics will focus on the development of generalizable models which are easily adaptable to new contexts and problems. This is best illustrated by , which looks at training linear classifiers on top of embeddings from pretrained global bird species classifiers such as BirdNET () and Googleās Perch model (). They develop classifiers for bird call-types and dialects, but also species classification models for entire distinct taxonomies such as bats, frogs and marine mammals. They obtain high quality results with as few as four examples per class, demonstrating that these models are highly adaptable. However, more thorough and robust evaluation methods are needed to quantify their utility in the context of other species, PAM, class imbalance and domain shifts, given the complex nature of bioacoustics data.
We also see increasing emphasis on flexible pre-trained models in the broader machine learning context. In other areas, these models are typically trained with copious amounts of unlabeled data, which avoids the cost of data labeling and promises to aid generalization. These large-scale, general-purpose, and adaptable models are loosely referred to as foundation models (). Foundation models that can be readily adapted to a wide variety of downstream tasks are starting to be adopted by other fields such as computer vision (Radford etĀ al., 2021), natural language processing (), and more recently, audio (Saeed etĀ al., 2021; ).
In the context of bioacoustics, foundation models could be trained to learn a rich, generalizable representation that may then be adapted to a variety of different tasksāsuch as detection, classification or source separation applied at the species, individual, or call type level, and even extend to taxa not included at training time. These models could then be modified to perform well in a variety of recording conditions and geographies while being robust to issues such as class imbalance and noisy data.
Unlocking the potential of foundation models for bioacoustics relies on our ability to measure model generalization and adaptability. We find that the literature on this constellation of problems spans multiple branches of research, including bioacoustics, ecology, statistics, and machine learning. The aim of this paper is to bring together insights on many core concerns for those attempting to construct and measure the quality of bioacoustics foundation models.
1.2 Bioacoustics data and challenges
1.2.1 Available bioacoustics data
A varied collection of existing data is available for bioacoustics model training and evaluation. A common distinction is made between focal recordings, which feature a foreground subject, and passive recordings or soundscapes, where subjects may be present in the background and which contain a mix of potentially overlapping species vocalizations. We provide an overview of the different types of datasets and highlight their utility in model development.
1.2.1.1 Large-scale data
Natural sound archives (Ranft, 2004) such as the Macaulay Library of Natural Sounds, the British Library National Sound Archive, and Xeno-Canto (Vellinga and Planqué, 2015) collectively contain hundreds of thousands of recordings adding up to tens of thousands of hours of audio with approximate global coverage. They cover a variety of taxa, but are generally dominated by bird vocalizations. This scale is comparable in size to human speech datasets (Pratap et al., 2020) but smaller than commonly used computer vision datasets (Zhai et al., 2022). The individual recordings generally have lengths ranging from a few seconds to several minutes, are often focal recordings that prominently feature a single animal species vocalizing, and have weak (recording-level) labels. Due to the size, diversity, and geographical coverage of this data (see Figure 1), it is particularly suited for model training.
FigureĀ 1
1.2.1.2 Targeted data
There are also smaller, more specialized datasets that share similar format to the large-scale data for specific taxa or species, such as marine mammals (Sayigh etĀ al., 2016), yellowhammer dialects (
1.2.1.3 Annotated PAM data
The focal recordings found in natural sound archives and specialized datasets are often qualitatively different from the soundscape data collected by PAM projects. This makes these datasets unsuitable for evaluation of models that are to be deployed in PAM projects, as they would provide a poor reflection of the modelās performance in real-world conditions. There are smaller datasets which contain longer recordings that have been more carefully annotated with strong (time-bounded) labels. For example, the BirdCLEF 2021 competition for bird call identification in soundscapes (
Note that longer recordings, i.e., those that span minutes or even hours, contain long-term temporal structure (
1.2.2 Transitioning to real-world deployment
To ensure that machine learning models are appropriate for the application ecosystem for which they are designed, it is important to minimize the evaluation gap (
1.2.2.1 Data coverage
There can be significant sampling bias in bioacoustics datasets based on geography, species abundance and loudness of vocalizations, to name a few factors. (FigureĀ 1). In many cases, a target vocalization in a deployment may not be present at all in the training data, requiring models with capacity for out-of-distribution generalization, such as few-shot or transfer learning. In these instances, using heldout data from the training set to create a test set (i.e., evaluating on a new recording for species present in the training data) will not provide information about the modelās (in)ability to detect species not present in the training data.
1.2.2.2 Dataset shifts
Depending on the datasets used during training and test time, data and/or label distributions can differ significantlyāthis difference is known as dataset shift (Quinonero-Candela etĀ al., 2008;
FigureĀ 2

Both the foreground species frequency distribution and the recording length in Xeno-Canto recordings are unbalanced. The recording length distribution is approximately log-normal, with an outlier at 10 s. Data was retrieved from the public Xeno-Canto API.
TableĀ 1
| Dataset | r | CI (95%) |
|---|---|---|
| Caples | ā0.16 | [ā0.44, 0.15] |
| Colombia & Costa Rica (Vega-Hidalgo etĀ al., 2023) | 0.10 | [ā0.11, 0.30] |
| Hawaiāi ( | 0.01 | [ā0.37, 0.39] |
| High Sierra Nevada, USA ( | 0.00 | [ā0.43, 0.43] |
| Peru ( | 0.09 | [ā0.08, 0.26] |
| New York State, USA ( | ā0.01 | [ā0.29, 0.28] |
| Sierra Nevada, USA ( | ā0.08 | [ā0.34, 0.18] |
Pearson correlation coefficient (r) between the label frequency distribution of a variety of avian soundscape datasets and Xeno-Canto, along with the 95% confidence interval.
Note that none of the label distributions show significant correlation with Xeno-Cantoās label distribution.
Recording length can vary between two datasets, and sometimes within a given dataset (FigureĀ 2, right); variability in temporal structure and context, particularly between training and evaluation data, can contribute to weak generalization.
1.2.2.3 Deployment condition
Differences in deployment condition of a dataset are important to consider. Depending on where and how the dataset was collected, there may be a various sources and concentrations of environmental noise. The microphone used to collect bioacoustic data can impact sound quality, frequency response, polar pattern, etc., while digitization choices, such as compression and sampling rate, can impact its resolution. Focal recordings are typically directional and focused on a given foreground subject, whereas passive recordings might have been recorded with an omnidirectional microphone and contain a multitude of vocalizations and environmental noises. Differences in setting can substantially impact the signal-to-noise ratio in a given recording and the difficulty of detecting a vocalization. Similarly, soundscape datasets commonly include overlapping vocalizations from different species or different individuals, which are often more challenging for a model to learn to disentangle and detect.
1.2.2.4 Annotation and labeling
Annotation quality and fidelity varies greatly depending on the source of the data. The majority of data on Xeno-Canto, a global citizen-science platform for sharing wildlife sounds, features recordings of birds that have been annotated by bird and nature enthusiasts with a wide range of expertise. While many recordings feature reliable labels for focal species, background labels may or may not exist and can be considered weak in that they may be missing even if a species is vocalizing. This can occur with focal recordings but particularly with soundscape recordings where events with lower signal-to-noise ratio might be missed or ignored by annotators.
When dataset attributes such as these differ between training and evaluation data during model development, there can be substantial and potentially confounding negative impacts to the modelās performance when deployed.
1.3 Robustness and practical utility
When designing evaluation protocols for bioacoustics models, it is important to take into account the characteristics of bioacoustics data and challenges that these introduce (Section 1.2). For example, if a model consistently fails to predict rare and endangered species it might have limited utility in practice. However, a naive evaluation protocol that measures average performance across all vocalizations using highly class-imbalanced data might not identify this shortcoming.
Furthermore, testing a modelās ability to handle dataset shifts is important in practice because models are often used to evaluate how species presence relates to environmental covariates. For example, a large PAM deployment will cover many sites, and we want to understand how occupancy and abundance varies across time, elevation, human interventions, and so on. If the modelās performance degrades significantly as a function of these covariates (e.g., it is less likely to detect species at certain sites or times of day) it becomes increasingly likely to draw spurious conclusions from the data. Well-designed evaluation procedures should be able to identify such issues.
1.4 Survey overview
To support minimizing the evaluation gap for foundation models, we require a paradigm shift away from traditional evaluation methods, which usually involve reporting the performance of the model on a uniformly random held-out test set. Instead, a stronger emphasis must be put on robustness, e.g., generalization to new domains, label shift, and adaptation, including few-shot or zero-shot capabilities (
There is no one-size-fits-all evaluation protocol for foundation models, but we will review several relevant fields to inform the design of evaluation protocols for bioacoustics foundation models. Firstly, we will consider the task of sound event detection and the different evaluation paradigms (Section 2). Then we will review a variety of metrics such as ROC AUC and average precision (Section 3). Finally, we will look at ways to evaluate a modelās ability to generalize by reviewing how evaluation is done in fields like domain generalization, domain adaptation, transfer learning, and few-shot learning (Section 4). We will discuss how these different methods have been applied in bioacoustics in the past (Section 5).
2 Sound event detection
A wide variety of machine learning tasks can be relevant in bioacoustics, notably: binary, single- and multi-label classification, detection, counting and source separation. Motivated by the use case of PAM, we will describe the task of sound event detection (SED;
A sound event is defined as a triplet of start time, end time, and label. Given an annotated dataset of sound events, there are two common ways of using these annotations in a SED evaluation setup (FigureĀ 3;
FigureĀ 3

A comparison of event-based (top) and segment-based (bottom) evaluation of sound event detection models, in this case tackling a species-level vocalization detection task. Both operate over a given span of recording containing vocalizations of species X and species Y.
2.1 Segment-based evaluation
The first approach is segment-based evaluation, which involves comparing the ground truth labels and model outputs on a fixed temporal grid: The audio will be divided into frames (windows), which can optionally overlap with neighboring frames. These frames will be assigned labels from the ground truth annotations based on some criterion. Often a simple criterion is used: If the frame has any overlap with a ground truth annotation, it inherits the class label. FigureĀ 3 exemplifies this strategy: the events for two classes are discretized onto a fixed temporal grid, and each frame in the grid is assigned the labels of the events with which it overlaps in time (FigureĀ 3, top).
In the context of evaluation, the resulting task (FigureĀ 3, bottom) is often evaluated in one of the following ways:
A series of binary classification tasks: for each class, each frame is predicted as having signal or no signal for that class;
A series of multi-label classification tasks: each frame is predicted as having signal for one, many, or none of the classes (the latter reflecting the detection aspect of SED); or
When ranking the frames by their likelihood of containing an event of a given class, a series of retrieval tasks (Schütze et al., 2008) where each class is a query and each frame is a document.
These perspectives can inform which evaluation metrics to use (e.g., binary classification metrics such as F1-scores or retrieval metrics such as average precision). But note that SED as a task differs from binary/multi-label classification and retrieval in that in SED the model is allowed to see the entire recording (i.e., all frames) before making its predictions and therefore it does not treat each frame independently.
In practice, however, it is often computationally prohibitive for a model to process the full recording (which can be several minutes or hours long). So in many cases models use a more limited context to make predictions for each frame, and in some cases models do in fact choose to make predictions for each frame independently.
Other things to note are:
The resolution of the temporal grid is important. If the goal is to evaluate a modelās ability to retrieve segments of the recording to present to a user, then a resolution of several seconds is reasonable. If the goal of the model is to, e.g., count the number of vocalizations or to filter the detected signal out of the recording, then a higher resolution might be more appropriate. It is also important to consider the nature of the events to be detected (e.g., bird vocalizations are generally limited to a few seconds whereas whale songs contain phrases that are several minutes long).
The naive heuristic for assigning labels to segments can lead to edge cases in which a segment is assigned a label of an event that only overlaps with the segment for a very short period of time. This can be problematic, particularly for models which do not utilize the temporal information across frames.
2.2 Event-based evaluation
The second approach is called event-based evaluation and compares the annotated event instance directly to the predicted events from the model (FigureĀ 3, bottom left). Unlike segment-based evaluation, event-based evaluation does not require deciding on a fixed temporal grid and assigning labels to frames; instead it requires a criterion for deciding whether a predicted event matches a ground truth annotation. This criterion must ideally be robust to varying durations in ground truth annotations and uncertainty in their onset and offset time.
A common way of matching predicted events to the ground truth is by comparing the start and end time of the event while allowing for a small difference, which is referred to as the collar (FigureĀ 4, left;
FigureĀ 4

Collar-based and IoU-based event matching criteria.
FigureĀ 4ās predictions each naturally align with exactly one ground truth annotation, but this is not always the case: there could be multiple overlapping ground truth annotations (e.g., if the dataset is densely annotated), or the model could make multiple overlapping predictions. Under either collar-based or IoU-based matching criteria this could result in many-to-one or one-to-many pairings between predictions and ground-truth annotations (FigureĀ 5, top). Counting all matches when multiple predictions are matched to a single ground truth annotation is problematic, since it could allow a model to artificially inflate its number of true positives by duplicating predictions. Counting all matches when a single prediction is matched to multiple ground truth annotations could be problematic or not depending on the intended application (e.g., it is problematic when counting individuals but not when detecting presence). A systematic way of handling these corner cases is to enforce a one-to-one mapping between predictions and ground truth annotations and handling leftover predictions and ground truth annotations in a way that is appropriate for the evaluated application. The one-to-one mapping can be obtained by solving a linear (unbalanced) assignment problem (i.e., bipartite graph matching) using the difference between start and end times or the IoU values as scores (FigureĀ 5, bottom; Stewart etĀ al., 2016).
FigureĀ 5

Edge cases to consider are when a predicted event matches multiple ground truth annotations and vice versa.
In other cases it is unclear whether an event should be labeled as a single long event or two shorter consecutive events in the ground truth. If the model predicts a single event when annotators split the event into two consecutive events or vice versa, the collar-based or IoU-based matching criteria could reject the prediction(s) (FigureĀ 6). These concerns are uncommon in traditional fields such as keyword spotting, but are more realistic in bioacoustics. To be robust to these annotation choices, a single prediction can be made to match multiple ground truth annotations and vice versa (
FigureĀ 6

Edge cases to consider are when there is ambiguity in the number of consecutive events.
When there are multiple classes to detect it is possible that the model correctly detects an event but confuses one class for another (cross-triggers;
3 Metrics
In segment-based evaluation the predictions can readily be classified as true and false positives and negatives, and the full range of binary classification metrics are at our disposal.
For event-based evaluation, the situation is more nuanced, and depends on the matching of model-predicted events to ground-truth annotations. When an event predicted by the model is matched to a ground-truth event, we consider it a true positive (TP). Unmatched predictions are considered false positives (FP), and any remaining unmatched ground-truth annotated events are considered false negatives (FN). Note that none of these three circumstances corresponds to true negatives (TN). Hence, only metrics that do not rely on true negatives (
TableĀ 2
| Threshold-free | Unbiased | Robust to outliers | |
|---|---|---|---|
| ROC AUC | ā | ā | ā |
| Average precision | ā | ā | ā |
| Precision/Recall/F1 | ā | ā | ā |
An informal summary of metric characteristics.
3.1 Threshold-free metrics
Metrics such as precision and recall are a function of the modelās operating point (decision threshold). This means that our understanding of the modelās performance is dependent on the choice of threshold. Choosing an arbitrary threshold risks underestimating overall model quality and can hinder model comparison. But choosing an appropriate threshold for each model can be a complex process. The optimal choice of threshold likely depends on the downstream application (e.g., often high recall is preferred for detection of rare species, but high precision is preferable when monitoring a wide range of species) and can even be different for different species or deployments. We can avoid the need for tuning thresholds when evaluating models by using threshold-free metrics.
One common way to remove dependence on a particular choice of threshold is to define a metric by integrating over all possible values of the threshold: This gives rise to area-under-the-curve (AUC) statistics. For AUC metrics, a pair of metrics, , are plotted as a function of the threshold, t, defining a parametric curve, . When the true and false positive rate (sensitivity and fall-out) are plotted this is known as the receiver operating characteristic (ROC) curve. Another common curve is the precision-recall (PR) curve. Sometimes the ROC curve is drawn on a logistic scale, in which case it is known as the detection error tradeoff (DET) graph (
For the PR and ROC curves the areas under the curves are known as the average precision and ROC AUC scores respectively (alternatively, AUPR and AUROC). ROC AUC is commonly used in sound event detection. Average precision is often recommended in information retrieval because it emphasizes the modelās positive predictions only (Saito and Rehmsmeier, 2015; Sofaer etĀ al., 2019). This behavior of average precision is shown in FigureĀ 7. The Concentrated ROC (CROC) curve is a monotonic scaling of the ROC curves which emphasizes the early-retrieval performance of the classifier and is used in similar situations as average precision (Swamidass etĀ al., 2010).
FigureĀ 7

Each row in the figure above is a model prediction (e.g., the presence of a particular bird species in an audio recording) ranked by the modelās confidence score. The first column contains the modelās score and the second column denotes whether the model is in fact correct (e.g., is the bird species actually present according to the ground truth annotation). (Left) This example shows how average precision is only sensitive to the ranking of ground truth positives. There is only a single example in which the bird is actually present. This example is ranked in second place by the model and hence the average precision of this model is 0.5, regardless of the number of ground truth negatives in the dataset. However, if this model was scored using ROC AUC then its score would depend on the number of ground truth negatives. To be precise, the ROC AUC of this model is where N is the total number of examples. (Right) This example compares two models using the same dataset of 6 examples. Which model is better depends on the metric used. Average precision emphasizes early-retrieval performance and prefers the left model, which has an average precision score of compared to for the right model. However, as measured by ROC AUC the right model is better with an ROC AUC score of while the left model has a score of only (no better than random).
ROC AUC has an alternative probabilistic interpretation: When randomly selecting a positive and negative example ranked by the model, it is equal to the probability of the positive example being ranked above the negative (
where denotes a sample from the partition of positive examples and denotes a sample from the partition of negative examples. This is also equivalent to a scaling of the U statistic from the Mann-Whitney U test (
Another interpretation of ROC AUC relies on considering a ranked list of all predictions: One minus ROC AUC is the average number of negatives ranked above each positive, normalized by the total number of negatives. In this sense, ROC AUC can be thought of as a kind of mean rank metric.
This also shows that ROC AUC a scaling of the information retrieval metric bpref (in the case of complete information;
For event-based evaluation is not possible to calculate the false positive rate which is required to calculate the ROC AUC score, since this requires having ground truth negatives. For this reason, sound event detection often uses the false alarm rate instead (measured as the number of false positives per unit of time;
3.2 Bias and outlier sensitivity
Metrics such as precision, recall, specificity, and fall-out rate are all biased (Powers, 2020), i.e., the scores of an uninformed classifier will depend on the underlying distribution. This also applies to a derived metric like average precision. Since this means that scores are incomparable across classes with a different number of positive examples, it is inappropriate to average these values across different classes (FigureĀ 8). Alternative (thresholded) unbiased measures to use are informedness, markedness, and the Matthews correlation coefficient (MCC) (
FigureĀ 8

In these figures, the x-axis interpolates linearly between a āperfectā model (with scores evenly spaced between -1.0 and 1.0, and all positive examples given the highest scores) and a noise model (with random unit Gaussian scores). The y-axis gives the interpolated modelās quality according to average precision (left) and ROC AUC (right). We vary the fraction of positives between 10% and 90%, and run with 50 different noise models at each label ratio. Note that average precision is clearly a biased score. As an example of why this is problematic, consider a model which has gotten marginally better at predicting the rare class (e.g., from noise level 0.3 to 0.2) while simultaneously completely forgetting the common class (from noise level 0 to 1). In this case, the mean average precision would increase, while the ROC AUC score would decrease.
That said, even the distribution of unbiased metrics will get skewed as a function of the dataset imbalance (Zhu, 2020), which means that averaging should still be done with care when the data imbalance is widely different across the aggregates.
Another metric property to consider is its sensitivity to outliers. For example, in the case of a single positive example, the average precision score can change from 1.0 to 0.5 if the model ranks the positive example second instead of first. On the other hand, ROC AUC does not have such sensitivity.
3.3 Sample-wise metrics
In segment-based evaluation it is also possible to calculate metrics such as ROC AUC and average precision sample-wise (i.e., rank and score the class labels for each example). When calculating average precision sample-wise this is known as label-ranking average precision (LRAP;
TableĀ 3
| i | j | ||
|---|---|---|---|
| 1 | 2 | 3 | |
| 1 | 0.49 | 0.08 | 0.43 |
| 2 | 0.31 | 0.35 | 0.34 |
| 3 | 0.55 | 0.03 | 0.42 |
| 4 | 0.27 | 0.34 | 0.39 |
| 5 | 0.45 | 0.37 | 0.18 |
| AP | 1 | ||
A hypothetical set of outputs from a single-label classifier for 5 samples (i, frames) and 3 classes (j) along with the average precision score for each class (AP).
The bolded outputs are the ground truth positives. Note that this classifier has perfect accuracy and LRAP scores (for each example the bolded value is the largest). However, since this model is more confident in its classifications of class j = 1, it performs poorly when used as a detection model (i.e., to rank the relevant frames per class, only for class j = 1 are the bolded values ranked the highest). The macro-averaged mean average precision is .
3.4 Multi-class metrics and aggregation
When there are multiple classes, there are a variety of ways in which a final performance score can be calculated. For example, scores (like ROC AUC or average precision) can be calculated separately for each class and then averaged (macro-averaging), or all ground truth annotations can be treated as a single positive class (micro-averaging). Another option is to calculate scores per class and then weight each class by the number of its ground truth annotations (weighted averaging).
Note that in the context of class imbalance, the macro-averaging of unbiased scores like ROC AUC across classes can still result in a score that is no longer insensitive to class imbalance. This is because the ROC AUC score for each class is calculated using a one-vs-rest approach (i.e., any other class is considered a negative) and hence the class imbalance in the ārestā group is no longer taken into account. There exists a multi-class generalization of ROC AUC (
When macro-averaging scores across classes or datasets it is possible to use a variety of means such as the arithmetic, geometric, and harmonic mean. The geometric and harmonic mean reward models for having lower variance in their results (Voorhees, 2003; Robertson, 2006) (i.e., if one model is subject to a larger mean-preserving spread, its final score will be lower). In
4 Evaluation of out-of-distribution generalization
We argue that robustness to distribution shifts and out-of-distribution generalization are crucial desiderata for foundation models, since their goal is to be general and applicable to a wide array of downstream tasks, each with different characteristics and distributional properties. To this end, we dedicate this section to reviewing literature of related areas that focus on generalization beyond the training distribution, in various forms: domain generalization and adaptation, transfer learning and few-shot learning.
Generally, measuring (and improving upon) the ability of models to generalize from a āsource domainā on which they are trained to a different ātarget domainā, is an important and well-studied issue in machine learning. Different fields focus on studying different instantiations of this generalization problem, by making different assumptions about the relationship between the source and target domains, and the amount and strength of supervision available from the target domain for adaptation.
4.1 Fields studying different facets of generalization
Domain generalization (Zhou etĀ al., 2022) studies the ability of the model to generalize to a target domain ādirectlyā (without using any target data for adaptation). While the target domain has a different distribution from the source, the label set is assumed to be the same. Despite the development of several training algorithms for the specific goal of improving domain generalization performance (Zhou etĀ al., 2022), the literature suggests that training with regular empirical risk minimization and good hyperparameter selection is a strong baseline (
Domain adaptation (Wang and Deng, 2018) assumes a similar protocol as domain generalization, with the further assumption of the availability of some unlabeled target examples that can be used for adaptation. Several ideas have been explored, including approaches to encourage domain invariance (Tzeng etĀ al., 2014; Sun and Saenko, 2016; Sankaranarayanan etĀ al., 2018), self-training, by generating pseudolabels for the unlabeled data (Xie etĀ al., 2020), as well as self-supervised learning combined with fine-tuning (Shen etĀ al., 2021).
Transfer learning (Zhuang etĀ al., 2020) is a more general framework that relaxes the assumption that the source and target domains share the same label space or correspond to the same ātaskā (e.g., one may transfer a model trained for classification to solve a detection task). Consequently, transfer learning protocols typically assume that labeled examples from the target domain are given for adaptation, though the amount of such examples is typically assumed to be less than what is required to train a new model āfrom scratchā on the target domain.
A common approach to transfer learning in deep learning is to train a linear model on the embeddings produced by one of the intermediate layers of the model (commonly the penultimate layer) (Sharif Razavian etĀ al., 2014). This is sometimes referred to as ālinear probingā or using the model as a āfixed feature extractorā. Alternatively, the last layer of the model can be replaced with a new layer after which the entire model is trained (fine-tuned) on the target task (
Few-shot learning is a special case of transfer learning where only a few examples are available from the target domain (much fewer than would have been needed to train a target model āfrom scratchā). While few-shot learning is an instantiation of the more general transfer learning problem, the community has traditionally developed specialized methodology and evaluation practices.
Improving few-shot learning performance has been approached in many ways, involving data augmentation, modelling improvements, or custom training algorithms (Wang etĀ al., 2020b). Some of these techniques require, for example, fine-tuning the source model during evaluation using the few available examples. Other methods do not require any fine-tuning. For example, a simple but strong baseline (
Recently, modern large language models have shown impressive few-shot performance during evaluation while not having been explicitly trained for this setting (
4.2 Evaluation of generalization
The different fields outlined above have in common the necessity of a āheld-outā (set of) dataset(s), domain(s), or task(s) for evaluation, which is a fundamental departure from the standard methodology in machine learning where evaluation takes places on held-out examples of the same dataset, domain, and/or task used for training.
A prominent recent trend in evaluation practices that has been observed across the above fields is the development of more diverse evaluation benchmarks, comprised of several datasets: WILDS for distribution shifts and domain generalization and adaptation (
Building further on the same argument of variance reduction, few-shot learning in particular requires a specialized evaluation protocol to account for the fact that only a few examples are available in each ātarget taskā, leading to a potential high variance in terms of performance, depending on the specific few examples that were selected. To that end, few-shot learning evaluation adopts an āepisodicā evaluation protocol: the model encounters a set of āepisodesā at test time, each representing a few-shot learning task, with a different āsupport setā each time (containing the few available labelled examples), as well as a āquery setā (containing held-out examples that the model is asked to predict labels for). The few-shot learning performance that is typically reported is the average performance (e.g., accuracy) on the query set, averaged over a large number of such episodes. We believe that such evaluation practices should serve as inspiration for building evaluation protocols for generalization in bioacoustics too where practitioners are naturally confronted with a plethora of few-shot learning tasks.
While the research community has been very active in studying generalization in the aforementioned fields, most works focus on the vision and language domains. For example,
Returning to our running example, few-shot learning for sound event detection (Wang etĀ al., 2020a) can deviate slightly from regular few-shot learning setups. Usually, a few-shot learning problem is defined as having n shots (the number of support examples per class) and k ways (the number of classes). However, in sound event detection only the positives (i.e., the events) are explicitly given. The negatives (non-events) can at most be inferred as being the time periods in between the given events. In a few-shot learning setting this means that the problem must either be approached as a one-way few-shot task (
Generally, characterizing the commonalities and differences of generalization problems in bioacoustics compared to other domains, and utilizing those findings to build appropriate evaluation frameworks, is an important line of work towards the goal of creating bioacoustics foundation models.
5 Existing efforts in bioacoustics evaluation
There have been a variety of benchmarks and competitions in bioacoustics (
TableĀ 4
| Dataset | Task | Metric | Averaging | Test set | Out-of-domain generalization |
|---|---|---|---|---|---|
| DCASE (Nolasco etĀ al., 2023b) | Sound event detection (event-based, IoU-based bipartite matching) | F1 | Harmonic across datasets | ā¼9 h | Few-shot learning (unseen taxa) |
| BirdCLEF ( | Sound event detection (segment-based) | AP | Arithmetic across species | ā¼32 h | Domain generalization (avian focal to soundscape) |
| BIRB ( | Multi-label classification | ROC AUC | Geometric across species | ā¼458 h | Domain generalization (avian focal to soundscape) and few-shot learning (unseen species) |
| BEANS ( | Multi-label classification | AP/Acc. | Arithmetic across classes | ā¼185 h | None |
An informal comparison of different bioacoustics benchmarks.
An early example, the ICML 2013 Bird Challenge (
5.1 Sound event detection
Both the DCASE and BirdCLEF challenges evaluate on a sound event detection task. The DCASE challenge uses event-based evaluation whereas the latest BirdCLEF uses segment-based evaluation with a grid of 5 seconds.
The DCASE challenge matches predicted events to ground-truth events by first rejecting all predictions that do not have an IoU of at least 30% with a ground truth event. Then a bipartite matching problem (where the weights are the IoU scores) is solved to find a one-to-one mapping between ground truth and predicted events. The use of IoU in detection is common when matching object detections in vision, since objects in natural images often appear at different scales (closer or further away from the camera), necessitating a scale-invariant metric like IoU. The onset and offset time of an audio event is unlikely to scale with the duration of the event, which is why collars are arguably more appropriate in sound event detection.
DCASEās usage of a one-to-one mapping between predicted and ground truth events might also not be appropriate for all bioacoustics datasets. For example, for some avian soundscape datasets the annotators were instructed to merge bounding boxes which would be less than 0.5 or 5 seconds apart (
Both BIRB and BEANS benchmarks use strongly labeled data for their test set. However, these recordings are segmented into frames which the model must classify separately, reducing the problem to a multi-label classification problem rather than a sound event detection problem. Finally,
5.2 Metrics
A variety of metrics have been used by bioacoustics benchmarks and challenges.
The DCASE few-shot bioacoustic event detection task (Nolasco etĀ al., 2023a) uses a thresholded metric, the F1-score. The need for thresholding (e.g., the DCASE baseline system uses a hand-tuned threshold of 0.45) makes it difficult to disentangle the quality of the model from the quality of the threshold. In the case of DCASE the F1-scores are calculated per dataset and then averaged using the harmonic mean to calculate a final score. The harmonic mean puts a strong emphasis on the worst performing dataset.
Note that DCASE ignores events of different classes and considers all events belonging to a single āpositiveā class. During evaluation this is the same as micro-averaging, which means that the F1-scores represent the class distribution of each dataset. Hence, if the model performs badly on rare classes this is unlikely to show in the scores. Samples-averaging and LWLRAP are metrics with the same property. LWLRAP was used in bioacoustics, for example, in
The BirdCLEF competitions have generally used macro-averaged average precision under the name class mean average precision (cmAP) (
BIRB in contrast opted to use the ROC AUC metric (although in a multi-class setting this is still a biased metric; Section 3.4). Furthermore, it uses geometric averaging of the ROC AUC scores across classes to emphasize worst-case performance (albeit not as strongly as DCASEās harmonic mean). Use of the geometric mean has seen common usage in fields such as information retrieval (
Both BirdCLEF and BIRB use a macro-averaging strategy where scores are calculated per class and then averaged. This is a good approach when models are to be evaluated for an unknown class distribution at test time. Macro-averaging can be thought of similarly to uninformative priors in Bayesian statistics: in the absence of information about the class distribution at test time, weighting each class equally is reasonable (FigureĀ 9).
FigureĀ 9

An example of a dataset in which one species (yellow, top row) contains more positive ground truth annotations (vocalizations). The precision calculated over all ground truth annotations (micro-averaging) is . If at test time the performance for each species is equally important then this score is not reflective of the modelās performance. A better performance metric could be to take the average of each speciesās precision (macro-averaging): .
5.3 Generalization
Measuring the ability of models to generalize out-of-distribution is essential for bioacoustics. The BEANS benchmark is the only benchmark that uses a traditional 6:2:2 split for training, validation, and test data, and as such does not measure out-of-distribution generalization.
Most other bioacoustics benchmarks do directly measure out-of-distribution generalization in some way. The BirdCLEF competitions have long used a domain generalization framework where focal recordings from Xeno-Canto are used as training data while evaluating on soundscape recordings (
DCASE explicitly uses a few-shot setup with separate datasets for training and testing. While birds appear in both the training and test, several other species are unique to the test set. As such, the benchmark measures not only the ability of the model to learn from few examples, but also the modelās ability to generalize to new datasets and species.
BIRB, like BirdCLEF, uses focal recordings from Xeno-Canto as training data while using soundscapes for testing, evaluating the model partly in a domain generalization setup. However, it additionally leaves out species from specific geographies (e.g., Hawaiāi and Colombia) from the training data, allowing it to explicitly evaluate generalization to new species in a few-shot learning task.
6 Conclusion
Progress towards bioacoustics foundation models requires the careful design of evaluation procedures that reflect the practical utility of the models. As we have discussed in depth, this is challenging for several reasons. Notably, the bioacoustics data that is available has limitations in terms of coverage (e.g., geographic coverage, species abundance) and we do not have sufficient large-scale training data reflecting all possible deployment conditions (types of annotations, microphones), which unavoidably leads to distribution shifts between training and evaluation data. Further, as discussed, certain distributional characteristics of bioacoustics data (e.g., their long-tailed nature) pose challenges with regards to evaluation metrics too: we do not necessarily want to reward a model that does well on average but consistently fails to make correct predictions on data points in the ātailā. We argue, therefore, for the necessity of āgeneral-purposeā robust bioaoustics models that are able to cope well with a variety of distribution shifts and generalize to deployment conditions and novel species rapidly. Crucially, carefully crafting good evaluationĀ practices is a key ingredient in incentivizing and supportingĀ theĀ development of bioacoustics models with the desired characteristics.
As a first step towards that goal, we have reviewed existing evaluation practices in bioacoustics, aiming to identify drawbacks and opportunities for improvement. Specifically, we reviewed the way that sound event detection tasks are evaluated in the literature, which metrics can be used to quantify model quality, and how model robustness and adaptability can be explicitly measured in the frameworks of domain generalization, transfer learning, and few-shot learning. Finally, we have discussed the multitude of design decisions made by existing bioacoustics benchmarks and challenges. Ultimately, there is no single way in which a modelās ability to generalize and adapt can be measured, since this depends on the type of tasks and data distributions the model will be deployed on. Hence, designing benchmarks that reflect a modelās real-world utility requires careful consideration of how the data, model and evaluation protocol interact. We hope that the topics raised in this review will help assist in the development of such benchmarks, and by extension, the development of stronger bioacoustics models.
Statements
Author contributions
BM: Conceptualization, Visualization, Writing ā original draft, Writing ā review & editing. JH: Writing ā review & editing. VD: Visualization, Writing ā review & editing. ET: Writing ā review & editing. TD: Writing ā review & editing.
Funding
The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.
Conflict of interest
All authors are employed by Google.
Publisherās note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Footnotes
1.^The evaluation of a modelās ability to correctly predict the frequency of a vocalization is left out of the scope of this review.
2.^Note that the metric proposed in
3.^The geometric and harmonic mean would be other options that lie in between these two choices.
References
1
BeitzelS. M.JensenE. C.FriederO. (2009). GMAP (Boston, MA: Springer US), 1256ā1256. doi:Ā 10.1007/978ā0-387ā39940-9493
2
BilenC.FerroniG.TuveriF.AzcarretaJ.KrstuloviÄS. (2020). āA framework for the robust evaluation of sound event detection,ā in Proceedings of the International Conference on Acoustics, Speech and Signal Processing. (IEEE), 61ā65.
3
BjorckJ.RappazzoB. H.ChenD.BernsteinR.WregeP. H.GomesC. P. (2019). Automatic detection and compression for passive acoustic monitoring of the african forest elephant. Proc. AAAI Conf. Artif. Intell.33, 476ā484. doi:Ā 10.1609/aaai.v33i01.3301476
4
BommasaniR.HudsonD. A.AdeliE.AltmanR.AroraS.von ArxS.et al. (2021). On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258. doi:Ā 10.48550/arXiv.2108.07258
5
BorsosZ.MarinierR.VincentD.KharitonovE.PietquinO.SharifiM.et al. (2023). Audiolm: a language modeling approach to audio generation. IEEE/ACM Trans. Audio Speech Lang. Process. 31, 2523ā2533. doi:Ā 10.1109/TASLP.2023.3288409
6
BoudiafM.DentonT.van MerriënboerB.DumoulinV.TriantafillouE. (2023). In search for a generalizable method for source free domain adaptation. arXiv preprint arXiv:2302.06658. doi: 10.48550/arXiv.2302.06658
7
BriggsF.HuangY.RaichR.EftaxiasK.LeiZ.CukierskiW.et al. (2013). āThe 9th annual mlsp competition: New methods for acoustic classification of multiple simultaneous bird species in a noisy environment,ā in 2013 IEEE International Workshop on Machine Learning for Signal Processing (MLSP). (IEEE), 1ā8. doi:Ā 10.1109/MLSP.2013.6661934
8
BrownT.MannB.RyderN.SubbiahM.KaplanJ. D.DhariwalP.et al. (2020). Language models are few-shot learners. Adv. Neural Inf. Process. Syst.33, 1877ā1901. doi:Ā 10.48550/arXiv.2005.14165
9
BuckleyC.VoorheesE. M. (2004). āRetrieval evaluation with incomplete information,ā in Proceedings of the 27th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval (Association for Computing Machinery), SIGIR ā04. (ACM), 25ā32. doi:Ā 10.1145/1008992.1009000
10
CallaghanC. T.NakagawaS.CornwellW. K. (2021). Global abundance estimates for 9,700 bird species. Proc. Natl. Acad. Sci.118, e2023170118. doi:Ā 10.1073/pnas.2023170118
11
CaoC.ChiccoD.HoffmanM. M. (2020). The mcc-f1 curve: a performance evaluation technique for binary classification. arXiv preprint arXiv:2006.11278. doi:Ā 10.48550/arXiv.2006.11278
12
ChenY.LiuZ.XuH.DarrellT.WangX. (2021). āMeta-baseline: Exploring simple meta-learning for few-shot learning,ā in Proceedings of the IEEE/CVF international conference on computer vision. (IEEE/CVF), 9062ā9071.
13
ChiccoD.JurmanG. (2020). The advantages of the matthews correlation coefficient (mcc) over f1 score and accuracy in binary classification evaluation. BMC Genomics21, 1ā13. doi:Ā 10.1186/s12864-019-6413-7
14
ChiccoD.TƶtschN.JurmanG. (2021). The matthews correlation coefficient (mcc) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation. BioData Min.14, 1ā22. doi:Ā 10.1186/s13040-021-00244-z
15
ChronisterL. M.RhinehartT. A.PlaceA.KitzesJ. (2022). An annotated set of audio recordings of Eastern North American birds containing frequency, time, and species information. Zenodo. doi:Ā 10.5061/dryad.d2547d81z
16
ClappM.KahlS.MeyerE.McKennaM.KlinckH.PatricelliG. (2023). A collection of fully-annotated soundscape recordings from the southern Sierra Nevada mountain range. Zenodo. doi:Ā 10.5281/zenodo.7525805
17
CondeM. V.ShubhamK.AgnihotriP.MovvaN. D.BessenyeiS. (2021). Weakly-supervised classification and detection of bird sounds in the wild. a birdclef 2021 solution. arXiv preprint arXiv:2107.04878. doi:Ā 10.48550/arXiv.2107.04878
18
CormackG. V.LynamT. R. (2006). āStatistical precision of information retrieval evaluation,ā in Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval. (ACM), 533ā540.
19
DentonT.WisdomS.HersheyJ. R. (2022). āImproving bird classification with unsupervised sound separation,ā in ICASSP 2022ā2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). (IEEE), 636ā640.
20
DhivyaS.MohandasP. (2012). āComparison of convolutional neural networks and k-nearest neighbors for music instrument recognition,ā in Advances in Speech and Music Technology: Computational Aspects and Applications. (Springer), 175ā192.
21
DiblĆkovĆ”L.PipekP.PetrusekA.SvobodaJ.BĆlkovĆ”J.VermouzekZ.et al. (2019). Detailed large-scale mapping of geographical variation of yellowhammer emberiza citrinella song dialects in a citizen science project. Ibis161, 401ā414. doi:Ā 10.1111/ibi.12621
22
DobbsD. (2023). The future of conservation is basically shazam for wildlife. Atlantic.
23
EbbersJ.Haeb-UmbachR.SerizelR. (2022). āThreshold independent evaluation of sound event detection scores,ā in ICASSP 2022ā2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). (IEEE), 1021ā1025.
24
EvciU.DumoulinV.LarochelleH.MozerM. C. (2022). āHead2toe: Utilizing intermediate representations for better transfer learning,ā in International Conference on Machine Learning. (PMLR), 6009ā6033.
25
FiscusJ. G.AjotJ.GarofoloJ. S.DoddingtionG. (2007). Results of the 2006 spoken term detection evaluation. Proc. sigir7, 51ā57.
26
FrancoM.LipaniC.BonaventureO.NijssenS. (2020). automated monitoring of bat species in Belgium. Louvain-la-Neuve, Belgium: Anglais, Ph. D. dissertation, UCL-Ecole polytechnique de Louvain.
27
FuhrN. (2018). āSome common mistakes in ir evaluation, and how they can be avoided,ā in Acm sigir forum, vol. 51. (New York, NY, USA: ACM), 32ā41.
28
GhaniB.DentonT.KahlS.KlinckH. (2023). Global birdsong embeddings enable superior transfer learning for bioacoustic classification. Nature13. doi:Ā 10.1038/s41598-023-49989-z
29
GibbR.BrowningE.Glover-KapferP.JonesK. E. (2019). Emerging opportunities and challenges for passive acoustics in ecological assessment and monitoring. Methods Ecol. Evol.10, 169ā185. doi:Ā 10.1111/2041-210X.13101
30
GirshickR.DonahueJ.DarrellT.MalikJ. (2014). āRich feature hierarchies for accurate object detection and semantic segmentation,ā in Proceedings of the IEEE conference on computer vision and pattern recognition. (IEEE), 580ā587.
31
GlotinH.ClarkC.LeCunY.DuganP.HalkiasX.JƩrƓmeS. (2013a). The 1st International Workshop on Machine Learning for Bioacoustics (Atlanta, GA: ICML).
32
GlotinH.LeCunY.ArtiĆØresT.MallatS.TchernichovskiO.HalkiasX. (2013b). Neural Information Processing Scaled for Bioacoustics: From Neurons to Big Data (Stateline, NV: NeurIPS).
33
GoĆ«auH.GlotinH.VellingaW.-P.PlanquĆ©R.JolyA. (2016). āLifeclef bird identification task 2016: The arrival of deep learning,ā in CLEF: Conference and Labs of the Evaluation Forum, Vol. 1609. 440ā449.
34
GoĆ«auH.GlotinH.VellingaW.-P.PlanquĆ©R.RauberA.JolyA. (2014). āLifeclef bird identification task 2014,ā in CLEF: Conference and Labs of the Evaluation forum, Vol. 1180. 585ā597.
35
GoĆ«auH.KahlS.GlotinH.PlanquĆ©R.VellingaW.-P.JolyA. (2018). āOverview of birdclef 2018: monospecies vs. soundscape bird identification,ā in CLEF 2018-Conference and Labs of the Evaluation Forum, Vol. 2125.
36
GulrajaniI.Lopez-PazD. (2020). In search of lost domain generalization. arXiv preprint arXiv:2007.01434. doi:Ā 10.48550/arXiv.2007.01434
37
HagiwaraM.HoffmanB.LiuJ.-Y.CusimanoM.EffenbergerF.ZacarianK. (2023). āBeans: The benchmark of animal sounds,ā in ICASSP 2023ā2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). (IEEE), 1ā5.
38
HamerJ.TriantafillouE.van MerrienboerB.KahlS.KlinckH.DentonT.et al. (2023). BIRB: A generalization benchmark for information retrieval in bioacoustics. arXiv preprint arXiv:2312.07439. doi:Ā 10.48550/arXiv.2312.07439
39
HandD. J.TillR. J. (2001). A simple generalisation of the area under the roc curve for multiple class classification problems. Mach. Learn.45, 171ā186. doi:Ā 10.1023/A:1010920819831
40
HanleyJ. A.McNeilB. J. (1982). The meaning and use of the area under a receiver operating characteristic (roc) curve. Radiology143, 29ā36. doi:Ā 10.1148/radiology.143.1.7063747
41
HoppingW. A.KahlS.KlinckH. (2022). A collection of fully-annotated soundscape recordings from the Southwestern Amazon Basin. Zenodo. doi:Ā 10.5281/zenodo.7079124
42
HowardA.FonsecaE.FontF.PlakalM. (2019). Freesound audio tagging 2019.
43
HutchinsonB.RostamzadehN.GreerC.HellerK.PrabhakaranV. (2022). āEvaluation gaps in machine learning practice,ā in Proceedings of the 2022 ACM Conference on Fairness, Accountability, and Transparency (Association for Computing Machinery), FAccT ā22. (ACM), 1859ā1876. doi:Ā 10.1145/3531146.3533233
44
KahlS.DentonT.KlinckH.GlotinH.GoĆ«auH.VellingaW.-P.et al. (2021a). āOverview of birdclef 2021: Bird call identification in soundscape recordings,ā in CLEF (Working Notes). 1437ā1450.
45
KahlS.NavineA.DentonT.KlinckH.HartP.GlotinH.et al. (2022a). āOverview of birdclef 2022: Endangered bird species recognition in soundscape recordings,ā in Working Notes of CLEF.
46
KahlS.WoodC. M.ChaonP.PeeryM. Z.KlinckH. (2022b). A collection of fully-annotated soundscape recordings from the Western United States. Zenodo. doi:Ā 10.5281/zenodo.7050014
47
KahlS.WoodC. M.EiblM.KlinckH. (2021b). Birdnet: A deep learning solution for avian diversity monitoring. Ecol. Inf.61, 101236. doi:Ā 10.1016/j.ecoinf.2021.101236
48
KarpiŔtŔenkoA.SpauldingE.CukierskiW. (2013). The marinexplore and cornell university whale detection challenge.
49
KiskinI.SinkaM.CobbA. D.RafiqueW.WangL.ZilliD.et al. (2021). Humbugdb: a large-scale acoustic mosquito dataset. arXiv preprint arXiv:2110.07607. doi:Ā 10.48550/arXiv.2110.07607
50
KlinckH.DaneS.KahlS.DentonT. (2023). Birdclef 2023.
51
KohP. W.SagawaS.MarklundH.XieS. M.ZhangM.BalsubramaniA.et al. (2021). āWilds: A benchmark of in-the-wild distribution shifts,ā in International Conference on Machine Learning. (PMLR), 5637ā5664.
52
KornblithS.ShlensJ.LeQ. V. (2019). āDo better imagenet models transfer better?,ā in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. (IEEE/CVF), 2661ā2671.
53
KruspeA. (2019). One-way prototypical networks. arXiv preprint arXiv:1906.00820. doi:Ā 10.48550/arXiv.1906.00820
54
LaioloP. (2010). The emerging significance of bioacoustics in animal species conservation. Biol. Conserv.143, 1635ā1645. doi:Ā 10.1016/j.biocon.2010.03.025
55
MartinA. F.DoddingtonG. R.KammT.OrdowskiM.PrzybockiM. A. (1997). The det curve in assessment of detection task performance. Eurospeech4, 1895ā1898. doi:Ā 10.21437/Eurospeech.1997
56
MasonS. J.GrahamN. E. (2002). Areas beneath the relative operating characteristics (roc) and relative operating levels (rol) curves: Statistical significance and interpretation. Q. J. R. Meteorological Soc.128, 2145ā2166. doi:Ā 10.1256/003590002320603584
57
McloughlinM. P.StewartR.McElligottA. G. (2019). Automated bioacoustics: Methods in ecology and conservation and their potential for animal welfare monitoring. J. R. Soc. Interface16, 20190225. doi:Ā 10.1098/rsif.2019.0225
58
MesarosA.HeittolaT.VirtanenT. (2016). Metrics for polyphonic sound event detection. Appl. Sci.6, 162. doi:Ā 10.3390/app6060162
59
MesarosA.HeittolaT.VirtanenT.PlumbleyM. D. (2021). Sound event detection: A tutorial. IEEE Signal Process. Magazine38, 67ā83. doi:Ā 10.1109/MSP.2021.3090678
60
Moreno-TorresJ. G.RaederT.Alaiz-RodrĆguezR.ChawlaN. V.HerreraF. (2012). A unifying view on dataset shift in classification. Pattern recognition45, 521ā530. doi:Ā 10.1016/j.patcog.2011.06.019
61
MorfiV.NolascoI.LostanlenV.SinghS.Strandburg-PeshkinA.GillL. F.et al. (2021). āFew-shot bioacoustic event detection: A new task at the dcase 2021 challenge,ā in DCASE, 145ā149.
62
NavineA.KahlS.Tanimoto-JohnsonA.KlinckH.HartP. (2022). A collection of fully-annotated soundscape recordings from the Island of Hawaiāi. Zenodo. doi:Ā 10.5281/zenodo.7078499
63
NolascoI.GhaniB.SinghS.VidaƱa VilaE.WhiteheadH.GroutE.et al. (2023a). Few-shot bioacoustic event detection at the dcase 2023 challenge. Ecol. Inform.77.
64
NolascoI.SinghS.MorfiV.LostanlenV.Strandburg-PeshkinA.Vidaña-VilaE.et al. (2023b). Learning to detect an animal sound from five examples. Ecol. Inf.77, 102258. doi: 10.1016/j.ecoinf.2023.102258
65
PenarW.MagieraA.KlocekC. (2020). Applications of bioacoustics in animal ecology. Ecol. complexity43, 100847. doi:Ā 10.1016/j.ecocom.2020.100847
66
PowersD. M. (2020). Evaluation: from precision, recall and f-measure to roc, informedness, markedness and correlation. arXiv preprint arXiv:2010.16061. doi:Ā 10.48550/arXiv.2010.16061
67
PratapV.XuQ.SriramA.SynnaeveG.CollobertR. (2020). Mls: A large-scale multilingual dataset for speech research. arXiv preprint arXiv:2012.03411. doi:Ā 10.48550/arXiv.2012.03411
68
Quinonero-CandelaJ.SugiyamaM.SchwaighoferA.LawrenceN. D. (2008). Dataset shift in machine learning (Boston, MA: Mit Press). doi:Ā 10.7551/mitpress/9780262170055.001.0001
69
RadfordA.KimJ. W.HallacyC.RameshA.GohG.AgarwalS.et al. (2021). āLearning transferable visual models from natural language supervision,ā in International conference on machine learning. (PMLR), 8748ā8763.
70
RanftR. (2004). Natural sound archives: past, present and future. Anais da Academia Bras. CienciasĖ76, 456ā460. doi:Ā 10.1590/S0001-37652004000200041
71
RobertsonS. (2006). āOn gmap: and other transformations,ā in Proceedings of the 15th ACM international conference on Information and knowledge management. (ACM), 78ā83.
72
SaeedA.GrangierD.ZeghidourN. (2021). āContrastive learning of general-purpose audio representations,ā in ICASSP 2021ā2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). (IEEE), 3875ā3879.
73
SagawaS.KohP. W.LeeT.GaoI.XieS. M.ShenK.et al. (2021). Extending the wilds benchmark for unsupervised adaptation. arXiv preprint arXiv:2112.05090. doi:Ā 10.48550/arXiv.2112.0509
74
SaitoT.RehmsmeierM. (2015). The precision-recall plot is more informative than the roc plot when evaluating binary classifiers on imbalanced datasets. PloS One10, e0118432. doi:Ā 10.1371/journal.pone.0118432
75
SankaranarayananS.BalajiY.CastilloC. D.ChellappaR. (2018). āGenerate to adapt: Aligning domains using generative adversarial networks,ā in Proceedings of the IEEE conference on computer vision and pattern recognition. (IEEE/CVF), 8503ā8512.
76
SayighL.DaherM. A.AllenJ.GordonH.JoyceK.StuhlmannC.et al. (2016). The watkins marine mammal sound database: an online, freely accessible resource. Proc. Meetings Acoustics 4ENAL (Acoustical Soc. America)27, 040013. doi:Ā 10.1121/2.0000358
77
SchützeH.ManningC. D.RaghavanP. (2008). Introduction to information retrieval Vol. 39 (Cambridge, UK: Cambridge University Press Cambridge).
78
Sharif RazavianA.AzizpourH.SullivanJ.CarlssonS. (2014). āCnn features off-the-shelf: an astounding baseline for recognition,ā in Proceedings of the IEEE conference on computer vision and pattern recognition workshops. (IEEE/CVF), 806ā813.
79
ShenK.JonesR. M.KumarA.XieS. M.LiangP. (2021). How does contrastive pre-training connect disparate domains?
80
SofaerH. R.HoetingJ. A.JarnevichC. S. (2019). The area under the precision-recall curve as a performance metric for rare binary events. Methods Ecol. Evol.10, 565ā577. doi:Ā 10.1111/2041-210X.13140
81
StewartR.AndrilukaM.NgA. Y. (2016). āEnd-to-end people detection in crowded scenes,ā in Proceedings of the IEEE conference on computer vision and pattern recognition. (IEEE/CVF), 2325ā2333.
82
StowellD. (2022). Computational bioacoustics with deep learning: a review and roadmap. PeerJ10, e13152. doi:Ā 10.7717/peerj.13152
83
SugaiL. S. M.SilvaT. S. F.RibeiroJ.WagnerJ.LlusiaD. (2018). Terrestrial passive acoustic monitoring: review and perspectives. BioScience69, 15ā25. doi:Ā 10.1093/biosci/biy147
84
SunB.SaenkoK. (2016). āDeep coral: Correlation alignment for deep domain adaptation,ā in Computer VisionāECCV 2016 Workshops: Amsterdam, The Netherlands, October 8ā10 and 15ā16, 2016, Proceedings, Part III 14. (Netherlands: Springer Amsterdam), 443ā450.
85
SwamidassS. J.AzencottC.-A.DailyK.BaldiP. (2010). A croc stronger than roc: measuring, visualizing and optimizing early retrieval. Bioinformatics26, 1348ā1356. doi:Ā 10.1093/bioinformatics/btq140
86
TeixeiraD.MaronM.van RensburgB. J. (2019). Bioacoustic monitoring of animal vocal behavior for conservation. Conserv. Sci. Pract.1. doi:Ā 10.1111/csp2.72
87
TriantafillouE.ZhuT.DumoulinV.LamblinP.EvciU.XuK.et al. (2019). Meta-dataset: A dataset of datasets for learning to learn from few examples. arXiv preprint arXiv:1903.03096. doi:Ā 10.48550/arXiv.1903.03096
88
TzengE.HoffmanJ.ZhangN.SaenkoK.DarrellT. (2014). Deep domain confusion: Maximizing for domain invariance. arXiv preprint arXiv:1412.3474. doi:Ā 10.48550/arXiv.1412.3474
89
Vega-HidalgoA.KahlS.SymesL. B.Ruiz-GutiérrezV.Molina-MoraI.CedielF.et al. (2023). A collection of fully-annotated soundscape recordings from neotropical coffee farms in Colombia and Costa Rica. Zenodo. doi: 10.5281/zenodo.7525349
90
VellingaW.-P.PlanquĆ©R. (2015). āThe Xeno-Canto collection and its relation to sound recognition and classification,ā in Conference and Labs of the Evaluation Forum.
91
VoorheesE. M. (2003). āOverview of the trec 2003 robust retrieval track,ā in Trec. (NIST: Gaithersburg, MD), 69ā77.
92
WangM.DengW. (2018). Deep visual domain adaptation: A survey. Neurocomputing312, 135ā153. doi:Ā 10.1016/j.neucom.2018.05.083
93
WangY.SalamonJ.BryanN. J.BelloJ. P. (2020a). āFew-shot sound event detection,ā in ICASSP 2020ā2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). (IEEE), 81ā85. doi:Ā 10.1109/ICASSP40776.2020
94
WangY.YaoQ.KwokJ. T.NiL. M. (2020b). Generalizing from a few examples: A survey on few-shot learning. ACM computing surveys (csur)53, 1ā34. doi:Ā 10.1145/3386252
95
XieQ.LuongM.-T.HovyE.LeQ. V. (2020). āSelf-training with noisy student improves imagenet classification,ā in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. (IEEE/CVF), 10687ā10698.
96
ZhaiX.KolesnikovA.HoulsbyN.BeyerL. (2022). āScaling vision transformers,ā in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). (IEEE/CVF), 12104ā12113.
97
ZhaiX.PuigcerverJ.KolesnikovA.RuyssenP.RiquelmeC.LucicM.et al. (2019). A large-scale study of representation learning with the visual task adaptation benchmark. arXiv preprint arXiv:1910.04867. doi:Ā 10.48550/arXiv.1910.04867
98
ZhouK.LiuZ.QiaoY.XiangT.LoyC. C. (2022). Domain generalization: A survey. IEEE Trans. Pattern Anal. Mach. Intell.45, 4396ā4415. doi:Ā 10.1109/TPAMI.2022.3195549
99
ZhuQ. (2020). On the performance of matthews correlation coefficient (mcc) for imbalanced dataset. Pattern Recognition Lett.136, 71ā80. doi:Ā 10.1016/j.patrec.2020.03.030
100
ZhuangF.QiZ.DuanK.XiD.ZhuY.ZhuH.et al. (2020). A comprehensive survey on transfer learning. Proc. IEEE109, 43ā76. doi:Ā 10.1109/PROC.5
Summary
Keywords
bioacoustics, passive acoustic monitoring, sound event detection, metrics, transfer learning, few-shot learning, foundation models
Citation
van Merriƫnboer B, Hamer J, Dumoulin V, Triantafillou E and Denton T (2024) Birds, bats and beyond: evaluating generalization in bioacoustics models. Front. Bird Sci. 3:1369756. doi: 10.3389/fbirs.2024.1369756
Received
12 January 2024
Accepted
10 June 2024
Published
01 July 2024
Volume
3 - 2024
Edited by
Cristian PƩrez-Granados, University of Alicante, Spain
Reviewed by
Irene Mendoza, Spanish National Research Council (CSIC), Spain
Thiago Ventura, Federal University of Mato Grosso, Brazil
Updates

Check for updates
Copyright
© 2024 van Merriënboer, Hamer, Dumoulin, Triantafillou and Denton.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Bart van Merriƫnboer, bartvm@google.com
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.