Stacked Convolutional and Recurrent Neural Networks for Bird Audio Detection

Sharath Adavanne, Konstantinos Drossos, Emre Çakır, Tuomas VirtanenarXiv 2017

TL;DR

Researchers from Tampere University of Technology have developed a highly efficient Convolutional Bidirectional Recurrent Neural Network (CBRNN) for detecting bird calls in audio recordings. By introducing a novel "test mixing" domain adaptation technique, they achieved an 88.1% AUC on unseen evaluation data using a model with only 2,600 parameters—orders of magnitude smaller than competing approaches.

What Problem Does This Paper Address?

Bird Audio Detection (BAD) is the binary task of determining whether a bird call is present in a given audio segment. While it sounds simple, it is a critical first step for automated biodiversity monitoring. The real-world challenge lies in generalization: a model trained on audio from one forest might fail in another due to different bird species, varying background noise (wind, rain, human activity), and different recording hardware.

The authors specifically addressed the "geographical mismatch" problem, where the training data and the evaluation data come from entirely different environments, requiring the model to be robust to unseen acoustic contexts.

Methods

The core of the approach is a Stacked Convolutional and Recurrent Neural Network (CBRNN). The architecture, illustrated in Figure 1, processes two types of acoustic features in parallel:

  1. Log mel-band energy (mbe): Captures the overall spectral content.
  2. Dominant frequency (dom-freq): Specifically targets the harmonic content typical of bird calls.
The CBRNN architecture handles multiple feature classes through parallel CNN paths before merging into a bidirectional GRU.

Key Innovations:

  • Architecture: Separate CNN paths learn local shift-invariant features for each feature type. These are merged and fed into a Bidirectional Gated Recurrent Unit (GRU) to capture temporal dependencies, followed by dense layers.
  • Test Mixing (Domain Adaptation): To help the model adapt to the "unseen" test environment, the authors proposed mixing training recordings that contain bird calls with unlabeled recordings from the test set. Since the training label is "present," adding test-set background noise doesn't change the ground truth, but it effectively "teaches" the model what the new environment sounds like.
  • Blocks Mixing (Data Augmentation): A standard technique where features from two random training files are combined to double the training data size.

Datasets

The study utilized data from the Bird Audio Detection Challenge:

  • Development Set: Comprised of the freefield1010 (field recordings) and warblr (crowd-sourced) datasets, totaling 15,690 recordings.
  • Evaluation Set: Primarily from the chernobyl dataset (remote monitoring), representing a completely different geographical location and acoustic profile.
Statistics for the development datasets used in the study.

Key Insights and Ideas

  • Extreme Efficiency: The best-performing configuration used only 2,600 weights. The authors found that increasing the model size up to 500,000 weights provided no significant improvement, highlighting that for this specific task, a lean architecture is sufficient if regularized correctly.
  • The Power of "Test Mixing": This novel domain adaptation method consistently outperformed standard data augmentation. It allowed the model to "preview" the noise floor of the evaluation set without needing manual labels for that data.
  • Feature Contribution: While mbe captures both harmonic and non-harmonic sounds, dom-freq focuses on harmonics. Interestingly, mbe alone often performed better on unseen data, suggesting that bird calls have significant non-harmonic components that dom-freq misses.
  • Full Band vs. Band-Limited: Restricting features to the 3-8 kHz range (where bird calls typically reside) actually hurt performance. The model needs the full spectrum to learn what "not-a-bird" sounds like in the lower frequencies.

Key Results

The model achieved a high AUC of 95.5% on the development data (via cross-validation) and a robust 88.1% on the unseen evaluation data.

As shown in Table II, the "Test mixing" approach provided the best results on the evaluation set across different dropout rates. Notably, the model achieved these results while being roughly 120 times smaller than the smallest competing model in the BAD challenge.

Area Under Curve (AUC) scores comparing different augmentation and adaptation strategies.

Limitations and Future Work

  • Label Noise: The authors performed a manual audit of their misclassifications and found that roughly 42% of the "errors" were actually due to incorrect ground-truth labels in the original dataset. This suggests the model might be even more accurate than the metrics imply, but it also highlights the difficulty of training on noisy real-world data.
  • Negative Case Adaptation: The current "test mixing" only works for positive labels (bird present). The authors note that a similar method needs to be devised for negative cases to ensure the classifier is equally exposed to test ambiance for both classes.
  • Feature Engineering: While dom-freq was a unique addition, its combination with mbe didn't always yield gains on unseen data, suggesting room for more sophisticated feature fusion techniques.

Summary updated

Abstract

This paper studies the detection of bird calls in audio segments using stacked convolutional and recurrent neural networks. Data augmentation by blocks mixing and domain adaptation using a novel method of test mixing are proposed and evaluated in regard to making the method robust to unseen data. The contributions of two kinds of acoustic features (dominant frequency and log mel-band energy) and their combinations are studied in the context of bird audio detection. Our best achieved AUC measure on five cross-validations of the development data is 95.5% and 88.1% on the unseen evaluation data.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Bird audio detection, development-data validationCBRNN (mbe + dom-freq)AUC95.5%Audio Classification · split: val · dropout=0.5 · features=mbe + dom-freq · validation=five-fold cross-validation
Source quote
L87: 0.5 │ 94.7 │ 85.6 │ 95.5 │ 83.4 │ 94.6 │ \bf87.4
BibTeX
@misc{adavanne2017stacked,
  author = {Sharath Adavanne and Konstantinos Drossos and Emre Çakır and Tuomas Virtanen},
  title = {{Stacked Convolutional and Recurrent Neural Networks for Bird Audio Detection}},
  year = {2017},
  eprint = {1706.02047},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.02047},
}

Loading related content...

Figure