Xinglin Ni , Zhenjie Hou , En Lin , Xing Li , Jiuzhen Liang , Xinwen Zhou
{"title":"IMTFF-Networks: A deep learning model for cattle behavior classification integrating multimodal time-frequency features","authors":"Xinglin Ni , Zhenjie Hou , En Lin , Xing Li , Jiuzhen Liang , Xinwen Zhou","doi":"10.1016/j.applanim.2025.106627","DOIUrl":null,"url":null,"abstract":"<div><div>In modern livestock farming, understanding cattle behavior patterns is crucial for improving their health and production efficiency. For example, behaviors such as rumination (chewing food) and eating not only affect their health but also directly influence farm economic efficiency and food safety. However, these behaviors exhibit complex dynamic characteristics, showing significant nonlinearity and temporal dependence, which presents challenges in representing behavioral features for accurately capturing long-term dependencies and nonlinear relationships, thereby limiting classification accuracy. To address these challenges, we propose a deep learning model for cattle behavior classification Integrating Multimodal Time-Frequency Features (IMTFF-Networks). Compared to traditional deep learning models such as Long Short-Term Memory (LSTM) or Temporal Convolutional Networks (TCN), IMTFF-Networks can simultaneously capture both time-domain and frequency-domain features, overcoming the limitations of relying solely on time-domain or frequency-domain features when processing complex behavior patterns. IMTFF-Networks comprises modules for multimodal time-frequency fusion of sensor signals and multi-scale time-frequency feature analysis. The multimodal time-frequency fusion module integrates time-frequency features through Feature Mode Decomposition (FMD) and frequency domain processing, comprehensively capturing the dynamic characteristics of behavioral signals, such as frequency components and temporal patterns, thereby enhancing the accuracy and robustness of behavior recognition. The multi-scale time-frequency feature analysis module employs multi-scale temporal processing and attention mechanisms to capture long-term dependencies and complex nonlinear relationships among features across different time scales. The experiments were conducted using 3460 hours of behavioral data from 18 Limousin crossbred steer, encompassing rumination, eating, and other behavioral categories. The results demonstrate that IMTFF-Networks significantly outperforms methods relying solely on single time-domain or frequency-domain features in cattle behavior classification tasks. Specifically, IMTFF-Networks achieved an accuracy of 86.42 %, a balanced accuracy of 84.78 %, precision of 87.53 %, recall of 86.42 %, and F1 score of 86.64 % on the test set. This study not only validates the effectiveness of IMTFF-Networks in processing complex temporal data but also provides important references for future research in animal behavior monitoring.</div></div>","PeriodicalId":8222,"journal":{"name":"Applied Animal Behaviour Science","volume":"286 ","pages":"Article 106627"},"PeriodicalIF":2.2000,"publicationDate":"2025-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Animal Behaviour Science","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S016815912500125X","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, DAIRY & ANIMAL SCIENCE","Score":null,"Total":0}
引用次数: 0
Abstract
In modern livestock farming, understanding cattle behavior patterns is crucial for improving their health and production efficiency. For example, behaviors such as rumination (chewing food) and eating not only affect their health but also directly influence farm economic efficiency and food safety. However, these behaviors exhibit complex dynamic characteristics, showing significant nonlinearity and temporal dependence, which presents challenges in representing behavioral features for accurately capturing long-term dependencies and nonlinear relationships, thereby limiting classification accuracy. To address these challenges, we propose a deep learning model for cattle behavior classification Integrating Multimodal Time-Frequency Features (IMTFF-Networks). Compared to traditional deep learning models such as Long Short-Term Memory (LSTM) or Temporal Convolutional Networks (TCN), IMTFF-Networks can simultaneously capture both time-domain and frequency-domain features, overcoming the limitations of relying solely on time-domain or frequency-domain features when processing complex behavior patterns. IMTFF-Networks comprises modules for multimodal time-frequency fusion of sensor signals and multi-scale time-frequency feature analysis. The multimodal time-frequency fusion module integrates time-frequency features through Feature Mode Decomposition (FMD) and frequency domain processing, comprehensively capturing the dynamic characteristics of behavioral signals, such as frequency components and temporal patterns, thereby enhancing the accuracy and robustness of behavior recognition. The multi-scale time-frequency feature analysis module employs multi-scale temporal processing and attention mechanisms to capture long-term dependencies and complex nonlinear relationships among features across different time scales. The experiments were conducted using 3460 hours of behavioral data from 18 Limousin crossbred steer, encompassing rumination, eating, and other behavioral categories. The results demonstrate that IMTFF-Networks significantly outperforms methods relying solely on single time-domain or frequency-domain features in cattle behavior classification tasks. Specifically, IMTFF-Networks achieved an accuracy of 86.42 %, a balanced accuracy of 84.78 %, precision of 87.53 %, recall of 86.42 %, and F1 score of 86.64 % on the test set. This study not only validates the effectiveness of IMTFF-Networks in processing complex temporal data but also provides important references for future research in animal behavior monitoring.
期刊介绍:
This journal publishes relevant information on the behaviour of domesticated and utilized animals.
Topics covered include:
-Behaviour of farm, zoo and laboratory animals in relation to animal management and welfare
-Behaviour of companion animals in relation to behavioural problems, for example, in relation to the training of dogs for different purposes, in relation to behavioural problems
-Studies of the behaviour of wild animals when these studies are relevant from an applied perspective, for example in relation to wildlife management, pest management or nature conservation
-Methodological studies within relevant fields
The principal subjects are farm, companion and laboratory animals, including, of course, poultry. The journal also deals with the following animal subjects:
-Those involved in any farming system, e.g. deer, rabbits and fur-bearing animals
-Those in ANY form of confinement, e.g. zoos, safari parks and other forms of display
-Feral animals, and any animal species which impinge on farming operations, e.g. as causes of loss or damage
-Species used for hunting, recreation etc. may also be considered as acceptable subjects in some instances
-Laboratory animals, if the material relates to their behavioural requirements