Recognition of aggressive episodes of pigs based on convolutional neural network and long short-term memory

被引:100
作者
Chen, Chen [1 ,2 ]
Zhu, Weixing [1 ]
Steibel, Juan [3 ]
Siegford, Janice [3 ]
Wurtz, Kaitlin [3 ]
Han, Junjie [3 ]
Norton, Tomas [2 ]
机构
[1] Jiangsu Univ, Sch Elect & Informat Engn, Zhenjiang 212013, Jiangsu, Peoples R China
[2] Katholieke Univ Leuven, Div Measure Model & Manage Bioresponses M3 Biores, Kasteelpk Arenberg 30, B-3001 Leuven, Belgium
[3] Michigan State Univ, Dept Anim Sci, Anim Behav & Welf Grp, 3270C Anthony Hall, E Lansing, MI 48824 USA
基金
中国国家自然科学基金; 美国食品与农业研究所;
关键词
Aggression recognition; Convolutional neural network; Long short-term memory; Deep learning; Computer vision; FEATURE-EXTRACTION; MACHINE VISION; BEHAVIORS; CLASSIFICATION;
D O I
10.1016/j.compag.2019.105166
中图分类号
S [农业科学];
学科分类号
09 ;
摘要
Aggression is considered as a major animal welfare problem in commercial pig farming. The aim of this study is to develop a deep learning method based on convolutional neural network (CNN) and long short-term memory (LSTM) to recognise aggressive episodes of pigs. Compared to previous studies of pig behaviours based on deep learning, this study directly process video episodes rather than individual frames. In the experiment, nursery pigs (8/pen) were mixed for 3 days and then 8 h of video was recorded in each day. From these videos, 600 aggressive 2 s-episodes were manually selected and then augmented into 2400 episodes by using horizontal, vertical and diagonal mirroring. From the videos, 2400 non-aggressive 2 s-episodes were also manually selected. 80% of the data were randomly allocated as training set and the remaining 20% as validation set. Firstly, the CNN architecture VGG-16 was used to extract spatial features. These features were then input into LSTM framework to further extract temporal features. Through fully connected layer, the prediction function Softmax was finally used to determine if the current episode is aggression or non-aggression. Using the proposed method, aggressive episodes could be recognised with an accuracy of 97.2%. This result indicates that this method can be used to recognise aggressive episodes of pigs. Additionally, this paper further investigates the validity of this method under the conditions of skipping frames and reducing the episode length. The results show that a frame skipping approach whereby 30 fps is reduced into 15 fps within each 2 s-episode can improve the accuracy into 98.4% and halve the total running time.
引用
收藏
页数:10
相关论文
共 29 条
[1]   Comparative effectiveness of convolutional neural network (CNN) and recurrent neural network (RNN) architectures for radiology text report classification [J].
Banerjee, Imon ;
Ling, Yuan ;
Chen, Matthew C. ;
Hasan, Sadid A. ;
Langlotz, Curtis P. ;
Moradzadeh, Nathaniel ;
Chapman, Brian ;
Amrhein, Timothy ;
Mong, David ;
Rubin, Daniel L. ;
Farri, Oladimeji ;
Lungren, Matthew P. .
ARTIFICIAL INTELLIGENCE IN MEDICINE, 2019, 97 :79-88
[2]   Network characteristics and development of social structure of agonistic behaviour in pigs across three repeated rehousing and mixing events [J].
Buettner, Kathrin ;
Scheffler, Katharina ;
Czycholl, Irena ;
Krieter, Joachim .
APPLIED ANIMAL BEHAVIOUR SCIENCE, 2015, 168 :24-30
[3]   A kinetic energy model based on machine vision for recognition of aggressive behaviours among group-housed pigs [J].
Chen Chen ;
Zhu Weixing ;
Guo Yizheng ;
Ma Changhua ;
Huang Weijia ;
Ruan Chengzhi .
LIVESTOCK SCIENCE, 2018, 218 :70-78
[4]   Image motion feature extraction for recognition of aggressive behaviors among group-housed pigs [J].
Chen, Chen ;
Zhu, Weixing ;
Ma, Changhua ;
Guo, Yizheng ;
Huang, Weijia ;
Ruan, Chengzhi .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2017, 142 :380-387
[5]  
Donahue J, 2015, PROC CVPR IEEE, P2625, DOI 10.1109/CVPR.2015.7298878
[6]   Individual aggressiveness of pigs can be measured and used to reduce aggression after mixing [J].
Erhard, HW ;
Mendl, M ;
Ashley, DD .
APPLIED ANIMAL BEHAVIOUR SCIENCE, 1997, 54 (2-3) :137-151
[7]   Observations on behaviour and skin damage of slaughter pigs and treatment during lairage [J].
Geverink, NA ;
Engel, B ;
Lambooij, E ;
Wiegant, VM .
APPLIED ANIMAL BEHAVIOUR SCIENCE, 1996, 50 (01) :1-13
[8]  
Hochreiter S., 1997, Neural Computation, V9, P1735
[9]   A database of unconstrained Vietnamese online handwriting and recognition experiments by recurrent neural networks [J].
Hung Tuan Nguyen ;
Cuong Tuan Nguyen ;
Pham The Bao ;
Nakagawa, Masaki .
PATTERN RECOGNITION, 2018, 78 :291-306
[10]   FIGHTING BETWEEN UNACQUAINTED PIGS - EFFECTS OF AGE AND OF INDIVIDUAL REACTION PATTERN [J].
JENSEN, P .
APPLIED ANIMAL BEHAVIOUR SCIENCE, 1994, 41 (1-2) :37-52