Wild Yak Behavior Recognition Method Based on an Improved Yolov11
Abstract
1. Introduction
2. Materials and Methods
2.1. Dataset
2.1.1. Data Collection
2.1.2. Data Preprocessing
2.2. The Indicators of Evaluation
2.3. Experimental Parameter Configuration
2.4. Methods
2.4.1. YOLOv11n Network Model
2.4.2. DPAP-YOLOv11n
2.4.3. Dynamic Convolution
2.4.4. Pinwheel-Shaped Convolution (PConv)
2.4.5. YOLOv7-Aux Auxiliary Head
2.4.6. Focal-PIoU Loss Function
3. Results
3.1. Comparison of Model Results
3.2. Comparative Analysis of Loss Functions
3.3. DPAP-YoloV11n Ablation Study
3.4. Comparative Analysis of Various Yolo Models
3.5. TensorRT Inference Acceleration Testing
3.6. DPAP-YOLOV11n Visualization and Analysis
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- He, J.; Yang, W.; Liu, T.; Zhuang, J. Research on Pig Behavior Recognition Based on the Combination of Wearable Sensors. J. Chin. Agric. Mech. 2025, 46, 42–49. [Google Scholar]
- Ji, J.; Zhong, J.; Niu, B.; Chen, Q. Application of Image Recognition Models in Wildlife Protection. Chin. J. Nat. 2025, 47, 207–214. [Google Scholar]
- Shen, T.; Wang, S.; Li, M.; Qin, L. Research Progress in the Application of Deep Learning in Animal Behavior Analysis. J. Front. Comput. Sci. Technol. 2024, 18, 612–626. [Google Scholar]
- Sun, G.; Liu, T.; Zhang, H.; Tan, B.; Li, Y. Basic behavior recognition of yaks based on improved SlowFast network. Ecol. Inform. 2023, 78, 102313. [Google Scholar] [CrossRef]
- Li, L.; Zhang, T.; Cuo, D.; Zhao, Q.; Zhou, L.; Jiancuo, S. Automatic identification of individual yaks in in-the-wild images using part-based convolutional networks with self-supervised learning. Expert Syst. Appl. 2023, 216, 119431. [Google Scholar] [CrossRef]
- Wang, J.; Zhang, Y.; Zhu, H.; Song, R. Yak Tracking Based on Improved YOLOv5 and ByteTrack. Comput. Syst. Appl. 2023, 32, 48–61. [Google Scholar]
- Wang, S.; Li, C.; Song, J.; Jiang, Y. Yak Detection Algorithm Based on Faster R-CNN in Tibetan Pastoral Areas. J. Inn. Mong. Agric. Univ. (Nat. Sci. Ed.) 2021, 42, 77–83. [Google Scholar]
- Cao, H.; Gong, S. Object Detection of Plateau Yak Images Based on YOLOv5. Inf. Comput. (Theor. Ed.) 2021, 33, 84–87. [Google Scholar]
- Bai, Q.; Gao, R.; Zhao, C.; Li, Q.; Wang, R.; Li, S. Multi-Scale Behavior Recognition Method for Dairy Cows Based on an Improved YOLOv5s Network. Trans. Chin. Soc. Agric. Eng. 2022, 38, 163–172. [Google Scholar]
- Fu, C.; Ren, L.; Wang, F. Method for Cattle Behavior Recognition and Tracking Based on Improved YOLOv8. Trans. Chin. Soc. Agric. Mach. 2024, 55, 290–301. [Google Scholar]
- Han, G.; Zhang, L.; Bai, Z.; Zhang, X.; Han, R.; Tang, C.; Tang, J. Daily Behaviour Detection of Multi-Target Dairy Cows Based on Improved YOLO11n in Complex Environments. Trans. Chin. Soc. Agric. Eng. 2025, 41, 74. [Google Scholar]
- Bai, Q.; Gao, R.; Li, Q.; Wang, R.; Zhang, H. Recognition of the behaviors of dairy cows by an improved YOLO. Intell. Robot. 2024, 4, 1–19. [Google Scholar] [CrossRef]
- Wang, Z.; Hua, Z.; Wen, Y.; Zhang, S.; Xu, X.; Song, H. E-YOLO: Recognition of estrus cow based on improved YOLOv8n model. Expert Syst. Appl. 2024, 238, 122212. [Google Scholar] [CrossRef]
- Wang, Z.; Xu, X.; Hua, Z.; Shang, Y.; Duan, Y.; Song, H. Lightweight recognition for the oestrus behavior of dairy cows combining YOLO v5n and channel pruning. Trans. Chin. Soc. Agric. Eng 2022, 38, 130–140. [Google Scholar]
- Wang, R.; Gao, Z.; Li, Q.; Zhao, C.; Gao, R.; Zhang, H.; Li, S.; Feng, L. Detection Method of Cow Estrus Behavior in Natural Scenes Based on Improved YOLOv5. Agriculture 2022, 12, 1339. [Google Scholar] [CrossRef]
- Liu, Z.; He, D. Recognition Method of Cow Estrus Behavior Based on Convolutional Neural Network. Trans. Chin. Soc. Agric. Mach. 2019, 50, 186–193. [Google Scholar]
- Li, E.; Wang, K.; Si, Y.; Yuan, Y.; He, Z. Cow Behavior Recognition Method Based on Improved ConvNeXt. Trans. Chin. Soc. Agric. Mach. 2024, 55, 282–289+404. [Google Scholar]
- Gao, S.; Yang, J.; Xu, D. Cattle species and behavior identification based on improved YOLO v10. J. South China Agric. Univ. 2025, 46, 832–842. [Google Scholar]
- Chen, M.; Ren, R.; Zhang, Z.; Li, H. Construction of lightweight multi-objective cattle behavior recognition model EVH-YOLO11. Agric. Eng. 2025, 15, 41–48. [Google Scholar]
- Yan, H.; Liu, Z.; Cui, Q.; Hu, Z. Multi-target detection based on feature pyramid attention and deep convolution network for pigs. Trans. Chin. Soc. Agric. Eng. 2020, 36, 193–202. [Google Scholar]
- Teng, G.; Ji, H.; Zhuang, Y.; Liu, M. Research Progress of Deep Learning in the Process of Pig Feeding. Trans. Chin. Soc. Agric. Eng. 2022, 38, 235–249. [Google Scholar]
- Chen, C.; Zhu, W.; Norton, T. Behaviour recognition of pigs and cattle: Journey from computer vision to deep learning. Comput. Electron. Agric. 2021, 187, 106255. [Google Scholar] [CrossRef]
- Zhuang, Y.; Yu, J.; Teng, G.; Cao, M. Recognition Method of Large White Sow Oestrus Behavior Based on a Convolutional Neural Network. Trans. Chin. Soc. Agric. Mach. 2020, 51, 364–370. [Google Scholar]
- Wang, W.; Wang, F.; Zhang, W.; Liu, H.; Wang, C.; Wang, C.; He, Z.X. Sheep Behavior Recognition Method Based on Improved YOLOv8s. Trans. Chin. Soc. Agric. Mach. 2024, 55, 325–335+344. [Google Scholar]
- Tong, X.Z.; Wei, J.Y.; Su, S.J.; Sun, B.; Zuo, Z. Typical Small Target Detection on Water Surfaces Fusing Attention and Multi-Scale Features. Chin. J. Sci. Instrum. 2023, 44, 212–222. [Google Scholar] [CrossRef]
- Jia, T.; Peng, L.; Dai, F. Object Detector with Residual Learning and Multi-Scale Feature Enhancement. Comput. Sci. Explor. 2023, 17, 1102–1111. [Google Scholar]
- Khanam, R.; Hussain, M. YOLOv11: An overview of the key architectural enhancements. arXiv 2024, arXiv:2410.17725. [Google Scholar] [CrossRef]
- Chen, Y.; Dai, X.; Liu, M.; Chen, D.; Yuan, L.; Liu, Z. Dynamic Convolution: Attention over Convolution Kernels. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; pp. 11027–11036. [Google Scholar] [CrossRef]
- Dai, J.; Li, Y.; He, K. R-FCN: Object Detection via Region-based Fully Convolutional Networks. Adv. Neural Inf. Process. Syst. 2016, 29, 379–387. [Google Scholar]
- Wang, C.Y.; Bochkovskiy, A.; Liao, H.Y.M. YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 18–22 June 2023; pp. 7464–7475. [Google Scholar]
- Zhang, Y.F.; Ren, W.; Zhang, Z.; Jia, Z.; Wang, L.; Tan, T. Focal and efficient IOU loss for accurate bounding box regression. Neurocomputing 2022, 506, 146–157. [Google Scholar] [CrossRef]
- Wang, T. Enhanced Feline Facial Recognition: Advancing Cat Face Detection with YOLOv8 and TensorRT. In Proceedings of the Fourth International Conference on Computer Vision and Pattern Analysis (ICCPA 2024), Anshan, China, 17–19 May 2024; SPIE: Bellingham, WA, USA, 2024; Volume 13256, pp. 193–202. [Google Scholar]











