Fighting Poaching through High-Precision Real-Time Gunshot Detection Using Deep Learning and SAIL

Introduction Passive acoustic monitoring (PAM), thanks to the technological advancement of autonomous recording units (ARUs) (Prince et al. 2019), has enabled long-term, wide-scale studies on natural and/or anthropogenic soundscapes, making it an invaluable tool for conservation (Sugai et al. 2018). Crucially, PAM can aid in detecting threats to biodiversity, such as poaching, by listening for target acoustic signatures. Array-based PAM offers benefits over other poaching monitoring methods, such as unmanned aerial vehicle or camera trap monitoring: lower costs, wider detection fields, and longer-term deployments (Lynam et al. 2025). Real-time detection can enable immediate intervention, making it a goal of the Wildlife Crime Technology Project since 2015 (World Wildlife Fund 2022). However, most acoustic detection of poaching, including existing literature using deep learning for this task, consistently mentions challenges with false positives and employs large fine-tuned models with computational costs better suited for retrospective studies (Katsis et al. 2022, Vu et al. 2024). Our research developed a lightweight deep neural network suitable for on-board, real-time processing and a sensor integration function aiming to reduce false positive rates (FPRs). Methods A pre-partitioned open-source dataset of 35,980 four-second audio recordings from Belizean rainforests (Katsis et al. 2022) was used for training and validation. A test set from Vietnamese rainforests (Vu et al. 2024), comprising 129 background recordings and 19 gunshots, was used for further testing. Waveforms were converted to log-mel spectrograms, an image-like representation of audio displaying the range of frequencies of a signal as it varies with time. Extensive waveform augmentations were applied to the dataset during training to improve the detector's generalizability to new environments. These augmentations included shifting the signal's position in time, injecting background noise, and more. The lightweight neural network, or model, was designed with convolutional layers and recurrent units for efficient gunshot feature extraction and detection. The final model contained approximately 935k parameters and was trained for 40 epochs. Many false positives occur because common rainforest sounds resemble gunshots in their frequency-time features (Katsis et al. 2022, Vu et al. 2024). However, gunshot signals propagate farther. Cross-device communication, or the leveraging of information from multiple acoustic sensors, is proposed and investigated as a novel way to reduce the aforementioned false positives in acoustic poaching detection. The proposed Sensor Analysis and Integration Layer, or SAIL function, described in Fig. 1, was developed to integrate predictions from three or more sensors by penalizing isolated confident predictions while boosting sensor agreement. This was validated through acoustic propagation simulations on the Vietnamese dataset, where each waveform had three copies with random augmentations mimicking distance-dependent attenuation, emulating a three-sensor array. The model generated confidence scores for each copy, which were then fed into SAIL to create a final probability. Across the 1000 simulation runs performed on the dataset, Wilcoxon signed-rank tests evaluated whether median differences in mean FPR per-file exceeded zero. Results Model performance was evaluated on the validation partition of the Belizean dataset. A precision-recall curve (Fig. 2) showed strong generalization and 0.96 average precision. Table 1 compares the lightweight model against the leading open-source rainforest gunshot detector, or the fine-tuned ResNet18 from Katsis et al. (2022). Our lightweight model is 11MB and compresses to 964KB via TensorflowLite serialization. Table 2 summarizes SAIL simulation statistics, reporting mean FPR differences and Wilcoxon p-values alongside performance metrics. SAIL produced significant FPR reduction with minimal (1%) recall reduction. Conclusion While not directly extendable to efficacy in the field, statistical evaluation demonstrates that SAIL consistently reduces FPR compared to simple inference across a wide variety of simulated sensor arrays. The lightweight gunshot detector generalizes to the validation dataset at 935k parameters, retaining 94% of performance (validation F1 at 95% recall) at a fraction of the leading work's model size. Overall, efficient deep learning and SAIL present a promising approach towards cost-effective real-time poaching detection.

Authors

Institutions

Publication Details

Journal
Biodiversity Information Science and Standards
Published
2026-03-16
DOI
https://doi.org/10.3897/biss.10.183432
Primary Topic
Animal Vocal Communication and Behavior
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fighting Poaching through High-Precision Real-Time Gunshot Detection Using Deep Learning and SAIL

