DeepEthogram, a machine learning pipeline for supervised behavior classification from raw pixels
- PMID: 34473051
- PMCID: PMC8455138
- DOI: 10.7554/eLife.63377
DeepEthogram, a machine learning pipeline for supervised behavior classification from raw pixels
Abstract
Videos of animal behavior are used to quantify researcher-defined behaviors of interest to study neural function, gene mutations, and pharmacological therapies. Behaviors of interest are often scored manually, which is time-consuming, limited to few behaviors, and variable across researchers. We created DeepEthogram: software that uses supervised machine learning to convert raw video pixels into an ethogram, the behaviors of interest present in each video frame. DeepEthogram is designed to be general-purpose and applicable across species, behaviors, and video-recording hardware. It uses convolutional neural networks to compute motion, extract features from motion and images, and classify features into behaviors. Behaviors are classified with above 90% accuracy on single frames in videos of mice and flies, matching expert-level human performance. DeepEthogram accurately predicts rare behaviors, requires little training data, and generalizes across subjects. A graphical interface allows beginning-to-end analysis without end-user programming. DeepEthogram's rapid, automatic, and reproducible labeling of researcher-defined behaviors of interest may accelerate and enhance supervised behavior analysis. Code is available at: https://github.com/jbohnslav/deepethogram.
Keywords: D. melanogaster; behavior analysis; computer vision; deep learning; mouse; neuroscience.
© 2021, Bohnslav et al.
Conflict of interest statement
JB, NW, KC, YD, DY, AK, MC, LO, CW, CH none, TC None
Figures
References
-
- Batty E. Openreview. Behavenet: Nonlinear embedding and bayesian neural decoding of behavioral videos; 2019.
-
- Bohnslav J. Deepethogram. swh:1:rev:ffd7e6bd91f52c7d1dbb166d1fe8793a26c4cb01Software Heritage. 2021 https://archive.softwareheritage.org/swh:1:rev:ffd7e6bd91f52c7d1dbb166d1...
-
- Bradski G. Open Source Computer Vision Library. OpenCV; 2008.
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Other Literature Sources
Molecular Biology Databases
