eLifeNeurosciencePeer-reviewed journal article
DeepEthogram: a machine learning pipeline for supervised behavior classification from raw pixels
James P. BohnslaviD, Nivanthika K. WimalasenaiD, Kelsey J. ClausingiD, Yu DaiiD, David A. YarmolinskyiD, Tomás L. CruziD, Adam D. KashlaniD, M Eugenia ChiappeiD, Lauren L. OreficeiD, Clifford J. WoolfiD, Christopher D. HarveyiD
Abstract
Researchers commonly acquire videos of animal behavior and quantify the prevalence of behaviors of interest to study nervous system function, the effects of gene mutations, and the efficacy of pharmacological therapies. This analysis is typically performed manually and is therefore immensely time consuming, often limited to a small number of behaviors, and variable across researchers. Here, we created DeepEthogram: software that takes raw pixel values of videos as input and uses machine learning to output an ethogram, the set of user-defined behaviors of interest present in each frame of a video. We used convolutional neural network models that compute motion in a video, extract features from motion and single frames, and classify these features into behaviors. These models classified behaviors with greater than 90% accuracy on single frames in videos of flies and mice, matching expert-level human performance. The models accurately predicted even extremely rare behaviors, required little training data, and generalized to new videos and subjects. DeepEthogram runs rapidly on common scientific computer hardware and has a graphical user interface that does not require programming by the end-user. We anticipate DeepEthogram will enable the rapid, automated, and reproducible assignment of behavior labels to every frame of a video, thus accelerating all those studies that quantify behaviors of interest. Code is available at: https://github.com/jbohnslav/deepethogram
- organism: mouse
- organism: Drosophila
- assay: imaging
- research focus: cell type annotation
- approach: machine learning (classical)
- Citations
- 221
- FWCI
- 11.05
- Field percentile
- top 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
- DeepAction: A MATLAB toolbox for automated classification of animal behavior in video
Carl Harris, Kelly R. Finn, … Peter Ulric Tse·Scientific ReportsPeer-reviewed·Feb 15, 2023
- Deep learning based behavioral analysis enables high precision rodent tracking and is capable of outperforming commercial solutions
O. Sturman, L. M. von Ziegler, … J. Bohacek·bioRxiv·Jan 21, 2020
- A Framework for Fast, Large-scale, Semi-Automatic Inference of Animal Behavior from Monocular Videos
E. Price, P. C. Khandelwal, … A. Ahmad·bioRxiv·Jul 31, 2023
- Deep-learning based identification, tracking, pose estimation, and behavior classification of interacting primates and mice in complex environments
Markus Marks, Jin Qiuhan, … Mehmet Fatih Yanik·bioRxiv·Oct 26, 2020
- B-REAL: A keypoint-less behavior platform for offline classification and real-time detection
Eric A. Yttri, Aden Eagle, … Runcheng Li·bioRxiv·Oct 20, 2026
- DLC2Action: A Multimodal Deep Learning-based Toolbox for Automated Behavior Segmentation
Elizaveta Kozlova, Andy Bonnetto, Alexander Mathis·bioRxiv·Sep 27, 2025