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.
This tool has been tested with behavior data from Drosophila, mice and rats. Some of the validation was shown in (Hu et al., Cell Rep Methods, 2023).
Hu Y, Ferrario CR, Maitland AD, Ionides RB, Ghimire A, Watson B, Iwasaki K, White H, Xi Y, Zhou J, Ye B: LabGym: Quantification of user-defined animal behaviors using learning-based holistic assessment. Cell Rep Methods.3(3): 100415, 03/2023. PM37056376
Pan G, Li R, Xu G, Weng S, Yang X-L, Yang L, Ye B: Cross-modal modulation gates nociceptive inputs in Drosophila. Curr Biol. 33(7): 1372-1380.e4, 04/2023. PM36893758