Background-invariant re-identification of dogs from camera-trap videos in non-controlled environments
This paper addresses the general problem of re-identification in natural conditions with multiple camera traps, poor video quality and small datasets. We focus on generalizable re-identification of dogs in cross-camera setups, adapting from short-term to long-term scenarios. Long-term re-identification across multiple cameras presents challenges due to variations in background, camera angles, and lighting conditions. While realistic, few animal re-identification methods are tested under such settings, mainly due to the lack of datasets and high complexity of annotation. Short-term datasets are often used to train re-identification networks, since they can be simply generated through web scraping algorithms. We introduce two publicly available datasets: the YT-BB-Dog, a short-term dataset with 2723 dogs from YouTube videos, and the Sibetan, a long-term dataset featuring 59 dogs recorded over 5 days and 12 cameras placed in Sibetan, Bali, Indonesia. Our goal is to use the YT-BB-Dog to train a feature extractor robust to covariate shifts, enabling better generalization in unknown domains. Our experiments revealed that state-of-the-art (SOTA) methods trained on the YT-BB-Dog are heavily influenced by background variations and perform poorly on complex scenarios like Sibetan. To address this, we propose Background Invariant Feature extractOR (BIFOR), a three-step method that leverages a novel mini-batch sampling technique with triplet loss and online hard mining. BIFOR achieves SOTA performance on Sibetan, improving rank-1 accuracy of the baseline by more than 9%. We also present a complete pipeline combining detection, tracking, and re-identification based on BIFOR.
Authors
- Gérard Subsol (ORCID: https://orcid.org/0000-0002-7461-4932)
- Thibaut Langlois
- Dyah Ayu Widiasih (ORCID: https://orcid.org/0000-0003-0830-9857)
- Wayan Tunas Artama (ORCID: https://orcid.org/0000-0002-8504-7558)
- Marc Chaumont (ORCID: https://orcid.org/0000-0002-4095-4410)
- Michel De Garine-Wichatitsky (ORCID: https://orcid.org/0000-0002-5438-1473)
- Martyn Bone (ORCID: https://orcid.org/0000-0002-2876-0912)
- Barandi Sapta Widartono (ORCID: https://orcid.org/0000-0003-4912-2407)
- Hélène Guis (ORCID: https://orcid.org/0000-0002-0355-0898)
- Cyril Barrelet
- Mia Nur Farida
- Etienne Loire
- Eugênio Dias Ribeiro Neto (ORCID: https://orcid.org/0009-0001-3218-4516)
- Muhammad Nur Faiz Mahfudz
Institutions
- Centre National de la Recherche Scientifique (FR)
- Centre de Coopération Internationale en Recherche Agronomique pour le Développement (FR)
- Universitas Gadjah Mada (ID)
- Université de Montpellier (FR)
- Institut National de Recherche pour l'Agriculture, l'Alimentation et l'Environnement (FR)
- Animal, Santé, Territoires, Risques et Ecosystèmes (FR)
- Laboratoire d'Informatique, de Robotique et de Microélectronique de Montpellier (FR)
- Institut Pasteur du Cambodge (KH)
- Université de Nîmes (FR)
Publication Details
- Journal
- Ecological Informatics
- Published
- 2025-12-03
- DOI
- https://doi.org/10.1016/j.ecoinf.2025.103547
- Primary Topic
- Human-Animal Interaction Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Grand Équipement National De Calcul Intensif