Monitoring Multiple Behaviors in Beef Calves Raised in Cow-Calf Contact Systems Using a Machine Learning Approach

Animals (Basel). 2024 Nov 14;14(22):3278. doi: 10.3390/ani14223278.

Abstract

The monitoring of pre-weaned calf behavior is crucial for ensuring health, welfare, and optimal growth. This study aimed to develop and validate a machine learning-based technique for the simultaneous monitoring of multiple behaviors in pre-weaned beef calves within a cow-calf contact (CCC) system using collar-mounted sensors integrating accelerometers and gyroscopes. Three complementary models were developed to classify feeding-related behaviors (natural suckling, feeding, rumination, and others), postural states (lying and standing), and coughing events. Sensor data, including tri-axial acceleration and tri-axial angular velocity, along with video recordings, were collected from 78 beef calves across two farms. The LightGBM algorithm was employed for behavior classification, and model performance was evaluated using a confusion matrix, the area under the receiver operating characteristic curve (AUC-ROC), and Pearson's correlation coefficient (r). Model 1 achieved a high performance in recognizing natural suckling (accuracy: 99.10%; F1 score: 96.88%; AUC-ROC: 0.999; r: 0.997), rumination (accuracy: 97.36%; F1 score: 95.07%; AUC-ROC: 0.995; r: 0.990), and feeding (accuracy: 95.76%; F1 score: 91.89%; AUC-ROC: 0.990; r: 0.987). Model 2 exhibited an excellent classification of lying (accuracy: 97.98%; F1 score: 98.45%; AUC-ROC: 0.989; r: 0.982) and standing (accuracy: 97.98%; F1 score: 97.11%; AUC-ROC: 0.989; r: 0.983). Model 3 achieved a reasonable performance in recognizing coughing events (accuracy: 88.88%; F1 score: 78.61%; AUC-ROC: 0.942; r: 0.969). This study demonstrates the potential of machine learning and collar-mounted sensors for monitoring multiple behaviors in calves, providing a valuable tool for optimizing production management and early disease detection in the CCC system.

Keywords: beef calves; coughing; cow–calf contact systems; inertial measurement unit; machine learning; multiple behaviors; natural suckling.