Enhanced cattle identification using Siamese network and MobileViT with EMA attention

Accurate identification of individual cattle is paramount in livestock insurance to combat fraud. However, the performance of existing muzzle recognition methods degrades in complex scenarios involving occlusion or multi-angle views. This study addresses this limitation by first constructing a comprehensive cattle muzzle image dataset encompassing frontal, multi-angle, and occluded conditions. We then propose CattleMuzzleNet, a lightweight recognition model that integrates a siamese network, an enhanced MobileViT backbone, and an Efficient Multi-scale Attention (EMA) mechanism for robust feature extraction and matching. Its efficacy is systematically validated through comparative experiments on feature extraction networks, ablation studies on the attention mechanism, and confidence threshold analysis. Evaluated on a dataset of 31,312 images from 658 cattle, CattleMuzzleNet achieved an accuracy of 97.87% and an F1-score of 98.89%, with a compact model size of 6.9 MB. The results demonstrate high accuracy and robustness in complex scenarios, providing an effective technical solution for identity verification in cattle insurance.

Authors

Institutions

Publication Details

Journal
Frontiers in Veterinary Science
Published
2026-01-21
DOI
https://doi.org/10.3389/fvets.2025.1660163
Primary Topic
Food Supply Chain Traceability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhanced cattle identification using Siamese network and MobileViT with EMA attention

Mingshuo Han, Chang Gao, Baoshan Li, Miao Yang et al.
Frontiers in Veterinary Science
Food Supply Chain Traceability
article

Enhanced cattle identification using Siamese network and MobileViT with EMA attention

Mingshuo Han, Chang Gao, Baoshan Li, Miao Yang, Yueming Wang, Qi Li
article en

Abstract

Accurate identification of individual cattle is paramount in livestock insurance to combat fraud. However, the performance of existing muzzle recognition methods degrades in complex scenarios involving occlusion or multi-angle views. This study addresses this limitation by first constructing a comprehensive cattle muzzle image dataset encompassing frontal, multi-angle, and occluded conditions. We then propose CattleMuzzleNet, a lightweight recognition model that integrates a siamese network, an enhanced MobileViT backbone, and an Efficient Multi-scale Attention (EMA) mechanism for robust feature extraction and matching. Its efficacy is systematically validated through comparative experiments on feature extraction networks, ablation studies on the attention mechanism, and confidence threshold analysis. Evaluated on a dataset of 31,312 images from 658 cattle, CattleMuzzleNet achieved an accuracy of 97.87% and an F1-score of 98.89%, with a compact model size of 6.9 MB. The results demonstrate high accuracy and robustness in complex scenarios, providing an effective technical solution for identity verification in cattle insurance.

Frontiers in Veterinary ScienceVol. 12
Mongolian University of Science and Technology (MN), Inner Mongolia University of Science and Technology (CN), Inner Mongolia University of Technology (CN)
Peace, Justice and strong institutions
Openalex Percentile: Top 82%
Food Supply Chain Traceability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.