Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024;132(12):5491-5513.
doi: 10.1007/s11263-024-02118-3. Epub 2024 Jun 17.

Of Mice and Mates: Automated Classification and Modelling of Mouse Behaviour in Groups Using a Single Model Across Cages

Affiliations

Of Mice and Mates: Automated Classification and Modelling of Mouse Behaviour in Groups Using a Single Model Across Cages

Michael P J Camilleri et al. Int J Comput Vis. 2024.

Abstract

Behavioural experiments often happen in specialised arenas, but this may confound the analysis. To address this issue, we provide tools to study mice in the home-cage environment, equipping biologists with the possibility to capture the temporal aspect of the individual's behaviour and model the interaction and interdependence between cage-mates with minimal human intervention. Our main contribution is the novel Global Behaviour Model (GBM) which summarises the joint behaviour of groups of mice across cages, using a permutation matrix to match the mouse identities in each cage to the model. In support of the above, we also (a) developed the Activity Labelling Module (ALM) to automatically classify mouse behaviour from video, and (b) released two datasets, ABODe for training behaviour classifiers and IMADGE for modelling behaviour.

Supplementary information: The online version contains supplementary material available at 10.1007/s11263-024-02118-3.

Keywords: Automated behaviour classification; Home-cage analysis; Joint behaviour model; Mouse behaviour data; Mouse behaviour model.

PubMed Disclaimer

Conflict of interest statement

Conflict of interestNot applicable.

Figures

Fig. 1
Fig. 1
An example video frame from our data, showing the raw video (left) and an enhanced visual (right) using CLAHE (Zuiderveld, 1994). In the latter, the hopper is marked in yellow and the water spout in purple, while the (RFID) mouse positions are projected into image space and overlaid as red, green and blue dots
Fig. 2
Fig. 2
The ALM for classifying observability and behaviour per mouse. The input signal comes from three modalities: i coarse position (RFID), ii identified BBoxes (using the TIM as implemented in (Camilleri et al., 2023)) and iii video frames. An OC iv determines whether the mouse is observable and its behaviour can be classified. If this is the case, then the BC v is activated to generate a probability distribution over behaviours for the mouse. Further architectural details appear in the text
Fig. 3
Fig. 3
Graphical representation of our GBM. ‘×’ refers to standard matrix multiplication. To reduce clutter, the model is not shown unrolled in time
Fig. 4
Fig. 4
ROC curves for various architectures of the OC evaluated on the Validation split. Each coloured line shows the TP rate against the FP rate for various operating thresholds: the ‘default’ 0.5 threshold in each case is marked with a cross ‘×’. The baseline (worst-case) model is shown as a dotted line
Fig. 5
Fig. 5
Behaviour confusion matrix of the End-to-End model as a Hinton plot. The area of each square represents the numerical value, and each row is normalized to sum to 1
Fig. 6
Fig. 6
Normalised log-likelihood (L^) of the GBM for various dimensionalities of the latent state over all cages
Fig. 7
Fig. 7
Posterior probability of the GBM over Q for all cages (|Z|=7, model trained on cage L)
Fig. 8
Fig. 8
RDLs from Table 6, printed on the number line: the lowest scoring cages are marked
Fig. 9
Fig. 9
Parameters for the GBM with |Z|=7 trained on Adult mice. For Ω (leftmost panel) we show the transition probabilities: underneath the Z[t+1] labels, we also report the steady-state probabilities (first row) and the expected dwell times (in BTIs, second row). The other three panels show the emission probabilities Ψk for each mouse as Hinton plots. We omit zeros before the decimal point and suppress values close to 0 (at the chosen precision)
Fig. 10
Fig. 10
Ethogram for the regime (GBM |Z|=7) and individual behaviour probabilities for a run from cage B. In all but the light status, darker colours signify higher probability: the hue is purple for Z and matches the assignment of mice to variables Xk otherwise. The light-status is indicated by white for lights-on and black for lights-off. Missing data is indicated by grey bars
Fig. 11
Fig. 11
Parameters for the per-cage models (|Z|=7) for cages D, F and L. The order of the latent states is permuted to maximise the similarity with the global model (using the Hungarian algorithm) for easier comparison. The plot follows the arrangement in Fig. 9
Fig. 12
Fig. 12
L^ scores (x-axis) of the GBM on each cage (y-axis, left) in the adult/young age groups, together with the accuracy of a binary threshold on the L^ (scale on the right)
Fig. 13
Fig. 13
L^ as a function of |Z|{2,3,...,7}, with each cage as initialiser. The average (per |Z|) is shown as a blue cross
Fig. 14
Fig. 14
GBM parameters on the Young mice data for |Z|=6. Arrangement is as in Fig. 9

Similar articles

References

    1. Alboni, S., van Dijk, R. M., Poggini, S., Milior, G., Perrotta, M., Drenth, T., Brunello, N., Wolfer, D. P., Limatola, C., Amrein, I., Cirulli, F., Maggi, L., & Branchi, I. (2017). Fluoxetine effects on molecular, cellular and behavioral endophenotypes of depression are driven by the living environment. Molecular Psychiatry,22(4), 552–561. - PMC - PubMed
    1. Arakawa, T., Tanave, A., Ikeuchi, S., Takahashi, A., Kakihara, S., Kimura, S., Sugimoto, H., Asada, N., Shiroishi, T., Tomihara, K., Tsuchiya, T., & Koide, T. (2014). A male-specific QTL for social interaction behavior in mice mapped with automated pattern detection by a hidden Markov model incorporated into newly developed freeware. Journal of Neuroscience Methods,234, 127–134. - PubMed
    1. Bailoo, J. D., Murphy, E., Boada-Saña, M., Varholick, J. A., Hintze, S., Baussière, C., Hahn, K. C., Göpfert, C., Palme, R., Voelkl, B., & Würbel, H. (2018). Effects of cage enrichment on behavior, welfare and outcome variability in female mice. Frontiers in Behavioral Neuroscience,12(232), 1–20. - PMC - PubMed
    1. Bains, R. S., Cater, H. L., Sillito, R. R., Chartsias, A., Sneddon, D., Concas, D., Keskivali-Bond, P., Lukins, T. C., Wells, S., Acevedo, A. A., Nolan, P. M., & Armstrong, J. D. (2016). Analysis of individual mouse activity in group housed animals of different inbred strains using a novel automated home cage analysis system. Frontiers in Behavioral Neuroscience,10(106), 1–12. - PMC - PubMed
    1. Bains, R. S., Forrest, H., Sillito, R. R., Armstrong, J. D., Stewart, M., Nolan, P. M., & Wells, S. E. (2023). Longitudinal home-cage automated assessment of climbing behavior shows sexual dimorphism and aging-related decrease in C57BL/6J healthy mice and allows early detection of motor impairment in the N171–82Q mouse model of Huntington’s disease. Frontiers in Behavioral Neuroscience,17, 1–13. - PMC - PubMed

LinkOut - more resources