bioRxivAnimal Behavior & CognitionPreprint
Automatic pain face analysis in mice: Applied to a varied dataset with non-standardized conditions
Niek AndreseniD, Manuel WöllhafiD, Jenny WilzopolskiiD, Annemarie LangiD, Angelique WolteriD, Laura Howe-WittekiD, Clara Bekemeier, Leonie-Iva Pawlak, Sarah Beyer, Holger CynisiD, Edith Hietel, Vera Rieckmann, Max RieckmanniD, C Thöne-ReinekeiD, Lars LewejohanniD, Olaf HellwichiD, Katharina HohlbaumiD
Abstract
Biomedical research relies on scientifically validated tools to assess pain, suffering, and distress in laboratory animals to ensure their well-being. In mice, the most frequently used laboratory animals, the Mouse Grimace Scale (MGS) provides a reliable tool for the assessment of facial expression changes caused by impaired well-being. However, no automated tool can yet reliably assess all features of the MGS across different mouse strains under varying experimental or housing conditions in real-time, as the variability present in recorded image datasets poses substantial challenges for computer vision models. Despite this technical difficulty, variability across subsets in terms of mouse strain, treatments, laboratory, and image acquisition setup is essential for paving the way toward MGS assessment under non-standardized conditions in the home cage rather than standardized cage-side recording setups. Against this background, a large and diverse dataset containing five subsets is introduced and a deep learning model was trained to predict the average MGS scores ranging between 0 and 2. It achieved a root mean squared error (RMSE) of 0.26 when trained on all subsets of the dataset, outperforming the average human rater in terms of error magnitude. The correlation between human raters and automated MGS scores was very high (Pearsons r=0.85). In the cross-dataset evaluation, one subset was excluded from training and used for testing the model. This approach yielded higher errors compared to models trained and tested on the same subsets. A model restricted to the feature of orbital tightening showed lower performance than one trained on all facial features of the MGS. Overall, the most reliable model for predicting average MGS scores for a novel dataset is the one trained on the combined subsets. Performance may be further enhanced by fine-tuning the model using human-generated MGS scores for a portion of the novel subset.
- organism: mouse
- assay: imaging
- research focus: cell type annotation
- research focus: clustering
- research focus: differential expression
- research focus: benchmarking
- approach: deep learning
- Citations
- 1
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Development and validation of PainFace, a software platform that simplifies and standardizes mouse grimace analyses
Eric S. McCoy, Sang Kyoon Park, … Mark J. Zylka·bioRxiv·Aug 12, 2022
- Towards a fully automated surveillance of well-being status in laboratory mice using deep learning
N. Andresen, M. Wöllhaf, … V. Belik·bioRxiv·Mar 19, 2019
- LabGrymace: Automated Analysis of Mouse Grimace for Quantitative Assessment of Pain Dynamics
Wenjin Dong, Kayla M. Moehn, … Bing Ye·bioRxiv·Aug 6, 2026
- Different Paradigms from Computer Vision Align with Human Assessment of the Mouse Grimace Scale
Michelle Reimann, Jacer Aloui, … Patrik Reiske·bioRxiv·Mar 6, 2026
- Classification of Multiple Emotional States from Facial Expressions in Mice using a Deep Learning-Based Image Analysis
Yudai Tanaka, Takuto Nakata, … Daisuke Ino·PLoS ONEPeer-reviewed·Jul 20, 2023
- GrimACE: Automated, multimodal cage-side assessment of pain and well-being in mice
Oliver Sturman, Marcel Schmutz, … Johannes Bohacek·Lab AnimalPeer-reviewed·Mar 5, 2026