Source-linked AI summary

Automatic large-scale classification of bird sounds is strongly improved by unsupervised feature learning

Dan Stowell, Mark D. Plumbley

arXiv:1405.6524v1cs.SDcs.LG

TL;DR

Bird sound classification needs accurate, scalable processing across large, noisy, diverse recordings, where manually designed MFCC features may be inadequate. The paper evaluates unsupervised feature learning with four large datasets and a random forest classifier, finding stronger performance than MFCCs and raw Mel spectra, with an important data-volume limitation.

  • Problem

    Bird sound classification must operate accurately at large data volumes and across many species and realistic recordings, while MFCCs provide a limited manually designed representation.

  • Method

    The study compares twelve Mel-spectrum-derived representations, including unsupervised features learned with a scalable procedure, using a random forest classifier and AUC and MAP evaluation.

  • Results

    Unsupervised feature learning generally outperformed MFCC and raw Mel spectrum features across large-scale bird sound classification tests, with the strongest effects coming from feature choice.

  • Takeaways & Limitations

    Unsupervised feature learning can boost large-scale bird sound classification without manual labels or substantial post-training computational cost, while raw Mel spectra are a stronger baseline than MFCCs.

  • Takeaways & Limitations

    Feature learning requires large data volumes, and the bldawn dawn-chorus dataset showed no improvement, possibly because it had comparatively few labelled items.

Abstract

from arXiv · show

Automatic species classification of birds from their sound is a computational tool of increasing importance in ecology, conservation monitoring and vocal communication studies. To make classification useful in practice, it is crucial to improve its accuracy while ensuring that it can run at big data scales. Many approaches use acoustic measures based on spectrogram-type data, such as the Mel-frequency cepstral coefficient (MFCC) features which represent a manually-designed summary of spectral information. However, recent work in machine learning has demonstrated that features learnt automatically from data can often outperform manually-designed feature transforms. Feature learning can be performed at large scale and "unsupervised", meaning it requires no manual data labelling, yet it can improve performance on "supervised" tasks such as classification. In this work we introduce a technique for feature learning from large volumes of bird sound recordings, inspired by techniques that have proven useful in other domains. We experimentally compare twelve different feature representations derived from the Mel spectrum (of which six use this technique), using four large and diverse databases of bird vocalisations, with a random forest classifier. We demonstrate that MFCCs are of limited power in this context, leading to worse performance than the raw Mel spectral data. Conversely, we demonstrate that unsupervised feature learning provides a substantial boost over MFCCs and Mel spectra without adding computational complexity after the model has been trained. The boost is particularly notable for single-label classification tasks at large scale. The spectro-temporal activations learned through our procedure resemble spectro-temporal receptive fields calculated from avian primary auditory forebrain.

1 INTRODUCTION

Large-scale bird sound classification must handle noisy, unsegmented recordings, many possible species, and multi-label soundscapes. This paper focuses on scalable feature learning and evaluates it across diverse datasets to improve classification beyond conventional spectral representations.

  • Practical bird sound classification must scale across noisy recordings, large species sets, and archives containing substantial irrelevant audio.Remote monitoring stations and sound archives generate large volumes of recordings, often without detailed labelling or manual segmentation.
  • Many earlier studies used small, noise-free or manually segmented datasets, leaving their applicability to ecological deployments unclear.
  • Multi-label classification is advantageous because wild recordings commonly contain sounds from more than one bird.
  • The study compares audio feature representations rather than classification algorithms, emphasizing learned features against MFCC and Mel spectrum inputs.The experiments use four large and diverse birdsong datasets and a standard classifier.
  • MFCCs reduce spectral dimensionality but may discard information and were designed for human speech, making their suitability for bird identification uncertain.
  • The proposed method uses scalable spherical k-means with streaming adaptation and can learn from short spectro-temporal patches capturing rapid temporal modulations.

2 MATERIALS AND METHODS

The study evaluates bird-species classification across four large, diverse datasets using random forests and systematic variation of data, feature, preprocessing, windowing, and classifier settings. It combines scalable spherical k-means feature learning with extensive crossvalidated experiments to test performance under realistic recording and labeling conditions.

  • Classification experiments: Random forest classifiers were trained and tested separately for each dataset using the appropriate two- or three-fold crossvalidation.The experiments included single-label, multilabel, and binary-relevance settings.
  • Experimental design: The main grid search varied feature type, temporal summarisation, noise reduction, decision-window duration, probability pooling, classifier setting, data expansion, and cross-condition training.All listed choices were tested in combination, producing hundreds of crossvalidated classification tests.
  • Datasets: Four large bird-sound datasets were evaluated, including challenge data, dawn-chorus recordings, and Xeno Canto clips with differing durations, locations, labels, and species coverage.Only bldawn and xccoverbl had sufficiently overlapping species lists to be combined for training-data expansion.
  • Feature learning: Feature learning used streaming spherical k-means to learn a basis from Mel spectral data, including configurations that clustered short sequences of frames.The learned basis used k = 500, while sequence inputs captured short-term temporal patterns as well as spectral patterns.
  • Preprocessing: The preprocessing optionally applied median-based spectral noise reduction, which subtracts each band’s median energy and clips negative values to zero.This procedure preserves energy above the median bandwise level and is efficient for large datasets, but is not designed for fluctuating noise.
  • Decision windowing: Long recordings were handled either as whole-file scenes or as shorter decision windows whose predictions were pooled.This addresses datasets whose annotations identify species presence but not the times at which vocalisations occur.
  • Evaluation: Performance was measured with AUC and MAP, with AUC providing a probabilistic ranking measure that is unaffected by class imbalance.Chance performance for AUC is 50%.

