bioRxivAnimal Behavior & CognitionPreprint
Classifier architecture and data preprocessing jointly shape accelerometer-based behavioural inference
Loïc BruniD, Jonas Mateo Brady RothrockiD, Erica van de WaaliD, Ebi Antony GeorgeiD
Abstract
O_LIAlthough the use of accelerometer-based behavioural classification to quantify animal activity budgets is gaining widespread traction, the interactions between key preprocessing decisions and modern classification algorithms remain poorly understood. Moreover, classification pipelines are commonly assessed using global performance metrics, despite increasing evidence that such metrics poorly reflect behaviour-specific patterns and ecological reliability. C_LIO_LIUsing a free-ranging primate (Chlorocebus pygerythrus) as a case study, we benchmarked how temporal segmentation (burst length), collar orientation correction, and model architecture jointly shape behavioural inference. We compared nine supervised algorithms spanning classical machine learning, feature-based deep learning including a tabular foundation model (TabPFN), and state of the art time-series architectures (HydraMultiROCKET). Beyond conventional metrics, performance was further evaluated using ecological validation against independent focal observations to assess model stability and biological plausibility. C_LIO_LIModel architecture exerted the strongest influence on classification outcomes. Modern deep-learning approaches substantially outperformed classical models, doubling recall for rare behaviours (e.g., grooming, self-scratching) without compromising precision. In contrast, burst length and collar orientation correction had little effect on global metrics but produced substantial, behaviour-specific trade-offs. Shorter bursts improved the detection of rare events by increasing training instances, while orientation correction suppressed dataset-specific artifacts at the cost of degrading common behaviours. Crucially, models with similar global and behaviour-level validation metrics produced divergent predictions when applied outside the annotated context. C_LIO_LIOur findings reveal that global metrics are insufficient for optimizing behavioural inference in complex wild systems. We demonstrate that modern deep-learning architectures, such as the ROCKET family, provide a robust, accessible baseline that handles class imbalance more effectively than traditional methods. We propose that reliable inference requires behaviour-aware evaluation frameworks that integrate ecological validation, and advocate for ensemble or hierarchical strategies to leverage the complementary strengths of different preprocessing and modelling configurations. C_LI
- organism: non-human primate
- assay: imaging
- research focus: cell type annotation
- approach: deep learning
- approach: statistical model
- Citations
- 1
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
- Leveraging machine learning and accelerometry to classify animal behaviours with uncertainty
Medha Agarwal, Kasim Rafiq, … Zaïd Harchaoui·Methods in Ecology and EvolutionPeer-reviewed·Dec 8, 2025
- 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
- Machine learning goes wild: Using data from captive individuals to infer wildlife behaviour
- A simple method to classify behaviours of aerial predators using tri-axial high-frequency accelerometers
Daniel García‐Silveira, Simon Benhamou, … Javier Bustamante·bioRxiv·Feb 1, 2025
- ASBAR: an Animal Skeleton-Based Action Recognition framework. Recognizing great ape behaviors in the wild using pose estimation
M. Fuchs, E. Genty, … P. Cotofrei·bioRxiv·Sep 24, 2023