Frontiers in Animal Science (Apr 2023)

Classification of behaviors of free-ranging cattle using accelerometry signatures collected by virtual fence collars

  • Erik Versluijs,
  • Laura J. Niccolai,
  • Mélanie Spedener,
  • Barbara Zimmermann,
  • Anna Hessle,
  • Morten Tofastrud,
  • Olivier Devineau,
  • Alina L. Evans

DOI
https://doi.org/10.3389/fanim.2023.1083272
Journal volume & issue
Vol. 4

Abstract

Read online

Precision farming technology, including GPS collars with biologging, has revolutionized remote livestock monitoring in extensive grazing systems. High resolution accelerometry can be used to infer the behavior of an animal. Previous behavioral classification studies using accelerometer data have focused on a few key behaviors and were mostly conducted in controlled situations. Here, we conducted behavioral observations of 38 beef cows (Hereford, Limousine, Charolais, Simmental/NRF/Hereford mix) free-ranging in rugged, forested areas, and fitted with a commercially available virtual fence collar (Nofence) containing a 10Hz tri-axial accelerometer. We used random forest models to calibrate data from the accelerometers on both commonly documented (e.g., feeding, resting, walking) and rarer (e.g., scratching, head butting, self-grooming) behaviors. Our goal was to assess pre-processing decisions including different running mean intervals (smoothing window of 1, 5, or 20 seconds), collar orientation and feature selection (orientation-dependent versus orientation-independent features). We identified the 10 most common behaviors exhibited by the cows. Models based only on orientation-independent features did not perform better than models based on orientation-dependent features, despite variation in how collars were attached (direction and tightness). Using a 20 seconds running mean and orientation-dependent features resulted in the highest model performance (model accuracy: 0.998, precision: 0.991, and recall: 0.989). We also used this model to add 11 rarer behaviors (each< 0.1% of the data; e.g. head butting, throwing head, self-grooming). These rarer behaviors were predicted with less accuracy because they were not observed at all for some individuals, but overall model performance remained high (accuracy, precision, recall >98%). Our study suggests that the accelerometers in the Nofence collars are suitable to identify the most common behaviors of free-ranging cattle. The results of this study could be used in future research for understanding cattle habitat selection in rugged forest ranges, herd dynamics, or responses to stressors such as carnivores, as well as to improve cattle management and welfare.

Keywords