DGS-YOLO: A Detection Network for Rapid Pig Face Recognition

This study addresses the practical demand for facial recognition of pigs in the food safety and insurance industries, tackling the challenge of low recognition accuracy caused by complex farming environments, occlusions, and similar textures. To this end, we propose an enhanced model, DGS-YOLO, based on YOLOv11n, designed to achieve precise facial recognition of group-raised young pigs. The core improvements of the model include the following: (1) replacing standard convolutions with dynamic convolutions (DMConv) to enhance the network's adaptive extraction capability for critical detail features; (2) designing a C3k2_GBC module with a bottleneck structure to replace the C3k2 neck, enabling more efficient capture of multi-scale contextual information; (3) introducing the SimAM parameter-free attention mechanism to optimize feature focusing; (4) employing the Shape-IoU loss function to mitigate the impact of bounding box geometry on regression accuracy. Experiments on self-built datasets demonstrate that DGS-YOLO achieves 4%, 2.1%, and 2.3% improvements in accuracy, recall, and mAP50, respectively, compared to the baseline model YOLOv11n. Furthermore, its overall performance surpasses that of Faster R-CNN and SSD in comprehensive evaluation metrics. Especially in limited sample scenarios, the model demonstrates strong generalization ability, with accuracy and mAP50 further increased by 20.1% and 10.3%. This study provides a highly accurate and robust solution for animal facial recognition in complex scenarios.

Authors

Institutions

Publication Details

Journal
Animals
Published
2026-01-08
DOI
https://doi.org/10.3390/ani16020187
Primary Topic
Food Supply Chain Traceability
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DGS-YOLO: A Detection Network for Rapid Pig Face Recognition

Tonghe Liu, Tianli Hu, Hongli Chao, Jinghuan Hu et al.
Animals
Food Supply Chain Traceability
article

DGS-YOLO: A Detection Network for Rapid Pig Face Recognition

Tonghe Liu, Tianli Hu, Hongli Chao, Jinghuan Hu, Wenshuang Tu, He Gong, Juanjuan Fan, Ye Mu, Hang Zhu, Yu Sun
article en

Abstract

This study addresses the practical demand for facial recognition of pigs in the food safety and insurance industries, tackling the challenge of low recognition accuracy caused by complex farming environments, occlusions, and similar textures. To this end, we propose an enhanced model, DGS-YOLO, based on YOLOv11n, designed to achieve precise facial recognition of group-raised young pigs. The core improvements of the model include the following: (1) replacing standard convolutions with dynamic convolutions (DMConv) to enhance the network's adaptive extraction capability for critical detail features; (2) designing a C3k2_GBC module with a bottleneck structure to replace the C3k2 neck, enabling more efficient capture of multi-scale contextual information; (3) introducing the SimAM parameter-free attention mechanism to optimize feature focusing; (4) employing the Shape-IoU loss function to mitigate the impact of bounding box geometry on regression accuracy. Experiments on self-built datasets demonstrate that DGS-YOLO achieves 4%, 2.1%, and 2.3% improvements in accuracy, recall, and mAP50, respectively, compared to the baseline model YOLOv11n. Furthermore, its overall performance surpasses that of Faster R-CNN and SSD in comprehensive evaluation metrics. Especially in limited sample scenarios, the model demonstrates strong generalization ability, with accuracy and mAP50 further increased by 20.1% and 10.3%. This study provides a highly accurate and robust solution for animal facial recognition in complex scenarios.

AnimalsVol. 16(2)
Changchun University of Science and Technology (CN), Jilin University (CN), Jilin Province Science and Technology Department (CN), Jilin Agricultural University (CN)
Department of Science and Technology of Jilin Province
Zero hunger
Openalex Percentile: Top 93%
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.

DGS-YOLO: A Detection Network for Rapid Pig Face Recognition — Tonghe Liu, Tianli Hu, et al. · Animals (2026) | TGRS Research Map | TGRS