Porcine lie detectors: Automatic quantification of posture state and transitions in sows using inertial sensors

Comput Electron Agric. 2016 Sep:127:521-530. doi: 10.1016/j.compag.2016.07.017.

Abstract

This paper presents a novel approach to automated classification and quantification of sow postures and posture transitions that may enable large scale and accurate continuous behaviour assessment on farm. Automatic classification and quantification of postures and posture transitions in domestic animals has substantial potential to enhance their welfare and productivity. Analysis of such behaviours in farrowing sows can highlight the need for human intervention or lead to the prediction of movement patterns that are potentially dangerous for their piglets, such as crushing when the sow lies down. Data were recorded by a tri-axial accelerometer secured to the hind-end of each sow, in a deployment that involved six sows over the period around parturition. The posture state (standing, sitting, lateral and sternal lying) was automatically classified for the full dataset with a mean F1 score (a measure of predictive performance between 0 and 1) of 0.78. Sitting was shown to present a greater challenge to classification with a F1 score of 0.54, compared to the lateral lying postures, which were classified with an average F1 score of 0.91. Posture transitions were detected with a F1 score of 0.79. We automatically extracted and visualized a range of features that characterise the manner in which the sows changed posture in order to provide comparative descriptors of sow activity and lying style that can be used to assess the influence of genetics or housing design. The methodology presented in this paper can be applied in large scale deployments with potential for enhancing animal welfare and productivity on farm.

Keywords: Accelerometer; Activity recognition; Computational behaviour assessment; Farrowing; Support Vector Machine.