Skip to content
#small language model Open access

Improving individual cattle identification for livestock management systems using vision transformer embeddings and FAISS

Sep 2026 · Scientific Reports · 0 citations
Food Supply Chain Traceability

Abstract

The growing demand for cattle products has created an urgent need for large-scale farms equipped with automated management systems to ensure sustainable and efficient livestock farming practices. One critical challenge is the accurate identification of individual cattle, as errors in identification can negatively affect animal health and overall farm productivity. This study compares closed-set individual cattle identification using classification models, Residual Network with 50 layers (ResNet50) and Shifted Window (Swin) Transformer, with similarity-matching methods employing vision transformer-based feature extractors Contrastive Language Image Pre-training(CLIP) and Distillation with No Labels (DINO) combined with the Facebook AI Similarity Search (FAISS) algorithm nearest-neighbor search on a public cropped muzzle-image dataset. A similarity-based approach demonstrates greater scalability for medium- to large-scale farms, requiring only a small number of reference images per cattle for identification. This addresses key challenges associated with classification-based methods, including the need for multiple training images per individual and computational inefficiencies as herd size increases. The study uses a dataset containing 4,923 images of cattle muzzles from 268 mixed-breed bovine subjects. Using similarity matching, DINO_FAISS achieved 98.6% Top-1 accuracy (95% CI 97.7–99.2) and CLIP_FAISS 96.0% (95% CI 94.6–97.1), compared with 98.5% for the Swin Transformer and 97.2% for ResNet50 under classification. Top-3 retrieval accuracies were 100.0% and 98.2% respectively.

Read PDF

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#large language models Review Open access Nov 2020

Status of the WHO recommended timing and frequency of antenatal care visits in Northern Bangladesh

Objective There is dearth of information on the timeliness of antenatal care (ANC) uptake. This study aimed to determine the timely ANC uptake by a medically trained provider (MTP) as per the World Health Organization (WHO) recommendations and the country guideline. Methods Cross-sectional survey was done with 2,731 wo...

B. Sarker, Musfikur Rahman, T. Rahman et al. · 89 citations · ⚡7

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.