Uncertainty Calibration of Multi-Label Bird Sound Classifiers

Raphael Schwinger, Ben McEwen, Vincent S. Kather, René Heinrich, Lukas Rauch, Sven Tomforde

TL;DR

While deep learning models for bird sound classification have reached impressive accuracy, they are often poorly "calibrated"—meaning their confidence scores don't reflect the actual probability of a correct detection. This paper benchmarks four state-of-the-art classifiers and demonstrates that simple, lightweight post-hoc adjustments (like Platt scaling) using as little as 10 minutes of local data can significantly improve reliability for ecological monitoring.

What Problem Does This Paper Address?

In the field of bioacoustics, Passive Acoustic Monitoring (PAM) generates massive amounts of audio data. We rely on machine learning to identify species, but for an ecologist, a "90% confidence" score needs to mean the model is actually right 90% of the time. If a model is overconfident, it creates a flood of false positives that waste human verification time. If it is underconfident, researchers might ignore valid detections of rare species.

The challenge is that bird sounds are messy: species overlap, some birds are rarely heard (the "long tail" problem), and a model trained on clean recordings often struggles when deployed in a noisy, real-world forest. This paper provides the first systematic look at how well-calibrated modern multi-label bird classifiers actually are across different geographic regions and species.

Methods

The authors evaluated four heavy-hitters in bird sound classification: ConvNeXt<sub>BS</sub>, AudioProtoPNet, BirdMAE, and Perch v2.

To measure calibration, they went beyond standard accuracy. They used:

  • Expected Calibration Error (ECE): The average gap between confidence and accuracy.
  • Miscalibration Score (MCS): A metric that indicates the direction of the error (positive for overconfident, negative for underconfident).
  • Post-hoc Calibration: They tested Temperature Scaling (TS) and Platt Scaling (PS). These are "bolt-on" mathematical fixes that adjust the model's output probabilities without needing to retrain the entire neural network.

Datasets

The study utilizes the BirdSet benchmark, a comprehensive collection designed for bird sound classification.

  • Training: Models were trained on the Xeno-Canto (XCL) dataset, which contains over 700,000 annotated recordings.
  • Evaluation: Testing was performed across seven diverse, expert-annotated "soundscape" datasets (e.g., PER, NES, UHH) representing different habitats and recording conditions.
  • Validation: The POW dataset was used as a small, labeled set to tune the calibration parameters.

Key Insights and Ideas

  • The "Direction" of Doubt: Not all models fail the same way. Perch v2 and ConvNeXt<sub>BS</sub> tend to be underconfident (they are better than they think they are), while AudioProtoPNet and BirdMAE are generally overconfident.
  • The Rare Species Paradox: Surprisingly, calibration was often better for less frequent classes. While models are generally less accurate on rare birds, their confidence scores for those birds were more "honest" than for common species.
  • Calibration is Local: A model might be perfectly calibrated for a forest in North America but wildly overconfident when deployed in a tropical environment. This "dataset variability" means calibration must be evaluated per-deployment, not just once in the lab.
  • The 10-Minute Fix: One of the most practical findings is that you don't need a mountain of data to fix a model. Applying Platt scaling using just the first 10 minutes of a new test dataset significantly improved calibration scores.

Key Results

  • Discrimination vs. Calibration: AudioProtoPNet achieved the highest discriminative performance (cmAP of 41.36), but Perch v2 was the best calibrated overall (MCS of -0.91). This highlights that the "best" model depends on whether you value raw ranking power or reliable probability estimates.
  • Scaling Success: Platt Scaling (PS) outperformed Temperature Scaling (TS) in almost every scenario. In some datasets, PS improved the miscalibration score by nearly 100%, effectively "reining in" overconfident models.
  • Global vs. Per-Class: While global calibration (one fix for all birds) helps, per-class calibration (a specific fix for each species) yielded the largest gains, though it requires slightly more labeled data to implement.

Limitations and Future Work

The authors acknowledge that metrics like ECE can become "noisy" or unstable when dealing with extremely rare species that only appear a few times in a dataset. Furthermore, this study focused on post-hoc methods (fixing the model after training).

Future research could explore ad-hoc methods—incorporating calibration directly into the loss function during training—to see if models can be born "self-aware" of their own uncertainty. Additionally, testing these models against different hardware (different microphones) and varying levels of background noise (wind, rain, traffic) remains a critical next step for real-world conservation efforts.

Summary updated

BibTeX
@inproceedings{schwinger2026uncertainty,
  author = {Raphael Schwinger and Ben McEwen and Vincent S. Kather and René Heinrich and Lukas Rauch and Sven Tomforde},
  title = {{Uncertainty Calibration of Multi-Label Bird Sound Classifiers}},
  booktitle = {ICAART},
  year = {2026},
  doi = {10.5220/0014356700004052},
}
Figure