Creation of Machine Learning Models Trained on Multimodal Physiological, Behavioural, Blood Biochemical, and Milk Composition Parameters for the Identification of Lameness in Dairy Cows

Lameness remains a significant welfare and productivity challenge in dairy farming, often underdiagnosed due to the limitations of conventional detection methods. Unlike most previous approaches to lameness detection that rely on a single-sensor or gait-based measurement, this study integrates four complementary data domains-behavioural, physiological, biochemical, and milk composition parameters-collected from 272 dairy cows during early lactation to enhance diagnostic accuracy and biological interpretability. The main objective of this study was to evaluate and compare the diagnostic classification performance of multiple machine learning (ML) algorithms trained on multimodal data collected at the time of clinical lameness diagnosis during early lactation, and to identify the most influential physiological and biochemical traits contributing to classification accuracy. Specifically, six algorithms-random forest (RF), neural network (NN), Ensemble, support vector machine (SVM), k-nearest neighbors (KNN), and logistic regression (LR)-were assessed. The input dataset integrated physiological parameters (e.g., water intake, body temperature), behavioural indicators (rumination time, activity), blood biochemical biomarkers (non-esterified fatty acids (NEFA), aspartate aminotransferase (AST), lactate dehydrogenase (LDH), gamma-glutamyl transferase (GGT)), and milk quality traits (fat, protein, lactose, temperature). Among all models, RF achieved the highest validation accuracy (97.04%), perfect validation specificity (100%), and the highest normalized Matthews correlation coefficient (nMCC = 0.94), as determined through Monte Carlo cross-validation on independent validation sets. Lame cows showed significantly elevated NEFA and body temperatures, reflecting enhanced lipid mobilization and inflammatory stress, alongside reduced water intake, milk protein, and lactose content, indicative of systemic energy imbalance and impaired mammary function. These physiological and biochemical deviations emphasize the multifactorial nature of lameness. Linear models like LR underperformed, likely due to their inability to capture the non-linear and interactive relationships among physiological, biochemical, and milk composition features, which were better represented by tree-based and neural models. Overall, the study demonstrates that combining sensor data with blood biomarkers and milk traits using advanced ML models provides a powerful, objective tool for the clinical classification of lameness, offering practical applications for precision livestock management by supporting early, data-driven decision-making to improve welfare and productivity on dairy farms.

Authors

Institutions

Publication Details

Journal
Biosensors
Published
2025-10-31
DOI
https://doi.org/10.3390/bios15110722
Citations
1
Primary Topic
Animal Behavior and Welfare Studies
Type
article
Field-Weighted Citation Impact
2.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Creation of Machine Learning Models Trained on Multimodal Physiological, Behavioural, Blood Biochemical, and Milk Composition Parameters for the Identification of Lameness in Dairy Cows

Mindaugas Televičius, Ramūnas Antanaitis, Karina Džermeikaitė, Vita Riškevičienė et al.
1 citations
Biosensors
Animal Behavior and Welfare Studies
2.35
article

Creation of Machine Learning Models Trained on Multimodal Physiological, Behavioural, Blood Biochemical, and Milk Composition Parameters for the Identification of Lameness in Dairy Cows

Mindaugas Televičius, Ramūnas Antanaitis, Karina Džermeikaitė, Vita Riškevičienė, Greta Šertvytytė, Akvilė Girdauskaitė, Justina Krištolaitytė, Gabija Lembovičiūtė, Samanta Grigė
article en
1 citations

Abstract

Lameness remains a significant welfare and productivity challenge in dairy farming, often underdiagnosed due to the limitations of conventional detection methods. Unlike most previous approaches to lameness detection that rely on a single-sensor or gait-based measurement, this study integrates four complementary data domains-behavioural, physiological, biochemical, and milk composition parameters-collected from 272 dairy cows during early lactation to enhance diagnostic accuracy and biological interpretability. The main objective of this study was to evaluate and compare the diagnostic classification performance of multiple machine learning (ML) algorithms trained on multimodal data collected at the time of clinical lameness diagnosis during early lactation, and to identify the most influential physiological and biochemical traits contributing to classification accuracy. Specifically, six algorithms-random forest (RF), neural network (NN), Ensemble, support vector machine (SVM), k-nearest neighbors (KNN), and logistic regression (LR)-were assessed. The input dataset integrated physiological parameters (e.g., water intake, body temperature), behavioural indicators (rumination time, activity), blood biochemical biomarkers (non-esterified fatty acids (NEFA), aspartate aminotransferase (AST), lactate dehydrogenase (LDH), gamma-glutamyl transferase (GGT)), and milk quality traits (fat, protein, lactose, temperature). Among all models, RF achieved the highest validation accuracy (97.04%), perfect validation specificity (100%), and the highest normalized Matthews correlation coefficient (nMCC = 0.94), as determined through Monte Carlo cross-validation on independent validation sets. Lame cows showed significantly elevated NEFA and body temperatures, reflecting enhanced lipid mobilization and inflammatory stress, alongside reduced water intake, milk protein, and lactose content, indicative of systemic energy imbalance and impaired mammary function. These physiological and biochemical deviations emphasize the multifactorial nature of lameness. Linear models like LR underperformed, likely due to their inability to capture the non-linear and interactive relationships among physiological, biochemical, and milk composition features, which were better represented by tree-based and neural models. Overall, the study demonstrates that combining sensor data with blood biomarkers and milk traits using advanced ML models provides a powerful, objective tool for the clinical classification of lameness, offering practical applications for precision livestock management by supporting early, data-driven decision-making to improve welfare and productivity on dairy farms.

BiosensorsVol. 15(11)
Lithuanian University of Health Sciences (LT)
Openalex Percentile: Top 10%
Animal Behavior and Welfare Studies
2.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.