Machine learning to detect behavioural anomalies in dairy cows under subacute ruminal acidosis - Archive ouverte HAL
Article Dans Une Revue Computers and Electronics in Agriculture Année : 2020

Machine learning to detect behavioural anomalies in dairy cows under subacute ruminal acidosis

Résumé

Sickness behaviour is characterised by a lethargic state during which the animal reduces its activity, sleeps more and at times when normally awake, reduces its feed and water intake, and interacts less with its environment. Subtle modifications in behaviour can materialise just before clinical signs of a disease. Recent sensor developments enable continuous monitoring of animal behaviour, but the shift to abnormal animal activity remains difficult to detect. We explored the use of Machine Learning (ML) to detect abnormal behaviour from continuous monitoring. We submitted 14 cows (Bos taurus) to Sub-Acute Ruminal Acidosis (SARA), a disease known to induce changes in behaviour. Another 14 control cows were not submitted to SARA. We used a ruminal bolus to monitor pH and detect when a cow experienced SARA. We used a positioning system to infer an animal's activity based on its position in relation to specific elements in the barn (feeder, resting area, and alleys). We tested several ML algorithms: K Nearest Neighbours for Regression (KNNR); Decision Tree for Regression (DTR); MultiLayer Perceptron (MLP); Long Short-Term Memory (LSTM); and an algorithm where activity is assumed to be similar from one day to the next. First, we developed ML models to predict activity on a given day from the previous 24 h, considering all cows together. Then, we calculated the error between observed and predicted values for a given cow. Finally, we compared the error to a threshold chosen to optimise the distinction between normal and abnormal values. KNNR performed best, detecting 83% of SARA cases (true-positives), but it also produced 66% of false-positives, which limits its use in practice. In conclusion, ML can help detect anomalies in behaviour. Further improvements could probably be obtained by applying ML on very large datasets at animal rather than group level.
Fichier principal
Vignette du fichier
Wagner 2020 a.pdf (487.74 Ko) Télécharger le fichier
Origine Accord explicite pour ce dépôt
Loading...

Dates et versions

hal-02485077 , version 1 (19-02-2020)

Identifiants

Citer

Nicolas Wagner, Violaine Antoine, Marie-Madeleine Mialon, Romain Lardy, Mathieu Silberberg, et al.. Machine learning to detect behavioural anomalies in dairy cows under subacute ruminal acidosis. Computers and Electronics in Agriculture, 2020, 170, ⟨10.1016/j.compag.2020.105233⟩. ⟨hal-02485077⟩
237 Consultations
778 Téléchargements

Altmetric

Partager

More