3 RESULTS

Feature type was the strongest influence on recognition, with learned features generally outperforming Mel spectra and MFCCs across large bird-sound datasets. Other configuration effects included dataset-dependent classifier, noise-reduction, dimensionality, and data-expansion effects, while classification remained computationally efficient after training.

  • Feature type: Learned features generally outperformed Mel spectra, which outperformed MFCCs, with the strongest effects on the two single-label datasets.For lifeclef2014, learned features reached 85.4% AUC, compared with 82.2% for raw Mel spectra and 69.3% for MFCCs.
  • Feature type: 85.4% AUC was achieved on lifeclef2014 with feature learning, versus 82.2% for raw Mel spectra and 69.3% for MFCCs.The learned-feature advantage was clear for all datasets except bldawn.
  • Dataset effects: Bldawn showed no differentiation among methods, with over 80% AUC and 50% MAP despite weaker generalisation than the other datasets.Training scores exceeded 99.95% in all cases, indicating that the annotations did not represent the full range of within-class variation.
  • Classifier configuration: Multilabel classification had lower AUC with binary relevance, whereas single-label datasets showed no significant classifier-mode effect.The binary-relevance difference was more pronounced for AUC than MAP.
  • Decision processing: Decision-window splitting was generally negative or negligible, while mean aggregation produced a mild positive effect significant only for xccoverbl.No synergistic benefit was found for combining mean pooling with a particular window length.
  • Noise reduction: Noise reduction impaired performance on nips4b and slightly on xccoverbl, but slightly improved performance on lifeclef2014.Its effect was therefore inconsistent across datasets.
  • Feature dimensionality: Random projection preserved the feature-type ordering on nips4b, suggesting that dimensionality contributes to learned-feature performance but is not its sole source.The modification produced a small but significant impairment of −0.07 overall.
  • Computational cost: After training, classification time was the same across feature configurations, although learned features increased training time because of their higher dimensionality.Single-layer learning was similar in duration to initial feature extraction; double-layer learning took more than twice as long.

4 DISCUSSION

The discussion positions unsupervised feature learning as a strong, scalable alternative to MFCC-based representations, while identifying dataset-dependent limits and connections to biological auditory processing. It also interprets learned bases as short, generalized cross-correlation templates rather than whole vocalisations.

  • Performance and scope: Single-layer feature learning matched or exceeded manually designed features in all tests, but its benefits required sufficiently large data volumes.The bldawn dataset showed no improvement, and two-layer learning failed on nips4b.
  • Feature representations: Raw Mel spectra usually improved substantially over baseline MFCCs, suggesting that dimensionality reduction can hold back random-forest classification.The authors recommend Mel spectra as a baseline for future studies.
  • Dataset limitations: Sparse annotation, rather than audio volume or recording standardisation, may explain the lack of feature-learning improvement on bldawn.bldawn had the second-largest audio volume but an order of magnitude fewer labelled items; added single-label data did not help its multilabel dawn-chorus recordings.
  • Interpretation of learned features: Learned features act like cross-correlation templates formed from generalized patterns across excerpts, using fixed short durations rather than individual recordings.The discussion links this interpretation to the dot-product representation and notes that the bases are shorter than many song syllables but long enough for many calls.
  • Interpretation of learned features: Increasing bases from one to eight frames produced no notable recognition improvement, while short components may recombine flexibly across diverse bird sounds.The authors have not explicitly compared their method with template-based approaches.
  • Biological analogy: Learned bases resemble avian auditory STRFs in sensitivities to compact tones, chirps, and harmonic sounds, but the authors make no strong biological claim.They emphasize that spherical k-means was not designed to model neural learning and that STRFs only partially summarize neuronal responses.

5 CONCLUSIONS

Unsupervised feature learning improves large-scale bird sound classification by learning useful spectro-temporal regularities without labels. Its effectiveness depends on abundant data, and performance remains uneven across recording domains.

  • Unsupervised feature learning boosts classification performance and can be used without training labels or side information.The learned representation can fit within any classification workflow and adds no computational complexity after training.
  • 85.4% AUC was achieved on the largest dataset with feature learning, compared with 82.2% for raw Mel spectra and 69.3% for MFCCs.
  • Feature learning requires large data volumes to be effective, creating a practical synergy with increasingly common large-scale recordings.
  • Feature-set choice affected classification performance more than noise reduction, decision pooling, or binary relevance in the tests.
  • Across single-label and multilabel tests, unsupervised feature learning with a multilabel classifier achieved peak or near-peak classification quality.
  • The method did not improve performance on the bldawn dawn-chorus dataset, showing that strong results do not generalize uniformly across domains.

DATA AVAILABILITY

The study identifies public or request-based sources for five bird-sound datasets and their associated metadata.

  • The xccoverbl dataset is archived on Archive.org and includes sound files sourced from Xeno-canto.File authors and metadata are listed in an included CSV file.
  • The bldawn dataset is available on request from the British Library Sound Archive.A machine-readable species-metadata version is downloadable from Figshare.
  • The nips4b dataset is downloadable from the SABIOD/nips4b challenge website.
  • The lifeclef2014 dataset is available from the Lifeclef website.
Loading 1405.6524v1…