Detection of trade in products derived from threatened species using machine learning and a smartphone application
Organizations: Helsinki Lab of Interdisciplinary Conservation Science, Department of Geosciences and Geography, FI-00014, University of Helsinki, Finland · International Fund for Animal Welfare (IFAW) · School of Life Sciences, University of KwaZulu-Natal, Durban 4041, South Africa
Abstract
Illegal and unsustainable wildlife trade remains a major conservation challenge and is increasingly shifting to online marketplaces where monitoring is difficult. To address this gap, we used real-world images from online platforms, enforcement seizures, and market inspections to develop a deep-learning object detection framework to identify products derived from three highly traded species: elephant, pangolin, and tiger. Our dataset of 39,941 images included both wildlife products and visually similar non-wildlife items, reflecting real enforcement complexity. We used cross-entropy and asymmetric focal loss functions to train Faster Region-based convolutional neural network (Faster R-CNN) models and compared species-specific and multispecies training strategies. The best-performing model, trained with cross-entropy on all species combined, achieved an overall accuracy of 84.2%, with high performance for pangolin (93.6%) and tiger (90.3%) and moderate performance for elephant (71.1%). Although asymmetric focal loss increased recall, it substantially reduced precision. We deployed the optimized model in a prototype smartphone application, potentially usable in real-world settings for monitoring online images. With an independent test set, the application achieved 91.3% accuracy and an F-score of 0.86. These results demonstrate the potential of object detection models to support scalable, real-time monitoring of wildlife trade and enable the rapid triage of suspicious posts, regulatory compliance, and conservation decision-making.
Figures & tables
| elephant | |
|---|---|
| ambiguous mammoth | 5409 |
| antique ivory | 414 |
| elephant skin | 22 |
| ivory | 6893 |
| non-widlife | 12890 |
| sub-total | 25,628 |
| Species | TP | FP | FN | Precision | Recall | F-Score | Sensitivity |
| Elephant | 38 | 15 | 1 | 0.72 | 0.97 | 0.83 | 97.4% |
| Tiger | 35 | 2 | 4 | 0.95 | 0.89 | 0.92 | 89.7% |
| Pangolin | 38 | 9 | 1 | 0.80 | 0.97 | 0.88 | 97.4% |
| Non Wildlife | 15 | 3 | 6 | 0.83 | 0.71 | 0.76 | 71.4% |
| Overall | 126 | 29 | 12 | 0.81 | 0.91 | 0.86 | 91.3% |
Object Detection
Object detection locates and classifies objects in images or video, balancing localization accuracy, robustness, and inference speed.
See all 624 papers