Abstract
Monitoring laboratory mouse behavior is a cornerstone of neurological and psychiatric research. Traditional manual observation is labor-intensive and prone to subjectivity. This paper introduces a hybrid deep learning framework that integrates unsupervised feature encoding with supervised neural networks and Hidden Markov Models (HMMs). By leveraging spatial-temporal context and behavior transition probabilities, the proposed system significantly outperforms existing methods, particularly in distinguishing visually similar actions and handling imbalanced datasets.
Introduction
In biomedical research, the ability to accurately track and categorize mouse behavior over long periods is essential. However, researchers face significant hurdles in automating this process. First, many behaviors, such as eating and drinking, are visually similar when viewed from a distance. Second, mouse movements are rapid, requiring high-resolution temporal modeling. Finally, behavior data is often highly imbalanced; mice spend the majority of their time resting, making it difficult for models to learn infrequent but critical actions like drinking or grooming.
Methodology
The authors propose a multi-layered hybrid architecture designed to address these challenges by stacking unsupervised feature extraction with supervised classification and temporal modeling.
The system begins with improved interest point detection using a combination of Laplacian of Gaussian (LoG) filtering and frame differencing, ensuring robustness against flickering laboratory lights. These points are encoded into a Spatial-Temporal Segment Fisher Vector (SFV). Unlike standard Fisher Vectors, the SFV divides video segments into $2 \times 2 \times 2$ subvolumes, preserving the spatial and temporal "structure" of the movement.
Crucially, the model incorporates context-aware features by encoding the absolute and relative positions of the mouse within the cage. This spatial context allows the model to differentiate between behaviors based on location (e.g., proximity to a water bottle) rather than just posture. These features are then processed by a Segment Aggregate Network (SAN) to estimate action probabilities.
Temporal Dynamics and Transition Modeling
To refine the frame-by-frame predictions from the neural network, the framework employs a Hidden Markov Model (HMM). The HMM uses a transition matrix to model the likelihood of one behavior following another. For example, a mouse is statistically more likely to transition from "walking" to "rearing" than to transition directly from "drinking" to "sleeping".
By applying the Viterbi algorithm, the system identifies the most probable sequence of behaviors over time. This temporal smoothing is particularly effective at preventing the over-prediction of majority classes (like "resting") which often plagues standard Recurrent Neural Networks (RNNs) like LSTMs in this domain.
Experimental Results
The system was evaluated using the Jhuang database and a custom dataset designed to test robustness against background noise (e.g., sawdust digging).
- Accuracy: On the Jhuang "clipped" benchmark, the model achieved a state-of-the-art accuracy of 97.9%, a significant improvement over the previous 93.0% benchmark.
- Human-Level Performance: In tests on full, unedited 10-hour videos, the system reached 81.5% agreement with human annotators. Notably, this exceeds the typical agreement rate between two human experts (71.6%) and far outperforms commercial automated systems (60.9%).
- Computational Efficiency: The pipeline is optimized for research environments, running 4x faster on standard CPUs than methods relying on complex trajectory features.
Conclusion
The integration of spatial-temporal context and HMM-based transition modeling provides a robust solution for automated mouse behavior recognition. By outperforming both commercial systems and human inter-observer agreement, this framework offers a reliable tool for large-scale behavioral phenotyping. Future research will address social interactions and the challenges of occlusion when multiple mice occupy the same environment.
Summary updated