Efficient Aggressive Behavior Recognition of Pigs Based on Temporal Shift Module

被引:12
作者
Ji, Hengyi [1 ,2 ]
Teng, Guanghui [1 ,2 ]
Yu, Jionghua [2 ]
Wen, Yanbin [2 ,3 ]
Deng, Huixiang [1 ,2 ]
Zhuang, Yanrong [1 ,2 ]
机构
[1] China Agr Univ, Coll Water Resources & Civil Engn, Beijing 100083, Peoples R China
[2] Minist Agr & Rural Affairs, Key Lab Agr Engn Struct & Environm, Beijing 100083, Peoples R China
[3] Bur Agr & Rural Affairs, Datong 037000, Peoples R China
来源
ANIMALS | 2023年 / 13卷 / 13期
关键词
behavior recognition; pigs; CNN; deep learning; computer vision; CLASSIFICATION; VISION;
D O I
10.3390/ani13132078
中图分类号
S8 [畜牧、 动物医学、狩猎、蚕、蜂];
学科分类号
0905 ;
摘要
Simple Summary Aggressive behavior can cause severe harm to pigs, especially in poor housing conditions, leading to disease and even death, which causes significant losses for the pig farm. Therefore, the automatic and accurate recognition of aggressive behavior of commercially housed pigs is important for pig farm production management. In this study, we proposed a video behavior recognition method based on the temporal shift module (TSM) that can detect whether aggressive behavior occurred in pig groups automatically. TSM is a convolutional neural network module to process video sequence data. Experimental results demonstrated that the method can recognize pig aggression effectively, which helps improve the use of automated management techniques in pig farming. Aggressive behavior among pigs is a significant social issue that has severe repercussions on both the profitability and welfare of pig farms. Due to the complexity of aggression, recognizing it requires the consideration of both spatial and temporal features. To address this problem, we proposed an efficient method that utilizes the temporal shift module (TSM) for automatic recognition of pig aggression. In general, TSM is inserted into four 2D convolutional neural network models, including ResNet50, ResNeXt50, DenseNet201, and ConvNext-t, enabling the models to process both spatial and temporal features without increasing the model parameters and computational complexity. The proposed method was evaluated on the dataset established in this study, and the results indicate that the ResNeXt50-T (TSM inserted into ResNeXt50) model achieved the best balance between recognition accuracy and model parameters. On the test set, the ResNeXt50-T model achieved accuracy, recall, precision, F1 score, speed, and model parameters of 95.69%, 95.25%, 96.07%, 95.65%, 29 ms, and 22.98 M, respectively. These results show that the proposed method can effectively improve the accuracy of recognizing pig aggressive behavior and provide a reference for behavior recognition in actual scenarios of smart livestock farming.
引用
收藏
页数:15
相关论文
共 31 条
  • [1] General introduction to precision livestock farming
    Berckmans, D.
    [J]. ANIMAL FRONTIERS, 2017, 7 (01) : 6 - 11
  • [2] Network characteristics and development of social structure of agonistic behaviour in pigs across three repeated rehousing and mixing events
    Buettner, Kathrin
    Scheffler, Katharina
    Czycholl, Irena
    Krieter, Joachim
    [J]. APPLIED ANIMAL BEHAVIOUR SCIENCE, 2015, 168 : 24 - 30
  • [3] A Review of the Effects of Non-Straw Enrichment on Tail Biting in Pigs
    Buijs, Stephanie
    Muns, Ramon
    [J]. ANIMALS, 2019, 9 (10):
  • [4] Behaviour recognition of pigs and cattle: Journey from computer vision to deep learning
    Chen, Chen
    Zhu, Weixing
    Norton, Tomas
    [J]. COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2021, 187 (187)
  • [5] Recognition of aggressive episodes of pigs based on convolutional neural network and long short-term memory
    Chen, Chen
    Zhu, Weixing
    Steibel, Juan
    Siegford, Janice
    Wurtz, Kaitlin
    Han, Junjie
    Norton, Tomas
    [J]. COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2020, 169
  • [6] A kinetic energy model based on machine vision for recognition of aggressive behaviours among group-housed pigs
    Chen Chen
    Zhu Weixing
    Guo Yizheng
    Ma Changhua
    Huang Weijia
    Ruan Chengzhi
    [J]. LIVESTOCK SCIENCE, 2018, 218 : 70 - 78
  • [7] Stocking density affects welfare indicators of growing pigs of different group sizes after regrouping
    Fu, Lingling
    Li, Huizhi
    Liang, Tingting
    Zhou, Bo
    Chu, Qingpo
    Schinckel, Allan P.
    Yang, Xiaojing
    Zhao, Ruqian
    Li, Pinghua
    Huang, Ruihua
    [J]. APPLIED ANIMAL BEHAVIOUR SCIENCE, 2016, 174 : 42 - 50
  • [8] Recognition of aggressive behavior of group-housed pigs based on CNN-GRU hybrid model with spatio-temporal attention mechanism
    Gao, Yue
    Yan, Kai
    Dai, Baisheng
    Sun, Hongmin
    Yin, Yanling
    Liu, Runze
    Shen, Weizheng
    [J]. COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2023, 205
  • [9] Automatic monitoring and detection of tail-biting behavior in groups of pigs using video-based deep learning methods
    Hakansson, Franziska
    Jensen, Dan Borge
    [J]. FRONTIERS IN VETERINARY SCIENCE, 2023, 9
  • [10] Deep Residual Learning for Image Recognition
    He, Kaiming
    Zhang, Xiangyu
    Ren, Shaoqing
    Sun, Jian
    [J]. 2016 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2016, : 770 - 778