Transformer-based similarity learning for re-identification of chickens
Smart Agricultural Technology · 2025-08 · 11 · 100945
DOI: 10.1016/j.atech.2025.100945 ↗Kurz gefasst
Fachartikel in der Zeitschrift Smart Agricultural Technology, 2025-08. Verfasst von Christian Lamping und 2 weiteren Autor:innen. Die Arbeit wurde bisher 5-mal zitiert (Crossref) und nennt 48 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
• We present a fine-grained dataset for laying hen re-identification including 3644 recorded sequences of hens with 18.819 images. • We present the first learning-based approach for chicken re-identification from images and evaluate it under the conditions of an uncontrolled farm environments. • We introduce a transformer-based similarity learning network and evaluate multiple network sizes and triplet mining strategies in comparison to CNN-based approaches. • We demonstrate that the transformer-based approach outperforms CNN architectures for the purpose of chicken re-identification. Continuous animal monitoring relies heavily on the ability to re-identify individuals over time, essential for both short-term tracking, such as video analysis, and long-term monitoring of animal conditions. Traditionally, livestock re-identification is approached using tags or sensors, which require additional handling effort and potentially impact animal welfare. In response to these limitations, non-invasive vision-based approaches have emerged recently, with existing research primarily focusing on the re-identification of pigs and cows. Re-identification of chickens, which exhibit high uniformity and are housed in larger groups, remains challenging and has received less research attention. This study addresses this gap by exploring the feasibility of re-identifying individual laying hens within uncontrolled farm environments using images of their heads. It proposes the first similarity-learning approach based on a VisionTransformer architecture to re-identify chickens without requiring training images for each individual bird. In our experiments, we compared the transformer-based approach to traditional CNN architectures while assessing the impact of different model sizes and triplet mining strategies during training. Moreover, we evaluated practical applicability by analyzing the effects of the number of images per chicken and overall population size on re-identification accuracy. Finally, we examined which visual features of the chicken head were most relevant for re-identification. Results show Top-1 accuracies exceeding 80 % for small groups and maintaining over 40 % accuracy for a population of 100 chickens. Moreover, it was shown that the transformer-based architecture outperformed CNN models, with the use of semi-hard negative samples during training yielding the best results. Furthermore, it was revealed that the evaluated models learned to prioritize features such as the comb, wattles, and ear lobes, often aligning with human perception. These results demonstrate promising potential for re-identifying chickens even when recorded in an uncontrolled farm environment, providing a foundation for future applications in animal tracking and monitoring.
Zitieren
APA
Lamping, C., Kootstra, G., & Derks, M. (2025). Transformer-based similarity learning for re-identification of chickens. Smart Agricultural Technology, 11, 100945. https://doi.org/10.1016/j.atech.2025.100945
Vancouver
Lamping C, Kootstra G, Derks M. Transformer-based similarity learning for re-identification of chickens. Smart Agricultural Technology. 2025;11:100945. doi:10.1016/j.atech.2025.100945
BibTeX
@article{Lamping2025,
author = {Lamping, Christian and Kootstra, Gert and Derks, Marjolein},
title = {Transformer-based similarity learning for re-identification of chickens},
journal = {Smart Agricultural Technology},
year = {2025},
volume = {11},
pages = {100945},
doi = {10.1016/j.atech.2025.100945}
}
EUVIMED