Action detection using machine learning models
Patent Information
- Application Number
- JP2023516504
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-09-16
- Filing Date
- 2021-09-16
- Publication Date
- 2024-09-25
- Estimated Expiration
- 2041-09-16
AI Technical Summary
Current methods for analyzing complex animal behaviors, such as mouse grooming, are limited by high costs of dataset organization and annotation, strict implementation requirements, and lack of robustness to environmental variations, leading to inefficiencies in automated behavioral analysis.
A computer-implemented method using multiple machine learning models and video processing techniques to identify and classify predetermined behavioral actions in subjects, including grooming, by rotating and reflecting video frames to enhance prediction accuracy and robustness across different orientations and physical characteristics.
The method achieves high accuracy in detecting and classifying complex behaviors like grooming, outperforming existing systems, and provides ethograms that accurately represent behavioral patterns, enabling effective assessment of genetic and environmental influences on behavior.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical Field]
[0001] Related applications This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application No. 63 / 078,952, filed on 16 September 2020, the disclosure of which is incorporated herein by reference in its entirety.
[0002] In some aspects, the present invention relates to the use of neural networks for detecting target actions, and in part, for use in evaluating genetic variations.
[0003] Government subsidies This invention was made with government funding under DA041668 and DA048634, awarded by the National Institutes of Health. The government has certain rights in this invention. [Background technology]
[0004] Behavior, the primary output of the nervous system, is complex, hierarchical, dynamic, and high-dimensional (Gomez-Marin, et al., 2014 Nature Neuroscience 17(11):1455-1462). Modern approaches to analyzing neuronal function require behavioral analysis with high temporal and spatial resolution. Achieving this is a time-consuming task, and its automation remains a challenging problem in behavioral neuroscience. While some efforts have been made to integrate methods in the fields of computer vision and modern neural network approaches, there are few aspects of behavioral biological research that leverage neural network approaches. This lack of application is often attributed to the high cost of organizing and annotating datasets or to stringent performance requirements. Nevertheless, behavioral recognition in complex environments remains an unresolved challenge in the machine learning community, and the mobility of proposed solutions for behavioral neuroscience remains unresolved.
[0005] Behavioral neuroscientists have traditionally employed several methods to classify mouse behavior. Simple behaviors, such as mouse rearing, can be classified using physical measuring devices that detect when a mouse crosses a certain height. For more complex psychiatric constructs, such as motivation, the operational behavior paradigm is used. Open-source systems like JAABA [Kabra et al., 2013 Nature methods. 2013;10(1):64.] are used by researchers to train their own machine learning classifiers for complex behaviors using movement and other measurements [Van den Boom, et al., 2017 J. Neuroscience Methods 289:48-56]. These systems are inherently limited by the available measurements, the standard measurements available only include mass tracking centers, which severely restricts the types of behaviors that can be reliably classified. For mice, more modern systems integrate floor vibration measurement and depth imaging techniques to enhance behavioral detection [Quinn et al., 2003 J. Neurosci. Methods; 130(1):83-92 and Hong et al., 2015 PNAS; 112(38):E5351-E5360]. While some efforts have been made to automate grooming annotation using machine learning classifiers, prior art is not robust to animal fur color, lighting conditions, and equipment location [Van den Boom, et al., 2017 J. Neuroscience Methods 289:48-56].Recent advances in computer vision also offer general-purpose solutions for markerless tracking in laboratory animals [Mathis et al., 2018 Nature neuroscience. 2018;21(9):1281; Pereira et al., 2019 Nature methods. 2019;16(1):117-125]. However, examples such as human action detection leaderboards suggest that while pose estimation approaches are powerful, they routinely fall short of end-to-end solutions that utilize raw video input for action classification [Feichtenhofer et al. 2019 Proceedings of the IEEE International Conference on Computer Vision; 2019.p.6202-6211; Choutas et al., 2018 Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018.p.7024-7033].
[0006] Previous attempts to directly manipulate visual data were limited to unsupervised behavioral clustering approaches [Todd et al., 2017 Physical Biology 14(1):015002]. These efforts have included limitations on environmental controls that are crucial for the algorithms to function. Various preceding systems rely heavily on data alignment from a top-down view [Berman et al., 2014 J. of The Royal Society Interface 11(99):20140672; Wiltschko et al., 2015 Neuron 88(6):1121-1135]. While these approaches can cluster similar video segments, the labeling of behaviors within the resulting clusters is still determined by the user and is thus significantly limited. [Overview of the Initiative]
[0007] According to one aspect of the present invention, a computer implementation method is provided, the method comprising: receiving video data representing video capturing the movement of an object; identifying a first set of frames from the video data; determining a rotated set of frames by rotating the first set of frames; processing the first set of frames using a first trained model configured to identify the likelihood of an object exhibiting a predetermined action; determining a first probability of an object exhibiting a predetermined action in a first frame of the first set of frames, where the first frame corresponds to the time duration of the video data, based on the processing of the first set of frames by the first trained model; processing the rotated set of frames using the first trained model; determining a second probability of an object exhibiting a predetermined action in a second frame of the rotated set of frames, where the second frame corresponds to the time duration of the first frame, based on the processing of the rotated set of frames by the first trained model; and identifying a label for the first frame using the first and second probabilities, where the first label indicates that the object exhibits a predetermined action. In some embodiments, the method also includes processing a first set of frames using a second trained model configured to identify the likelihood of an object exhibiting a predetermined action; determining a third probability of an object exhibiting a predetermined action within the first frame based on the processing of the first set of frames by the second trained model; processing a rotated set of frames using the second trained model; determining a fourth probability of an object exhibiting a predetermined action within the second frame based on the processing of the rotated set of frames by the second trained model; and identifying a first label using the first, second, third, and fourth probabilities.In certain embodiments, the method also includes determining a set of reflected frames by reflecting a first set of frames; processing the set of reflected frames using a first trained model; determining a third probability of an object exhibiting a predetermined behavioral action in a third frame of the set of reflected frames, where the third frame corresponds to the first frame, based on the processing of the set of reflected frames by the first trained model; and identifying a first label using the first, second, and third probabilities. In some embodiments, the predetermined behavioral action includes grooming behavior. In some embodiments, the predetermined behavioral action includes only one or more grooming behaviors. In certain embodiments, the object is a mouse. In certain embodiments, the object is a mammal, optionally a rodent, and the predetermined behavior includes grooming behaviors, including at least one of licking the feet, washing one side of the face, washing both sides of the face, and licking the flanks. In some embodiments, the first set of frames represents a portion of video data over a period of time, where the first frame is the last time frame of that period.In some embodiments, the method also includes identifying a second set of frames from video data; determining a second rotated set of frames by rotating the second set of frames; processing the second set of frames using a first trained model; determining a third probability that an object exhibits a predetermined action within a third frame of the second set of frames, based on the processing of the second set of frames by the first trained model; processing the second rotated set of frames using the first trained model; determining a fourth probability that an object exhibits a predetermined action within a fourth frame of the rotated set of frames, where the fourth frame corresponds to the third frame, based on the processing of the second rotated set of frames by the first trained model; and identifying a second label for the fourth frame using the third and fourth probabilities, wherein the first label indicates that the object exhibits a predetermined action. In certain embodiments, the method also includes generating an etogram representing a predetermined action of an object over a period of time using at least a first and a second label. In certain embodiments, the first trained model is a machine learning classifier. In some embodiments, the method also includes receiving training data comprising a first plurality of video frames and a second plurality of video frames, wherein each of the first plurality of video frames is associated with a positive label indicating that an object is performing a predetermined behavioral action, and each of the second plurality of video frames is associated with a negative label indicating that an object is performing a behavioral action other than the predetermined behavioral action; and processing the training data with a first set of model parameters and model data of a first classifier to determine a first trained model. In some embodiments, the first plurality of frames and the second plurality of frames represent the movement of a plurality of objects, and one of the objects includes one or more pre-identified physical characteristics.In certain embodiments, the pre-identified physical characteristics are one or more of the following: body shape, body size, coat color, sex, age, and disease or disorder phenotype. In some embodiments, the disease or disorder is a genetic disorder, injury, or infectious disease. In some embodiments, the first and second sets of frames represent the movement of one mouse in a set of mouse subjects having different coat colors, sexes, body shapes, and sizes. In certain embodiments, the subjects are mammals. In some embodiments, the subjects are genetically engineered subjects, and are optionally genetically engineered rodents. In some embodiments, the subjects are genetically engineered mice.
[0008] In another aspect of the present invention, a computer implementation method is provided, the method comprising: receiving video data representing video capturing the movement of an object; identifying a first set of frames from the video data; processing the first set of frames using a first trained model configured to identify the likelihood of an object exhibiting a predetermined action; determining a first probability of an object exhibiting a predetermined action within a first frame of the first set of frames based on the processing of the first set of frames by the first trained model; processing the first set of frames using a second trained model configured to identify the likelihood of an object exhibiting a predetermined action; determining a second probability of an object exhibiting a predetermined action within a first frame based on the processing of the first set of frames by the second trained model; and identifying a first label for the first frame using the first and second probabilities, wherein the first label indicates that the object exhibits a predetermined action. In a particular embodiment, the method includes: determining a set of rotated frames by rotating a first set of frames; processing the rotated set of frames using a first trained model; determining a third probability of an object exhibiting a predetermined action in a second frame of the rotated set, where the second frame corresponds to the first frame, based on the processing of the rotated set of frames by the first trained model; processing the rotated set of frames using a second trained model; determining a fourth probability of an object exhibiting a predetermined action in the second frame, based on the processing of the rotated set of frames by the second trained model; and identifying a first label using the first, second, third, and fourth probabilities.In certain embodiments, the method also includes: determining a set of reflected frames by reflecting a first set of frames; processing the reflected set of frames using a first trained model; determining a third probability of an object exhibiting a predetermined action in a second frame of the reflected set of frames, where the second frame corresponds to the first frame, based on the processing of the reflected set of frames by the first trained model; processing the reflected set of frames using a second trained model; determining a fourth probability of an object exhibiting a predetermined action in the second frame, based on the processing of the reflected set of frames by the second trained model; and identifying a first label using the first, second, third, and fourth probabilities. In some embodiments, the first and second models are neural network models, where the first model is initialized using a first set of parameters, and the second trained model is initialized using a second set of parameters different from the first set of parameters. In some embodiments, the method also includes processing a first set of frames using a third trained model configured to identify the likelihood of an object exhibiting a predetermined behavioral action; determining a third probability of an object exhibiting the predetermined behavioral action within the first frame based on the processing of the first set of frames by the third trained model; processing a first set of frames using a fourth trained model configured to identify the likelihood of an object exhibiting a predetermined behavioral action; determining a fourth probability of an object exhibiting the predetermined behavioral action within the first frame based on the processing of the first set of frames by the fourth trained model; and identifying a first label using the first, second, third, and fourth probabilities. In some embodiments, the object is a mammal. In certain embodiments, the predetermined behavioral action includes grooming behavior. In some embodiments, the predetermined behavioral action includes behavior other than grooming behavior.In certain embodiments, the subject is a mammal, and the predetermined behavioral actions include grooming behavior, which is at least one of licking the feet, washing one side of the face, washing both sides of the face, and licking the flanks. In some embodiments, the subject is a rodent, and the predetermined behavioral actions include grooming behavior, which is at least one of licking the feet, washing one side of the face, washing both sides of the face, and licking the flanks. In some embodiments, a first set of frames represents a portion of video data over a certain period, and the first frame is the last time frame of that period. In certain embodiments, the method also includes identifying a second set of frames from video data; processing the second set of frames using a first trained model; determining a third probability that an object exhibits a predetermined action within a third frame of the second set of frames, based on the processing of the second set of frames by the first trained model; processing the second set of frames using a second trained model; determining a fourth probability that an object exhibits a predetermined action within a third frame, based on the processing of the second set of frames by the second trained model; and using the third and fourth probabilities, identifying a second label for the third frame, the second label indicating that the object exhibits a predetermined action. In some embodiments, the method also includes generating an etogram representing a predetermined action of an object over a period of time, using at least a first and a second label. In some embodiments, the first and second trained models are machine learning classifiers.In certain embodiments, the method also includes receiving training data comprising a first plurality of video frames and a second plurality of video frames, wherein each of the first plurality of video frames is associated with a positive label indicating that the subject is exhibiting a predetermined behavioral action, and each of the second plurality of video frames is associated with a negative label indicating that the subject is exhibiting a behavioral action other than the predetermined action; processing the training data with a first set of model parameters and first classifier model data to determine a first trained model; and processing the training data with a second set of model parameters and second classifier model data to determine a second trained model. In certain embodiments, the first plurality of frames and the second plurality of frames represent the movement of a plurality of subjects, and one of the subjects includes one or more pre-identified physical characteristics. In some embodiments, the pre-identified physical characteristics are one or more of body shape, body size, fur color, sex, age, and disease or disability phenotypes. In some embodiments, the disease or disability is a genetic disease, injury, or infectious disease. In certain embodiments, the first and second sets of frames represent the movements of a single mouse, with multiple mouse subjects having different fur colors, sexes, body shapes, and sizes. In some embodiments, the subjects are rodents, and optionally mice. In certain embodiments, the subjects are genetically modified subjects.
[0009] According to another aspect of the present invention, a method is provided for evaluating a predetermined behavioral action in a subject, wherein the predetermined behavioral action includes grooming behaviors, at least one of licking the paws, washing one side of the face, washing both sides of the face, and licking the flanks, and the evaluation means includes any embodiment of the computer implementation method described above. In some embodiments, the subject has a predetermined behavior-related disease or disorder and is optionally an animal model of the predetermined behavior-related disease or disorder. In certain embodiments, the subject is a genetically engineered subject. In some embodiments, the subject is a rodent and is optionally a mouse. In some embodiments, the mouse is a genetically engineered mouse. In certain embodiments, the method also includes administering a candidate therapeutic agent to a subject, evaluating a predetermined behavior of the subject after administration of the candidate therapeutic agent, and comparing the post-administration evaluation with a control evaluation of the predetermined behavior, wherein the change in the predetermined behavior after administration compared with the predetermined behavior of the control identifies the effect of the administered candidate therapeutic agent on the predetermined behavior. In some embodiments, the change includes one or more of the onset, increase, cessation, and decrease of the predetermined behavior of the subject. In certain embodiments, the candidate therapeutic agent is administered to the subject before evaluating the predetermined behavior. In some embodiments, the candidate drug is administered to a subject simultaneously with the evaluation of a predetermined behavior. In some embodiments, the control evaluation of the predetermined behavior is an evaluation of the predetermined behavior in a control subject monitored by a computer-implemented method. In some embodiments, the control subject is an animal model of a predetermined behavior-related disorder or disability. In certain embodiments, the predetermined behavior-related disorder or disability is a genetic disorder, injury, or infectious disease. In some embodiments, the predetermined behavior-related disorder or disability is bipolar disorder, dementia, depression, attention deficit hyperactivity disorder, anxiety disorder, developmental disorder, sleep disorder, Alzheimer's disease, Parkinson's disease, or physical injury. In some embodiments, the control subject is not administered the candidate drug. In certain embodiments, the control subject is administered a dose of the candidate drug different from the dose administered to the subject. In some embodiments, the control result is the result of prior monitoring of the subject using a computer-implemented method, and optionally, the prior monitoring of the subject occurs before administration of the candidate drug.In some embodiments, target monitoring identifies a predetermined behavioral disorder or condition of the target. In some embodiments, target monitoring identifies the effectiveness of a candidate therapeutic agent for treating a predetermined behavioral disorder or condition.
[0010] According to another aspect of the present invention, a method is provided for identifying the effectiveness of a candidate therapeutic agent for treating a predetermined behavioral disorder or disability in a subject, the method comprising administering the candidate therapeutic agent to the subject and monitoring one or more predetermined behavioral actions of the subject, wherein the monitoring means comprises a computer implementation method of any embodiment of the aforementioned method, the predetermined behavioral actions include grooming behaviors including at least one of licking a paw, washing one side of the face, washing both sides of the face, and licking a flank, and the results of monitoring showing a change in the predetermined behavior of the subject identify the effectiveness of the candidate therapeutic agent for treating the predetermined behavioral disorder or disability. In certain embodiments, the subject is an animal model of the predetermined behavioral disorder or disability having the predetermined behavioral disorder or disability. In some embodiments, the subject is an animal model of the predetermined behavioral disorder or disability. In certain embodiments, the behavioral disorder or disability is a genetic disorder, injury, or infectious disease. In some embodiments, the behavioral disorder or disability is bipolar disorder, dementia, depression, attention deficit hyperactivity disorder, anxiety disorder, developmental disorder, sleep disorder, Alzheimer's disease, Parkinson's disease, or physical injury. In some embodiments, the subjects are genetically modified subjects. In some embodiments, the subjects are rodents, and optionally mice. In certain embodiments, the mice are genetically modified mice. In some embodiments, the candidate therapeutic agent is administered to the subject before monitoring a predetermined behavior. In some embodiments, the candidate therapeutic agent is administered to the subject simultaneously with monitoring a predetermined behavior. In certain embodiments, the predetermined behavior of the subject to be monitored is compared to a control monitoring of the predetermined behavior, and the control monitoring includes monitoring the predetermined behavior of a control subject using a computer implementation method. In certain embodiments, the control subject is an animal model of a disease or disorder. In some embodiments, the control subject is not administered the candidate therapeutic agent. In some embodiments, the control subject is administered a dose of the candidate therapeutic agent different from the dose administered to the subject. In certain embodiments, the control monitoring involves monitoring a predetermined behavior of the subject using a computer implementation method before administration of the candidate therapeutic agent. In some embodiments, monitoring of the subject identifies the effectiveness of the candidate therapeutic agent for treating a predetermined behavior-related disease or disorder. [Brief explanation of the drawing]
[0011] For a more complete understanding of this disclosure, please refer to the following description in conjunction with the attached drawings.
[0012] [Figure 1] Figure 1 is a conceptual diagram of a system for determining the target behavior according to an embodiment of the present disclosure. [Figure 2] Figure 2 is a conceptual diagram illustrating the process for analyzing target video data and determining the target's behavior according to an embodiment of this disclosure. [Figure 3] Figure 3 is a conceptual diagram illustrating how different sets of frames are processed using different trained models according to embodiments of the present disclosure. [Figure 4] Figure 4 is a conceptual diagram illustrating how different predictions can be processed to determine the final prediction regarding an object exhibiting behavior. [Figure 5] Figure 5 is a conceptual diagram illustrating a system that employs multiple trained models to process different sets of frames. [Figure 6] Figure 6 is a conceptual diagram showing the components for training / configuring a machine learning (ML) model to determine whether a subject exhibits behavior within frames of video data. [Figure 7] Figure 7 is a conceptual diagram of a process for analyzing target video data 104 and detecting target behavior according to an embodiment of the present disclosure. [Figure 8A]Figures 8A–D provide photographs and graphs related to the annotation of mouse grooming behavior. Figure 8A shows that mouse grooming includes a wide variety of postures. Licking the feet, washing the face, licking the flanks, and other syntacticities all contribute to this visually diverse behavior. Figure 8B shows images of grooming etograms for six videos by five different trained annotators (Observers 1–5, shown sequentially from top to bottom for each etogram in each video). Overall, there was very high agreement among the annotators. Figures 8C–D show results quantifying the overlap of agreements among individual annotators. The mean agreement rate among all annotators was 89.13%. [Figure 8B] Same as above. [Figure 8C] Same as above. [Figure 8D] Same as above. [Figure 9A] Figures 9A-C show schematic diagrams that provide additional details about annotator inconsistencies. Figure 9A shows how the types of annotation inconsistencies were categorized into three classes of errors: missed bouts, misaligned positions, and skipped interruptions. Figures 9B-C show the quantification of the error types in Figures 8A-D. Figure 9B shows the total number of frames included in each error category. 37.5% of the frames were missed bouts, 50% were misaligned positions, and 12.4% were skipped interruptions. The error types were not evenly distributed among the annotators, as annotator 2 accounted for the most missed bout frames, annotator 4 accounted for the most misaligned frames, and annotator 1 accounted for the most skipped interruption frames. Figure 9C shows the results of counting the number of occurrences of multiple frames of errors, with a similar distribution observing that 19.2% of calls were missed bouts, 74.6% were misaligned, and 6.3% were skipped interruptions. [Figure 9B] Same as above. [Figure 10A]Figures 10A - C show pie charts and schematic diagrams of embodiments of the present invention. Figure 10A shows the pie chart distribution of a dataset of mouse grooming and the performance of a machine learning algorithm applied to this dataset. A total of 2,637,363 frames were annotated by two different annotators over 1,253 video clips to create this dataset. The outer ring represents the distribution of the training dataset, and the inner ring represents the distribution of the validation dataset. Within each ring, the grey shaded area with triangular markers indicates the annotator agreement for grooming, the grey shaded area without markers indicates the annotator agreement for not grooming, and the light grey shaded area indicates the annotator disagreement. Figure 10B provides a visual explanation of the implemented classification approach. To analyze the entire video, a sliding window of frames was passed through a neural network. The dark grey shading indicates the time spent grooming. The medium grey shading with a star indicates the time spent not grooming. Figure 10C shows how the network takes video input and generates a grooming prediction for a single frame. [Figure 10B] The same as above. [Figure 10C] The same as above. [Figure 11A]Figures 11A - E provide graphs, drawings, and photographs illustrating the dataset validation study. Figure 11A shows the agreement between annotators during dataset creation, compared to the accuracy of the algorithm predicting on this dataset. The machine learning model was compared only to annotations where the annotators agreed. Figure 11B provides receiver operating characteristic (ROC) curves for three machine learning techniques trained on the training set and applied to the validation set. The final neural network model approach achieved a maximum area under the curve (AUC) value of 0.9843402. Markerless, final neural network approach, open circle, neural network 20% training set, open square, JAABA 20% training set. Figure 11C provides a visual explanation of the proposed consensus solution. The 32x consensus approach was used, where four separate models were trained and each given the perspective of eight frames. To combine these predictions, all 32 predictions were averaged. While one perspective from one model might be incorrect, the average prediction using this consensus improved the accuracy. Figures 11D - E provide images of exemplary frames where the model correctly predicted grooming and non - grooming behaviors. [Figure 11B] The same as above. [Figure 11C] The same as above. [Figure 11D] The same as above. [Figure 11E] The same as above. [Figure 12]Figure 12 provides a graph showing the results of an additional ROC curve subset. This graph shows the network performance using different training dataset sizes. The results show that the ROC curve performance increased by up to 1 point as the number of training data samples increased. Graphed curves: white circles, 4-model consensus neural network with time filter; no markers, 4-model consensus neural network; medium gray with asterisks, neural network with 100% training set; triangle markers, neural network with 65% training set; white square markers, neural network with 20% training set; light gray no markers, neural network with 10% training set. [Figure 13A]Figures 13A–E provide graphs of the results verifying the performance of the algorithms segmented by video. The images show clusters of ROC performance for the verification videos using the machine learning approach. Figure 13A shows results where the majority of the verification videos perform well. Figure 13B shows results where some verification videos perform slightly worse. Figure 13C shows results for a verification video where the JAABA approach performs slightly worse than the neural network approach of the present invention. Figure 13D provides results for two verification videos where both machine learning approaches performed poorly. Upon examining these videos, annotated frames for grooming were visually difficult to classify. Figure 13E provides results for seven verification videos where the neural network performed well, but JAABA performed noticeably worse. All videos that do not contain annotated frames for positive grooming are not shown because they did not have an ROC curve. In most graphs, the traces of the time-filtered 4-model consensus neural network and the JAABA 20% training set overlap. In all graphs except graphs 54, 87, 90, 95, 108, 124, and 143, the top / leftmost traces of non-overlapping traces or regions of non-overlapping traces represent a time-filtered 4-model consensus neural network, while the bottom / rightmost traces represent the JAABA 20% training set. In graphs 54, 87, 90, 95, 108, 124, and 143, the top / leftmost non-overlapping trace region represents the JAABA 20% training set, while the bottom / rightmost non-overlapping trace region represents the time-filtered 4-model consensus neural network. [Figure 13B] Same as above. [Figure 13C] Same as above. [Figure 13D] Same as above. [Figure 13E] Same as above. [Figure 14A]Figures 14A and 14B provide graphs showing the results of comparing different consensus modes and temporal smoothing. Figure 14A shows the ROC performance using different consensus modes. All consensus modes provided nearly identical results. Graphed curves: white circle, final neural network approach; no markers; single model; star, consensus of votes; triangle marker, mean presoftmax function consensus; white square marker, maximum presoftmax function consensus; diamond marker, mean consensus; and "X", maximum consensus. Figure 14B shows the results of the temporal filter analysis. [Figure 14B] Same as above. [Figure 15A] Figures 15A–C provide diagrams, graphs, and tables relating to embodiments of the present invention. Figure 15A provides an etogram of exemplary grooming for a single animal. Time is on the x-axis, and shaded bars indicate that the animal was performing grooming behavior during that time. Summaries were calculated in the ranges of 5, 20, and 55 minutes. Figure 15B provides a visual explanation of how grooming pattern phenotypes were defined. Figure 15C provides a table summarizing all behavioral indicators analyzed. The phenotypes were categorized into four groups, including grooming volume, grooming pattern, open field anxiety, and open field activity. [Figure 15B] Same as above. [Figure 15C] Same as above. [Figure 16A]Figures 16A-H provide images of covariate analysis results for subjects with various characteristics, such as sex and season. Figure 16A shows the results comparing male and female subjects. Figure 16B shows the results comparing the testing season for male and female subjects. Figure 16C shows the results comparing the time of day of testing for male and female subjects. Figure 16D shows the results comparing the age in weeks at the time of testing for male and female subjects. Figure 16E shows the results comparing subjects housed in different rooms and the original room. For each room, the strains shown in the graph from left to right are C57BL / 6J F, C57BL / 6J M, C57BL / 6NJ F, and C57BL / 6NJ M. Figure 16F shows the results comparing male and female subjects tested under different lighting levels and lux. Figure 16G shows the results comparing male and female subjects tested with different testers. Figure 16H shows the results of comparing male and female subjects tested using white noise during the test with subjects tested without white noise. [Figure 16B] Same as above. [Figure 16C] Same as above. [Figure 16D] Same as above. [Figure 16E] Same as above. [Figure 16F] Same as above. [Figure 16G] Same as above. [Figure 16H] Same as above. [Figure 17A]Figures 17A–F provide images or results of a lineage survey of grooming phenotypes with representative etograms. Figure 17A shows the lineage survey results against total grooming time. The lines showed a smooth gradient of time spent grooming, with the wild-type lineage showing enrichment at the high level. Figure 17B provides representative etograms showing lines with high and low total grooming time. Figure 17C provides the lineage survey results against the number of grooming bouts. Figure 17D shows a comparative etogram for two lines with different numbers of bouts but similar total time spent grooming. Figure 17E provides the lineage survey results against average grooming bout duration. Figure 17F provides a comparative ethogram for two lines with different average bout lengths but similar total time spent grooming. [Figure 17B] Same as above. [Figure 17C] Same as above. [Figure 17D] Same as above. [Figure 17E] Same as above. [Figure 17F] Same as above. [Figure 18A] Figures 18A and 18B show graphs illustrating the total grooming time and average bout length of different strains over time. Figure 18A shows results indicating a significant difference in total grooming time between wild-type and classical strains (*p<0.05, Mann-Whitney test). Figure 18B shows results indicating that wild-type strains have significantly longer grooming bouts (**p<0.01, Mann-Whitney test). In both graphs, BTBR strains are indicated by triangles. [Figure 18B] Same as above. [Figure 19A]Figures 19A-C provide plots of results showing the correlation between grooming phenotypes. Figure 19A shows the results of a lineage study comparing total grooming time and bout number. Wild-type and BTBR lines showed enrichment due to high grooming but low bout number. Figure 19B provides the results of a lineage study comparing total grooming time and average bout duration. Most lines that groomed more had longer average bout lengths. Figure 19C provides the results of a lineage study comparing bout number and average bout duration. [Figure 19B] Same as above. [Figure 19C] Same as above. [Figure 20-1] Figure 20 provides a graph panel showing clustering for phylogenetic analysis of grooming patterns over time. Three types of grooming patterns in mice in open field were revealed by k-mean clustering of grooming patterns over time. Grooming duration in bins over a 5-minute period is shown over time for both open field experiments (solid lines) and data from individual mice (gray dots). [Figure 20-2] Same as above. [Figure 21] Figure 21 shows the results of k-means clustering. The first two main components from this clustering account for 81.7% of the variance. Three clusters were identified. This allows each lineage to be assigned to one of three types of grooming behavior. [Figure 22A]Figures 22A–D provide graphs, plots, and heatmaps showing genotype / phenotype correlations in grooming and open-field data. Figure 22A provides estimates of the calculated phenotype heritability: triangles, activity; blacked-out squares, anxiety; diamonds, grooming patterns; and dots, grooming amount. Figure 22B is a graph showing the mean genotype correlation of single nucleotide polymorphisms (SNPs) at different LD block sizes, i.e., different genomic distances. Figure 22C provides a Manhattan plot of all combined phenotypes, with shading according to peak SNP clusters, and all SNPs within the same LD block shaded according to the peak SNP. Minimum p-values across all phenotypes for each SNP. Figure 22D is a heatmap of all significant SNPs for all phenotypes. Each row (SNP) is shaded according to the cluster assigned by k-mean clustering. Shading from k-mean clusters is used in Figure 22C. [Figure 22B] Same as above. [Figure 22C] Same as above. [Figure 22D] Same as above. [Figure 23] Figure 23 provides Manhattan plots for individual phenotypes. The plots were prepared from linear mixed model (LMM) results for each SNP genotype using the Wald test for each phenotype. [Figure 24A]Figures 24A-G provide data related to the enrichment of the mammalian phenotypic ontology. Figure 24A shows the results for "neural phenotype" with p=7.5×10⁻⁴, MP:0003631, and 178 genes. Figure 24B shows the results for "pre-weaning lethality" with p=3.5×10⁻³, MP:0010770, and 189 genes. Figure 24C shows the results for "abnormal embryonic development" with p=5.5×10⁻³, MP:0001672, and 62 genes. Figure 24D shows the results for "no abnormal phenotype detected" with p=6.1×10⁻³, MP:0002169, and 102 genes. Figure 24E shows the results for "normal phenotype" with p=6.5×10⁻³, MP:0002873, and 102 genes. Figure 24F shows the results for "embryonic growth retardation" with p=1.1x10⁻², MP:0003984, and 41 genes. Figure 24G shows the results for "prenatal growth retardation" with p=1.4x10⁻², MP:0010865, and 54 genes. [Figure 24B] Same as above. [Figure 24C] Same as above. [Figure 24D] Same as above. [Figure 24E] Same as above. [Figure 24F] Same as above. [Figure 24G] Same as above. [Figure 25-1] Figure 25 provides a diagram showing human-mouse trait relationships through a weighted bipartite network of PheWAS results. The width of the border between gene nodes (black circles) and mental trait nodes is proportional to the association strength (-log10(p-value)). The size of the nodes is proportional to the number of associated genes or traits, and the color of the trait nodes corresponds to the subchapter level in the mental domain. Eight modules were identified and visualized using Gephi 0.9.2 software. [Figure 25-2] Same as above. [Figure 25-3] Same as above. [Figure 25-4] Same as above. [Figure 25-5] Same as above. [Figure 25-6] Same as above. [Figure 25-7] Same as above. [Figure 25-8] Same as above. [Figure 25-9] Same as above. [Figure 26] Figure 26 is a block diagram conceptually illustrating exemplary components of the apparatus according to an embodiment of the present disclosure. [Figure 27] Figure 27 is a block diagram conceptually illustrating exemplary components of a server according to an embodiment of the present disclosure. [Modes for carrying out the invention]
[0013] This invention relates in part to a method and system for classifying behavioral activity, such as grooming behavior in mice, using machine learning models (e.g., neural networks). Grooming represents a fairly biologically significant stereotyped or patterned form of behavior consisting of a series of actions ranging from very small to very large. Grooming is an innate behavior conserved across animal species, including mammals. In rodents, a significant amount of arousal behavior, 20%–50%, consists of grooming [Van deWeerd H. et al., 2001 Behavioural Processes 53(1-2):11-20; Spruijt BM. et al., 1992 Physiology Reviews 72(3):825-852; and Bolles RC. 1960 Journal of Comparative and Physiology Psychology 53(3):306]. Grooming serves many adaptive functions, including hair and body care, stress reduction, non-arousal, social functioning, thermoregulation, nociceptive functioning, and other functions [Spruijt BM. et al., 1992 Physiology Reviews 72(3):825-852; Kalueff AV. et al., Neurobiology of grooming behavior. Cambridge University Press; 2010; and Fentress JC 1988 Annals of the New York Academy of Sciences 525(1):18-26]. Although the neural circuits that regulate grooming behavior have been studied, their function is largely unknown. Patterned activity, including but not limited to grooming behavior, is an endophenotype for many mental disorders. For example, high levels of stereotyped behavior are seen in autism spectrum disorder (ASD), while Parkinson's disease shows an inability to generate patterned behavior [Kalueff AV. et al., Neurobiology of grooming behavior. Cambridge University Press; 2010].Certain embodiments of the present invention can be used for accurate and automated analysis of behavior to assess diseases and conditions. The term “condition” is used herein interchangeably with the term “disorder” (as it relates to behavioral pattern activity) and / or as also referred herein to behavioral pattern activity, for the identification and use of therapeutics for treating diseases and conditions associated with one or more predetermined behaviors.
[0014] This disclosure describes a technique for detecting the behavior of an object by analyzing video data that captures the object's behavior. The system may use multiple machine learning (ML) models to process the video data and generate multiple predictions about whether one or more frames in the video data indicate that the object is exhibiting a defined behavior. These ML models may be configured to detect specific behaviors using training data that includes videos capturing the movement of an object, the training data including labels for each video frame that identify whether the object is exhibiting a specific behavior. Such ML models may be configured using large training datasets. Based on the configuration of the ML models, the system may be configured to detect different behaviors.
[0015] Each ML model that processes video data may be configured with different initialization parameters or settings so that the ML model can have variations in terms of specific model parameters (such as learning speed, weights, and batch size), and therefore yield different predictions (regarding the target action) when processing the same video frame.
[0016] The system may also process different representations of video data that capture the movement of a subject. The system may determine different representations of video data by changing the orientation of the video. For example, one orientation may be determined by rotating the video 90 degrees to the left, another by rotating the video 90 degrees to the right, and yet another by reflecting the video along the horizontal or vertical axis. The system may process video frames in the original captured orientation and other different orientations. Based on the processing of different orientations, the system may determine different predictions (regarding the subject's behavior) over the same period.
[0017] Using the different predictions determined as described above, a final determination can be made as to whether the subject is exhibiting behavior within the video frame. Aspects of this disclosure result in improvements to subject behavior detection. For example, the use of different predictions from multiple ML models and from processing different orientations of video data results in more robust predictions. The system configuration enables the detection of subject behavior in different subjects, even when it changes with respect to physical characteristics (e.g., size, body shape, color, etc.). Furthermore, the techniques described herein can be used to detect different behaviors.
[0018] Figure 1 conceptually illustrates a system 100 that may be used to detect the behavior of an object using video data. System 100 may include an image capture device 101, a device 102, and one or more systems 150, connected across one or more networks 199. The image capture device 101 may be part of, included in, or connected to another device (e.g., device 2600), and may be a camera, a high-speed video camera, or other type of device capable of capturing images and video. In addition to the image capture device, device 101 may include, or instead of, motion detection sensors, infrared sensors, temperature sensors, atmospheric condition detection sensors, and other sensors configured to detect various feature / environmental conditions. Device 102 may be a laptop, desktop, tablet, smartphone, or other type of computing device capable of outputting data, and may also include one or more components described below in relation to device 2600.
[0019] The image capture device 101 may capture a video (or one or more images) of a subject and transmit video data 104 representing the video to the system 150 for processing as described herein. The video may capture the movement of the subject (including the non-moving subject) over a period of time. The system 150 may include one or more components as shown in Figure 1 and may be configured to process the video data 104 to determine the subject's behavior over time. The system 150 may determine output labels 130 associated with one or more frames of the video data 104, the output labels may indicate whether the subject exhibits behavior in each frame. Data representing the output labels 130 may be transmitted to the device 102 for output to the user to observe the results of processing the video data 102.
[0020] The components of System 150 are described below in detail. Various components may be located on the same or different physical devices. Communication between various components may occur directly or via Network 199. Communication between Device 101, System 150, and Device 102 may occur directly or via Network 199. One or more components shown as part of System 150 may be located on Device 102, or on a computing device (e.g., Device 2600) connected to Image Acquisition Device 102.
[0021] System 150 may use the video data 104 to determine multiple sets of frames, where different sets may represent different orientations of the video data. Set of frames 112 may be the original orientation of the video data 104 captured by the image capture device 101. Rotated set of frames 114 may be a rotated orientation of the video data 104; for example, set of frames 112 can be rotated 90 degrees to the left to produce rotated set of frames 114. Reflected set of frames 116 may be a reflected orientation of the video data 104; for example, set of frames 112 may be reflected across the horizontal axis (or rotated 180 degrees) to produce reflected set of frames 116. Rotated set of frames 118 may be another rotated orientation of the video data 104; for example, set of frames 112 can be rotated 90 degrees to the right to produce rotated set of frames 118. In other embodiments, sets of frames 114, 116, and 118 may be generated by manipulating the (original) set of frames 112 in other ways (e.g., reflecting across the vertical axis, rotating by a different degree, etc.). In other embodiments, more or less orientation of the video data may be processed.
[0022] Sets of frames 112, 114, 116, and 118 may correspond to the same period of video data 104. For example, the first set of frames 112, the first rotated set of frames 114, the first reflected set of frames 116, and the first set of frames 118 may correspond to the first period, and the second set of frames 112, the second rotated set of frames 114, the second reflected set of frames 116, and the second set of frames 118 may correspond to the second period, and so on.
[0023] The system 150 may include a video processing component 120 which may be configured to process sets of frames 112, 114, 116, and 118 to determine final prediction data 125. Details of how the video processing component 120 may process the video data 104 are described below in relation to Figures 2-6. The final prediction data 125 may indicate during which frames of the video data 104 the subject exhibits behavior and during which frames of the video data 104 the subject does not exhibit behavior. In some embodiments, the video processing component 120 may be configured to detect when the subject exhibits grooming behavior, which may include licking its paws, washing one side of its face, washing both sides of its face, and licking its flanks.
[0024] In some embodiments, the final prediction 125 may be used to determine the output label 130 so that data associating the output label 130 with the video frame can be sent to device 102 (or multiple devices 102). In other embodiments, the final prediction 125 may be used to determine an etogram representing the subject's behavior during the video data 104.
[0025] Figure 2 is a conceptual diagram illustrating how different sets of frames are processed using a trained model. The video processing component 120 may employ one or more trained models, such as the trained model 210. In some embodiments, the trained model 210 may process a set of frames 112 to generate predictive data 220. The predictive data 220 may be the probability or likelihood of the target action occurring in the video represented by the set of frames 112. The trained model 210 may process a rotated set of frames 114 to generate predictive data 222, which may be the probability or likelihood of the target action occurring in the video represented by the rotated set of frames 114. The trained model 210 may process a rotated set of frames 116 to generate predictive data 224, which may be the probability or likelihood of the target action occurring in the video represented by the rotated set of frames 116. The trained model 210 may process a rotated set of frames 118 to generate predictive data 226, which may be the probability or likelihood of the target action occurring in the video represented by the rotated set of frames 118. In this way, the same trained model 210 can process different orientations of video data to generate different predictions for the movement of the same captured object.
[0026] Figure 3 is a conceptual diagram illustrating how different sets of frames are processed using different trained models. The video processing component 210 may employ another trained model 212. In some embodiments, the trained model 212 may process a set of frames 112 to generate predictive data 240. The predictive data 240 may be the probability or likelihood that an object will exhibit an action in the video represented by the set of frames 112. The trained model 212 may process a rotated set of frames 114 to generate predictive data 242 which may be the probability or likelihood that an object will exhibit an action in the video represented by the rotated set of frames 114. The trained model 212 may process a rotated set of frames 116 to generate predictive data 244 which may be the probability or likelihood that an object will exhibit an action in the video represented by the rotated set of frames 116. The trained model 212 may process a rotated set of frames 118 to generate predictive data 248 which may be the probability or likelihood that an object will exhibit an action in the video represented by the rotated set of frames 118. In this way, another trained model 212 may process different orientations of video data to generate different additional predictions for the movement of the same captured object. The probabilities may be values in the range of 0.0 to 1.0, or values in the range of 0 to 100, or other numerical ranges.
[0027] Each of the prediction data 220, 222, 224, 226, 240, 242, 244, and 246 may be a data vector containing multiple probabilities (or scores), each probability corresponding to a frame 112, 114, 116, and 118 of the set, indicating the likelihood of the target action occurring within the corresponding frame. For example, the prediction data may include a first probability corresponding to the first frame of video data 104, a second probability corresponding to the second frame of video data 104, and so on. Each of the prediction data 220, 222, 224, 226, 240, 242, 244, and 246 may be a different probability of the target action occurring during the video represented within the set of frames 112.
[0028] In some embodiments, the set of frames 112 may include a number of video frames (e.g., 16 frames), where each frame is the duration of the video over a certain period (e.g., 30 milliseconds, 30 seconds, etc.). Each of the trained models 210 and 212 may be configured to process the set of frames 112 to determine the probability that the subject exhibits an action within the last frame of the set of frames. For example, if the set of frames has 16 frames, the output of the trained model would indicate whether or not the subject exhibits an action within the 16th frame of the set of frames. The trained models 210 and 212 may be configured to use contextual information from other frames in the set of frames to make a prediction for the last frame. In other embodiments, the outputs of the trained models 210 and 212 may determine the probability that the subject exhibits an action within another frame of the set of frames (e.g., an intermediate frame, the 8th frame, the first frame, etc.).
[0029] Figure 4 is a conceptual diagram illustrating how different predictions may be processed to determine a final prediction about an object exhibiting behavior. The video processing component 120 may include an aggregation component 230 to process different predictions determined by different trained models (e.g., 210 and 212) using different sets of frames (e.g., 112, 114, 116, and 118) to determine the final prediction data 125. The aggregation component 230 may be configured to integrate, aggregate, or otherwise combine the different prediction data 220, 222, 224, 226, 240, 242, 244, and 246 to determine the final prediction data 125.
[0030] In some embodiments, the aggregation component 230 may average the probabilities of each frame represented in the prediction data 220, 222, 224, 226, 240, 242, 244, and 246, and the final prediction data 125 may be a data vector of the average probabilities of each frame in the video data 104. In some embodiments, the video processing component 120 may determine the output label 130 of a frame based on whether the corresponding average probability of the frame satisfies a condition (e.g., the probability is above a threshold probability / value).
[0031] In other embodiments, the aggregation component 230 may aggregate the probabilities of each frame represented in the prediction data 220, 222, 224, 226, 240, 242, 244, and 246, and the final prediction data 125 may be a data vector of the summed probabilities of each frame in the video data 104. In some embodiments, the video processing component 120 may determine the output label 130 of a frame based on whether the corresponding summed probabilities of the frame satisfy a condition (e.g., the probability exceeds a threshold probability / value).
[0032] In some embodiments, the aggregation component 230 may be configured to select the maximum value (e.g., the highest probability) from the prediction data 220, 222, 224, 226, 240, 242, 244, and 246 for each frame as the final prediction data 125 for the frame. In other embodiments, the aggregation component 230 may be configured to determine the median from the prediction data 220, 222, 224, 226, 240, 242, 244, and 246 for each frame as the final prediction data 125 for the frame.
[0033] In some embodiments, the system 150 may determine the binned value representation of the probabilities in the final prediction data 125. For example, the probability of a value falling within a first range (e.g., 0 to 0.33) may be assigned to a "low" value / label, the probability of a value falling within a second range (e.g., 0.34 to 0.66) may be assigned to a "medium" value / label, and the probability of a value falling within a third range (e.g., 0.67 to 1.0) may be assigned to a "high" value / label. In other embodiments, the binned value representations may be "low," "high low," "medium," "low high," and "high."
[0034] In some embodiments, system 150 may apply a time smoothing filter that exceeds the number of frames (e.g., 46 frames). The time smoothing filter is applied after system 150 has processed the video data 104 so that it can identify frames in which the subject exhibits behavior. Temporal smoothing can be used to correct isolated predictions that may be inaccurate, such as a single frame predicted as "not grooming" within a grooming bout (where the subject exhibits grooming behavior over a certain period, and frames during that period may be labeled as grooming, but one or two frames may be labeled as not grooming). In some embodiments, the temporal smoothing is a functional rolling average of 46 frames to suppress outlier predictions. Alternative time smoothing strategies may also be selected and used in combination with the methods of this disclosure. Figure 5 is a conceptual diagram illustrating a system that employs multiple trained models to process different sets of frames. Figures 2 and 3 show the use of two trained models 210 and 212, as shown in Figure 5, but the video processing component 120 may employ four trained models 210, 212, 214, and 216 in some embodiments. In other embodiments, the video processing component 120 may employ fewer than four or more trained models.
[0035] Each of the trained models 210, 212, 214, and 216 may process each of the sets of frames 112, 114, 116, and 118, and generate 32 different predictions corresponding to the frames, indicating whether the subject is behaving within that frame. As described above, the aggregation component 220 may combine the 32 different predictions to determine the final prediction 125.
[0036] Figure 6 conceptually illustrates the components for training / configuring a machine learning (ML) model to determine whether an object exhibits action within a frame of video data. As described above, system 150 may employ multiple trained models (e.g., 210, 212, 214, and 216). Each of the trained models may be trained separately and use different initialization parameters to produce a different trained model. Depending on how trained models 210, 212, 214, and 216 were trained, each of them may output a different prediction / probability for a frame.
[0037] The model building component 610 may train one or more ML models to determine whether user input is error-prone and when user input should be rephrased. The model building component 610 may train one or more ML models during offline operation to produce one or more trained models. The model building component 610 may train one or more ML models using a training dataset.
[0038] In some embodiments, the ML model is a neural network (e.g., a convolutional neural network, an iterative neural network, a deep learning network, etc.). The model building component 610 may be provided with different initialization parameters to determine different trained models 210, 212, 214, and 216. The initialization parameters may relate to and be defined in relation to one or more of the following: initial weights corresponding to one or more layers of the neural network, biases for one or more layers of the neural network, the learning speed of the ML model, etc. The model building component 610 may be provided with different algorithms or data to determine different trained models 210, 212, 214, and 216. Such algorithms or data may relate to and be defined in relation to one or more of the following: optimization algorithm, loss function, batch size, training data, the order in which the training data is processed, the number of epochs, etc.
[0039] In some embodiments, the ML model is a classifier (which may be a neural network-based classifier). The classifier may be configured to perform binary classification and determine whether an object exhibits an action in a video frame. The classifier may be configured to perform multi-class or polynomial classification and determine whether an object exhibits an action from two or more classes / categories of actions in a video frame. The classifier may be configured to perform multi-label classification and determine whether an object exhibits one or more actions in a video frame.
[0040] In some embodiments, system 150 may include one or more ML models, including but not limited to one or more classifiers, one or more neural networks, one or more probability graphs, one or more decision trees, and others. In other embodiments, system 150 may include a rule-based engine, one or more statistics-based algorithms, one or more mapping functions, or other types of functions / algorithms for detecting the behavior of a target.
[0041] The training dataset 602 may be video data representing the movements of multiple different subjects. In some embodiments, the subjects may be mice, and the training dataset 602 may be videos representing the movements of different mice. The training dataset 602 may include videos of mice of different body sizes, body shapes, fur colors, etc. Thus, the trained models 210, 212, 214, and 216 may be configured to detect the behavior of mouse subjects regardless of the physical characteristics of the mice. The training dataset 602 may include several hours of video data so that the ML models are sufficiently trained. The training dataset 602 may include labeled data (which may also be referred to herein as behavioral actions, behavioral activities, predetermined behavioral activities, or predetermined behavioral actions) that identify which frames in the video show behavior. In some embodiments, the training dataset 602 includes labeled data that identifies when a mouse subject exhibits grooming behavior. In other embodiments, the training dataset 602 may include labeled data that identifies when a subject exhibits another predetermined behavioral action. The methods of the present disclosure can be used to identify and evaluate grooming behavior and can also be used to detect other “active” behaviors that may include movement. Non-exclusive examples of other behaviors that can be detected and evaluated using embodiments of the present disclosure include nurturing behavior, running behavior, jumping behavior, cognitive behavior, conscious behavior, consuming behavior, elimination behavior, affective behavior, impulsive behavior, motor behavior, motivational behavior, play behavior, breeding behavior, social behavior, stress-related behavior, rhythmic behavior, and behavioral regulation.
[0042] Using the training dataset 602 and a first set of initialization parameters, data, and algorithms, the model building component 610 may construct a first trained model 210. Using the training dataset 602 and a second set of initialization parameters, data, and algorithms, the model building component 610 may construct a second trained model 212. Using the training dataset 602 and a third set of initialization parameters, data, and algorithms, the model building component 610 may construct a third trained model 214. Using the training dataset 602 and a fourth set of initialization parameters, data, and algorithms, the model building component 610 may construct a fourth trained model 216. Once constructed, the trained models 210, 212, 214, and 216 may be stored for use during runtime operations in which the video data 104 is processed.
[0043] Figure 7 is a flowchart of a process 700 for analyzing target video data 104 to detect target behavior according to an embodiment of the present disclosure. The steps of the process shown in Figure 7 may be performed by the system 150. In other embodiments, one or more steps of the process may be performed by a computing device associated with device 102 or image capture device 101.
[0044] System 150 receives video data capturing the movement of an object (702). System 150 identifies a set of frames from the video data (e.g., 16 frames) for processing (704). System 150 uses the set of frames to determine a rotated set of frames (706). For example, System 150 may rotate the original set of frames by 90 degrees to determine a corresponding rotated set of frames. System 150 uses the set of frames to determine a reflected set of frames (708). For example, System 150 may reflect the original set of frames across the horizontal axis to determine a corresponding reflected set of frames. System 150 processes the set of frames, the rotated set of frames, and the reflected set of frames using one or more trained models configured to detect an object exhibiting a predetermined action (710). System 150 uses the output of one or more trained models to determine that the object exhibits an action (712).
[0045] subject Some aspects of the present invention involve the use of an automated phenotypic analysis method having a subject. As used herein, the term “subject” may refer to a human, non-human primate, cattle, horse, pig, sheep, goat, dog, cat, bird, rodent, or other suitable vertebrate or invertebrate organism. In certain embodiments of the present invention, the subject is a mammal, and in certain embodiments of the present invention, the subject is a human. In some embodiments, the method of the present invention may be used with rodents, including but not limited to mice, rats, gerbils, and hamsters. In some embodiments of the present invention, the subject is a normal, healthy subject, and in some embodiments, the subject is known to have, is at risk of having, or is suspected of having, a disease or condition. The terms “subject” and “test subject” may be used interchangeably herein.
[0046] As a non-limiting example, subjects evaluated using the system and / or method of the present invention may be animal models of diseases or conditions, such as one or more models of one or more of the following: bipolar disorder, dementia, depression, attention deficit hyperactivity disorder, anxiety disorders, developmental disorders, sleep disorders, Alzheimer's disease, Parkinson's disease, physical injury, etc. Additional models of diseases and disorders that can be evaluated using the method and / or system of the present invention are known in the art, and should be seen, for example, Barrot M. Neuroscience 2012;211:39~50; Graham, DM, Lab Anim (NY) 2016;45:99-101; Sewell, RDE, Ann Transl Med 2018;6:S42.2019 / 01 / 08; and Jourdan, D., et al., Pharmacol Res 2001;43:103~110, the contents of which are incorporated herein by reference in their entirety.
[0047] In some embodiments, subjects may be monitored using the activity determination method or system of the present invention to detect the presence or absence of activity impairment or conditions. In certain embodiments of the present invention, subjects that are animal models of activity and / or movement conditions may be used to evaluate the subjects' response to conditions. Furthermore, subjects that are animal models of movement and / or activity conditions may be administered candidate therapeutic agents or methods monitored using the activity monitoring method and / or system of the present invention, and the results may be used to determine the effectiveness of candidate therapeutic agents for treating the condition. The terms “activity” and “action” may be used interchangeably herein.
[0048] In some embodiments of the methods of the present invention, the subject is a wild-type subject. As used herein, the term “wild-type” means the phenotype and / or genotype of a species in a typical form as it occurs in nature. In certain embodiments of the present invention, the subject is a non-wild-type subject, for example, a subject having one or more genetic modifications compared to the wild-type genotype and / or phenotype of the subject species. In some examples, the difference in the subject's genotype / phenotype compared to the wild-type is due to heritable (germline) mutations or acquired (somatic) mutations. Factors that may result in a subject exhibiting one or more somatic mutations include, but are not limited to, environmental factors, toxins, ultraviolet radiation, spontaneous errors in cell division, radiation, maternal infection, chemicals, and teratogenic events.
[0049] In certain embodiments of the methods of the present invention, the subject is a genetically modified organism, also referred to as a genetically engineered subject and / or engineered subject. The engineered subject may include pre-selected and / or intentional genetic modifications, such as exhibiting one or more genotypes and / or phenotypic traits different from those of the unmanipulated subject. In some embodiments of the present invention, conventional genetic engineering techniques can be used to produce engineered subjects that exhibit genotype and / or phenotypic differences compared to unmanipulated subjects of the species. As a non-limiting example, a genetically engineered mouse may have a functional gene product deficient or present at reduced levels in the mouse, and the phenotype of the genetically engineered mouse may be evaluated using the methods or systems of the present invention, and the results may be compared with results obtained from a control (control result).
[0050] As described elsewhere, the trained models of the present invention may be configured to detect the behavior of an object regardless of the object's physical characteristics. In some embodiments of the present invention, one or more of the object's physical characteristics may be pre-identified characteristics. For example, without being intended to limit, pre-identified physical characteristics may be one or more of body shape, body size, fur color, sex, age, and disease or disability phenotypes.
[0051] Diseases and Disabilities The methods and systems of the present invention can be used to evaluate the activities and / or behaviors of subjects known to have, suspected to have, or at risk of having, a disease or condition. In some embodiments, the disease and / or condition is associated with abnormal levels of activity or behavior. In non-limiting examples, a subject that may have anxiety, or be an animal model of anxiety, may have one or more activities or behaviors associated with anxiety that can be detected using embodiments of the methods of the present invention. The results of evaluating a subject can be compared to control results of the evaluation, such as control subjects without anxiety, control subjects that are not animal models of anxiety, or control standards obtained from multiple subjects without the condition. Differences in the results between subjects and controls can be compared. Some embodiments of the methods of the present invention can be used to identify subjects that have a disease or condition associated with abnormal activity and / or behavior. The terms “behavior” and “predetermined behavior” may be used interchangeably herein.
[0052] The methods and systems of the present invention can be used to evaluate, determine, and / or monitor one or more predetermined behaviors in a subject. The results from such evaluations can be used to evaluate and / or monitor a predetermined behavior-related disorder or disability. The term “predetermined behavior-related disorder or disability” may be used herein interchangeably with the term “predetermined behavior-related disorder or condition.” The methods and systems of the present invention can be used to determine, evaluate, and / or monitor behaviors that reflect the physical characteristics of a predetermined behavior-related disorder or disability. As used herein, the term “predetermined behavior-related disorder or disability” means a disorder, condition, or disability that can be characterized by one or more predetermined behaviors that can be evaluated using the methods or systems of the present invention. In non-limiting examples, embodiments of the methods of the present invention are used to evaluate a subject known to have Parkinson’s disease, or a subject suspected to have Parkinson’s disease, or to evaluate a subject that is an animal model of Parkinson’s disease. One or more predetermined behaviors associated with Parkinson’s disease are evaluated in the subject, and the results identify the subject’s Parkinson’s disease status. It will be understood that the results obtained by evaluating the subject, compared to a control evaluation, can thereby identify the subject’s Parkinson’s disease status. Embodiments of the method of the present invention can be used to determine whether a subject has a certain behavioral disorder or condition, and can also be used to determine and / or monitor the onset, progression, and / or regression of a certain behavioral disorder or condition in a subject.
[0053] The onset, progression, and / or regression of diseases or conditions associated with abnormal activity and / or behavior can also be evaluated and tracked using embodiments of the method of the present invention. For example, in certain embodiments of the method of the present invention, two, three, four, five, six, seven, or more evaluations of the activity and / or behavior of the subject are performed at different time points. A comparison of two or more evaluation results performed at different time points may indicate differences in the activity and / or behavior of the subject. An increase in the determined level or type of activity may indicate the onset and / or progression of a disease or condition associated with the evaluated activity in the subject. A decrease in the determined level or type of activity may indicate a regression of a disease or condition associated with the evaluated activity in the subject. A determination that the activity has ceased in the subject may indicate the cessation of a disease or condition associated with the evaluated activity in the subject.
[0054] Specific embodiments of the methods of the present invention can be used to evaluate the effectiveness of therapies for treating diseases or conditions associated with abnormal activity and / or behavior. For example, a subject may be provided with candidate therapies and methods of the present invention used to determine whether there is a change in disease or condition-related activity in the subject. A reduction in abnormal activity after the provision of the candidate therapy may indicate the effectiveness of the candidate therapy for the disease or condition.
[0055] Non-limiting examples of activity- or behavior-related diseases and conditions that can be evaluated using the method of the present invention include bipolar disorder, depression, anxiety, eating disorders, attention deficit hyperactivity disorder, drug addiction, obsessive-compulsive disorder, schizophrenia, Alzheimer's disease, Parkinson's disease, and sleep disorders.
[0056] Testing and screening of control and candidate compounds The activity monitoring method or system of the present invention can be used to compare the results obtained for a subject with control results. The method of the present invention can also be used to evaluate phenotypic differences between a subject and a control. Accordingly, some embodiments of the present invention provide a method for determining whether or not there is a change in activity in a subject compared to a control. Some embodiments of the present invention include using embodiments of the method of the present invention to identify phenotypic features of a disease or condition, and in certain embodiments of the present invention, automated phenotypic analysis is used to evaluate the effect of a candidate therapeutic compound on a subject.
[0057] Results obtained using the methods and / or systems of the present invention can be favorably compared with controls. In some embodiments of the present invention, one or more subjects can be evaluated using the methods of the present invention, and then the subjects can be re-tested after being administered a candidate therapeutic compound. In relation to subjects evaluated using the methods or systems of the present invention, the terms “subject” and “test subject” may be used herein and are interchangeable. In certain embodiments of the present invention, results obtained using a method to evaluate one or more activities in a subject are compared with results obtained from methods performed on other subjects. In some embodiments of the present invention, the results of a subject are compared with test results performed on the subject at different times. In some embodiments of the present invention, results obtained using the methods of the present invention to evaluate a subject are compared with control results.
[0058] Where used herein, the control result may be a predetermined value that can take various forms. It may be a single cutoff value, such as the median or mean. It may be established based on a comparison group, such as subjects evaluated using the method and / or system of the present invention under similar conditions to the subjects, where the subjects are administered the candidate drug and the comparison group is not. Another example of a comparison group may include subjects known to have the disease or condition, and subjects or groups of subjects who do not have the disease or condition. Another comparison group may be subjects with a family history of the disease or condition, and subjects from a group without such a family history. The predetermined value can be set, for example, by dividing the tested population into equal (or unequal) groups based on the results of the test. Those skilled in the art can select appropriate control groups and values for use in the comparison method of the present invention.
[0059] Subjects evaluated using the method or system of the present invention can be monitored for any changes occurring under the test conditions compared to control conditions. In non-limiting examples, changes occurring in a subject may include, but are not limited to, the frequency of movement, licking behavior, or response to external stimuli. The method and system of the present invention can be used with subjects to evaluate the symptoms of a disease or disorder, and can also be used to evaluate the effectiveness of candidate therapeutic agents.
[0060] In some embodiments, the methods and / or systems of the present invention are used to evaluate a predetermined behavioral action in a subject and to evaluate the efficacy and / or effect of a candidate therapeutic agent in the subject. In certain embodiments, the method includes administering a candidate therapeutic agent to a subject, evaluating a predetermined behavior in the subject after administration of the candidate therapeutic agent, and comparing the post-administration evaluation with a control evaluation of the predetermined behavior, wherein the change in the predetermined behavior after administration compared with the predetermined behavior of the control identifies the effect of the administered candidate therapeutic agent on the predetermined behavior. In some embodiments, the subject has a predetermined behavior-related disease or disorder. In some embodiments, the subject is an animal model of the predetermined behavior-related disease or disorder.
[0061] As a non-limiting example of the present invention's method for evaluating the presence or absence of change in a subject as a means of identifying the effectiveness of a candidate therapeutic agent, a subject known to have a behavior-related condition is evaluated using the present invention's method. The subject is then administered the candidate therapeutic agent and evaluated again using the method. The presence or absence of change in the subject's outcome indicates, respectively, whether or not the candidate therapeutic agent has an effect on the condition.
[0062] In some embodiments of the present invention, it will be understood that a subject can serve as a control of itself by, for example, being evaluated two or more times using the method of the present invention and comparing the results obtained from two or more of the different evaluations. The methods and systems of the present invention can be used, using embodiments of the methods or systems of the present invention, to evaluate the progression or regression of a disease or condition of a subject by using two or more evaluations of the subject to identify and compare changes in the subject's phenotypic characteristics over time. [Examples]
[0063] Materials and methods of Examples 1-8 Dataset annotations The data was selected for grooming by training a preliminary JAABA classifier, and then annotating by clipping video chunks based on predictions for a wide variety of videos. The initial JAABA classifier was trained on 13 short clips manually enriched for the grooming task. This classifier was intentionally weak and designed to prioritize video clips that were simply useful for selecting annotations. A 150-frame video time segment surrounding the grooming activity prediction was clipped to mitigate the potential of a highly imbalanced dataset. A total of 1,253 video clips were generated from 2,637,363 frames. Each video had a variable duration depending on the grooming prediction length. The shortest video clip contained 500 frames, and the longest video clip contained 23,922 frames. The median length of a video clip was 1,348 frames.
[0064] From this pool of seven trained annotators, two were assigned to fully annotate each video clip. If there was confusion regarding a particular frame or sequence of frames, the annotators could request additional opinions. For frames that were difficult to annotate, the annotators were asked to provide either a "groomed" or "not groomed" annotation for each frame, with the intention of obtaining different annotations from each annotator. Training and validation were performed using only frames agreed upon by the annotators, reducing the total number of frames to 2,487,883.
[0065] Neural network model The neural network followed a typical feature encoder structure, except that it used 3D convolution and pooling instead of 2D convolution. The model started with a 16x112x112x1 input video segment, where "16" represents the time dimension of the input and "1" represents the color depth (monochrome). Each applied convolutional layer was zero-padded to maintain the same height and width dimensions. Furthermore, batch normalization and rectified linear unit (reLU) activation were performed following each convolutional layer. The first application consisted of two consecutive 3D convolutional layers with a kernel size of 3x3x3 and a filter count of 4. The second application was a 2x2x2 max pooling layer, resulting in a new tensor shape of 8x64x64x4. These two 3D convolution and max pooling layers were iterated over, doubling the filter depth each time, and this was repeated three more times to obtain a 1x8x8x32 tensor shape. Two final 3D convolutions with a kernel size of 1×3×3 and 64 filter depths were applied to obtain a 1×8×8×64 tensor shape. Here, the network was flattened to generate a 64×64 tensor. After flattening, two fully connected layers were applied, each with 128 filter depths, batch normalization, and reLU activation. Finally, another fully connected layer was added with only two filter depths and softmax activation. This final layer was used as the output probability for grooming and no grooming prediction.
[0066] Neural network training Four individual neural networks were trained using the same training set and four independent initializations. During training, video chunks were randomly sampled from the dataset, with the final frame containing an annotation agreed upon by the annotator. Since a duration of 16 frames was sampled, this points to the annotation on the 16th frame. If the selected frame did not have 15 frames of video previously, the tensor was padded with 0 initialized frames. Random rotation and data reflection were applied to increase the effective dataset size eightfold. The loss function used in the network was categorical cross-entropy loss, comparing the softmax prediction from the network to a 1-hot vector with the correct classification. An Adam optimizer with an initial learning rate of 10-5 was used. A learning rate decay schedule was applied to halve the learning rate if 5 epochs continued without improvement in validation accuracy. A stopping criterion was also employed if validation accuracy did not improve by 1% after 10 epochs. Exemplary video clips with a batch size of 128 were assembled during training. Typical training was conducted after 13–15 epochs, followed by 23–25 epochs without further improvements.
[0067] JAABA training The Janelia Automatic Animal Behavior Annotator (JAABA) classifier was trained using two different approaches. The first approach involved using guidelines provided by the software developers, which included interactive and iterative training of the classifier. The data selection approach involved annotating several data points and prioritizing new annotations when the algorithm was uncertain or attempting to make incorrect predictions. This interactive training continued until the algorithm could no longer be improved by k-fold cross-validation.
[0068] The second approach involved subsetting a large annotated dataset to fit JAABA and training the agreed-upon annotations. Initially, an attempt was made to utilize the entire training dataset, but the machine did not have enough RAM to process the entire dataset. The workstation used had 96GB of available RAM. A custom program script was written to convert the annotation format and populate the JAABA classifier file with the annotations. The annotations within the JAABA interface were examined to ensure the data was correctly entered. After this file was created, the JAABA classification could be trained using the JAABA interface. After training, the model was applied to a validation dataset and compared to the neural network model. This was repeated with training datasets of varying sizes.
[0069] Definition of grooming behavior indicators This section describes the various grooming behavior indicators used in the following analysis. Following the approach specified in [Kalueff AV, et al., Neurobiology of grooming behavior. Cambridge University Press; 2010], a grooming bout was defined as a continuous period of time during which grooming was performed without interruption of more than 3 seconds. Short interruptions (less than 10 seconds) were permitted, but spontaneous motor activity during this merger of time segments spent grooming was not. Specifically, a pause occurred when the mouse's movement did not exceed twice its average body length. To reduce data complexity, grooming periods, number of bouts, and average bout duration were summarized into 1-minute segments. To have all bouts per time segment, grooming bouts were assigned to the time segment in which the bout began. In rare cases where multiple bouts of several minutes occurred, this allowed for grooming durations exceeding 1 minute to be included within a 1-minute time segment.
[0070] From here, the total duration of grooming was calculated by summing the total duration of grooming calls in all grooming bouts. Note that unconnected grooming segments of less than 3 seconds were not considered bouts and were excluded. Furthermore, the total number of bouts was counted. Once the number of bouts and total duration were determined, the average bout duration was calculated by dividing the two. Finally, the data was binned into one-minute time segments and a straight line was fitted to the data. The positive slope toward total grooming duration suggested that individual mice spent more time grooming the longer they remained in the open field test. The negative slope toward total grooming duration suggested that mice spent more time grooming at the beginning of the open field test than at the end. This is because mice typically choose to spend more time on other activities such as sleeping than grooming. The positive slope toward the number of bouts suggested that mice initiated more grooming bouts the longer they remained in the open field test.
[0071] Genome-wide correlation analysis The relationship between genome and strain behavior was studied using phenotypes obtained by machine learning algorithms for several strains. A subset of ten individuals from each strain and sex combination was randomly selected from the tested mice to ensure equality within the group sample size. Genotypes for different strains were obtained from the mouse phenome database ( / / phenome.jax.org / genotypes). Dialele genomes were estimated from the parent genome using mouse diversity array (MDA) genotypes. SNPs with at least 10% MAF and up to 5% missing data were used, resulting in 222,967 SNPs out of 470,818 SNPs genotyped by the MDA array. The LMM method of the GEMMA software package [Zhou and Stephens, 2012 Nature genetics 44(7):821-824] was used to calculate p-values using the Wald test for each phenotype's GWAS. Using the Leave One Chromosome Out (LOCO) method, each chromosome was tested using a kinship matrix calculated with other chromosomes to avoid proximal contamination. Initial results showed a broad peak on chromosome 7 around the Tyr gene, a well-known fur color locus, across most phenotypes. To control this phenomenon, the genotype at SNP rs32105080 was used as a covariate when running GEMMA. Sex was also used as a covariate. To assess the heritability of SNPs, GEMMA was used without the LOCO method. Kinship matrices were evaluated using the GEMMA LMM output of all SNPs in the genome and the ratio of variances of the described phenotypes. PVE and PVESE were used as chip heritability and their standard errors.
[0072] To determine the linkage interval, LD attenuation was calculated. 100 SNPs were selected within a 2.5 MB region, and correlation coefficients were calculated. These correlations were binned to 100,000 bp, and a threshold r of 0.2 was applied. 2We selected the following. To determine the peak region for each phenotypic GWAS, we sorted the SNPs according to their p-values, and then for each SNP, we determined the peak region centered on this SNP by adding other SNPs with high correlation (r² > 0.2) to the peak SNP. The peaks were limited to less than 10 million bp from the first selected peak SNP. Using these regions, we identified nearby and uncorrelated SNPs within the genome. We aggregated the peak SNPs from all phenotypes and clustered the peaks into clusters using the k-means algorithm implemented in R, with the p-values from the GWAS results of all phenotypes. After observing the results, we selected seven clusters.
[0073] To combine the 24 phenotypes tested, phenotypes were obtained from the same group and from all phenotypes, and for each SNP, the minimum p-value from the phenotype within the group was obtained.
[0074] Significant peaks from each phenotype and aggregated peak region, from all phenotypes assigned to the same cluster, were tested for gene ontology (GO) enrichment using INRICH [Lee et al., 2012 Bioinformatics. 2012 04;28(13):1797-1799]. The interval used for gene enrichment was the peak region described above for each peak SNP. GO annotations associated with each gene were obtained from EnsEBML via the Biomart interface and biomaRt R interface [Durinck et al., 2009 Nature Protocols. 2009;4:1184-1191].
[0075] Running GWAS is wrapped in an R package called mousegwas, available at github: / / github.com / TheJacksonLaboratory / mousegwas, which includes a singularity container definition file and a nextflow pipeline for replaying the results.
[0076] Example 1 Grooming Mouse grooming Behaviors vary greatly on both temporal and spatial scales, ranging from minute spatial movements such as whisking, blinking, or trembling, to larger spatial movements such as turning or walking, and varying over time from milliseconds to minutes. The aim of these studies was to develop a classifier that generalizes to the complex behaviors observed in mice. We decided to classify grooming because it is conserved across species and is a rather interesting neurobiologically important behavior [Kalueff et al., Neurobiology of grooming behavior. Cambridge University Press; 2010]. Grooming behavior consists of syntax ranging from small or microscopic movements (licking the feet) to medium-sized movements (washing one side and both sides of the face) and large movements (licking the flanks) (see Figure 8A). There are also rare syntaxes such as grooming of the genitals and tail. The duration of grooming can vary from less than a second to a minute. A successful approach to classifying grooming behavior was inferred to be important to the neurobiological community and could serve as a prototype for other behaviors.
[0077] Grooming annotations
[0078] The grooming annotation approach involved classifying every frame in the video as being in one of two states: the mouse was grooming or not grooming. It was specified that a frame should be annotated as grooming if the mouse was performing any of the grooming constructs, regardless of whether the mouse was performing a fixed syntactic sequence of grooming actions. This explicitly included individual foot licks as grooming, even if individual foot licks did not constitute a grooming bout. Scratching was not considered a grooming construct. This included a wide variety of postures and action durations, contributing to diverse visual appearances. Variability in human annotation was investigated by having five trained annotators work with the same six 5-minute videos (30 minutes total, Figure 8C). To assist the human raters, they were provided with these three (3) videos from the top and lateral views of the mouse (Figure 8B). Each annotator was given the same instructions to mark the behaviors (see the method described above). Strong agreement (average 89.1%) was observed between annotators. A detailed examination of these disagreements between annotators revealed that misclassifications fell into three classes: missed bouts, skipped interruptions, and mispositions (Figures 8A-D and 9A-C). Missed bout calls occurred when disagreements arose within agreement on non-grooming calls. Similarly, skipped interruption calls occurred when disagreements arose within agreement on grooming calls. Finally, mispositions were called when both annotators agreed that grooming had either started or ended, but the exact frame in which this occurred did not match.
[0079] The most frequent type of error was misalignment, accounting for 50% of the total annotated duration of mismatched frames and 149-75% of mismatched calls (Figures 8A-D and 9A-C). The observed 89% agreement was consistent with previous studies when annotating mouse grooming behavior [Kyzar et al., 2011 Behavioural Brain Research. 225(2):426-431]. From this, a large annotation dataset was constructed to train a machine learning algorithm. Most machine learning contests attempting to solve tasks similar to those described herein have varied widely in dataset size, but the work described herein leveraged network performance in these contests for dataset design. The network in these contests performed well when individual classes contained at least 10,000 annotated frames [Girdhar et al., 2019 Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; p.244-253]. When the number of annotations in a class exceeded 100,000, the network performance for this task achieved a MAP score of over 0.7 [Girdhar et al., 2019 Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; pp. 244-253; Zhang et al. 2019 arXiv preprint arXiv:190412993]. In deep learning approaches, model performance benefits from additional annotations [Sun et al., 2017 Proceedings of the IEEE International Conference on Computer Vision; pp. 843-852].
[0080] To ensure success, the studies described herein specified annotating over 2 million frames, either grooming or non-grooming. The goal was to balance this dataset for grooming behavior by selecting video segments based on tracking heuristics, prioritizing slower segments since mice cannot groom while walking. Furthermore, video frames were cropped to center the mouse, and a tracker was used to reduce visual scattering [Guther et al, 2019 Communications Biology. 2019;2(1):124]. This mouse-centered cropping followed a video tube approach, as described in Feichtenhofer et al., 2019 Proceedings of the IEEE International Conference on Computer Vision, pp. 6202-6211. From a pool of seven validated annotators, two annotations with 94.3% agreement between annotations were obtained for 1,253 video segments totaling 2,637,363 frames (Figure 10A).
[0081] Example 2 Proposed neural network solution A neural network classifier was trained using a large annotated dataset. Of 1,253 video segments, 153 video clips were submitted for validation. Using this split, we were able to achieve a similar frame-level classification distribution between the training and validation sets (Figure 10A). The machine learning approach described herein took video input data and generated etogram outputs for grooming behavior (Figure 10B). Functionally, the neural network model took 16 112×112 frame inputs and applied multiple layer 3D convolutions, 3D pooling, and fully connected layers to generate predictions for only the last frame (Figure 10C). To predict the etogram of the completed video, the process involved sliding a 16-frame window across the video. The neural network approach disclosed herein was compared to a previously established machine learning approach for JAABA, annotating the behavior of experimental animals [Kabra et al., 2013 Nature methods. 2013;10(1):64].
[0082] The neural network approach of the present invention achieved the best validation performance in terms of both accuracy and true positive rate (TPR) with a false positive rate (FPR) of 5%. The neural network achieved an accuracy of 93.7% and a TPR of 91.9% with a 5% FPR (Figure 11A). In comparison, the JAABA pre-trained classifier achieved lower performance with an accuracy of 84.9% and a TPR of 64.2% with a 5% FPR (Figure 11A). Due to JAABA's memory limitations, it was possible to train using only 20% of the training set. The neural network was also trained using the same training set used by JAABA, and the neural network still outperformed JAABA (Figure 11B). Using training datasets of different sizes, an improvement in validation performance was observed with increasing dataset size (Figure 12). Finally, the authors of JAABA also have a recommended interactive training protocol. Even lower performance was observed using the interactive training protocol. This is likely due to the significant size difference in the annotated datasets used for training (475,000 187 frames vs. 17,000 frames). The neural network approach of the present invention performed as well as human annotators, considering previous observations of an 89% agreement in Figures 8B-C.
[0083] The receiver operation characteristic (ROC) curve performance was examined for each video, and it was found that performance was not uniform across all videos (Figure 13A-E). The majority of the validation videos were well annotated by both the neural network and JAABA. However, two videos showed poor performance with respect to both algorithms, and seven videos showed significant improvement using the neural network of the present invention on a JAABA-trained classifier. Visual examination of the two videos where both algorithms did not perform well suggested that these particular video clips did not provide enough visual information to annotate grooming. During the development of the final neural network solution, two forms of consensus modality were applied to improve single-model performance (Figure 11C).
[0084] Each trained model was initialized randomly, resulting in slightly different predictions. A slight improvement in validation performance was achieved by training multiple models and merging their predictions. Furthermore, the input images were also modified for different predictions. Rotation and reflection of the input images were visually different in the neural network. By training four models and applying eight rotation and reflection transformations to the input, 32 distinct predictions were achieved for each frame. These individual predictions were merged by averaging their probabilistic predictions. This consensus modality improved the under-curve ROC region (AUC) from 0.975 to 0.978.
[0085] Other approaches were attempted to merge the 32 predictions, including selecting the maximum value or applying a vote (prediction median). Averaging prediction probabilities achieved the best performance (Figure 14A). Finally, a time smoothing filter was applied to the predictions of 46 frames. The 46 frames were identified as the optimal window for the rolling average (Figure 14B), resulting in a final accuracy of 93.7% (ROC AUC 0.984). Because the network could only predict information equivalent to half a second, we investigated extreme grooming bout predictions in a large phylogenetic survey dataset that was not annotated by humans. Most predictions for long bouts (>2 minutes) were real, but there were some false positives where mice were resting in a grooming-like posture. To mitigate these rare false positives, heuristics were implemented to adjust the predictions. The results of the study showed that grooming behavior typically results in an elliptic-fit shape change (W / L) of 2.5 x 10⁻⁶ -4 It was identified that it had a larger standard deviation. When the mouse was at rest, the standard deviation of shape change (W / L) was 2 x 10⁻⁶ -5 It does not exceed . Knowing that the posture of a stationary mouse can be visually similar to that of a grooming mouse, the prediction is that the standard deviation of shape change (W / L) over a 31-frame window is 5 × 10 -5Time segments that were less than half a second were assigned to "non-grooming" predictions. Of all frames in this difficult-to-annotate posture, 12% were classified as grooming. This suggests that this is not a network failure, but rather a limitation of the network when only half a second's worth of information was given to make a prediction.
[0086] This approach was determined to be able to handle changing mouse postures, as well as physical appearances such as fur color and weight. Good performance was observed across a wide range of postures and fur colors (Figures 11D-E). Even nude mice, which have a completely different appearance from other mice, achieved good performance. Visually, a few instances of frame orientation and model inaccurate predictions were observed. Nevertheless, the consensus classifier made correct predictions.
[0087] Example 3 Definition of grooming behavior indicators The study was conducted, and various grooming behavior indices were designed, describing both the amount and pattern of grooming. A single grooming bout was defined as the continuous time spent grooming without interruptions exceeding 3 seconds (see Kalueff et al., Neurobiology of grooming behavior. Cambridge University Press; 2010). Short interruptions (less than 10 seconds) were acceptable, but spontaneous motor activity during this merger of time segments spent grooming was not. Specifically, a pause occurred when the mouse's movement did not exceed twice its average body length. From this, grooming etograms were obtained for each mouse (Figure 15A). Using the etograms, the total duration of grooming was calculated by summing the total durations of grooming calls in all grooming bouts. Where the number of bouts and total duration were known, the average bout duration was calculated by dividing by two. For measurement purposes, 5-minute, 20-minute, and 55-minute summaries of these measurements were calculated. 5-minute and 20-minute summaries were included because these are typical open-field assay durations. Using 1-minute binning data, various grooming pattern indices were calculated (Figure 15B). Linear gradients were fitted to the results to discover the temporal patterning of grooming during a 55-minute assay (GrTimeSlope55min). A positive slope relative to total grooming duration suggested that individual mice spent more time grooming the longer they remained in the open-field test. A negative slope relative to total grooming duration suggested that mice spent more time grooming at the start of the open-field test than at the end. This is because mice typically choose to spend more time on other activities such as sleep than grooming. A positive slope relative to the number of bouts suggested that mice initiated more grooming bouts the longer they remained in the open-field test.Using 5-minute binning data, we designed additional metrics to describe grooming patterns by selecting when mice spent the most time grooming (GrPeakMidBin) and the duration of grooming within that time (GrPeakVal). We also calculated the ratio between these values (GrPeakSlope). Finally, by looking at the strain-level mean of grooming, we were able to identify how long each strain remained at its peak grooming (GrPeakLength). We compared various open-field measures, including both grooming behavior and classical open-field measures (Figure 15C). These phenotypes were categorized into four groups. The amount of grooming described how much the animals groomed. The grooming pattern indicator described how the animals changed their grooming behavior over time. The open-field anxiety measure was a conventional open-field phenotype validated to measure anxiety. Open-field activity was a conventional open-field phenotype describing the animals' overall activity.
[0088] Example 4 Sex and environmental covariate analysis of grooming behavior Using this trained classifier, we conducted a study to determine whether sex and environmental factors influenced the expression of grooming behavior in open fields. This analysis was performed using data collected over 29 months from two strains, C57BL / 6J and C57BL / 6NJ. These two strains were identical substrains in 1951 and are two of the most widely used strains in mouse research [Bryant et al., 2018 In: Molecular-genetic and statistical technology for behavioral and neural research Elsevier; pp. 165-190]. C57BL / 6J is the mouse reference strain, and C57BL / 6NJ is used by IMPC to generate a large amount of phenotyping data [Brown S, & Moore M, 2012 Towards a Encyclopaedia of Mammalian Gene Function: the International Mouse Phenotyping Consortium]. 775 C57BL / 6J (317F, 267 458M) and 563 C57BL / 6NJ (240F, 323M) mice were analyzed under a wide range of experimental conditions over two and a half years. Their grooming behavior was quantified for the first 30 minutes across all these new exposures to open field (Figure 16A-H, total data 669 hours). Data were analyzed for the effects of sex, season, time of day, age, the mouse's original room, light level, tester, and white noise. To achieve this, a stepwise linear model selection was applied to model these covariates. Both prospective and retrospective model selection results were consistent. After identifying significant covariates, a second model selection including a sexual interaction condition was applied. Model selection identified sex, strain, original room, time of day, and season as significant, while age, weight, presence of white noise, and tester were not significant under the described test conditions. Furthermore, interactions between sex and both original room and season were identified as significant covariates. The research results are shown in Table 1. [Table 1]
[0089] The results showed a strain influence (Figure 16A, p=0:0268 C57BL / 6J vs. C57BL / 6NJ). Although the magnitude of the influence was small, C57BL / 6NJ groomed more than C57BL / 6J. Furthermore, a sex difference was observed (Figure 16A, p<2.2x10). -16 (Male vs. Female). In both strains, males groomed more than females. Because sex had a strong influence, the interaction condition was included as another covariate in the second pass of model selection. This model identified season as a significant covariate (Figure 16B, p=0.004). Surprisingly, the model also identified an interaction between sex and season (p=0.024). Female mice in both strains showed increased grooming during the summer and decreased grooming during the winter. Males did not show this trend, visually confirming the sex-season interaction. Tests were performed between 8 a.m. and 4 p.m. To determine whether the time the test was performed influenced grooming behavior, data were divided into two groups: morning (8 a.m. to noon) and afternoon (noon to 4 p.m.). A clear effect of the time of day was observed (Figure 16C, p=0.00015). Mice tested in the morning groomed more overall. Mice of different ages were tested, ranging from 6 to 26 weeks of age. At the start of each test, mice were weighed and found to weigh between 16g and 42g. No significant effect of age (Figure 16D, r=-0.065, p=0.119) or body weight (r=0.206, p=0.289) on grooming duration was observed.
[0090] The grooming levels of mice from internally shipped production were compared to those from a testing laboratory (B2B) using mice born and reared in a room adjacent to the testing laboratory. Six production rooms supplied exclusively CC57BL / 6J (AX4, AX29, AX1, MP23, MP14, MP15), three rooms supplied exclusively C57BL / 6NJ (MP13, MP16, AX5), and one room supplied both strains (AX8). All shipped mice were housed in B2B at least one week prior to testing. A significant effect was observed based on the original room (Figure 16E, p=5.357×10⁻⁶). -13For example, C57BL / 6J males from AX4 and AX29 groomed less compared to other rooms, including B2B. C57BL / 6NJ shipped from all rooms appeared to have lower grooming levels compared to B2B. It was concluded that the original room and shipping location have a significant impact on grooming behavior. Two light levels, 350–450 lux and 500–600 lux white light (5600K), were also tested. The results showed a significant effect of light level on grooming behavior (Figure 16F, p=0.04873). Females of both strains groomed more in darker areas, but males did not appear to be affected. Nevertheless, the model did not include light-sex interactions, suggesting that other covariates better explained the visual interaction with sex here. The open-field assay was performed by two male testers, but the majority of the tests were performed by tester 2. Both testers carefully followed a validation protocol designed to minimize tester variation. No significant effects were observed between testers (Figure 16G, p=0.65718). Finally, white noise was frequently added to the previous open-field assay to generate a uniform background noise level and mask experimenter-generated noise [Gould, T. Mood and Anxiety Related Phenotypes in Mice, 2009 Neuromethods 42. DOI 10.1007 / 978-1-60761-303-9_1, Humana Press]. Although the effects of white noise have not been well studied in mice, existing data suggest that higher levels of white noise increase walking motility [Weyers P, et al., 1994 Behavioural Processes 31(2-3):257-267]. The effect of white noise (70 dB) on grooming behavior in C57BL / 6J and C57BL / 6NJ mice was tested using the method of the present invention, and a statistically significant difference was identified in the duration spent grooming (Figure 16H).While stratification appeared in both C57BL / 6J 316 and C57BL / 6NJ females, other cofactors better explained this result. Taken together, these results suggest that environmental factors such as season, time of day, and the mice's original room influence grooming behavior and can act as environmental disturbances in any grooming study. Age, body weight, light levels, testers, and white noise were also investigated, and these cofactors were determined not to affect grooming behavior under these experimental conditions.
[0091] Example 5 Differences in the lineage of grooming behavior Next, grooming behavior in inbred mice was investigated using a grooming classifier. The animals tested included 43 standard strains, 8 wild-type strains, and 11 diallell F1 hybrid mice from Jackson Laboratory mouse production. These were tested over a 31-month period and, in most cases, consisted of single mouse shipments from Jackson Laboratory production. In addition to C57BL / 6J and C57BL6 / NJ, an average of 8 males and 8 females were tested from each strain, with the animals averaging 11 weeks of age. Each mouse was tested in the open field for 55 minutes as described above [Geuther BQ, et al., 2019 Communications Biology. 2(1):124]. This dataset consisted of 2457 animals and 2252 hours of video. Video data were categorized into indicators of grooming behavior as well as open-field activity and anxiety. Behavioral indicators were extracted as shown in Figure 15. To visualize phenotypic variance, each animal was plotted across all strains, each having a corresponding strain mean, a range of one standard deviation, and an etogram of the selected strain (Figures 17A–F). The study included distinguishing between classical laboratory strains and wild-type inbred strains.
[0092] Amount and patterns of grooming in genetically diverse mice Large, continuous variances were observed in total grooming time, average grooming bout length, and number of grooming bouts in a 55-minute open-field assay (Figures 17A-F). Total grooming time varied from 2-3 minutes in strains such as 129X1 / SvJ and BALB / cByJ to 12 minutes in strains such as SJL / J and PWD / PhJ, representing approximately a six-fold difference in grooming time. Strains such as 129X1 / SvJ and C57BR / cdJ had fewer than 10 bouts, while MA / MyJ had nearly 40 bouts. In addition, bout duration varied from 5 seconds to approximately 50 seconds in BALB / cByJ and PWD / PhJ, respectively. A correlation plot between the strain mean of phenotype and the 1SD range (Figures 19A-C) was created to visualize the relationship. Positive correlations were found between total grooming time and the number of bouts, as well as between total grooming time and average bout time. Overall, lines with higher total grooming time had an increased number of bouts and longer bout durations. However, there appeared to be no relationship between the number of bouts and the average bout duration, suggesting that bout length was constant regardless of how many times it could occur (Figure 19A-C). Generally, for classical inbred lines, C57BL / 6J and C57BL6 / NJ fell roughly in the middle. The study included investigating grooming patterns over time by constructing the rate of change in 5-minute bottles for each line (Figure 20). Using k-mean clustering, three clusters of grooming patterns were defined based on the rate of increase in grooming over time, total grooming level, peak grooming time, and peak grooming time length (Figure 21).
[0093] Type 1 consisted of 13 strains exhibiting an inverted U-shaped grooming pattern. These strains initially showed a sharp increase in grooming in the open field, reaching a peak, then beginning to decrease in grooming, usually resulting in an overall negative grooming slope. In many cases, animals of these strains were found to be dormant by the end of the 55-minute open-field assay. These strains included high-grooming strains such as CZECHII / EiJ, MORF / EiJ, and low-grooming strains such as 129X1 / SvJ and I / LnJ.
[0094] Type 2 consisted of 12 highly groomed strains that did not decrease grooming by the end of the assay. Type 2 strains reached their grooming peak early and maintained this level throughout the assay (e.g., PWD / PhJ, SJL / J, and BTBR). The other strains in this group reached their grooming peak later and remained stable (e.g., DBA / 2J, CBA / J). A defining characteristic of this group was the maintenance of high levels of grooming throughout the assay.
[0095] Type 3 comprised most of the strains (30) and showed a steady increase in grooming until the end of the assay. Overall, these were medium to low grooming strains in this group, with a consistent low positive or flat slope. Under these experimental conditions, we concluded that there are at least three classes of observable grooming patterns that are widespread and continuous in mice.
[0096] Example 6 Grooming patterns of wild type vs. classical strains The grooming patterns of classical and wild-type laboratory strains were compared. Classical laboratory strains originate from limited genetic lines originating from mouse breeders in Japan and Europe [Keeler CE. Laboratory Mouse: Its Origin, Heredity, and Culture; Cambridge, Harvard University Press 1931; Morse HC. Origins of Inbred Mice: Proceedings of a Workshop, Bethesda, Maryland, February 14-16. Acad. Press; 1978; and Silver, LMMouse Genetics: Concepts and Applications. Oxford University Press, 1995]. Classical inbred laboratory mouse strains represent 95% of the Mus musculus domesticus (Mm domesticus) genome and have only 5% Mus musculus [Yang et al., 2011 Nature Genetics. 2011; 43(7): 648]. To overcome the limitations of genetic diversity in classical inbred strains, new wild-type inbred strains were established [Guenet JL, & Bonhomme F. 2003 Trends in Genetics 19(1):24-31 and Koide T, et al., Experimental Animals. 2011;60(4):347-354]. Surprisingly, these studies showed that most wild-type strains groomed at a significantly higher level and had longer average bout lengths than classical inbred strains. Five of the top 16 grooming strains were wild-type (PWD / PhJ, WSB / EiJ, CZECHII / EiJ, MSM / MsJ, MORF / EiJ) (Figure 17A). Furthermore, wild-type strains had significantly longer grooming bouts, and among this group, six of the 16 strains had the longest average grooming bout. Both total grooming time and average bout length differed significantly between the classical and wild-type strains (Figure 18A-B).These high-grooming strains represented the Mm Domesticus and Mm musculus subspecies and were precursors to the classic laboratory strains [Yang et al., 2011 Nature Genetics. 2011;43(7):648]. These wild-type strains also represented far greater natural genetic diversity in the mouse population than the number of classic strains tested. This led to the conclusion that the high levels of grooming observed in the wild-type strains represent normal levels of grooming behavior in mice. This suggests that classic laboratory staining may be selective for low-grooming behavior, at least as observed under these experimental conditions.
[0097] BTBR Grooming Pattern The experiment was also conducted to closely examine the grooming patterns of the BTBR lineage, which has been proposed as a model possessing specific features of autism spectrum disorder (ASD). ASD is a complex neurodevelopmental disorder that leads to communication difficulties, repetitive behaviors, and social interaction issues [Association AP, et al. Diagnostic and statistical manual of mental disorders (DSM-5®). American Psychiatric Pub; 2013]. Compared to C57BL / 6J mice, BTBR mice have been shown to have high levels of repetitive behavior, low sociability, abnormal vocalizations, and behavioral maladaptation [McFarlane HG, et al., 2008 Genes, Brain and Behavior 7(2):152-163; Silverman JL, et al., 2010 Neuropsychopharmacology 35(4):976-989; Moy SS, et al., 2007 Behavioural Brain Research 176(1):4-20; Scattoni ML, et al., 2008 PloS One 3(8)]. Repetitive behaviors are often assessed by self-grooming behaviors, and drugs effective in reducing symptoms of repetitive behaviors in ASD have already been shown to reduce grooming in BTBR without affecting overall activity levels, which provides a degree of construct validity [Silverman JL, et al., 2010 Science Translational Medicine 4(131):131ra51 and Amodeo, DA, et al., 2017 Gene, Brain and Behavior 16(3):342-351].
[0098] The results of the studies described herein identified that the total grooming time in BTBR was higher than that of C57BL / 6J, but not exceptionally high compared to all other strains (Figures 17A-F). C57BL / 6J groomed for approximately 5 minutes over a 55-minute open-field session, while BTBR groomed for approximately 12 minutes (Figure 17A). Several classic inbred strains, such as SJL / J, DBA / 1J, and CBA / CaJ, exhibited similarly high grooming levels. The grooming pattern of BTBR belonged to two types, including five other strains (Figure 20). One distinguishing factor for BTBR was the longer average grooming bouts from the early stages of the open-field session (Figures 18A-B). However, again, these were not exceptionally high in terms of average bout length (Figures 18A-B). Strains such as SJL / J, PWD / PhJ, MORF / EiJ, and NZB / BINJ exhibited similar long bouts from an early stage. BTBR showed high levels of grooming accompanied by long grooming bouts, but this behavior was similar to that of several wild-type and classic laboratory inbred strains and was concluded to be not exceptional. Since social interaction and other ASD features were not measured, the results did not contradict BTBR as an ASD model.
[0099] Example 7 Grooming of the mouse GWAS The study investigated the genetic structures underlying complex mouse grooming and open-field behaviors and linked them to human traits. A genome-wide association study (GWAS) was conducted using data from 51 classical inbred lines and 11 diallell F1 hybrid lines. Eight wild-type lines were excluded because they are highly divergent and could skew the mouse GWAS analysis. Twenty-four phenotypes were classified into four categories: (1) open-field activity, (2) anxiety, (3) grooming pattern, and (4) quantity (Figure 15A-C). A linear mixed model (LMM) implemented in the Genome-wide EZcient Mixed Model Association (GEMMA) was used for this analysis [Zhou X. & Stephens M. 2012 Nature Genetics 44(7):821-824]. First, the heritability of each phenotype was calculated by determining the proportion of phenotypic variance explained by typed genotypes (PVE) (Figure 22A). Heritability ranges from 6% to 68%, and 22 / 24 traits represent heritability estimates greater than 20%, which are reasonable estimates of behavioral traits in mice and humans [Valdar W, et al., 2006 Genetics 174(2):959-984 and Bouchard Jr TJ. 2004 Current Directions in Psychological Science 13(4):148-151], making them suitable for GWAS analysis (Figure 22A).
[0100] Each phenotype was analyzed using GEMMA, taking into account the resulting Wald test p-values. An empirical threshold for p-values was obtained by correcting for multiple (222,966) SNPs tested and shuffling the values of a single normally distributed phenotype (OFDistTraveled20m) to account for correlations between SNP genotypes, and the minimum p-value for each permutation was taken. This process reflected a corrected p-value of 0.05 (1.4 × 10⁻⁵). -5This became the threshold for the p-value [Belmonte M. & Yurglun-Todd D. 2001 IEEE Transactions on Medical Imaging 20(3):243-248]. To avoid calling multiple correlated adjacent SNPs, correlated SNPs were clustered under the same peak. 2 A correlation coefficient of >=0.2 was selected, which resulted in a large peak region, but seemed to be a reasonable compromise between capturing LD blocks and avoiding overly inflated blocks (Figure 22B).
[0101] GWAS analysis yielded 2–22 peaks exceeding the permutation threshold p-value (Figure 23). Overall, open field activity had 15 significant peaks, anxiety 10, grooming pattern 76, and grooming volume 51, leading to 130 combined peaks across all tested phenotypes (Figure 9C). Plihilosophy was observed at the same loci significantly associated with multiple phenotypes. Plihilosophy was expected because many phenotypes are correlated and individual traits may be controlled by similar gene structures. For example, grooming times of 55 minutes and 20 minutes (GrTime55 and GrTime20) are correlated traits, so plehilosophy was expected. It was also anticipated that several loci that regulate the open field activity phenotype may also regulate grooming.
[0102] To better understand the pleiotropic architecture of the GWAS results, a heatmap of significant SNPs across all phenotypes was created. These were then clustered to discover sets of SNPs that regulated groups of phenotypes (Figure 22D). The phenotypes clustered into five subpopulations consisting of grooming pattern (I), open field activity (II), open field anxiety (III), grooming length (IV), and number and amount of grooming (V) (upper x-axis in Figure 22D). Seven clusters of SNPs that regulated combinations of these phenotypes were identified (y-axis in Figure 22D). For example, clusters A and G were composed of pleiotropic SNPs that regulated grooming length (IV) and grooming time, but the SNPs within cluster G also regulated bout number and amount (V). SNP cluster D regulated open field activity and anxiety phenotypes. Cluster E contained SNPs that regulated grooming and open field activity and anxiety phenotypes, but most SNPs had significant p-values for either the open field phenotype or the grooming phenotype, not both, indicating that independent genetic architectures are strongly involved in these phenotypes. The associated regions within the GWAS (Figure 22C) were shaded to mark one of the seven SNP clusters (Figure 22D). These clusters ranged from 13 - 35 SNPs, with the smallest being cluster F, which was nearly pleiotropic for grooming number, and the largest, cluster G, which was pleiotropic for most grooming-related phenotypes. To prioritize genes, the associated genes were ordered based on the degree of pleiotropy.
[0103] These highly pleiotropic genes included several genes known to regulate grooming, striatal function, neurodevelopment, and even language. Mammalian phenotype ontology enrichment indicated "nervous system development" as the most significant module with 178 genes (p = 7.5×10 -4 ), followed by preweaning lethality (p = 3.5×10 -3(189 genes) and abnormal embryonic development (p=5.5×10) -3(62 genes) were shown (see Figures 24A-G). Pathway analysis was performed using pathwAX [Ogris, C. et al., 2016 Nucleic Acids Res Jul 8;44(W1):W105-9] with the KEGG and Reactome databases. This analysis identified 14 enriched disease pathways, including Parkinson's disease (9.68E-09), Huntington's disease (1.07E-06), non-alcoholic fatty liver disease (9.31E-06), and Alzheimer's disease (1.15E-05), as the most significantly enriched. The enriched pathways included oxidative phosphorylation (6.42E-08), ribosomes (0.00000102), RNA transport (0.00000315), and ribosome biosynthesis (0.00000465). The Reactome enrichment pathway included mitochondrial translation termination and elongation (2.50E-19 and 5.89E-19, respectively) and ubiquitin-specific processing proteases (1.86E-08). The most pleiotropic gene was Sox5, associated with 11 grooming and open-field phenotypes, and Sox5 is broadly involved in neuronal differentiation, patterning, and stem cell maintenance [Lefebvre V.2010 The International Journal of Biochemistry & Cell Biology 42(3):429-432]. Its dysregulation in humans is associated with both Ram-Schaffer syndrome and ASD, both neurodevelopmental disorders [Kwan KY.In: International Review of Neurobiology,vol.113 Elsevier;2013.p.167-205 and Zawerton A,et al.,2020 Genetics in Medicine 22(3):524-537]. 102 genes were associated with 10 phenotypes, and 105 genes were associated with 9 phenotypes. The analysis was limited to genes with at least 6 significant associated phenotypes, resulting in 860 genes.Other genes included FoxP1, which is associated with striatal function and language regulation [Bowers, JM & Konopka, G., 2012 Disease Markers 33(5):251-60]. Grin2b, a regulator of wnt signaling and Ctnnb1, is a regulator of glutamate signaling. Combining these analyses, genes known to regulate nervous system function and development, as well as genes known to regulate neurodegenerative diseases, are shown to be regulators of grooming and open-field behavior. The GWAS analysis also defined the genetic structure of grooming and open-field behavior in mice.
[0104] Example 8 PheWAS Further studies were conducted to link 860 genes associated with mouse open-field and grooming phenotypes (see Example 7) to human phenotypes. It was hypothesized that while common underlying genetic and neurological structures exist between mice and humans, heterogeneous phenotypes arise in each organism. For example, dysregulation of a specific pathway in mice may lead to an excessive grooming phenotype, while in humans, perturbations in the same pathway may manifest as neurotic or obsessive-compulsive disorder. The relationships between these phenotypes can be elucidated through the identification of common underlying genetic structures.
[0105] To link the mouse grooming gene circuit to the human phenotype, we performed a PheWAS using the Psychiatric Genetics GWAS catalog. The first step involved identifying human orthologues of 860 mouse grooming and open-field genes with at least six degrees of pleiotropy. For each human orthologue, PheWAS summary statistics were downloaded from gwasATLAS ( / / atlas.ctglab.nl / ) [Watanabe K, et al., 2019 Nature Genetics 51(9):1339-1348]. Currently, gwasATLAS contains 4756 GWAS from 473 unique studies across 3302 unique traits classified into 28 domains. The studies focused on associations with gene-level p-values ≤0.001 in the psychiatric domain. Furthermore, to visualize and cluster these associations, the relationships between genes and mental traits were represented by a weighted reciprocal network where the width of the edges between gene nodes and mental trait nodes was proportional to the strength of the association [-log10(p-value)]. The size of the nodes was proportional to the number of associated genes or traits, and the intensity of the trait nodes corresponded to the subchapter level of the mental domain. To identify modules within this network, an improved community detection algorithm was applied to maximize weighted modularity in the weighted reciprocal network [Dormann CF. & Strauss R. 2014 Methods in Ecology and Evolution 5(1):90-98]. This network was used to detect communities as input to create a ranked list of communities based on their modularity scores, with higher-ranking communities being promising candidates for further research.
[0106] [Newman ME. & Girvan M. 2004 Physical Review E 69(2):026113]. This analysis yielded eight gene-phenotypic modules (Figure 25). These modules contained 15–32 individual phenotypes and 41–103 genes. At the subchapter level, the modules were concentrated on temperament and personality phenotypes, mental and behavioral disorders (schizophrenia, bipolar disorder, dementia), addictions (alcohol, tobacco, cannabinoids), obsessive-compulsive disorder, anxiety, and sleep.
[0107] Surprisingly, the results identified identical genes that exhibited high levels of pleiotropy in mouse GWAS and the resulting human PheWAS. FOXP1 was the most pleiotropic gene with 35 associations, followed by SOX5 with 33 associations. This network was used to detect communities as input to construct a ranked list of communities based on modularity scores, with higher-ranking communities being promising candidates for further study. The modularity scores of the eight modules ranged from 0.028 to 0.083, with module 1 ranking highest (modularity score 0.103). Furthermore, Simes' test was used to combine the p-values of the genes to obtain an overall p-value for the association of each mental trait. Then, for prioritization, the median association [-log10(Simes p-value)] was calculated for each detected community. Similarly, module 1 ranked highest among the eight modules (median LD = 5.29). Module 1 primarily consisted of temperament and personality phenotypes, including neuroticism, mood swings, and irritability traits. The genes in this module exhibited high levels of pleiotropy in both human PheWAS and mouse GWAS. These genes included 33 human phenotypes, RANGAP1, GRIN2B, and SOX5, which was associated with others. Eight of the ten most pleiotropic genes from the PheWAS analysis belonged to this module. The genes in this module included SOX5, the second most pleiotropic gene in PheWAS studies with 33 significant associations, RANGAP1 with 31 associations, and EP300 with 23 significant associations. In conclusion, the PheWAS analysis linked genes that upregulate grooming and other open-field behaviors to human phenotypes. These human phenotypes included personality traits, addiction, and schizophrenia. Furthermore, similar genes were found to be highly pleiotropic in both mouse GWAS and human PheWAS analyses.
[0108] Summary and discussion of Examples 1-8 Grooming is a neurobiologically significant behavior that is ethologically conserved and of interest to the behavioral genetics community. Often used as an endophenotype for several mental disorders, it is a classic example of stereotyped pattern behavior, and the ability to automatically quantify grooming behavior is a necessary tool [Spruijt BM. et al., 1992 Physiology Reviews 72(3):825-852; Kalueff AV, et al., Neurobiology of grooming behavior. Cambridge University Press; 2010; and Kalueff AV. et al., 2016 Nature Reviews Neuroscience 17(1):45]. Furthermore, the ability to detect grooming behavior with its highly variable posture and duration serves as a prototype for other behaviors. The research described herein presents neural network approaches toward automated model biological behavior classification and etogram generation.
[0109] This approach was implemented for mouse grooming behavior, a complex behavior that poses challenges to existing automated systems, and the systems and methods described herein achieved human-level performance. Large datasets were analyzed using this grooming behavior classifier. The resulting data demonstrated the stability of grooming as a behavioral indicator by performing covariate analysis. Mouse GWAS and human PheWAS studies were also conducted to understand the underlying genetic structures of grooming and open-field behavior in laboratory mice and to link them to human traits.
[0110] While the machine learning community has implemented a wide variety of solutions for detecting human actions, few applications have been applied to animal behavior. This may be due to a variety of reasons, including the widespread availability of human action datasets and the stringent performance requirements for biological behavior research. The cost of achieving this stringent performance has been observed to be very high, requiring a large amount of annotation. Often, previous experimental paradigms were short or small enough that the cost could be reduced to simply annotating the data without automation.
[0111] Other machine learning approaches have been applied to this automated annotation of behavioral data. A 3D convolutional neural network was observed to outperform the JAABA classifier when trained on the same training dataset. This improvement was not uniform across all samples, but rather localized to specific types of grooming bouts. This suggests that the JAABA classifier is powerful and useful for smaller, more uniform datasets, but experiments and behaviors with diverse representations require a more powerful machine learning approach. Using the grooming classifier, we determined the genetic and environmental factors modulating this behavior. A study was conducted to evaluate the effects of several factors that varied over time in the dataset, including sex, strain, age, time of day, season, tester, original room, white noise, and body weight, on a large dataset with two reference strains, C57BL / 6J and C67BL / 6N, collected over 18 months. All of these mice were housed under identical conditions for at least one week prior to testing. Strong effects were observed for sex, testing time, and even season.
[0112] In both mice and rats, the influence of testers has been widely observed in previous open-field studies [Walsh RN. & Cummins RA. 1976 Psychological Bulletin 83(3):482; McCall RB. et al., 1969 Developmental Psychology 1(6p1):771; and Bohlen M. et al., 2014 Behavioural Brain Research 272:46-54]. Recent studies have shown that male experimenters, or even male clothing, can induce a stress response in mice, resulting in increased contact tactosis [Sorge RE. et al., 2014 Nature Methods 11(6):629]. However, the influence of experimenters is not always observed across open-field studies [Lewejohann L. et al., 2006 Genes, Brain and Behavior 5(1):64-72]. The results of the study described herein indicate that the original room strongly influences grooming. Grooming of mice shipped from the Jackson Laboratory production room was compared to that of mice bred in a room adjacent to the phenotypic analysis room. Shipped mice were observed to exhibit altered total grooming duration compared to mice that had not experienced shipment. There was no clear directionality of the influence, and in some cases, the magnitude of the influence was high (Z > 1). The same strain shipped from different rooms exhibited either higher or lower total grooming. We hypothesized that the changes in grooming were due to stress, which has been previously demonstrated to alter this behavior [Kalueff AV. et al., 2016 Nature Reviews Neuroscience 17(1):45]. Presumably, all external mice had a similar experience of being shipped from the production room to the test area where they were equally housed for at least one week prior to testing. Therefore, the potential differential stress experience lies in the original room where the mice were kept from birth until shipment. This is a caveat for using this behavior as an endophenotype.
[0113] A large-scale phylogenetic study was conducted to characterize grooming behavior in laboratory mice. Under test conditions, three types of grooming patterns were identified. Type 1 consisted of mice that increased and decreased grooming during a 55-minute open-field test. Strains in this group were often asleep by the end of the assay and showed a low level of arousal towards the end of the assay. These strains were hypothesized to use grooming as a successful form of non-arousal behavior, as previously observed in rats, birds, and monkeys. [Spruijt BM. et al., 1992 Physiology reviews 72(3):825-852 and Delius JD. 1970 Psychologische Forschung 33(2):165-188. doi:10.1007 / BF00424983]. Similar to types 1 and 2, this group rapidly increased grooming to reach peak grooming, but did not appear to decrease grooming during the assay. These strains were hypothesized to require longer periods of non-arousal or possess some deficiency under the assay conditions. Type 3 strains that increased during the assay duration indicated that they did not reach peak grooming under the assay conditions. BTBR belonged to the type 2 group, exhibiting high levels of grooming from early to prolonged periods, likely indicating a hyperarousal or inability to remain non-aroused state. BTBR has previously been shown to possess altered states of high arousal and dopamine function, which may lead to sustained high levels of grooming. Other strains in the type 2 grooming class are also presumed to exhibit endophenotypic features of ASD.
[0114] The study results showed that wild-type strains had different grooming patterns compared to classical strains. Wild-type strains groomed significantly more often and had longer grooming bouts than classical strains. Grooming clustering analysis revealed that most wild-type strains belonged to type 1 or 2, while most classical strains belonged to type 3. In addition to Mm domesticus, the tested wild-type inbred strains represent the subspecies Mm musculus, Mm castaneous, and Mm molossinus. Despite the existence of dozens of classical inbred strains, there are approximately 5 million SNPs between classical inbred laboratory strains such as C57BL / 6J and DBA2J [Keane TM. et al., 2011 Nature. 477(7364):289-294]. In fact, more than 97% of the genomes of classical lineages can be explained by fewer than 10 haplotypes, each representing a small number of classes in which all lineages are identical due to a descent toward a common ancestor [Yang H. et al., 2011 Nature Genetics 43(7):648]. In contrast, wild-type inbred lineages such as CAST / EiJ and 599 PWK / PhJ have more than 17 million SNPs compared to B6J, and WSB / EiJ has 8 million SNPs. Therefore, the seven wild-type lineages tested represent far greater genetic diversity in natural mouse populations than in numerous classical inbred laboratory lineages. The behaviors observed in wild-type lineages are more likely to represent the behaviors of natural mouse populations.
[0115] Classical laboratory strains originate from mouse breeders in China, Japan, and Europe before they were co-selected for biomedical research [Morse HC. 1978 Proceedings of a Workshop, Bethesda, Maryland, Feb. 14-16, 1978. Acad. Press; 1978 and Silver LM. Mouse Genetics: Concepts and Applications. Oxford University Press, 1995]. As a result, despite the existence of hundreds of classical strains, genetic diversification within these strains is limited [Yang H. et al., 2011 Nature Genetics 43(7):648]. To overcome these limitations of classical strains, wild-type strains have been specifically developed [Poltorak A. et al., 2018 Mammalian Genome 29(7-8):577-584]. Mouse breeders breed mice for visual and behavioral characteristics, and many exhibit them at shows. Mouse breeders judge mice in terms of “condition and temperament,” suggesting that “it is not helpful to make mice appear ill-mannered in their coat or in any condition other than perfect” [Davies C. Fancy Mice: Their Varieties and Management as Pets or for Show, Including the Latest Scientific Information as to Breeding for Colour. LU Gill; 1912]. As with dogs and horses, “the best individuals should be bred with each other, regardless of their relationship, as long as the mice are large, robust, and disease-free” [Davies C. Fancy Mice: Their Varieties and Management as Pets or for Show, Including the Latest Scientific Information as to Breeding for Colour. LU Gill; 1912].It is reasonable to consider normal levels of grooming behavior observed in wild mice as indicative of unsanitary conditions or parasitic infestations such as lice, ticks, fleas, and mites. High grooming can be interpreted as a poor condition, which may lead mouse breeders to select mouse strains with low grooming behavior. This selection can explain the low grooming observed in classical strains.
[0116] Using phylogenetic data, a mouse GWAS was conducted to identify xx gene loci that regulate the heritability of open-field and grooming behaviors. The results indicated that the majority of grooming traits are moderately to highly heritable. The studies exemplified herein meticulously analyzed 862 multifaceted genes, revealing genes and pathways known to regulate neuronal development and function. These relevant regions were identified as belonging to one of seven clusters that regulate the combination of open-field and grooming phenotypes. One previous study using a BXD recombinant inbred panel identified a significant locus on chromosome 4 that regulates grooming and open-field activity [Delprato A. et al., 2017 Genes, Brain and Behavior 16(8):790-799]. Furthermore, as described herein, a PheWAS was conducted using these genes to identify psychiatric traits associated with them. This approach enabled the linking of mouse and human phenotypes through the underlying genetic structure. This approach linked human temperament and personality traits, schizophrenia, and bipolar disorder traits to mouse open-field and grooming phenotypes. Grooming can be used as a model for human grooming disorders such as trichotinomania. However, grooming is regulated by the basal ganglia and other brain regions, including ASD, schizophrenia, and Parkinson's disease [Kalueff AV. et al., 2016 Nature Reviews Neuroscience 17(1):45]. The results of this study linked grooming to temperament and personality traits, schizophrenia, and bipolar disorder, among other things. The GWAS results provided a deeper understanding of the genetic structure of grooming behavior.
[0117] In conclusion, the experiments and studies described herein demonstrate a neural network-based machine learning approach for behavioral detection in mice and its application to grooming behavior. This tool has been and will continue to be used to characterize grooming behavior and its underlying genetic structure in laboratory mice and other mammals. The grooming approach can be carried out using standard open-field equipment and is sure to be useful to the behavioral neuroscience community.
[0118] Examples of devices and systems One or more of the trained models in System 150 can take many forms, including neural networks. A neural network can contain several layers, from an input layer to an output layer. Each layer is configured to take a specific type of data as input and output a different type of data. The output from one layer is received as input to the next layer. The input / output data values for a particular layer are not known until the neural network actually operates at runtime, but the data describing the neural network describes the structure, parameters, and operation of the neural network's layers.
[0119] One or more of the intermediate layers of a neural network may also be known as hidden layers. Each node in a hidden layer is connected to each node in the input layer and each node in the output layer. If the neural network contains multiple intermediate layers, each node in a hidden layer is connected to each node in the next upper layer and the next lower layer. Each node in the input layer represents a potential input to the neural network, and each node in the output layer represents a potential output of the neural network. Each connection from one node to another in the next layer may be associated with a weight or score. The neural network may output a single output or a weighted set of predicted outputs.
[0120] In one embodiment, the neural network may be a fully connected convolutional neural network (CNN) having a normalized version of a multilayer perceptron. In a fully connected network, each neuron in one layer is connected to all neurons in the next layer. A typical method of normalization involves adding some form of magnitude measurement of weight to the loss function. CNNs take a different approach to normalization, leveraging the hierarchical pattern of the data to assemble more complex patterns using smaller, simpler patterns.
[0121] In one embodiment, a neural network can be constructed with iterative connections such that the output of the network's hidden layer is fed back to the hidden layer for processing the next set of inputs. Each node in the input layer is connected to each node in the hidden layer. Each node in the hidden layer is connected to each node in the output layer. The output of the hidden layer is fed back to the hidden layer for processing the next set of inputs. A neural network incorporating iterative connections may be called an iterative neural network (RNN).
[0122] In some embodiments, the neural network may be a long-short-term memory (LSTM) network. In some embodiments, the LSTM may be a bidirectional LSTM. The bidirectional LSTM performs input from two time directions: one from past states to future states, and the other from future states to past states, where the past states may correspond to features of video data for a first time frame, and the future states may correspond to features of video data for a second subsequent time frame.
[0123] The processing performed by a neural network is determined by the learned weights on each node's input and the network's structure. Given a specific input, the neural network determines the output layer by layer until the output layer of the entire network is computed.
[0124] Connection weights can be initially learned by the neural network during training, associating a given input with a known output. The training data set provides the network with various training examples. Each example typically assigns a weight of 1 to the correct connection from input to output, and a weight of 0 to all connections. Once the neural network has processed the training data examples, inputs are sent to the network and compared to their associated outputs to determine how the network's performance compares to the target performance. Training techniques such as backpropagation may be used to update the neural network's weights and reduce the errors made by the neural network when processing the training data.
[0125] Various machine learning techniques may be used to train and manipulate models for performing the various steps described herein, such as user recognition feature extraction, coding, user recognition scoring, and user recognition confidence determination. Models may be trained and manipulated according to various machine learning techniques. Such techniques may include, for example, neural networks (such as deep neural networks and / or iterative neural networks), inference engines, and trained classifiers. Examples of trained classifiers include support vector machines (SVMs), neural networks, decision trees, AdaBoost (short for adaptive boost) in combination with decision trees, and random forests. Focusing on SVM as an example, an SVM is a supervised learning model with relevant learning algorithms that are commonly used to analyze data, recognize patterns in the data, and perform classification and regression analysis. Given a set of training examples, each marked to belong to one of two categories, the SVM training algorithm builds a model that assigns new examples to one category or another, making it a non-stochastic binary linear classifier. More complex SVM models may be built with a training set that identifies three or more categories, and the SVM determines which category is most similar to the input data. An SVM model may map examples of distinct categories so that they are separated by clear gaps. Then, new examples are mapped into that same space and predicted to belong to a category based on which side of the gap they face. The classifier may issue a “score” indicating the category the data best matches. The score may indicate how close the data is to a category.
[0126] Applying machine learning techniques requires training the machine learning process itself. In this case, establishing a "ground truth" of training examples is necessary to train machine learning components, such as one of the first or second models. In machine learning, the term "ground truth" refers to the accuracy of the classification of the training set for supervised learning techniques. Various techniques can be used to train models, including backpropagation, statistical learning, supervised learning, semi-supervised learning, stochastic learning, or other known techniques.
[0127] Figure 26 is a block diagram conceptually illustrating a device 2600 that may be used with the system. Figure 27 is a block diagram conceptually illustrating exemplary components of a remote device, such as system 150, which may assist in processing video data, detecting the actions of a target, etc. System 150 may include one or more servers. As used herein, a server may refer to a conventional server as understood in a server / client computing structure, but may also refer to several different computing components that may assist in the operations discussed herein. For example, a server may include one or more physical computing components (such as rack servers) that are physically and / or via a network connected to other devices / components and capable of performing computing operations. A server may also include one or more virtual machines that emulate a computer system and run on one or more devices. A server may also include other combinations of hardware, software, firmware, etc., for performing the operations discussed herein. A server may be configured to operate using one or more of the following computing technologies: client-server model, computer bureau model, grid computing technology, fog computing technology, mainframe technology, utility computing technology, peer-to-peer model, sandbox technology, or other computing technologies.
[0128] Multiple systems 150 may include, for example, one or more systems 150 for determining different orientations to frames, one or more systems 150 for running a first trained model to process different sets of frames, one or more systems 150 for running a second trained model to process different sets of frames, one or more systems 150 for aggregating the results of different trained models, and one or more systems 150 for training / configuring different trained models. During operation, each of these systems may include computer-readable instructions and computer-executable instructions present on each device 150, as will be discussed further below.
[0129] Each of these devices (2600 / 150) may include one or more controllers / processors (2604 / 2704), each of which may include a central processing unit (CPU) for processing data and computer-readable instructions, and memory (2606 / 2706) for storing data and instructions for the respective device. The memory (2606 / 2706) may, individually, include volatile random access memory (RAM), non-volatile read-only memory (ROM), non-volatile magnetoresistive memory (MRAM), and / or other types of memory. Each device (2600 / 150) may also include data storage components (2608 / 2708) for storing data and controller / processor executable instructions. Each data storage component (2608 / 2708) may, individually, include one or more non-volatile storage types such as magnetic storage devices, optical storage devices, and solid-state storage devices. Each device (2600 / 150) may also be connected to removable or external non-volatile memory and / or storage (such as removable memory cards, memory key drives, or network storage) via its respective input / output device interface (2602 / 2702).
[0130] Computer instructions for operating each device (2600 / 150) and its various components may be executed by the controller / processor (2604 / 2704) of each device, using memory (2606 / 2706) as temporary "working" storage at runtime. The computer instructions for the devices may be stored in a non-temporary manner in non-volatile memory (2606 / 2706), storage devices (2608 / 2708), or external devices. Alternatively, some or all of the executable instructions may be embedded in the hardware or firmware of each device, in addition to or instead of software.
[0131] Each device (2600 / 150) includes an input / output device interface (2602 / 2702). Various components may be connected through the input / output device interface (2602 / 2702), as will be discussed further below. Furthermore, each device (2600 / 150) may include an address / data bus (2624 / 2724) for transmitting data between the components of each device. Each component within a device (2600 / 150) may also be directly connected to other components, in addition to (or instead of) being connected to other components across the bus (2624 / 2724).
[0132] Referring to Figure 26, device 2600 may include an input / output device interface 2602 for connecting to various components such as a speaker 2612, a wired or wireless headset (not shown), or other components capable of outputting sound. Device 2600 may further include a display 2616 for displaying content. Device 2600 may further include a camera 2618.
[0133] The input / output device interface 2602 may connect to one or more networks 199 via the antenna 2614, such as a wireless local area network (WLAN) (Wi-Fi, etc.) radio, Bluetooth, and / or a radio capable of communicating with wireless communication networks such as Long Term Evolution (LTE) networks, WiMAX networks, 3G networks, 4G networks, and 5G networks. Wired connections such as Ethernet may also be supported. The system may be distributed across network environments via network 199. The I / O device interfaces (2602 / 2702) may also include communication components that enable the exchange of data between devices such as different physical servers in a collection of servers or other components.
[0134] The components of device 2600 or system 150 may include their own dedicated processor, memory, and / or storage device. Alternatively, one or more components of device 2600 or system 150 may utilize the I / O interface (2602 / 2702), processor (2604 / 2704), memory (2606 / 2706), and / or the storage device (2608 / 2708) of device 2600, or system 150, respectively.
[0135] As described above, multiple devices may be employed in a single system. In such a multi-device system, each device may include different components for performing different aspects of the system's processing. Multiple devices may include overlapping components. The components of device 2600 and the system 150 described herein are illustrative and may be positioned as standalone devices or included as a whole or in part as components of a larger device or system.
[0136] The concepts disclosed herein can be applied within several different devices and computer systems, including, for example, general-purpose computing systems, video / image processing systems, and distributed computing environments.
[0137] The above-described aspects of this disclosure are illustrative. They are selected to illustrate the principles and uses of this disclosure and are not intended to be exhaustive or limiting. Many modifications and variations of the aspects of this disclosure may be apparent to those skilled in the art. Those skilled in the art in the field of computer and speech processing should recognize that the components and process steps described herein may be interchangeable with other components or steps, or combinations of components or steps, and may still achieve the interests and benefits of this disclosure.
[0138] Furthermore, it should be obvious to those skilled in the art that this disclosure can be practiced without some or all of the specific details and steps disclosed herein.
[0139] The disclosed aspects of the system may be implemented as a computer method or as a manufactured product such as a memory device or a non-temporary computer-readable storage medium. The computer-readable storage medium may be computer-readable and may contain instructions for causing a computer or other device to perform the processes described herein. The computer-readable storage medium may be implemented by volatile computer memory, non-volatile computer memory, hard drives, solid-state memory, flash drives, removable disks, and / or other media. Furthermore, components of the system may be implemented as firmware or hardware.
[0140] Equivalents While several embodiments of the present invention are described and illustrated herein, those skilled in the art will readily conceive of various other means and / or structures for carrying out the function and / or obtaining the results and / or one or more advantages described herein, and each of such variations and / or modifications will be considered within the scope of the present invention. More broadly, those skilled in the art will readily understand that all parameters, dimensions, materials and configurations described herein are illustrative, and that actual parameters, dimensions, materials and / or configurations will depend on the specific one or more applications in which the teachings of the present invention are used. Those skilled in the art will recognize many equivalents to the specific embodiments of the present invention described herein, or can verify them by means of routine experimentation alone. Thus, it will be understood that the embodiments described herein are presented by illustrative means only and within the scope of the appended claims and their equivalents, and the present invention may be carried out in ways other than those specifically described and claimed. The present invention covers each individual feature, system, article, material and / or method described herein. Furthermore, any combination of two or more such features, systems, articles, materials, and / or methods is included within the scope of the invention, provided that such features, systems, articles, materials, and / or methods are not contradictory to each other. All definitions defined and used herein should be understood to govern dictionary definitions, definitions incorporated by reference in the document, and / or the ordinary meanings of the defined terms.
[0141] As used herein and in the claims, the indefinite articles “a” and “an” should be understood to mean “at least one” unless explicitly stated to the contrary. As used herein and in the claims, the phrase “and / or” should be understood to mean “either or both” of the elements thus joined, i.e., elements that exist conjugate in some cases and negligent in other cases. Unless explicitly stated otherwise, other elements may optionally exist other than those specifically identified by the “and / or” phrase, whether related to or unrelated to the specifically identified elements.
[0142] Conditional language used herein, in particular "can," "could," "might," and "may," is generally intended to convey that a particular embodiment includes certain features, elements, and / or steps, while other embodiments do not, unless otherwise specified or understood in the context in which they are used. Therefore, such conditional language is not generally intended to mean that features, elements, and / or steps are somehow required in one or more embodiments, or that one or more embodiments necessarily include, without other inputs or prompts, logic for determining whether these features, elements, and / or steps are included in or implemented in any particular embodiment. Terms such as "comprising," "including," and "having" are synonymous and are used comprehensively and in an open-ended manner, without excluding additional elements, features, actions, or operations. Furthermore, the term "or" is used in its inclusive (and not exclusive) sense; for example, to connect a list of elements, the term "or" can mean one, some, or all of the elements in the list.
[0143] All references, patents, patent applications, and publications cited or referred to in this application are incorporated herein by reference in their entirety.
Claims
1. receiving video data representing a video capturing movement of an object in a plurality of objects; identifying a first set of frames from the video data; determining a rotated set of frames by rotating the first set of frames; processing the first set of frames using a first trained model configured to identify a likelihood of the one of the objects exhibiting a predetermined behavioral action; determining a first probability of the one subject exhibiting the predetermined behavioral action in a first frame of the first set of frames, the first frame corresponding to a time duration of the video data, based on the processing of the first set of frames by the first trained model; processing the set of rotated frames using the first trained model; and determining a second probability of the one subject exhibiting the predetermined behavioral action in a second frame of the set of rotated frames, the second frame corresponding to the time duration of the first frame, based on the processing of the set of rotated frames by the first trained model; and identifying a first label for the first frame using the first probability and the second probability, the first label indicating that the one object exhibits the predetermined behavioral action.
2. processing the first set of frames using a second trained model configured to identify a likelihood of the one of the objects exhibiting the predetermined behavioral action; determining a third probability of the one object exhibiting the predetermined behavioral action in the first frames based on the processing of the first set of frames by the second trained model; and processing the set of rotated frames using the second trained model; and determining a fourth probability of the one object exhibiting the predetermined behavioral action in the second frame based on the processing of the set of rotated frames by the second trained model; and The computer-implemented method of claim 1 , further comprising: identifying the first label using the first probability, the second probability, the third probability, and the fourth probability.
3. determining a set of reflected frames by reflecting the first set of frames; processing the set of reflected frames using the first trained model; and determining a third probability of the one subject exhibiting the predetermined behavioral action in a third frame of the set of reflected frames, the third frame corresponding to the first frame, based on the processing of the set of reflected frames by the first trained model; The computer-implemented method of claim 1 , further comprising: identifying the first label using the first probability, the second probability, and the third probability.
4. 4. The method of claim 1, wherein the predetermined behavioral action comprises a grooming behavior, the grooming behavior comprising at least one of licking paws, washing one side of the face, washing both sides of the face, and licking the flanks.
5. 2. The computer-implemented method of claim 1, wherein the first set of frames represents a portion of the video data for a period of time, the first frame being a last time frame of the period.
6. identifying a second set of frames from the video data; determining a second rotated set of frames by rotating the second set of frames; processing the second set of frames using the first trained model; and determining a third probability of the one subject exhibiting the predetermined behavioral action in a third frame of the second set of frames based on the processing of the second set of frames by the first trained model; and processing the second set of rotated frames using the first trained model; and determining a fourth probability of the one object exhibiting the predetermined behavioral action in a fourth frame of the set of rotated frames, the fourth frame corresponding to the third frame, based on the processing of the second set of rotated frames by the first trained model; 2. The computer-implemented method of claim 1, further comprising: using the third probability and the fourth probability to identify a second label for the fourth frame, the second label indicating that the one object exhibits the predetermined behavioral action.
7. 7. The computer-implemented method of claim 6, further comprising generating an ethogram representing the predetermined behavioral action of the one subject over a period of time using at least the first label and the second label.
8. Prior to receiving the video data, receiving training data including a first plurality of video frames and a second plurality of video frames, each of the first plurality of video frames associated with a positive label indicating that the one of the objects is exhibiting the predetermined behavioral action, and each of the second plurality of video frames associated with a negative label indicating that the one of the objects is exhibiting a behavioral action that is not the predetermined behavioral action; 2. The computer-implemented method of claim 1 , further comprising: processing the training data using a first set of model parameters and first classifier model data to determine the first trained model.
9. 9. The computer-implemented method of claim 8, wherein the first plurality of video frames and the second plurality of video frames represent movement of a plurality of objects, the one object in the plurality of objects including one or more pre-identified physical characteristics.
10. 10. The computer-implemented method of claim 9, wherein the pre-identified physical characteristics are one or more of body shape, body size, coat color, sex, age, and disease or disorder phenotype.
11. The computer-implemented method of claim 10 , wherein the disease or disorder is a genetic disease, injury, or a transmissible disease.
12. 9. The computer-implemented method of claim 8, wherein the first plurality of video frames and the second plurality of video frames represent movements of the plurality of objects being mice, and wherein a mouse in the plurality of objects being mice has a coat color, gender, body shape and size.
13. receiving video data representing a video capturing movement of an object in a plurality of objects; identifying a first set of frames from the video data; processing the first set of frames using a first trained model configured to identify a likelihood of the one of the objects exhibiting a predetermined behavioral action; determining a first probability of the one subject exhibiting the predetermined behavioral action in a first frame of the first set of frames based on the processing of the first set of frames by the first trained model; processing the first set of frames using a second trained model configured to identify a likelihood of the one of the objects exhibiting the predetermined behavioral action; determining a second probability of the one subject exhibiting the predetermined behavioral action in the first frames based on the processing of the first set of frames by the second trained model; and identifying a first label for the first frame using the first probability and the second probability, the first label indicating that the one object exhibits the predetermined behavioral action.
14. determining a rotated set of frames by rotating the first set of frames; processing the set of rotated frames using the first trained model; and determining a third probability of the one subject exhibiting the predetermined behavioral action in a second frame of the set of rotated frames, the second frame corresponding to the first frame, based on the processing of the set of rotated frames by the first trained model; processing the set of rotated frames using the second trained model; and determining a fourth probability of the one object exhibiting the predetermined behavioral action in the second frame based on the processing of the set of rotated frames by the second trained model; and 14. The computer-implemented method of claim 13, further comprising identifying the first label using the first probability, the second probability, the third probability, and the fourth probability.
15. determining a set of reflected frames by reflecting the first set of frames; processing the set of reflected frames using the first trained model; and determining a third probability of the one subject exhibiting the predetermined behavioral action in a second frame of the set of reflected frames, the second frame corresponding to the first frame, based on the processing of the set of reflected frames by the first trained model; processing the set of reflected frames using the second trained model; and determining a fourth probability of the one object exhibiting the predetermined behavioral action in the second frame based on the processing of the set of reflected frames by the second trained model; and 14. The computer-implemented method of claim 13, further comprising identifying the first label using the first probability, the second probability, the third probability, and the fourth probability.
16. 14. The computer-implemented method of claim 13, wherein the first trained model and the second trained model are neural network models, the first trained model is initialized using a first set of parameters and the second trained model is initialized using a second set of parameters that is different from the first set of parameters.
17. processing the first set of frames using a third trained model configured to identify a likelihood of the one of the objects exhibiting a predetermined behavioral action; determining a third probability of the one object exhibiting the predetermined behavioral action in the first frames based on the processing of the first set of frames by the third trained model; processing the first set of frames using a fourth trained model configured to identify a likelihood of the one of the objects exhibiting the predetermined behavioral action; determining a fourth probability of the one object exhibiting the predetermined behavioral action in the first frames based on the processing of the first set of frames by the fourth trained model; 14. The computer-implemented method of claim 13, further comprising identifying the first label using the first probability, the second probability, the third probability, and the fourth probability.
18. identifying a second set of frames from the video data; processing the second set of frames using the first trained model; and determining a third probability of the one subject exhibiting the predetermined behavioral action in a third frame of the second set of frames based on the processing of the second set of frames by the first trained model; and processing the second set of frames using the second trained model; and determining a fourth probability of the one object exhibiting the predetermined behavioral action in the third frame based on the processing of the second set of frames by the second trained model; and 14. The computer-implemented method of claim 13, further comprising: identifying a second label for the third frame using the third probability and the fourth probability, the second label indicating that the one object exhibits the predetermined behavioral action.
19. 20. The computer-implemented method of claim 18, further comprising generating an ethogram representing the predetermined behavioral action of the one subject over a period of time using at least the first label and the second label.
20. Prior to receiving the video data, receiving training data including a first plurality of video frames and a second plurality of video frames, each of the first plurality of video frames associated with a positive label indicating that the one of the objects is exhibiting the predetermined behavioral action, and each of the second plurality of video frames associated with a negative label indicating that the one of the objects is exhibiting a behavioral action that is not the predetermined behavior; processing the training data using a first set of model parameters and first classifier model data to determine the first trained model; 14. The computer-implemented method of claim 13, further comprising: processing the training data using a second set of model parameters and second classifier model data to determine the second trained model.
