WildMatch: Weakly Supervised Image Matcher Adaptation for Wildlife Re-Identification
Organizations: Faculty of Mathematics and Computer Science, Jagiellonian University, Poland · Doctoral School of Exact and Natural Sciences, Jagiellonian University, Poland · Institute of Environmental Sciences, Faculty of Biology, Jagiellonian University, Kraków, Poland · Jagiellonian Center for Artificial Intelligence, Kraków, Poland · NASK National Research Institute, Warsaw, Poland
Abstract
Individual animal re-identification from camera-trap imagery is an instance retrieval problem central to non-invasive wildlife monitoring: a query image must retrieve the correct individual from a reference set of known animals. This requires computer vision models to recognize distinctive local patterns in fur, skin, or other visual markings. Current approaches either learn global embeddings as a classification problem, requiring many labeled images per individual while largely ignoring local evidence, or apply off-the-shelf, domain-agnostic image matchers. Although such matchers are pretrained on large and diverse image collections, adapting them to wildlife imagery is challenging because available datasets are small and lack correspondence-level annotations. We study weakly supervised adaptation of a pretrained keypoint matcher using only identity labels, without keypoint-level or geometric correspondence ground truth. We mine informative image pairs with the pretrained matcher, derive weak positive and negative supervision from identity agreement, and contrastively fine-tune the matching network to strengthen correspondences for same-identity pairs and suppress them for different identities. Across open-source wildlife re-identification datasets, our approach improves accuracy over off-the-shelf matchers and a state-of-the-art local--global fusion method. Under an open-world protocol with held-out individuals, it learns a transferable correspondence prior rather than memorizing training identities. To our knowledge, this is the first study of matcher-level, identity-supervised adaptation for animal re-identification. Our method enables data-efficient specialization of image matching models to wildlife domains using identity annotations already available in typical monitoring datasets.
Figures & tables
| LoMa | RDD-LightGlue | |||||||
|---|---|---|---|---|---|---|---|---|
| Fine-tuned part | Top-5 | Bal. | GPU-h | Top-5 | Bal. | GPU-h | ||
| none (default) | 55.2 | 31.3 | – | – | 56.0 | 33.4 | – | – |
| descriptor branch | 56.1 | 28.6 | 2.6 | 77 | 49.8 | 25.7 | 7.7 | 89 |
| matching module | 58.3 | 34.7 | +3.4 | 5.1 | 56.8 | 34.4 | +0.9 | 5.0 |
| both | 59.9 | 34.9 | +3.6 | 84 | 59.0 | 35.7 | +2.2 | 103 |
| Method | Top-5 | Bal. | Top-5 | Bal. | Top-5 | Bal. | Top-5 | Bal. |
|---|---|---|---|---|---|---|---|---|
| MegaDescriptor-L cosine | 19.6 | 12.0 | 19.6 | 12.0 | 19.6 | 12.0 | 19.6 | 12.0 |
| DINOv3-L cosine | 20.2 | 11.1 | 20.2 | 11.1 | 20.2 | 11.1 | 20.2 | 11.1 |
| WildFusion | 21.7 | 17.3 | 27.7 | 21.1 | 30.6 | 22.5 | 32.6 | 23.1 |
| LoMa (default) | 22.7 | 18.9 | 30.9 | 23.0 | 35.5 | 25.8 | 40.4 | 26.7 |
| LoMa + WildMatch | 25.0 | 19.7 | 36.6 | 27.3 | 40.9 | 30.3 | 46.1 | 31.8 |