IEEE Internet of Things JournalAnimal Behavior & CognitionPeer-reviewed journal article
Wireless AI-Powered IoT Sensors for Laboratory Mice Behavior Recognition
M. Chen, Y. Liu, H.-y. Chan, J. C. Tam, X. Li, C. Chan, W. J. Li
Abstract
According to the U.S. Department of Agriculture in 2018, there are more than 100 million animals used in research, education, and testing per year. Of the laboratory animals used for research, 95 percent are mice and rats as reported by the Foundation for Biomedical Research (FBR). We present here our work in developing wireless Artificial Intelligent (AI)-powered IoT Sensors (AIIS) for laboratory mice motion recognition utilizing embedded micro-inertial measurement units (uIMUs). Based on the AIIS, we have demonstrated a small-animal motion tracking and recognition system that could recognize 5 common behaviors of mice in cages with accuracy of ~76.23%. The key advantage of this AIIS-based system is to enable high throughput behavioral monitoring of multiple to a large group of laboratory animals, in contrast to traditional video tracking systems that usually track only single or a few animals at a time. The system collects motion data (i.e., three axes linear accelerations and three axes angular velocities) from the IoT sensors attached to different mice, and classifies these data into different behaviors using machine learning algorithms. One of the challenging problems for data analysis is that the distribution of behavior samples is extremely imbalanced. Behaviors such as sleeping and walking dominate the entire sample set from different mice. However, machine learning algorithms often require a balanced sample set to achieve optimal performance. Thus, several methods are proposed to solve the imbalanced sample problem. Data processing methods for data segmentation, feature extraction, feature selection, imbalanced learning, and machine learning are explored to process motion data including sleeping, walking, rearing, digging, shaking, grooming, drinking and scratching. For example, by tuning the parameters of a machine-learning algorithm (i.e., Support Vector Machine (SVM)), the average accuracy of classifying five behaviors (i.e., sleeping, walking, rearing, digging and shaking) is 48.07% before solving the imbalance sample issue. To address this problem, an iteration of sample and feature selection is applied to improve the SVM performance. A combination of oversampling and undersampling is used to handle imbalanced classes, and feature selection provides the optimal number of features. The accuracy increases from 48.07% to 76.23% when the optimized combination is used. We further obtained an average accuracy of 86.46% by removing shaking, which is proved to have a negative effect on the overall performance, out of these five behaviors. Furthermore, we were able to classify less frequent behaviors including rearing, digging, grooming, drinking and scratching at an average accuracy of 96.35%.
- organism: mouse
- assay: imaging
- research focus: cell type annotation
- approach: machine learning (classical)
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
- Leveraging machine learning and accelerometry to classify animal behaviours with uncertainty
Medha Agarwal, Kasim Rafiq, … Zaïd Harchaoui·Methods in Ecology and EvolutionPeer-reviewed·Dec 8, 2025
- Markerless mouse tracking for social experiments
V. A. Le, T.-L. Sterley, … K. Murari·bioRxiv·Oct 20, 2021
- 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
- DAMM for the detection and tracking of multiple animals within complex social and environmental settings
G. Kaul, J. McDevitt, … A. Eban-Rothschild·bioRxiv·Jan 18, 2024
- A detailed behavioral, videographic, and neural dataset on object recognition in mice
Chris C. Rodgers·Scientific DataPeer-reviewed·Oct 13, 2022
- Towards Fully Automated Investigation of Social Learning in Mice
Benjamin Lang, Christa Thöne‐Reineke, … Lars Lewejohann·bioRxiv·Aug 31, 2025