LabGym: Quantification of user-defined animal behaviors using learning-based holistic assessment

Cell Rep Methods. 2023 Feb 24;3(3):100415. doi: 10.1016/j.crmeth.2023.100415. eCollection 2023 Mar 27.

Abstract

Quantifying animal behavior is important for biological research. Identifying behaviors is the prerequisite of quantifying them. Current computational tools for behavioral quantification typically use high-level properties such as body poses to identify the behaviors, which constrains the information available for a holistic assessment. Here we report LabGym, an open-source computational tool for quantifying animal behaviors without this constraint. In LabGym, we introduce "pattern image" to represent the animal's motion pattern, in addition to "animation" that shows all spatiotemporal details of a behavior. These two pieces of information are assessed holistically by customizable deep neural networks for accurate behavior identifications. The quantitative measurements of each behavior are then calculated. LabGym is applicable for experiments involving multiple animals, requires little programming knowledge to use, and provides visualizations of behavioral datasets. We demonstrate its efficacy in capturing subtle behavioral changes in diverse animal species.

Keywords: Drosophila; automatic categorization; automatic quantification; behavior; deep learning; deep neural network; machine learning; mouse; rat.

Publication types

  • Research Support, N.I.H., Extramural

MeSH terms

  • Animals
  • Behavior, Animal*
  • Computers
  • Motion
  • Neural Networks, Computer*