Mastitis detection with recurrent neural networks in farms using automated milking systems

被引:12
|
作者
Naqvi, S. Ali [1 ,2 ]
King, Meagan T. M. [3 ,4 ]
Matson, Robert D. [3 ]
DeVries, Trevor J. [3 ]
Deardon, Rob [1 ,5 ]
Barkema, Herman W. [1 ,2 ]
机构
[1] Univ Calgary, Fac Vet Med, Dept Prod Anim Hlth, 3330 Hosp Dr NW, Calgary, AB T2N 4N1, Canada
[2] Univ Calgary, Cumming Sch Med, Dept Community Hlth Sci, Calgary, AB, Canada
[3] Univ Guelph, Ontario Agr Coll, Dept Anim Biosci, Guelph, ON, Canada
[4] Univ Manitoba, Fac Agr & Food Sci, Dept Anim Sci, Winnipeg, MB, Canada
[5] Univ Calgary, Fac Sci, Dept Math & Stat, Calgary, AB, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Mastitis; Detection; Robotic milking systems; Neural networks; Dairy; ELECTRICAL-CONDUCTIVITY; SUBCLINICAL MASTITIS; ANTIBIOTIC-TREATMENT; CLINICAL MASTITIS; HEALTH DISORDERS; BOVINE MASTITIS; DAIRY-COWS; DIAGNOSIS; PRODUCTIVITY; BEHAVIOR;
D O I
10.1016/j.compag.2021.106618
中图分类号
S [农业科学];
学科分类号
09 ;
摘要
Mastitis is the most important disease in the dairy industry. With widespread adoption of automated milking systems (AMS) in Canada, there is an increasing need for automated detection of mastitis in AMS farms. The main objective of this study was to develop a recurrent neural network (RNN) model for the detection of clinical mastitis (CM) in dairy cows on farms using AMS. Producer-recorded treatment records and AMS data were collected over 3 time periods from a total of 89 dairy farms in 7 provinces across Canada. In addition to developing effective models for the detection of CM, our study also evaluated different windows around the day of diagnosis when the cow would be considered CM-positive to guide practical implementation of models. We also compared numerous subsets of variables including milk and behavioural characteristics, cow traits and farmlevel/environmental variables to determine their importance and impact on model performance. Data were randomly divided into a training and a hold-out test set, consisting of all records from 66 and 23 farms, respectively. A 10-fold internal cross-validation was also employed on the training set for model development. When comparing different windows of time around diagnosis, considering animals as CM-positive for 3 d prior to recorded diagnosis resulted in the most timely and effective detection of CM with a per-case sensitivity of 89.8% (range: 83.3-96.0%), and per-day specificity of 84.3% (range: 83.4-85.8%) over the validation folds. These levels of sensitivity and specificity were achieved when using all recorded variables and their daily variances, although the inclusion of behavioural variables and farm-level/environmental variables provided marginal performance improvement over using milk traits alone. Performance of the model was worse on the hold-out test set with a per-case sensitivity of 83.5% (range: 77.9-86.3%) and a per-day specificity of 80.4 % (range: 78.1-82.4%), likely due to farm-specific heterogeneity not encountered in the training data. Over 90% of cases of severe CM (defined by an increase in milk temperature over the pre-CM baseline) were identified by the model, indicating effective performance for the detection of CM requiring the most immediate treatment. Somatic cell count, daily variance in milking interval and milk temperature were identified as the 3 most important variables defined by their impact on model predictions. In addition to milking traits, 8 of the top 20 variables were behavioural measurements, suggesting they can play a role in the detection of CM. Daily variances also represented 8 of the 20 most important variables indicating that CM onset may be associated with sudden, within-day changes in the animal. In conclusion, this study demonstrates that RNNs are able to effectively detect CM by integrating a number of variables that are regularly measured on AMS farms but have typically been excluded from CM detection models.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] Automated mastitis detection for robotic milking systems using deep learning and recurrent neural networks.
    King, M. T. M.
    Naqvi, S. A.
    Champigny, M.
    Deardon, R.
    Barkema, H. W.
    DeVries, T. J.
    [J]. JOURNAL OF DAIRY SCIENCE, 2019, 102 : 95 - 95
  • [2] Detection of mastitis and its stage of progression by automatic milking systems using artificial neural networks
    Sun, Zhibin
    Samarasinghe, Sandhya
    Jago, Jenny
    [J]. JOURNAL OF DAIRY RESEARCH, 2010, 77 (02) : 168 - 175
  • [3] An Automated Fall Detection System Using Recurrent Neural Networks
    Luna-Perejon, Francisco
    Civit-Masot, Javier
    Amaya-Rodriguez, Isabel
    Duran-Lopez, Lourdes
    Dominguez-Morales, Juan Pedro
    Civit-Balcells, Anton
    Linares-Barranco, Alejandro
    [J]. ARTIFICIAL INTELLIGENCE IN MEDICINE, AIME 2019, 2019, 11526 : 36 - 41
  • [4] Multivariable time series classification for clinical mastitis detection and prediction in automated milking systems
    Fan, X.
    Watters, R. D.
    Nydam, D., V
    Virkler, P. D.
    Wieland, M.
    Reed, K. F.
    [J]. JOURNAL OF DAIRY SCIENCE, 2023, 106 (05) : 3448 - 3464
  • [5] Anomaly Detection in Cyber Physical Systems using Recurrent Neural Networks
    Goh, Jonathan
    Adepu, Sridhar
    Tan, Marcus
    Shan, Lee Zi
    [J]. 2017 IEEE 18TH INTERNATIONAL SYMPOSIUM ON HIGH ASSURANCE SYSTEMS ENGINEERING (HASE 2017), 2017, : 140 - 145
  • [6] Using cow-specific risks to support the detection of clinical mastitis on farms with an automatic milking system
    Steeneveld, W.
    van der Gaag, L. C.
    Barkema, H. W.
    Hogeveen, H.
    [J]. MASTITIS CONTROL: FROM SCIENCE TO PRACTICE, 2008, : 370 - 370
  • [7] Milk losses linked to mastitis treatments at dairy farms with automatic milking systems
    Adriaens, Ines
    Van Den Brulle, Igor
    Geerinckx, Katleen
    D'Anvers, Lore
    De Vliegher, Sarne
    Aernouts, Ben
    [J]. PREVENTIVE VETERINARY MEDICINE, 2021, 194
  • [8] Early Detection Method for Subclinical Mastitis in Auto Milking Systems Using Machine Learning
    Motohashi, Haruka
    Ohwada, Hayato
    Kubota, Chikara
    [J]. PROCEEDINGS OF 2020 IEEE 19TH INTERNATIONAL CONFERENCE ON COGNITIVE INFORMATICS & COGNITIVE COMPUTING (ICCI*CC 2020), 2020, : 76 - 83
  • [9] Surface Defect Detection for Automated Inspection Systems using Convolutional Neural Networks
    Konrad, Thomas
    Lohmann, Lutz
    Abel, Dirk
    [J]. 2019 27TH MEDITERRANEAN CONFERENCE ON CONTROL AND AUTOMATION (MED), 2019, : 75 - 80
  • [10] Automated fault detection and classification of etch systems using modular neural networks
    Hong, SJ
    May, GS
    Yamartino, J
    Skumanich, A
    [J]. DATA ANALYSIS AND MODELING FOR PROCESS CONTROL, 2004, 5378 : 134 - 141