A Multimodal Dual-Stream Framework for Sheep Behavior Recognition Using Skeletal and Local Visual Fusion
Simple Summary
Abstract
1. Introduction
2. Materials and Methods
2.1. Data Acquisition and Dataset Construction
2.2. Proposed Multimodal Dual-Stream Framework
2.3. Training Strategy and Implementation Details
3. Results
3.1. Classification Results of the Multimodal Dual-Stream Framework
3.2. Visualization in Complex Real-World Scenarios
3.3. Ablation Study on Core Modalities
3.4. Cross-Comparison with State-of-the-Art and Lightweight Baselines
3.5. Mechanism Analysis via Feature Visualization
4. Discussion and Future Perspectives
4.1. Overcoming Dimensional Limitations via Multimodal Fusion
4.2. Architectural Superiority and Deployment Feasibility
4.3. Agricultural Implications for Precision Livestock Farming
4.4. Limitations and Future Work
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Tzanidakis, C.; Tzamaloukas, O.; Simitzis, P.; Panagakis, P. Precision Livestock Farming Applications (PLF) for Grazing Animals. Agriculture 2023, 13, 288. [Google Scholar] [CrossRef] [Scilit]
- Cheng, M.; Yuan, H.B.; Wang, Q.F.; Cai, Z.J.; Liu, Y.Q.; Zhang, Y.J. Application of deep learning in sheep behaviors recognition and influence analysis of training data characteristics on the recognition effect. Comput. Electron. Agric. 2022, 198, 107010. [Google Scholar] [CrossRef] [Scilit]
- Broomé, S.; Feighelstein, M.; Zamansky, A.; Lencioni, G.C.; Andersen, P.H.; Pessanha, F.; Mahmoud, M.; Kjellström, H.; Salah, A.A. Going Deeper than Tracking: A Survey of Computer-Vision Based Recognition of Animal Pain and Emotions. Int. J. Comput. Vis. 2023, 131, 572–590. [Google Scholar] [CrossRef] [Scilit]
- Guo, X.R.; Ma, C.Y.; Wang, C.; Cui, X.C.; Xu, G.D.; Wang, R.M.; Liu, Y.Q.; Sun, B.; Wang, Z.J.; Guo, X.C. A Sheep Behavior Recognition Approach Based on Improved FESS-YOLOv8n Neural Network. Animals 2025, 15, 893. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hitelman, A.; Edan, Y.; Godo, A.; Berenstein, R.; Lepar, J.; Halachmi, I. Biometric identification of sheep via a machine-vision system. Comput. Electron. Agric. 2022, 194, 106713. [Google Scholar] [CrossRef] [Scilit]
- Gu, Z.S.; Zhang, H.Y.; He, Z.Q.; Niu, K. A two-stage recognition method based on deep learning for sheep behavior. Comput. Electron. Agric. 2023, 212, 108143. [Google Scholar] [CrossRef] [Scilit]
- Zhao, H.K.; Mao, R.; Li, M.; Li, B.; Wang, M.L. SheepInst: A High-Performance Instance Segmentation of Sheep Images Based on Deep Learning. Animals 2023, 13, 1338. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mansbridge, N.; Mitsch, J.; Bollard, N.; Ellis, K.; Miguel-Pacheco, G.G.; Dottorini, T.; Kaler, J. Feature Selection and Comparison of Machine Learning Algorithms in Classification of Grazing and Rumination Behaviour in Sheep. Sensors 2018, 18, 3532. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ding, L.Y.; Zhang, C.X.; Yue, Y.X.; Yao, C.X.; Li, Z.; Hu, Y.T.; Yang, B.Z.; Ma, W.H.; Yu, L.G.; Gao, R.H.; et al. Wearable Sensors-Based Intelligent Sensing and Application of Animal Behaviors: A Comprehensive Review. Sensors 2025, 25, 4515. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kumar, P.; Luo, S.H.; Shaukat, K. A Comprehensive Review of Deep Learning Approaches for Animal Detection on Video Data. Int. J. Adv. Comput. Sci. Appl. 2023, 14, 1420–1437. [Google Scholar] [CrossRef] [Scilit]
- Zhang, M.J.; Zhu, Y.F.; Wu, J.B.; Zhao, Q.N.; Zhang, X.S.; Luo, H.L. Improved composite deep learning and multi-scale signal features fusion enable intelligent and precise behaviors recognition of fattening Hu sheep. Comput. Electron. Agric. 2024, 227, 109635. [Google Scholar] [CrossRef] [Scilit]
- Chen, C.; Zhu, W.X.; Norton, T. Behaviour recognition of pigs and cattle: Journey from computer vision to deep learning. Comput. Electron. Agric. 2021, 187, 106255. [Google Scholar] [CrossRef] [Scilit]
- Hu, T.C.; Yan, R.R.; Jiang, C.X.; Chand, N.V.; Bai, T.; Guo, L.F.; Qi, J.W. Grazing Sheep Behaviour Recognition Based on Improved YOLOV5. Sensors 2023, 23, 4752. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- He, R.A.; Wang, X.M.; Chen, H.Z.; Liu, C. VHR-BirdPose: Vision Transformer-Based HRNet for Bird Pose Estimation with Attention Mechanism. Electronics 2023, 12, 3643. [Google Scholar] [CrossRef] [Scilit]
- Liu, S.C.; Fan, Q.C.; Liu, S.H.; Zhao, C.J. DepthFormer: A High-Resolution Depth-Wise Transformer for Animal Pose Estimation. Agriculture 2022, 12, 1280. [Google Scholar] [CrossRef] [Scilit]
- Wu, Z.; Zhang, Z.; Dang, Y.; Yin, J.; Tang, J. ListPose: Lightweight and Implicit Spatial-Temporal Modeling with TokenPose for Video-Based Pose Estimation. J. Shanghai Jiaotong Univ. (Sci.) 2025, 31, 143–153. [Google Scholar] [CrossRef] [Scilit]
- Sun, C.J.; Hu, J.G.; Wang, Q.Y.; Zhu, C.; Chen, L.; Shi, C.M. YOLO-BCD: A Lightweight Multi-Module Fusion Network for Real-Time Sheep Pose Estimation. Sensors 2025, 25, 2687. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Bati, C.T. Sheep pose estimation via image analysis and body measurements derived from key points. J. Agric. Eng. 2025, 56, 1719. [Google Scholar] [CrossRef] [Scilit]
- Shi, J.R.; Chen, X.W.; Zhang, Y.L.; Gong, P.; Xiong, Y.J.; Shen, M.X.; Norton, T.; Gu, X.J.; Lu, M.Z. Detection of estrous ewes’ tail-wagging behavior in group-housed environments using Temporal-Boost 3D convolution. Comput. Electron. Agric. 2025, 234, 110283. [Google Scholar] [CrossRef] [Scilit]
- Psota, E.T.; Schmidt, T.; Mote, B.; Pérez, L.C. Long-Term Tracking of Group-Housed Livestock Using Keypoint Detection and MAP Estimation for Individual Animal Identification. Sensors 2020, 20, 3670. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Brünger, J.; Gentz, M.; Traulsen, I.; Koch, R. Panoptic Segmentation of Individual Pigs for Posture Recognition. Sensors 2020, 20, 3710. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lauer, J.; Zhou, M.; Ye, S.K.; Menegas, W.; Schneider, S.; Nath, T.; Rahman, M.M.; Di Santo, V.; Soberanes, D.; Feng, G.P.; et al. Multi-animal pose estimation, identification and tracking with DeepLabCut. Nat. Methods 2022, 19, 496–504. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Russello, H.; Tol, R.V.; Kootstra, G. T-LEAP: Occlusion-robust pose estimation of walking cows using temporal information. Comput. Electron. Agric. 2022, 192, 106559. [Google Scholar] [CrossRef] [Scilit]
- Zheng, C.; Wu, W.H.; Chen, C.; Yang, T.J.N.; Zhu, S.J.; Shen, J.; Kehtarnavaz, N.; Shah, M. Deep Learning-based Human Pose Estimation: A Survey. ACM Comput. Surv. 2024, 56, 11. [Google Scholar] [CrossRef] [Scilit]
- Ma, P.F.; Gao, R.H.; Li, Q.F.; Yu, Q.Y.; Wang, R.; Lai, C.R.; Huang, W.W.; Hao, P.; Wang, Z.Y.; Li, X.W. 2D Animal Skeletons Keypoint Detection: Research Progress and Future Trends. IEEE Access 2025, 13, 117521–117544. [Google Scholar] [CrossRef] [Scilit]
- Jiang, L.; Lee, C.L.; Teotia, D.; Ostadabbas, S. Animal pose estimation: A closer look at the state-of-the-art, existing gaps and opportunities. Comput. Vis. Image Underst. 2022, 222, 103483. [Google Scholar] [CrossRef] [Scilit]
- Yang, Y.X.; Deng, Y.F.; Li, J.Z.; Liu, M.Q.; Yao, Y.; Peng, Z.Y.; Gu, L.H.; Peng, Y.Q. An Effective Yak Behavior Classification Model with Improved YOLO-Pose Network Using Yak Skeleton Key Points Images. Agriculture 2024, 14, 1796. [Google Scholar] [CrossRef] [Scilit]
- Fang, C.; Zhang, T.M.; Zheng, H.K.; Huang, J.D.; Cuan, K.X. Pose estimation and behavior classification of broiler chickens based on deep neural networks. Comput. Electron. Agric. 2021, 180, 105863. [Google Scholar] [CrossRef] [Scilit]
- Nwokedi, E.I.; Bains, R.S.; Bidaut, L.; Ye, X.J.; Wells, S.; Brown, J.M. Dual-Stream Spatiotemporal Networks with Feature Sharing for Monitoring Animals in the Home Cage. Sensors 2023, 23, 9532. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jahn, S.; Düpjan, S.; Röttgen, V.; Jordt, J.N.; Albrecht, S.; Homeier-Bachmann, T. Integrating YOLOv8-pose for localization and behavior tracking of calves in precision livestock farming. Front. Anim. Sci. 2026, 6, 1718641. [Google Scholar] [CrossRef] [Scilit]
- Ishikawa, T.; Zin, T.T.; Aikawa, M.; Kobayashi, I. Identification of Rumination Patterns in Cattle Through Optical Flow Analysis and Machine Learning Techniques. In Genetic and Evolutionary Computing; Lecture Notes in Electrical Engineering; Springer Nature: Singapore, 2025; Volume 1322, pp. 134–143. [Google Scholar] [CrossRef] [Scilit]






