Whombat: An open-source annotation tool for machine learning development in bioacoustics

Santiago Martinez Balvanera, Oisin Mac Aodha, Matthew J. Weldy, Holly Pringle, Ella Browning, Kate E. JonesarXiv 2023 · DOI

Abstract

Whombat is an open-source, browser-based tool designed to streamline the "data work" behind machine learning in bioacoustics. By integrating annotation, metadata management, and model evaluation into a single iterative workflow, it helps researchers scale biodiversity monitoring from small pilot studies to massive, collaborative conservation projects.

Introduction

As the field of bioacoustics shifts toward automated monitoring, the primary bottleneck is no longer just the machine learning (ML) architecture, but the "data work" required to support it. High-stakes conservation requires high-quality, curated datasets, yet bioacoustic data presents unique challenges: the massive scale of recordings, the complexity of diverse species vocalizations, and the scarcity of experts for identification. Furthermore, most existing annotation tools are decoupled from the ML lifecycle, making it difficult to visualize model failures or iteratively improve labels.

Whombat addresses these challenges by providing a unified platform for the entire data lifecycle, bridging the gap between raw audio and deployable ML models.

Methods and System Architecture

Whombat is built on a modern web-stack (Python/FastAPI backend and React/TypeScript frontend) but designed to run locally or on a shared server without requiring coding skills.

The Whombat workflow integrates data management, annotation, and model development into an iterative loop.

Key technical features include:

  • Dynamic Spectrogram Generation: To handle long recordings efficiently, the tool generates spectrogram sections on-the-fly, preventing memory overloads.
  • Multi-Level Tagging: Users can apply key-value pairs to both entire audio clips (e.g., Site: MN01) and specific sound events (e.g., Species: Myotis).
  • The "Closing the Loop" Interface: Unlike traditional tools, Whombat allows users to import ML predictions (JSON/CSV) and compare them directly against ground-truth human annotations, calculating metrics like precision and recall within the UI.
  • Decoupled Design: The authors intentionally excluded embedded ML detectors to keep the software lightweight and flexible, allowing researchers to use any model architecture they prefer.

Key Insights: Training Humans and Models

Whombat facilitates a loop where human labels train a model, and the model’s predictions are then brought back into the tool to identify "data gaps" or labeling errors.

The Whombat interface featuring annotation exploration (left) and a dedicated user training module (right).

One of Whombat’s most novel features is a dedicated User Training module. Novices can practice identifying sounds against a "gold standard" verified dataset, receiving immediate feedback. This addresses the expert scarcity bottleneck in bioacoustics by providing a structured environment for skill development, effectively training the human alongside the AI.

Results and Scalability

The tool's utility has been demonstrated through large-scale real-world use cases:

  • UK Bat Call Library: Used by the Bat Conservation Trust to manage 29 independent datasets, resulting in over 70,000 annotated calls from 15+ different annotators.
  • Pacific Northwest Bird Songs: A collaborative effort producing >30,000 annotations across more than 80 avian species to validate and extend automated classification models.

Compared against seven popular bioacoustic tools (including Raven and Kaleidoscope), Whombat was the only one to offer a dedicated user training component and one of the few to provide built-in prediction evaluation metrics. Its use of a custom JSON format inspired by the COCO dataset ensures exported data is immediately ready for use in most modern deep learning frameworks.

Conclusion and Future Work

While currently limited to WAV formats and requiring external pipelines for ML prediction generation, Whombat lowers the barrier to entry for field biologists by providing portable executables for major operating systems. Future directions include citizen science integrations to evaluate label reliability across large groups and advanced dashboards for visualizing species activity patterns directly from annotation metadata.

Summary updated

BibTeX
@misc{balvanera2023whombat,
  author = {Santiago Martinez Balvanera and Oisin Mac Aodha and Matthew J. Weldy and Holly Pringle and Ella Browning and Kate E. Jones},
  title = {{Whombat: An open-source annotation tool for machine learning development in bioacoustics}},
  year = {2023},
  eprint = {2308.12688},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.12688},
}
Figure