Classification of Cattle Behaviours Using Neck-Mounted Accelerometer-Equipped Collars and Convolutional Neural Networks.

Journal: Sensors (Basel, Switzerland)
Published Date:

Abstract

Monitoring cattle behaviour is core to the early detection of health and welfare issues and to optimise the fertility of large herds. Accelerometer-based sensor systems that provide activity profiles are now used extensively on commercial farms and have evolved to identify behaviours such as the time spent ruminating and eating at an individual animal level. Acquiring this information at scale is central to informing on-farm management decisions. The paper presents the development of a Convolutional Neural Network (CNN) that classifies cattle behavioural states ('rumination', 'eating' and 'other') using data generated from neck-mounted accelerometer collars. During three farm trials in the United Kingdom (Easter Howgate Farm, Edinburgh, UK), 18 steers were monitored to provide raw acceleration measurements, with ground truth data provided by muzzle-mounted pressure sensor halters. A range of neural network architectures are explored and rigorous hyper-parameter searches are performed to optimise the network. The computational complexity and memory footprint of CNN models are not readily compatible with deployment on low-power processors which are both memory and energy constrained. Thus, progressive reductions of the CNN were executed with minimal loss of performance in order to address the practical implementation challenges, defining the trade-off between model performance versus computation complexity and memory footprint to permit deployment on micro-controller architectures. The proposed methodology achieves a compression of 14.30 compared to the unpruned architecture but is nevertheless able to accurately classify cattle behaviours with an overall F1 score of 0.82 for both FP32 and FP16 precision while achieving a reasonable battery lifetime in excess of 5.7 years.

Authors

  • Dejan Pavlovic
    BioSense Institute, 21101 Novi Sad, Serbia.
  • Christopher Davison
    Department of Electronic and Electrical Engineering, University of Strathclyde, Glasgow G1 1RD, UK.
  • Andrew Hamilton
    Department of Electronic and Electrical Engineering, University of Strathclyde, Glasgow G1 1RD, UK.
  • Oskar Marko
    BioSense Institute, 21101 Novi Sad, Serbia.
  • Robert Atkinson
    Department of Electronic and Electrical Engineering, University of Strathclyde, Glasgow G1 1RD, UK.
  • Craig Michie
    Department of Electronic and Electrical Engineering, University of Strathclyde, Glasgow G1 1RD, UK.
  • Vladimir Crnojević
    BioSense Institute, 21101 Novi Sad, Serbia.
  • Ivan Andonovic
    Department of Electronic and Electrical Engineering, University of Strathclyde, Glasgow G1 1RD, UK.
  • Xavier Bellekens
    Department of Electronic and Electrical Engineering, University of Strathclyde, Glasgow G1 1RD, UK.
  • Christos Tachtatzis
    Department of Electronic and Electrical Engineering, University of Strathclyde, Glasgow G1 1RD, UK.