A layered, hybrid machine learning analytic workflow for mouse risk assessment behavior
Jinxin WangiD, Paniz KarbasiiD, Liqiang WangiD, Julian P. MeeksiD
Abstract
Accurate and efficient quantification of animal behavior facilitates the understanding of the brain. An emerging approach within machine learning (ML) field is to combine multiple ML-based algorithms to quantify animal behavior. These so-called hybrid models have emerged because of limitations associated with supervised (e.g., random forest, RF) and unsupervised (e.g., hidden Markov model, HMM) ML classifiers. For example, RF models lack temporal information across video frames, and HMM latent states are often difficult to interpret. We sought to develop a hybrid model, and did so in the context of a study of mouse risk assessment behavior. We utilized DeepLabCut to estimate the positions of mouse body parts. Positional features were calculated using DeepLabCut outputs and were used to train RF and HMM models with equal number of states, separately. The per-frame predictions from RF and HMM models were then passed to a second HMM model layer ("reHMM"). The outputs of the reHMM layer showed improved interpretability over the initial HMM output. Finally, we combined predictions from RF and HMM models with selected positional features to train a third HMM model ("reHMM+"). This reHMM+ layered hybrid model unveiled distinctive temporal and human-interpretable behavioral patterns. We applied this workflow to investigate risk assessment to trimethylthiazoline and snake feces odor, finding unique behavioral patterns to each that were separable from attractive and neutral stimuli. We conclude that this layered, hybrid machine learning workflow represents a balanced approach for improving the depth and reliability of ML classifiers in chemosensory and other behavioral contexts. Significance StatementIn this study, we integrate two widely-adopted machine learning (ML) classifiers, random forest and hidden Markov model, to develop a layered, hybrid ML-based workflow. Our workflow not only overcomes the intrinsic limitations of each model alone, but also improves the depth and reliability of ML models. Implementing this analytic workflow unveils distinctive and dynamic mouse behavioral patterns to chemosensory cues in the context of mouse risk assessment behavioral experiments. This study provides an efficient and interpretable analytic strategy for the quantification of animal behavior in diverse experimental settings.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 12
- FWCI
- 0.82
- Field percentile
- top 29%
- 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
- Using machine learning to automate the analysis of an olfactory habituation-dishabituation task in mice
Sevda Tomova Boyanova, Manuela H Correa, … Frances K. Wiseman·Brain and BehaviorPeer-reviewed·Jul 28, 2026
- Machine learning goes wild: Using data from captive individuals to infer wildlife behaviour
- 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
- Fear-Mouse Tracker (FMT): An open-source toolkit to track innate defensive behaviors with high precision
Sanket Garg, Gabriela Pino, Claudio Acuna·bioRxiv·Nov 25, 2022
- Dissecting the Complexities of Learning With Infinite Hidden Markov Models
Sebastian A. Bruijns, International Brain Laboratory, … Peter Dayan·bioRxiv·Dec 22, 2023
- Classification of Multiple Emotional States from Facial Expressions in Mice using a Deep Learning-Based Image Analysis
Yudai Tanaka, Takuto Nakata, … Daisuke Ino·PLoS ONEPeer-reviewed·Jul 20, 2023