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%.