A circadian behavioral analysis suite for real-time classification of daily rhythms in complex behaviors

Logan J. Perry,Blanca E. Perez,Larissa Rays Wahba,KL Nikhil,Ashley N. Starnes,William C. Lenzen,Jeff R. Jones
DOI: https://doi.org/10.1101/2024.02.23.581778
2024-02-28
Abstract:Measuring animal behavior over long timescales has been traditionally limited to behaviors that are easily measurable with real-time sensors. More complex behaviors have been measured over time, but these approaches are considerably more challenging due to the intensive manual effort required for scoring behaviors. Recent advances in machine learning have introduced automated behavior analysis methods, but these often overlook long-term behavioral patterns and struggle with classification in varying environmental conditions. To address this, we developed a novel pipeline to automate pre-existing machine learning behavior classifiers and a novel attentive long short-term memory sequencing model for robust, long-term analysis of behavior. Our system automatically classifies nine home cage behaviors with a performance approaching that of expert-level human labelers. Critically, classification occurs continuously, across multiple animals, and in real time. As a proof-of-concept, we used our system to record behaviors from 97 mice over two weeks to test the hypothesis that sex and estrogen influence circadian rhythms in home cage behaviors. We discovered novel sex- and estrogen-dependent differences in circadian properties of several behaviors including digging and nesting rhythms. We present a generalized version of our pipeline and novel sequencing model, the “circadian behavioral analysis suite,” (CBAS) as a user-friendly, open-source software package that allows researchers to automatically acquire and analyze behavioral rhythms with a throughput that rivals sensor-based methods, allowing for the temporal and circadian analysis of behaviors that were previously difficult or impossible to observe.
Animal Behavior and Cognition
What problem does this paper attempt to address?