Machine learning goes wild: Using data from captive individuals to infer wildlife behaviours

PLoS One. 2020 May 5;15(5):e0227317. doi: 10.1371/journal.pone.0227317. eCollection 2020.

Abstract

1. Remotely tracking distinct behaviours of animals using acceleration data and machine learning has been carried out successfully in several species in captive settings. In order to study the ecology of animals in natural habitats, such behaviour classification models need to be transferred to wild individuals. However, at present, the development of those models usually requires direct observation of the target animals. 2. The goal of this study was to infer the behaviour of wild, free-roaming animals from acceleration data by training behaviour classification models on captive individuals, without the necessity to observe their wild conspecifics. We further sought to develop methods to validate the credibility of the resulting behaviour extrapolations. 3. We trained two machine learning algorithms proposed by the literature, Random Forest (RF) and Support Vector Machine (SVM), on data from captive red foxes (Vulpes vulpes) and later applied them to data from wild foxes. We also tested a new advance for behaviour classification, by applying a moving window to an Artificial Neural Network (ANN). Finally, we investigated four strategies to validate our classification output. 4. While all three machine learning algorithms performed well under training conditions (Kappa values: RF (0.82), SVM (0.78), ANN (0.85)), the established methods, RF and SVM, failed in classifying distinct behaviours when transferred from captive to wild foxes. Behaviour classification with the ANN and a moving window, in contrast, inferred distinct behaviours and showed consistent results for most individuals. 5. Our approach is a substantial improvement over the methods previously proposed in the literature as it generated plausible results for wild fox behaviour. We were able to infer the behaviour of wild animals that have never been observed in the wild and to further illustrate the credibility of the output. This framework is not restricted to foxes but can be applied to infer the behaviour of many other species and thus empowers new advances in behavioural ecology.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Algorithms
  • Animals
  • Animals, Wild / physiology*
  • Behavior, Animal / physiology*
  • Humans
  • Machine Learning*
  • Neural Networks, Computer
  • Support Vector Machine*

Associated data

  • Dryad/10.5061/dryad.gtht76hh

Grants and funding

The publication of this article was funded by the Open Access Fund of the Leibniz Association. Stiftung Naturschutz Berlin provided funding for telemetry devices and fox traps in the project. The funder had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.