Search bioRxiv⌕ Search

bioRxiv · 10.1101/2022.12.14.520490

Towards a General Approach for Bat Echolocation Detection and Classification

Abstract

O_LIAcoustic monitoring is a scalable approach for assessing bat populations, yet automating the detection and classification of bat echolocation calls remains challenging, particularly in data-scarce regions. Although deep learning (DL) is increasingly applied to this task, most existing approaches repurpose computer-vision architectures and generate a single prediction per spectrogram clip, offering limited robustness to variable background noise and potentially constraining generality across regions and species assemblages. C_LIO_LIHere, we develop BatDetect2, an open-source DL pipeline for the joint detection and classification of bat echolocation calls. BatDetect2 builds on a 2D convolutional architecture and incorporates two targeted modifications: (i) a temporal self-attention layer designed to capture long-range structure across call sequences, and (ii) convolutional layers augmented with frequency coordinates to explicitly encode frequency information directly. We evaluate model generality using five diverse datasets from four different regions: UK, Mexico, Australia, and Brazil, and conduct ablation analyses using a UK dataset spanning 17 bat species. We further assess whether a trained model can detect echolocation calls from species absent from the training data. C_LIO_LIBatDetect2 consistently outperforms a traditional call-parameter extraction baseline across all datasets and evaluation metrics. Ablation analyses show that the inclusion of temporal self-attention yields a substantial species classification performance gain, increasing mean Average Precision (mAP) from 0.83 to 0.88, while frequency-coordinate augmentation provides no measurable benefit. When applied to novel species assemblages without retraining, model detection performance varies across datasets, with Average Precision ranging from 0.60 to 0.98. C_LIO_LIOverall, BatDetect2 demonstrates strong and transferable performance across acoustically and taxonomically diverse regions. By jointly detecting and classifying all bat calls present in each input clip, the pipeline provides a practical and extensible tool for passive acoustic monitoring. The full training pipeline and a pretrained UK model are released through the open-source Python package batdetect2, enabling practitioners to develop and deploy models using their own data. C_LI

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Mac Aodha, O., Martinez Balvanera, S., Damstra, E., Cooke, M., Eichinski, P., Browning, E., Barataud, M., Boughey, K., Coles, R., Giacomini, G., Mac Swiney G., M. C., Obrist, M. K., Parsons, S., Sattler, T., Jones, K.. 2022-12-16. Towards a General Approach for Bat Echolocation Detection and Classification. https://doi.org/10.1101/2022.12.14.520490

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Host availability, climate and pupal-stage ecology shape the predicted environmental suitability of the New World screwworm across Central and South America

Background: The New World screwworm, Cochliomyia hominivorax, causes primary myiasis in warm-blooded vertebrates. Its recent resurgence in Central America has renewed the need for spatial tools that identify environmentally suitable areas and surveillance gaps. Most previous distribution models have emphasized climate and livestock, whereas ecological constraints acting during the free-living pupal stage have rarely been incorporated. Methods: We compiled 2,461 georeferenced occurrence reports from the literature across Central and South America and linked them to climate, livestock density, forest cover and superficial soil predictors. Four sequential (nested) logistic models quantified the incremental contribution of predictor blocks, compared using likelihood-ratio tests, AIC and discrimination metrics. Logistic regression and Random Forest were then compared using five-fold spatial block cross-validation, which we treat as the primary measure of generalisation, and an independent municipality-level 70:30 train-test split. Variable importance was assessed using Random Forest Mean Decrease Accuracy together with partial-dependence profiles. Because presence and pseudo-absence classes were balanced before fitting, model outputs are interpreted as relative environmental suitability rather than absolute probability of occurrence. Results: The literature database represented 2,589 infected hosts, dominated by cattle, pigs, dogs and humans. Across the sequential models, AUC increased from 0.780 for climate alone to 0.898 with livestock density, 0.908 with forest cover and 0.918 with superficial soil properties; the increment attributable to the soil block ({Delta}AUC = 0.010) was smaller than the between-fold variability observed under spatial cross-validation (SD 0.049) and is therefore reported as suggestive rather than established. Sheep and horse density and cold-quarter soil temperature showed the highest Mean Decrease Accuracy values, while silt texture ranked above cattle density and forest cover. Under spatial block cross-validation Random Forest was markedly more stable than the GLM (mean AUC 0.926 {+/-} 0.049 versus 0.814 {+/-} 0.157) and was retained as the final model. On the independent municipality-level test set it achieved AUC 0.981, TSS 0.824, sensitivity 0.850 and specificity 0.972, values we regard as optimistic relative to the spatially blocked estimates. Predicted suitability was highest across Central America and parts of northern and tropical South America. Conclusions: C. hominivorax occurrence was associated with interacting climatic, host and landscape conditions. Superficial soil variables added a small, biologically interpretable signal consistent with constraints acting during pupation, but one that lies within the uncertainty of our spatial validation and requires confirmation with independent data. The maps estimate relative environmental suitability rather than infection incidence, and are intended to identify areas where surveillance could be strengthened rather than to guide control operations directly.

ecology↗

Phenotypic variation in divergent mitochondrial haplotypes in migratory three-spined stickleback

Mitochondria are essential components in life-sustaining organismal processes. The mitochondrial genome can be influenced by selection, and divergent mitochondrial haplotypes have substantial potential to affect interspecies variation in life-history and physiology, yet little is known about whole organism phenotypic changes that might accompany mitochondrial genomic divergence. Three-spined stickleback on the Scottish island of North Uist provide a model to study this as their populations exhibit a well-mixed nuclear genome, yet two highly diverged mitochondrial haplotypes ( trans-Atlantic and European). Three-spined stickleback were sampled from six lochs to investigate associations between mitochondrial haplotype and phenotypic traits including organ size, body size, and ovule volume/clutch size, as well as citrate synthase enzyme activity. Results showed that mitochondrial haplotype has an influence on male gonadosomatic index (GSI) and potentially citrate synthase (CS) enzyme activity. Differences in male GSI may be explained by the timing of male spermatogenesis or potentially a need for larger testes in European haplotype fish. While no other phenotypic trait showed differences between mitochondrial haplotypes, there were many differences between sexes and populations e.g. in body size and organ/muscle size.

ecology↗

Gregariousness can promote invasion success of pest insects while higher environmental heterogeneity decreases it

Climate change and environmental homogenization are expected to facilitate the expansion of many forest pest insect species and increase the vulnerability of forest ecosystems to insect outbreaks. At present, we lack empirical data on how the antipredator defence traits of pest insects interact with the local environmental conditions and shape outbreak risk. Here we study this and ask 1) how the antipredator defence strategy of pest insects shapes survival under naturally varying predator community, and 2) how is predation risk shaped by the diversity and structure of forests? We tested these questions by conducting a field predation experiment with artificial prey system (prey items made from edible dough) where we manipulated the gregariousness, unpalatability and defensive colouration of prey and tested their effects on prey survival. Additionally, we measured environmental variables and invertebrate predator community structure along the prey transects to analyse how they shape overall predation risk. Our results show that the predation risk was always lowest for gregarious prey irrespective of other defence strategies. Furthermore, our results indicate that predation pressure was lower in more homogenously structured forest areas or areas with a weak quality deadwood continuum in comparison to locations with more natural state forests and good quality deadwood continuum. Altogether, our results suggest that gregariousness can facilitate pest insects to form outbreaks by increasing their survival against generalist predators. However, by maintaining higher heterogeneity in forests, it is possible to ensure higher predation pressure to regulate their population growth.

ecology↗