How to treat mixed behavior segments in supervised machine learning of behavioural modes from inertial measurement data

Yehezkel S. Resheff*, Hanna M. Bensch, Markus Zöttl, Roi Harel, Akiko Matsumoto-Oda, Margaret C. Crofoot, Sara Gomez, Luca Börger, Shay Rotics

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

The application of supervised machine learning methods to identify behavioural modes from inertial measurements of bio-loggers has become a standard tool in behavioural ecology. Several design choices can affect the accuracy of identifying the behavioural modes. One such choice is the inclusion or exclusion of segments consisting of more than a single behaviour (mixed segments) in the machine learning model training data. Currently, the common practice is to ignore such segments during model training. In this paper we tested the hypothesis that including mixed segments in model training will improve accuracy, as the model would perform better in identifying them in the test data. We test this hypothesis using a series of data simulations on four datasets of accelerometer data coupled with behaviour observations, obtained from four study species (Damaraland mole-rats, meerkats, olive baboons, polar bears). Results show that when a substantial proportion of the test data are mixed behaviour segments (above ~ 10%), including mixed segments in machine learning model training improves the accuracy of classification. These results were consistent across the four study species, and robust to changes in segment length, sample size, and degree of mixture within the mixed segments. However, we also find that in some cases (particularly in baboons) models trained with mixed segments show reduced accuracy in classifying test data containing only single behaviour (pure) segments, compared to models trained without mixed segments. Based on these results, we recommend that when the classification model is expected to deal with a substantial proportion of mixed behaviour segments (> 10%), it is beneficial to include them in model training, otherwise, it is unnecessary but also not harmful. The exception is when there is a basis to assume that the training data contains a higher rate of mixed segments than the actual (unobserved) data to be classified—such a situation may occur particularly when training data are collected in captivity and used to classify data from the wild. In this case, excess inclusion of mixed segments in training data should probably be avoided.

Original languageEnglish
Article number44
JournalMovement Ecology
Volume12
Issue number1
DOIs
StatePublished - Dec 2024

Bibliographical note

Publisher Copyright:
© The Author(s) 2024.

Keywords

  • Animal behaviour
  • Bio-logging
  • Body-acceleration
  • Machine learning

Fingerprint

Dive into the research topics of 'How to treat mixed behavior segments in supervised machine learning of behavioural modes from inertial measurement data'. Together they form a unique fingerprint.

Cite this