| Behavior Name | Behavior Description | Label | Sample Count |
|---|---|---|---|
| eat | Lower your neck and touch your head to the ground | eat | 1158 |
| lie | Legs in contact with the ground | lie | 680 |
| Stand | Legs in contact with the ground | stand | 1194 |
| walk | Leg flexion movement (obtained during walking) | walk | 1348 |
| Hardware | Configuration |
|---|---|
| Configuration | Ubuntu 22.04 |
| CPU | 10 vCPU |
| GPU | NVIDIA RTX 3090 (1 card, 24 GB video) memory) |
| Memory | 60 GB RAM |
| programming language | Python 3.10 |
| Learning Framework | PyTorch 2.2.0 |
| Hyper Parameters | Value |
|---|---|
| cache | False |
| imgsz | 640 |
| optimizer | SGD |
| batch | 32 |
| epochs | 300 |
| Amp | True |
| Models | Precision | Recall | mAP50 | Model Size/M |
|---|---|---|---|---|
| YOLOV11n | 0.901 | 0.869 | 0.917 | 5.5 |
| YOLOV11s | 0.929 | 0.90 | 0.942 | 19.2 |
| YOLOV11m | 0.941 | 0.908 | 0.953 | 40.5 |
| YOLOV11l | 0.939 | 0.902 | 0.942 | 51.2 |
| YOLOV11x | 0.945 | 0.896 | 0.945 | 114.4 |
| YOLOv11n—DPAP | 0.933 | 0.891 | 0.941 | 8.1 |
| Models | IoU | Focal + IoU | ||
|---|---|---|---|---|
| mAP50 | mAP50-95 | mAP50 | mAP50-95 | |
| DPAP-Yolov11n + CIoU | 93.6 | 83.3 | 93.7 | 82.8 |
| DPAP-Yolov11n + EIoU | 93.0 | 82.3 | 93.1 | 82.8 |
| DPAP-Yolov11n + GIoU | 92.7 | 82.3 | 93.2 | 82.9 |
| DPAP-Yolov11n + DIoU | 93.4 | 83.0 | 93.9 | 82.7 |
| DPAP-Yolov11n + SIoU | 92.1 | 81.7 | 93.3 | 82.8 |
| DPAP-Yolov11n + PIoU | 94.1 | 83.4 | 94.1 | 83.9 |
| Models | mAP0.5/% | AP/% | mAP0.5/% − 0.95/% | ||||||
|---|---|---|---|---|---|---|---|---|---|
| DynamicConv | PConv | Aux | Focal_PIoU | Eat | Stand | Lie | Walk | ||
| ✕ | ✕ | ✕ | ✕ | 91.7 | 94.3 | 88.9 | 92.7 | 91.1 | 81.1 |
| √ | ✕ | ✕ | ✕ | 93.0 | 94.8 | 91.3 | 93.1 | 92.9 | 83.0 |
| ✕ | √ | ✕ | ✕ | 93.4 | 94.9 | 91.3 | 93.8 | 93.4 | 82.5 |
| ✕ | ✕ | √ | ✕ | 93.0 | 94.9 | 90.5 | 93.4 | 93.0 | 82.0 |
| ✕ | ✕ | ✕ | √ | 92.4 | 95.1 | 90.4 | 91.9 | 92.0 | 81.5 |
| √ | √ | ✕ | ✕ | 93.2 | 95.1 | 92.2 | 93.1 | 92.5 | 83.2 |
| √ | √ | √ | ✕ | 93.6 | 95.6 | 92.8 | 93.1 | 93.0 | 83.3 |
| √ | √ | √ | √ | 94.1 | 95.5 | 92.4 | 94.1 | 94.3 | 83.9 |
| Model | P(%) | R(%) | mAP@0.5 | mAP@0.5-0.95 | FLOPs(G) | Model Volume/(MB) |
|---|---|---|---|---|---|---|
| Yolov3-tiny | 0.924 | 0.868 | 0.925 | 0.82 | 18.9 | 24.4 |
| YOLOV5n | 0.906 | 0.881 | 0.929 | 0.818 | 7.1 | 5.3 |
| YOLOV6 | 0.917 | 0.891 | 0.937 | 0.835 | 11.8 | 5.8 |
| YOLOV10n | 0.913 | 0.876 | 0.933 | 0.825 | 6.5 | 5.8 |
| YOLOV11n | 0.898 | 0.875 | 0.917 | 0.811 | 6.3 | 5.5 |
| DPAP-YOLOv11n | 0.933 | 0.891 | 0.941 | 0.839 | 6.2 | 8.1 |
| Framework | Preprocessing Time (ms) | Inference Time (ms) | Postprocessing Time (ms) | Average Latency (ms) | Detection Speed (FPS) |
|---|---|---|---|---|---|
| Pytorch | 1.5 | 14.7 | 1.3 | 17.5 | 57 |
| TensorRT (FP32) | 2.6 | 6.5 | 1.6 | 10.7 | 93 |
| TensorRT (FP16) | 2.4 | 5.6 | 1.5 | 9.5 | 105 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Tie, J.; Dunzhu, B.; Zheng, L.; Xie, J.; Tian, S.; Li, S. Wild Yak Behavior Recognition Method Based on an Improved Yolov11. Information 2026, 17, 214. https://doi.org/10.3390/info17020214
Tie J, Dunzhu B, Zheng L, Xie J, Tian S, Li S. Wild Yak Behavior Recognition Method Based on an Improved Yolov11. Information. 2026; 17(2):214. https://doi.org/10.3390/info17020214
Chicago/Turabian StyleTie, Jun, Basang Dunzhu, Lu Zheng, Jin Xie, Shasha Tian, and Shuangyang Li. 2026. "Wild Yak Behavior Recognition Method Based on an Improved Yolov11" Information 17, no. 2: 214. https://doi.org/10.3390/info17020214
APA StyleTie, J., Dunzhu, B., Zheng, L., Xie, J., Tian, S., & Li, S. (2026). Wild Yak Behavior Recognition Method Based on an Improved Yolov11. Information, 17(2), 214. https://doi.org/10.3390/info17020214

