PT - JOURNAL ARTICLE AU - Wang, Jinxin AU - Karbasi, Paniz AU - Wang, Liqiang AU - Meeks, Julian P. TI - A Layered, Hybrid Machine Learning Analytic Workflow for Mouse Risk Assessment Behavior AID - 10.1523/ENEURO.0335-22.2022 DP - 2023 Jan 01 TA - eneuro PG - ENEURO.0335-22.2022 VI - 10 IP - 1 4099 - http://www.eneuro.org/content/10/1/ENEURO.0335-22.2022.short 4100 - http://www.eneuro.org/content/10/1/ENEURO.0335-22.2022.full SO - eNeuro2023 Jan 01; 10 AB - 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 models. 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 used 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 ML workflow represents a balanced approach for improving the depth and reliability of ML classifiers in chemosensory and other behavioral contexts.