# Label a Herd in Minutes: Individual Holstein-Friesian Cattle Identification

arXiv: https://arxiv.org/abs/2204.10905 · HTML: https://mlsanity.com/paper/2204.10905/

## Key facts

- Cited by 6 papers in the map (data through 14 Oct 2026).
- Builds on 12 of its 37 references that are in the map.
- First posted on arXiv 22 Apr 2022.

## Builds on (most cited first, 12 of 12)

- [Deep Residual Learning for Image Recognition](https://mlsanity.com/paper/1512.03385/) (2015)
- [In Defense of the Triplet Loss for Person Re-Identification](https://mlsanity.com/paper/1703.07737/) (2017)
- [A Survey of Deep Active Learning](https://mlsanity.com/paper/2009.00236/) (2020)
- [In Defense of Pseudo-Labeling: An Uncertainty-Aware Pseudo-label Selection Framework for Semi-Supervised Learning](https://mlsanity.com/paper/2101.06329/) (2021)
- [Cost-Effective Active Learning for Deep Image Classification](https://mlsanity.com/paper/1701.03551/) (2017)
- [Learning Active Learning from Data](https://mlsanity.com/paper/1703.03365/) (2017)
- [Perspectives on individual animal identification from biology and computer vision](https://mlsanity.com/paper/2103.00560/) (2021)
- [Cross-view Asymmetric Metric Learning for Unsupervised Person Re-identification](https://mlsanity.com/paper/1708.08062/) (2017)
- [Visual Identification of Individual Holstein-Friesian Cattle via Deep Metric Learning](https://mlsanity.com/paper/2006.09205/) (2020)
- [Towards Self-Supervision for Video Identification of Individual Holstein-Friesian Cattle: The Cows2021 Dataset](https://mlsanity.com/paper/2105.01938/) (2021)
- [Similarity Learning Networks for Animal Individual Re-Identification -- Beyond the Capabilities of a Human Observer](https://mlsanity.com/paper/1902.09324/) (2019)
- [Deep Active Learning for Video-based Person Re-identification](https://mlsanity.com/paper/1812.05785/) (2018)

## Built on by (most cited first, 6 of 6)

- [Universal Bovine Identification via Depth Data and Deep Metric Learning](https://mlsanity.com/paper/2404.00172/) (2024)
- [Holstein-Friesian Re-Identification using Multiple Cameras and Self-Supervision on a Working Farm](https://mlsanity.com/paper/2410.12695/) (2024)
- [Deep Visual-Genetic Biometrics for Taxonomic Classification of Rare Species](https://mlsanity.com/paper/2305.06695/) (2023)
- [8-Calves Image dataset](https://mlsanity.com/paper/2503.13777/) (2025)
- [Automated Re-Identification of Holstein-Friesian Cattle in Dense Crowds](https://mlsanity.com/paper/2602.15962/) (2026)
- [CowCare: A Unified Visual Framework for Viewpoint-Robust Cattle Tracking and Spatiotemporal Heat-Stress Analysis](https://mlsanity.com/paper/2610.15012/) (2026)

## Abstract (arXiv)

We describe a practically evaluated approach for training visual cattle ID systems for a whole farm requiring only ten minutes of labelling effort. In particular, for the task of automatic identification of individual Holstein-Friesians in real-world farm CCTV, we show that self-supervision, metric learning, cluster analysis, and active learning can complement each other to significantly reduce the annotation requirements usually needed to train cattle identification frameworks. Evaluating the approach on the test portion of the publicly available Cows2021 dataset, for training we use 23,350 frames across 435 single individual tracklets generated by automated oriented cattle detection and tracking in operational farm footage. Self-supervised metric learning is first employed to initialise a candidate identity space where each tracklet is considered a distinct entity. Grouping entities into equivalence classes representing cattle identities is then performed by automated merging via cluster analysis and active learning. Critically, we identify the inflection point at which automated choices cannot replicate improvements based on human intervention to reduce annotation to a minimum. Experimental results show that cluster analysis and a few minutes of labelling after automated self-supervision can improve the test identification accuracy of 153 identities to 92.44% (ARI=0.93) from the 74.9% (ARI=0.754) obtained by self-supervision only. These promising results indicate that a tailored combination of human and machine reasoning in visual cattle ID pipelines can be highly effective whilst requiring only minimal labelling effort. We provide all key source code and network weights with this paper for easy result reproduction.
