bioRxivEcology
Embracing firefly flash pattern variability with data-driven species classification
O. L. Martin, C. Nguyen, R. Sarfati, M. Chowdhury, M. L. Iuzzolino, D. M. T. Nguyen, R. M. Layer, O. Peleg
Abstract
Many nocturnally active fireflies use precisely timed bioluminescent patterns to identify mates, making them especially vulnerable to light pollution. As urbanization continues to brighten the night sky, firefly populations are under constant stress, and close to half of the species are now threatened. Ensuring the survival of firefly biodiversity depends on a large-scale conservation effort to monitor and protect thousands of populations. While species can be identified by their flash patterns, current methods require expert measurement and manual classification and are infeasible given the number and geographic distribution of fireflies. Here we present the application of a recurrent neural network (RNN) for accurate automated firefly flash pattern classification. Using recordings from commodity cameras, we can extract flash trajectories of individuals within a swarm and classify their species with a precision and recall of approximately seventy percent. In addition to scaling population monitoring, automated classification provides the means to study firefly behavior at the population level. We employ the classifier to measure and characterize the variability within and between swarms, unlocking a new dimension of their behavior. Our method is open source, and deployment in community science applications could revolutionize our ability to monitor and understand firefly populations.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Calibration-free 3D reconstruction of firefly trajectories from 360-degree cameras
R. Sarfati, O. Peleg·bioRxiv·Apr 7, 2021
- Spatiotemporal reconstruction of emergent flash synchronization in firefly swarms via stereoscopic 360-degree cameras
R. Sarfati, J. Hayes, … O. Peleg·bioRxiv·Mar 19, 2020
- Statistical analysis reveals the onset of synchrony in sparse swarms of Photinus knulli fireflies
R. Sarfati, L. Gaudette, … O. Peleg·bioRxiv·Jan 5, 2022
- Detection and measurement of butterfly eyespot and spot patterns using convolutional neural networks
Carolina Cunha, Hemaxi Narotamo, … Margarida Silveira·PLoS ONEPeer-reviewed·Feb 13, 2023
- Self-organization in natural swarms of Photinus carolinus synchronous fireflies
R. Sarfati, J. Hayes, O. Peleg·bioRxiv·Jan 26, 2021
- BatSpot: a retrainable neural network for automatic detection and classification of bat echolocation and detection of buzzes and social calls
Simeon Q. Smeele, Christopher L. Hauer, … Signe Brinkløv·Biological ConservationPeer-reviewed·Jun 19, 2026