Objective. Sleep perturbation by environment, medical procedure and genetic background is under continuous study in biomedical research. Analyzing brain states in animal models such as rodents relies on categorizing electroencephalogram (EEG) recordings. Traditionally, sleep experts have classified these states by visual inspection of EEG signatures, which is laborious. The heterogeneity of sleep patterns complicates the development of a generalizable solution across different species, genotypes and experimental environments. Approach. To realize a generalizable solution, we proposed a cross-species rodent sleep scoring network called CSSleep, a robust deep-learning model based on single-channel EEG. CSSleep starts with a local time-invariant information learning convolutional neural network. The second module is the global transition rules learning temporal convolutional network (TRTCN), stacked with bidirectional attention-based temporal convolutional network modules. The TRTCN simultaneously captures positive and negative time direction information and highlights relevant in-sequence features. The dataset for model evaluation comprises the single-EEG signatures of four cohorts of 16 mice and 8 rats from three laboratories. Main results. In leave-one-cohort-out cross-validation, our model achieved an accuracy of 91.33%. CSSleep performed well on generalization across experimental environments, mutants and rodent species by using single-channel EEG. Significance. This study aims to promote well-standardized cross-laboratory sleep studies to improve our understanding of sleep. Our source codes and supplementary materials will be disclosed later.
Read full abstract