| Model | Params (M) | GFLOPs | mAP50 (%) | mAP50:95 (%) |
|---|---|---|---|---|
| YOLOv8n-Pose | 3.3 | 9.2 | 80.29 | 51.87 |
| YOLOv8m-Pose | 26.4 | 80.6 | 85.14 | 60.72 |
| YOLOv11n-Pose | 3.2 | 9.0 | 80.56 | 51.35 |
| YOLOv11m-Pose | 23.8 | 78.0 | 84.44 | 61.95 |
| Posture Behavior | Precision/% | Recall/% | F1 Score/% |
|---|---|---|---|
| Standing | 94.12 | 80.00 | 86.49 |
| Eating | 89.19 | 100.00 | 94.29 |
| Walking | 97.14 | 94.44 | 95.77 |
| Group | BiLSTM | ResNet-50 | Overall Acc. (%) | Walking Acc. (%) |
|---|---|---|---|---|
| Baseline (Kinematic-only) | √ | × | 69.05 | 68.18 |
| Visual-only Comparison | × | √ | 92.13 | 87.50 |
| Proposed Dual-Stream | √ | √ | 93.26 | 97.14 |
| Model | FPS | Precision/% | Recall/% | F1 Score/% | Kappa |
|---|---|---|---|---|---|
| Random Forest | 120.5 | 64.82 | 65.36 | 65.09 | 0.47 |
| GRU | 95.2 | 65.90 | 66.35 | 66.12 | 0.49 |
| 1D-CNN | 105.8 | 68.75 | 70.60 | 69.66 | 0.54 |
| ST-GCN | 65.0 | 77.20 | 79.85 | 78.50 | 0.68 |
| C3D | 18.5 | 90.20 | 89.40 | 89.80 | 0.84 |
| SlowFast | 12.5 | 91.80 | 91.20 | 91.50 | 0.87 |
| Dual-stream BiLSTM | 32.4 | 93.48 | 91.48 | 92.15 | 0.89 |
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
Xuan, C.; Jia, J.; Liu, S.; Tang, Z. A Multimodal Dual-Stream Framework for Sheep Behavior Recognition Using Skeletal and Local Visual Fusion. Animals 2026, 16, 2759. https://doi.org/10.3390/ani16172759
Xuan C, Jia J, Liu S, Tang Z. A Multimodal Dual-Stream Framework for Sheep Behavior Recognition Using Skeletal and Local Visual Fusion. Animals. 2026; 16(17):2759. https://doi.org/10.3390/ani16172759
Chicago/Turabian StyleXuan, Chuanzhong, Junze Jia, Suhui Liu, and Zhaohui Tang. 2026. "A Multimodal Dual-Stream Framework for Sheep Behavior Recognition Using Skeletal and Local Visual Fusion" Animals 16, no. 17: 2759. https://doi.org/10.3390/ani16172759
APA StyleXuan, C., Jia, J., Liu, S., & Tang, Z. (2026). A Multimodal Dual-Stream Framework for Sheep Behavior Recognition Using Skeletal and Local Visual Fusion. Animals, 16(17), 2759. https://doi.org/10.3390/ani16172759

