Predicting Illness for a Sustainable Dairy Agriculture: Predicting and Explaining the Onset of Mastitis in Dairy Cows

Mastitis is a billion dollar health problem for the modern dairy industry, with implications for antibiotic resistance. The use of AI techniques to identify the early onset of this disease, thus has significant implications for the sustainability of this agricultural sector. Current approaches to treating mastitis involve antibiotics and this practice is coming under ever increasing scrutiny. Using machine learning models to identify cows at risk of developing mastitis and applying targeted treatment regimes to only those animals promotes a more sustainable approach. Incorrect predictions from such models, however, can lead to monetary losses, unnecessary use of antibiotics, and even the premature death of animals, so it is important to generate compelling explanations for predictions to build trust with users and to better support their decision making. In this paper we demonstrate a system developed to predict mastitis infections in cows and provide explanations of these predictions using counterfactuals. We demonstrate the system and describe the engagement with farmers undertaken to build it.

[1]  Henk Hogeveen,et al.  Decision-tree induction to detect clinical mastitis with automatic milking , 2010 .

[2]  Franco Turini,et al.  Factual and Counterfactual Explanations for Black Box Decision Making , 2019, IEEE Intelligent Systems.

[3]  M. Powell A Direct Search Optimization Method That Models the Objective and Constraint Functions by Linear Interpolation , 1994 .

[4]  N. Singh,et al.  Relationship of Somatic Cell Count and Mastitis: An Overview , 2011 .

[5]  Carlos Guestrin,et al.  Anchors: High-Precision Model-Agnostic Explanations , 2018, AAAI.

[6]  S. Samarasinghe,et al.  Detection of mastitis and its stage of progression by automatic milking systems using artificial neural networks , 2009, Journal of Dairy Research.

[7]  Tsuyoshi Murata,et al.  {m , 1934, ACML.

[8]  I. Keskin,et al.  Application of neural network and adaptive neuro-fuzzy inference system to predict subclinical mastitis in dairy cattle , 2015 .

[9]  Henk Hogeveen,et al.  Economic aspects of mastitis: New developments , 2011, New Zealand veterinary journal.

[10]  Ruth M. J. Byrne,et al.  Counterfactuals in Explainable Artificial Intelligence (XAI): Evidence from Human Reasoning , 2019, IJCAI.

[11]  Brian Mac Namee,et al.  Extracting Pasture Phenotype and Biomass Percentages using Weakly Supervised Multi-target Deep Learning on a Small Dataset , 2021, ArXiv.

[12]  Freddy Lécué,et al.  Interpretable Credit Application Predictions With Counterfactual Explanations , 2018, NIPS 2018.

[13]  Amina Adadi,et al.  Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI) , 2018, IEEE Access.

[14]  U. Emanuelson,et al.  Comparison of methods for predicting cow composite somatic cell counts. , 2020, Journal of dairy science.

[15]  Tim Miller,et al.  Explanation in Artificial Intelligence: Insights from the Social Sciences , 2017, Artif. Intell..

[16]  H Hogeveen,et al.  Economic effects of bovine mastitis and mastitis management: A review , 2007, The Veterinary quarterly.

[17]  Mark T. Keane,et al.  Predicting Grass Growth for Sustainable Dairy Farming: A CBR System Using Bayesian Case-Exclusion and Post-Hoc, Personalized Explanation-by-Example (XAI) , 2019, ICCBR.

[18]  C. Clark,et al.  Development of a new clinical mastitis detection method for automatic milking systems. , 2018, Journal of dairy science.

[19]  T. Dandekar,et al.  Application of Proteomic Biomarkers in Livestock Disease Management , 2016 .

[20]  R. Byrne Précis of The Rational Imagination: How People Create Alternatives to Reality , 2007, Behavioral and Brain Sciences.

[21]  Chris Russell,et al.  Counterfactual Explanations Without Opening the Black Box: Automated Decisions and the GDPR , 2017, ArXiv.

[22]  Barry Smyth,et al.  Good Counterfactuals and Where to Find Them: A Case-Based Technique for Generating Counterfactuals for Explainable AI (XAI) , 2020, ICCBR.