HumBugDB: A Large-scale Acoustic Mosquito Dataset

Ivan Kiskin, Marianne Sinka, Adam D. Cobb, Waqas Rafique, Lawrence Wang, Davide Zilli, Benjamin Gutteridge, Rinita Dam, Theodoros Marinos, Yunpeng Li, Dickson Msaky, Emmanuel Kaindoa, Gerard Killeen, Eva Herreros-Moya, Kathy J. Willis, Stephen J. Roberts

TL;DR

HumBugDB is the first large-scale, multi-species acoustic dataset of mosquitoes in free flight, featuring 20 hours of expertly labeled audio across 36 species. By providing both the data and baseline Bayesian neural network models, the authors aim to catalyze the development of low-cost, smartphone-based acoustic sensors for real-time disease vector monitoring.

What Problem Does This Paper Address?

Mosquitoes are the world's deadliest animals, transmitting diseases like malaria, dengue, and yellow fever that cause hundreds of thousands of deaths annually. Effective disease control requires accurate surveys of mosquito populations, but traditional methods—like "human landing catches" where a collector literally acts as bait—are slow, expensive, and dangerous for the researchers involved.

Acoustic monitoring offers a scalable alternative: every mosquito species has a unique wingbeat frequency (flight tone). However, training machine learning models to identify these sounds in the wild is notoriously difficult. Previous datasets were either too small, recorded only in sterile lab environments, or lacked the precise time-stamps and metadata (like age and gender) needed for robust real-world deployment.

Methods

The researchers developed a two-stage pipeline for automated monitoring:

  1. Mosquito Event Detection (MED): Distinguishing mosquito sounds from background noise (speech, wind, other insects).
  2. Mosquito Species Classification (MSC): Identifying the specific species of a detected mosquito.

To handle these tasks, they employed Bayesian Convolutional Neural Networks (BCNNs). Unlike standard "deterministic" networks, BCNNs provide uncertainty metrics. This is crucial for public health applications; if a model is unsure whether a mosquito is a dangerous malaria vector or a benign species, it can flag the recording for human review rather than providing a false negative.

The team utilized two types of log-mel spectrogram features (Feat. A and Feat. B) to represent the audio, testing architectures like ResNet and VGGish adapted for Bayesian inference via Monte Carlo dropout.

Figure 1: Target workflow. Our mobile phone app, MozzWear, captures audio. The app synchronises to a central server (dashed). Voice activity is removed and data is stored in a MongoDB instance. Audio undergoes mosquito event detection (MED) and subsequent species classification (MSC). Successful detections are used to update HumBugDB. Information feeds back to improve the model.

Datasets

The core contribution is HumBugDB, a massive leap over existing resources. It includes:

  • 20 hours of mosquito recordings and 15 hours of non-mosquito control audio.
  • Data from 36 species, collected globally across Tanzania, Thailand, Kenya, the USA, and the UK.
  • A mix of lab-cultured and wild-caught mosquitoes to capture natural biodiversity.
Figure 2: Map of aggregated data acquisition sites. HumBug Net: Sinka et al. [2021, Sec. 2.1.2].

As shown in the comparison table below, HumBugDB significantly exceeds previous efforts in both duration and species diversity.

Table 1: Publicly available datasets. ‘Average mosquito’ is the approximate length of audible mosquito recording per sample. Where not known, ‘Mosquito’ is estimated from the average mosquito sample duration multiplied by the number of positive samples. ‘Type’ represents wild captured or lab grown mosquitoes (in order of prevalence). Crowdsourced recordings or labels are marked with (*).

Key Insights and Ideas

  • The "Lab vs. Wild" Gap: The authors highlight that models trained only on lab mosquitoes often fail in the wild. Wild mosquitoes exhibit much higher acoustic variability due to differences in age, size, and environmental conditions.
  • Signal-to-Noise Ratio (SNR) is King: The biggest challenge isn't just the mosquito sound, but the environment. Detecting a mosquito wingbeat next to a smartphone microphone in a quiet room is easy; doing it in a noisy village with wind and human speech is the real frontier.
  • Metadata Matters: By including a PostgreSQL database with metadata like feeding status and capture method, the authors allow researchers to investigate why certain mosquitoes sound different, rather than just treating the audio as a black box.

Key Results

The benchmark models established strong baselines, particularly for the intended use case of monitoring mosquitoes near bednets:

  • Event Detection (MED): On "Test A" (field data from Tanzania), models achieved an ROC AUC above 0.93 and a Precision-Recall (PR) AUC above 0.90.
  • Species Classification (MSC): For the 8 most common wild species in the dataset, the best model (MozzBNNv2) achieved a micro-average ROC AUC of 0.927.
  • Generalization Challenges: Performance dropped significantly on "Test B" (recordings in highly noisy domestic environments), highlighting the difficulty of the task when the signal-to-noise ratio is low.

Limitations and Future Work

While HumBugDB is a landmark dataset, the authors acknowledge several hurdles:

  • Class Imbalance: Some species are much better represented than others, leading to lower precision on rare but potentially dangerous species.
  • Environmental Robustness: Current models still struggle with high background noise. Future work will likely focus on better noise-augmentation strategies and more robust feature extraction.
  • Expanding Metadata: The team plans to add more environmental data, such as temperature and humidity, which are known to influence wingbeat frequency.

HumBugDB is currently hosted on Zenodo, with code available on GitHub, providing a rigorous foundation for the next generation of acoustic entomology.

Summary updated

BibTeX
@misc{kiskin2021humbugdb,
  author = {Ivan Kiskin and Marianne Sinka and Adam D. Cobb and Waqas Rafique and Lawrence Wang and Davide Zilli and Benjamin Gutteridge and Rinita Dam and Theodoros Marinos and Yunpeng Li and Dickson Msaky and Emmanuel Kaindoa and Gerard Killeen and Eva Herreros-Moya and Kathy J. Willis and Stephen J. Roberts},
  title = {{HumBugDB: A Large-scale Acoustic Mosquito Dataset}},
  year = {2021},
  eprint = {2110.07607},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.07607},
}
Figure