Sleeping and Eating Behavior Recognition of Horses Based on an Improved SlowFast Network.
Abstract: The sleeping and eating behaviors of horses are important indicators of their health. With the development of the modern equine industry, timely monitoring and analysis of these behaviors can provide valuable data for assessing the physiological state of horses. To recognize horse behaviors in stalls, this study builds on the SlowFast algorithm, introducing a novel loss function to address data imbalance and integrating an SE attention module in the SlowFast algorithm's slow pathway to enhance behavior recognition accuracy. Additionally, YOLOX is employed to replace the original target detection algorithm in the SlowFast network, reducing recognition time during the video analysis phase and improving detection efficiency. The improved SlowFast algorithm achieves automatic recognition of horse behaviors in stalls. The accuracy in identifying three postures-standing, sternal recumbency, and lateral recumbency-is 92.73%, 91.87%, and 92.58%, respectively. It also shows high accuracy in recognizing two behaviors-sleeping and eating-achieving 93.56% and 98.77%. The model's best overall accuracy reaches 93.90%. Experiments show that the horse behavior recognition method based on the improved SlowFast algorithm proposed in this study is capable of accurately identifying horse behaviors in video data sequences, achieving recognition of multiple horses' sleeping and eating behaviors. Additionally, this research provides data support for livestock managers in evaluating horse health conditions, contributing to advancements in modern intelligent horse breeding practices.
Publication Date: 2024-12-05 PubMed ID: 39686329PubMed Central: PMC11645009DOI: 10.3390/s24237791Google Scholar: Lookup
The Equine Research Bank provides access to a large database of publicly available scientific literature. Inclusion in the Research Bank does not imply endorsement of study methods or findings by Mad Barn.
- Journal Article
Summary
This research summary has been generated with artificial intelligence and may contain errors and omissions. Refer to the original study to confirm details provided. Submit correction.
The research paper presents an improved SlowFast algorithm for the automatic recognition of horses’ sleeping and eating behaviors. The algorithm delivers a high degree of accuracy and can be used as a tool for assessing the health of horses in a modern equine industry.
Introduction of the Improved SlowFast Algorithm
- The authors emphasize the importance of monitoring the sleeping and eating behaviors of horses as these act as vital markers of their overall health.
- In this research, they propose modifications to the SlowFast algorithm to enhance its accuracy in recognizing horse behaviors. This advanced version is intended to be used in automating such recognition in video data sequences.
- The improved SlowFast network algorithm employs the YOLOX model which proves instrumental in enhancing detection efficiency, thereby speeding up the video analysis process.
Loss Function and SE Attention Module Integration
- The researchers devise a new loss function that aims to tackle data imbalance issues, a prevalent challenge in many machine learning problems.
- They then integrate an SE attention module in the slow pathway of the SlowFast algorithm, enhancing its ability to focus on significant features related to horse behaviors.
Accuracy and Efficiency
- The accuracy achieved in detecting the three postures of standing, sternal recumbency, and lateral recumbency is reported to be 92.73%, 91.87%, and 92.58%, respectively.
- The system also demonstrates high accuracy in distinguishing between sleeping and eating behaviors, achieving scores of 93.56% and 98.77%.
- The best overall accuracy reached by the model is 93.90%.
Significance and Impact of the Research
- The horse behavior recognition method, based on the revised SlowFast algorithm, is capable of accurately identifying multiple horses’ behaviors from video sequences.
- This will be extremely helpful for ranch managers in assessing horse health conditions, thus contributing to the modernization of horse breeding practices.
- The research also opens up possibilities for the algorithm to be adapted for use in monitoring the behaviors of other livestock species.
Cite This Article
APA
Liu Y, Zhou F, Zheng W, Bai T, Chen X, Guo L.
(2024).
Sleeping and Eating Behavior Recognition of Horses Based on an Improved SlowFast Network.
Sensors (Basel), 24(23), 7791.
https://doi.org/10.3390/s24237791 Publication
Researcher Affiliations
- College of Computer and Information Engineering, Xinjiang Agricultural University, Urumqi 830052, China.
- Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100080, China.
- Xinjiang Agricultural Informatization Engineering Technology Research Center, Urumqi 830052, China.
- Ministry of Education Engineering Research Centre for Intelligent Agriculture, Urumqi 830052, China.
- College of Information Science and Technology, Shihezi University, Shihezi 832000, China.
- Institute of Animal Husbandry Quality Standards, Xinjiang Academy of Animal Science, Urumqi 830011, China.
- College of Computer and Information Engineering, Xinjiang Agricultural University, Urumqi 830052, China.
- Xinjiang Agricultural Informatization Engineering Technology Research Center, Urumqi 830052, China.
- Ministry of Education Engineering Research Centre for Intelligent Agriculture, Urumqi 830052, China.
- Institute of Animal Husbandry Quality Standards, Xinjiang Academy of Animal Science, Urumqi 830011, China.
- Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100080, China.
MeSH Terms
- Horses / physiology
- Animals
- Sleep / physiology
- Algorithms
- Feeding Behavior / physiology
- Behavior, Animal / physiology
- Video Recording
- Posture / physiology
Grant Funding
- ZZZC202112 / the University-Level Project of Shihezi University
- 2022B02027, 2023B02013 / Key R&D Program of Xinjiang Uygur Autonomous Region
- CXFZ202101 / the Innovation and Development Special Project of Shihezi University
Conflict of Interest Statement
The authors declare no conflicts of interest.
References
This article includes 30 references
- Brubaker L, Udell M.A.R.. Cognition and Learning in Horses (Equus caballus): What We Know and Why We Should Ask More. Behav. Process. 2016;126:121–131.
- Danby P, Grajfoner D. Human–Horse Tourism and Nature-Based Solutions: Exploring Psychological Well-Being Through Transformational Experiences. J. Hosp. Tour. Res. 2022;46:607–629.
- Lesimple C, Reverchon-Billot L, Galloux P, Stomp M, Boichot L, Coste C, Henry S, Hausberger M. Free Movement: A Key for Welfare Improvement in Sport Horses?. Appl. Anim. Behav. Sci. 2020;225:104972.
- Fogarty E.S., Swain D.L., Cronin G.M., Moraes L.E., Trotter M. BehavIoUr Classification of Extensively Grazed Sheep Using Machine Learning. Comput. Electron. Agric. 2020;169:105175.
- Price E, Langford J, Fawcett T.W., Wilson A.J., Croft D.P.. Classifying the Posture and Activity of Ewes and Lambs Using Accelerometers and Machine Learning on a Commercial Flock. Appl. Anim. Behav. Sci. 2022;251:105630.
- Evans C.A., Trotter M.G., Manning J.K.. Sensor-Based Detection of Predator Influence on Livestock: A Case Study Exploring the Impacts of Wild Dogs (Canis familiaris) on Rangeland Sheep. Animals 2022;12:219.
- Wu Y, Liu M, Peng Z, Liu M, Wang M, Peng Y. Recognising Cattle BehavIoUr with Deep Residual Bidirectional LSTM Model Using a Wearable Movement Monitoring Collar. Agriculture 2022;12:1237.
- Balasso P, Taccioli C, Serva L, Magrin L, Andrighetto I, Marchesini G. Uncovering Patterns in Dairy Cow BehavIoUr: A Deep Learning Approach with Tri-Axial Accelerometer Data. Animals 2023;13:1886.
- Scheurwater J, Jorritsma R, Nielen M, Heesterbeek H, van den Broek J, Aardema H. The Effects of Cow Introductions on Milk Production and BehavIoUr of the Herd Measured with Sensors. J. Dairy. Res. 2022;88:374–380.
- Cheng M, Yuan H, Wang Q, Cai Z, Liu Y, Zhang Y. Application of Deep Learning in Sheep Behavior Recognition and Influence Analysis of Training Data Characteristics on the Recognition Effect. Comput. Electron. Agric. 2022;198:107010.
- Xu Y, Nie J, Cen H, Wen B, Liu S, Li J, Ge J, Yu L, Pu Y, Song K. Spatio-Temporal-Based Identification of Aggressive Behavior in Group Sheep. Animals 2023;13:2636.
- Zhao H, Mao R, Li M, Li B, Wang M. SheepInst: A High-Performance Instance Segmentation of Sheep Images Based on Deep Learning. Animals 2023;13:1338.
- Gu Z, Zhang H, He Z, Niu K. A Two-Stage Recognition Method Based on Deep Learning for Sheep Behavior. Comput. Electron. Agric. 2023;212:108143.
- Bai Q, Gao R, Zhao C, Li Q, Wang R, Li S. Multi-Scale Behavior Recognition Method for Dairy Cows Based on Improved YOLOV5s Network. Trans. Chin. Soc. Agric. Eng. 2022;38:163–172.
- 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.
- Yu Z, Liu Y, Yu S, Wang R, Song Z, Yan Y, Li F, Wang Z, Tian F. Automatic Detection Method of Dairy Cow Grazing BehavIoUr Based on YOLO Improved Model and Edge Computing. Sensors 2022;22:3271.
- Shang C, Wu F, Wang M, Gao Q. Cattle Behavior Recognition Based on Feature Fusion Under a Dual Attention Mechanism. J. Vis. Commun. Image Represent. 2022;85:103524.
- Tu S, Zeng Q, Liang Y, Liu X, Huang L, Weng S, Huang Q. Automated Behavior Recognition and Tracking of Group-Housed Pigs with an Improved DeepSORT Method. Agriculture 2022;12:1907.
- Kim J, Moon N. Dog Behavior Recognition Based on Multimodal Data from a Camera and Wearable Device. Appl. Sci. 2022;12:3199.
- Zhou H, Li Q, Xie Q. Individual Pig Identification Using Back Surface Point Clouds in 3D Vision. Sensors 2023;23:5156.
- Chen C, Zhu W, Steibel J, Siegford J, Han J, Norton T. Recognition of feeding behaviors of pigs and determination of feeding time of each pig by a video-based deep learning method. Comput. Electron. Agric. 2020;176:105642.
- Yu R, Choi Y. OkeyDoggy3D: A Mobile Application for Recognizing Stress-Related Behaviors in Companion Dogs Based on Three-Dimensional Pose Estimation through Deep Learning. Appl. Sci. 2022;12:8057.
- Ji H, Yu J, Lao F, Zhuang Y, Wen Y, Teng G. Automatic Position Detection and Posture Recognition of Grouped Pigs Based on Deep Learning. Agriculture 2022;12:1314.
- Chen H.-Y., Lin C.-H., Lai J.-W., Chan Y.-K.. Convolutional Neural Network-Based Automated System for Dog Tracking and Emotion Recognition in Video Surveillance. Appl. Sci. 2023;13:4596.
- Ji H, Teng G, Yu J, Wen Y, Deng H, Zhuang Y. Efficient Aggressive Behavior Recognition of Pigs Based on Temporal Shift Module. Animals 2023;13:2078.
- Zhang K, Li D, Huang J, Chen Y. Automated Video Behavior Recognition of Pigs Using Two-Stream Convolutional Networks. Sensors 2020;20:1085.
- Wang Y, Li R, Wang Z, Hua Z, Jiao Y, Duan Y, Song H. E3D: An Efficient 3D CNN for the Recognition of Dairy Cow’s Basic Motion Behavior. Comput. Electron. Agric. 2023;205:107607.
- Li B, Xu W, Chen T, Cheng J, Shen M. Recognition of Fine-Grained Sow Nursing Behavior Based on the SlowFast and Hidden Markov Models. Comput. Electron. Agric. 2023;210:107938.
- 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.
- Feichtenhofer C, Fan H, Malik J, He K. SlowFast Networks for Video Recognition. Proceedings of the IEEE International Conference on Computer Vision; Seoul, Republic of Korea. 27 October–2 November 2019.
Citations
This article has been cited 0 times.Use Nutrition Calculator
Check if your horse's diet meets their nutrition requirements with our easy-to-use tool Check your horse's diet with our easy-to-use tool
Talk to a Nutritionist
Discuss your horse's feeding plan with our experts over a free phone consultation Discuss your horse's diet over a phone consultation
Submit Diet Evaluation
Get a customized feeding plan for your horse formulated by our equine nutritionists Get a custom feeding plan formulated by our nutritionists