Wireless AI-Powered IoT Sensors for Laboratory Mice Behavior Recognition

Meng Chen, Yifan Liu, John Chung Tam, Ho‐Yin Chan, Xinyue Li, C.c. Chan, Wen J. LibioRxiv 2020

TL;DR

This paper introduces a novel wireless AI-powered IoT sensor system for high-throughput, multi-animal behavior recognition in laboratory mice. By leveraging inertial measurement units and advanced machine learning techniques to overcome data imbalance, the system achieves significantly improved accuracy in classifying mouse behaviors, paving the way for more efficient and comprehensive animal research.

What Problem Does This Paper Address?

Traditional methods for monitoring laboratory animal behavior, particularly mice, often rely on video tracking. While effective for individual animals, these systems are time-consuming, labor-intensive, and struggle to scale to large groups. This inefficiency limits sample sizes, impacting the reliability and consistency of animal studies. Furthermore, existing systems can be expensive and require complex surgical implantation for continuous monitoring. The authors aim to address these limitations by developing a low-cost, wireless, AI-powered system capable of simultaneously monitoring numerous animals and accurately recognizing their behaviors, even with imbalanced datasets.

Methods

The core of the system is an "injectable motion tracker," a small, lightweight wireless IoT sensor equipped with a micro-inertial measurement unit (uIMU) that captures acceleration and angular velocity data. This data is transmitted wirelessly via Bluetooth Low Energy (BLE) to a gateway (an Android smartphone in this case) and then to a cloud server for processing.

The data analysis pipeline involves several key steps:

  • Behavior Labeling: Motion data is synchronized with video recordings to manually label specific behaviors.
  • Segmentation: Labeled motion data is divided into segments using fixed-time windows (e.g., 1-2 seconds).
  • Feature Extraction: Six time-domain features (mean, variance, RMS, max, min, energy) are extracted for each axis of acceleration and angular velocity, resulting in 36 features per segment.
  • Imbalanced Learning: To address the significant imbalance in behavior data (e.g., mice spend most of their time sleeping), a combination of oversampling (SMOTE) and undersampling (ClusterCentroids) techniques is employed. This aims to create a balanced training dataset.
  • Feature Selection: A Sequential Feature Selection (SFS) algorithm is used to identify the most relevant features, reducing dimensionality and improving computational efficiency.
  • Classification: A Support Vector Machine (SVM) with a radial basis function kernel is used as the classifier. The SVM's parameters (gamma and C) are optimized using grid search and cross-validation.

The paper highlights the iterative nature of sample and feature selection to find the optimal combination for maximizing classification accuracy.

Datasets

The paper describes experiments conducted on C57BL/6 mice. The data collected from these experiments forms the basis for training and evaluating the system. The authors do not explicitly mention using publicly available benchmark datasets for this specific task. Instead, they generated their own datasets through controlled experiments, which are implicitly described as "imbalanced dataset I," "imbalanced dataset II," and "imbalanced dataset III" for evaluation purposes.

Key Insights and Ideas

  • High-Throughput Monitoring: The wireless, multi-animal capability of the AIIS is a significant advantage over traditional video tracking, enabling more scalable and efficient research.
  • Overcoming Data Imbalance: The paper demonstrates that standard machine learning algorithms struggle with highly imbalanced datasets common in animal behavior. Their proposed iterative sample and feature selection, combined with over/undersampling, is crucial for achieving high accuracy.
  • Shaking as an Interfering Behavior: The study found that the "shaking" behavior, while seemingly distinct, negatively impacted the classification accuracy of other behaviors. Removing shaking data significantly improved the overall performance for other classes.
  • Adaptive Window Segmentation Potential: The authors acknowledge that fixed-time window segmentation can sometimes split behaviors or include multiple behaviors in a single sample. They propose adaptive window segmentation as a future improvement.

Key Results

  • Initial Accuracy: Before addressing data imbalance, the SVM achieved an average accuracy of 48.07% for five behaviors (sleeping, walking, rearing, digging, shaking).
  • Optimized Accuracy (5 behaviors): After applying sample and feature selection, the average accuracy for the five behaviors increased to 76.23%.
  • Optimized Accuracy (4 behaviors, excluding shaking): By removing shaking, the average accuracy for the remaining four behaviors reached 86.46%.
  • Accuracy for Less Frequent Behaviors: For less frequent behaviors (rearing, digging, grooming, drinking, scratching), the system achieved an impressive average accuracy of 96.35%.
  • Improvement in Minority Classes: The optimization process led to substantial accuracy improvements for minority classes, such as walking and rearing, by over 58% and 84%, respectively.

Limitations and Future Work

  • Fixed-Time Window Segmentation: The current fixed-time window segmentation can lead to samples containing multiple behaviors or splitting a single behavior, potentially hindering classification. The authors suggest an adaptive-window-segmentation method as a future direction.
  • Shaking Behavior Interference: The study identified that shaking negatively impacts the classification of other behaviors. This suggests that the current feature set might not adequately differentiate shaking from other movements, or that shaking itself might be a complex behavior to classify in conjunction with others.
  • Feature Set Limitations: The authors propose that more unique features might be needed, or alternative signal processing methods like Recurrent Neural Networks (RNNs) could be explored to better capture the temporal relationships within behaviors.
  • Generalizability: While the system was tested on C57BL/6 mice, further validation across different strains or experimental conditions might be necessary.

Summary updated

BibTeX
@misc{chen2020wireless,
  author = {Meng Chen and Yifan Liu and John Chung Tam and Ho‐Yin Chan and Xinyue Li and C.C. Chan and Wen J. Li},
  title = {{Wireless AI-Powered IoT Sensors for Laboratory Mice Behavior Recognition}},
  year = {2020},
  doi = {10.1101/2020.07.23.217190},
  howpublished = {bioRxiv},
}

Loading related content...

Figure