arXiv Science⌕ Search

arXiv subjects

Enrico Di Minin

Publications and source records attributed to Enrico Di Minin.

3 recordsLinked to original sources

HotSpotter to HardSpotter: Animal Re-Identification from Local Matches Above Chance

Re-identifying individual animals from photographs underpins population estimation and the management of threatened species, but it is also quite difficult due to challenging imaging conditions, long term changes and subtle differences that distinguish individuals. A major obstacle is ground truth, since labeling a dataset is the very task that needs to be automated. Earlier methods, such as HotSpotter, required little prelabeled data, matching generic local features, with results easily visualized. More recent and more accurate end-to-end multispecies models, such as MiewID and MegaDescriptor, are trained on extensive labeled training data, relying on zero-shot transfer for new, unlabeled species, while sacrificing interpretability. We propose HardSpotter, a local feature method that closes the accuracy gap without labels and is inherently interpretable. Working with generic HesAffNet features and HardNet8 descriptors the key question is how to separate true inter-image matches from coincidences. Using a gallery of descriptors for each species, HardSpotter does this by fitting a normalizing flow that maps the descriptors invertibly to an approximately-normal distribution; the chance level of a match then follows easily. Matching features are also compared using DINOv3 local tokens to ensure that they come from the same body part. The aggregate matching score of an image pair is a simple sum over its accepted matches. Despite requiring no labeled individual ids, HardSpotter achieves substantially higher mean top-1 accuracy on WildlifeDatasets, a suite of 29 animal re-identification datasets, than all tested supervised and unsupervised methods, with the sole exception of the recent, supervised WildFusion, which HardSpotter trails by less than 1%.

cs.CV↗

Detection of trade in products derived from threatened species using machine learning and a smartphone application

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.

cs.CV↗

Towards automatic detection of wildlife trade using machine vision models

Unsustainable trade in wildlife is one of the major threats affecting the global biodiversity crisis. An important part of the trade now occurs on the internet, especially on digital marketplaces and social media. Automated methods to identify trade posts are needed as resources for conservation are limited. Here, we developed machine vision models based on Deep Neural Networks with the aim to automatically identify images of exotic pet animals for sale. A new training dataset representing exotic pet animals advertised for sale on the web was generated for this purpose. We trained 24 neural-net models spanning a combination of five different architectures, three methods of training and two types of datasets. Specifically, model generalisation improved after setting a portion of the training images to represent negative features. Models were evaluated on both within and out of distribution data to test wider model applicability. The top performing models achieved an f-score of over 0.95 on within distribution evaluation and between 0.75 to 0.87 on the two out of distribution datasets. Notably, feature visualisation indicated that models performed well in detecting the surrounding context (e.g. a cage) in which an animal was located, therefore helping to automatically detect images of animals in non-natural environments. The proposed methods can help investigate the online wildlife trade, but can also be adapted to study other types of people-nature interactions from digital platforms. Future studies can use these findings to build robust machine learning models and new data collection pipelines for more taxonomic groups.

cs.CV↗