Leveraging machine learning and accelerometry to classify animal behaviours with uncertainty
Medha AgarwaliD, Kasim RafiqiD, Ronak MehtaiD, Briana L. AbrahmsiD, Zaïd HarchaouiiD
Abstract
O_LIAnimal-worn sensors have revolutionised the study of animal behaviour and ecology. Accelerometers, which measure changes in acceleration across planes of movement, are increasingly being used in conjunction with machine learning models to classify animal behaviours across taxa and research questions. However, the widespread adoption of these methods faces challenges from imbalanced training data, unquantified uncertainties in model outputs, shifts in model performance across contexts, and noisy classifications in continuous data streams, where predicted behaviours change abruptly within a sequence. C_LIO_LITo address these challenges, we introduce an open-source approach for classifying animal behaviour from raw acceleration data. Our approach integrates machine learning and statistical inference techniques to evaluate and mitigate class imbalances, changes in model performance across ecological settings, and noisy classifications. Importantly, we extend predictions from single behaviour classifications to prediction sets: sets of behaviour labels guaranteed to contain the true behaviour with a pre-specified probability, in a framework analogous to the use of prediction intervals in statistical analyses. C_LIO_LIWe evaluate our approach via simulation and highlight its utility using data collected from a free-ranging large carnivore, African wild dogs (Lycaon pictus), in the Okavango Delta, Botswana. We demonstrate significantly improved predictions along with associated uncertainty metrics in African wild dog behaviour classification, particularly for rare and ecologically important behaviours such as feeding, where correct classifications more than doubled following quality checks and data rebalancing introduced in our pipeline. C_LIO_LIOur approach is applicable across taxa and represents a key step towards advancing the burgeoning use of machine learning to remotely observe around-the-clock behaviours of free-ranging animals. Future work could include the integration of multiple data streams, such as accelerometer, audio, and GPS data, for model training and could be incorporated directly into our pipeline. C_LI
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- FWCI
- 1.38
- Field percentile
- top 19%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Machine learning goes wild: Using data from captive individuals to infer wildlife behaviour
- Classifier architecture and data preprocessing jointly shape accelerometer-based behavioural inference
Loïc Brun, Jonas Mateo Brady Rothrock, … Ebi Antony George·bioRxiv·Feb 18, 2026
- Using accelerometers to infer behaviour of cryptic species in the wild
L. Benoit, N. C. Bonnot, … N. Morellet·bioRxiv·Mar 20, 2023
- Deep learning classification of canine behavior using a single collar-mounted accelerometer: Real-world validation
R. D. Chambers, N. C. Yoder, … S. Lyle·bioRxiv·Dec 14, 2020
- Impact of cross-validation designs on cattle behavior prediction using machine learning and deep learning models with tri-axial accelerometer data
Jin Wang, Ziwen Yu, … Haipeng Yu·Smart Agricultural TechnologyPeer-reviewed·Oct 10, 2025
- Moving towards more holistic machine learning-based approaches for classification problems in animal studies
Charlotte Christensen, André C. Ferreira, … Damien Roger Farine·Animal BehaviourPeer-reviewed·Nov 19, 2025