Naveen Dhar
Biodiversity Information Science and Standards
Animal Vocal Communication and Behavior
article

Fighting Poaching through High-Precision Real-Time Gunshot Detection Using Deep Learning and SAIL

Naveen Dhar
article en

Abstract

Introduction Passive acoustic monitoring (PAM), thanks to the technological advancement of autonomous recording units (ARUs) (Prince et al. 2019), has enabled long-term, wide-scale studies on natural and/or anthropogenic soundscapes, making it an invaluable tool for conservation (Sugai et al. 2018). Crucially, PAM can aid in detecting threats to biodiversity, such as poaching, by listening for target acoustic signatures. Array-based PAM offers benefits over other poaching monitoring methods, such as unmanned aerial vehicle or camera trap monitoring: lower costs, wider detection fields, and longer-term deployments (Lynam et al. 2025). Real-time detection can enable immediate intervention, making it a goal of the Wildlife Crime Technology Project since 2015 (World Wildlife Fund 2022). However, most acoustic detection of poaching, including existing literature using deep learning for this task, consistently mentions challenges with false positives and employs large fine-tuned models with computational costs better suited for retrospective studies (Katsis et al. 2022, Vu et al. 2024). Our research developed a lightweight deep neural network suitable for on-board, real-time processing and a sensor integration function aiming to reduce false positive rates (FPRs). Methods A pre-partitioned open-source dataset of 35,980 four-second audio recordings from Belizean rainforests (Katsis et al. 2022) was used for training and validation. A test set from Vietnamese rainforests (Vu et al. 2024), comprising 129 background recordings and 19 gunshots, was used for further testing. Waveforms were converted to log-mel spectrograms, an image-like representation of audio displaying the range of frequencies of a signal as it varies with time. Extensive waveform augmentations were applied to the dataset during training to improve the detector's generalizability to new environments. These augmentations included shifting the signal's position in time, injecting background noise, and more. The lightweight neural network, or model, was designed with convolutional layers and recurrent units for efficient gunshot feature extraction and detection. The final model contained approximately 935k parameters and was trained for 40 epochs. Many false positives occur because common rainforest sounds resemble gunshots in their frequency-time features (Katsis et al. 2022, Vu et al. 2024). However, gunshot signals propagate farther. Cross-device communication, or the leveraging of information from multiple acoustic sensors, is proposed and investigated as a novel way to reduce the aforementioned false positives in acoustic poaching detection. The proposed Sensor Analysis and Integration Layer, or SAIL function, described in Fig. 1, was developed to integrate predictions from three or more sensors by penalizing isolated confident predictions while boosting sensor agreement. This was validated through acoustic propagation simulations on the Vietnamese dataset, where each waveform had three copies with random augmentations mimicking distance-dependent attenuation, emulating a three-sensor array. The model generated confidence scores for each copy, which were then fed into SAIL to create a final probability. Across the 1000 simulation runs performed on the dataset, Wilcoxon signed-rank tests evaluated whether median differences in mean FPR per-file exceeded zero. Results Model performance was evaluated on the validation partition of the Belizean dataset. A precision-recall curve (Fig. 2) showed strong generalization and 0.96 average precision. Table 1 compares the lightweight model against the leading open-source rainforest gunshot detector, or the fine-tuned ResNet18 from Katsis et al. (2022). Our lightweight model is 11MB and compresses to 964KB via TensorflowLite serialization. Table 2 summarizes SAIL simulation statistics, reporting mean FPR differences and Wilcoxon p-values alongside performance metrics. SAIL produced significant FPR reduction with minimal (1%) recall reduction. Conclusion While not directly extendable to efficacy in the field, statistical evaluation demonstrates that SAIL consistently reduces FPR compared to simple inference across a wide variety of simulated sensor arrays. The lightweight gunshot detector generalizes to the validation dataset at 935k parameters, retaining 94% of performance (validation F1 at 95% recall) at a fraction of the leading work's model size. Overall, efficient deep learning and SAIL present a promising approach towards cost-effective real-time poaching detection.

Biodiversity Information Science and StandardsVol. 10
University High School (US)
Life in Land
Openalex Percentile: Top 24%
Animal Vocal Communication and Behavior
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.