Brandon J Harvey, Viktor J Olah, Lauren M Aiani, Lucie I Rosenberg, Danny J Lasky, Benjamin Moxon, Nigel P Pedersen
{"title":"快速同时测定小鼠睡眠-觉醒状态和癫痫发作的分类器。","authors":"Brandon J Harvey, Viktor J Olah, Lauren M Aiani, Lucie I Rosenberg, Danny J Lasky, Benjamin Moxon, Nigel P Pedersen","doi":"10.1101/2023.04.07.536063","DOIUrl":null,"url":null,"abstract":"<p><p>Sleep-wake states bi-directionally interact with epilepsy and seizures, but the mechanisms are unknown. A barrier to comprehensive characterization and the study of mechanisms has been the difficulty of annotating large chronic recording datasets. To overcome this barrier, we sought to develop an automated method of classifying sleep-wake states, seizures, and the post-ictal state in mice ranging from controls to mice with severe epilepsy with accompanying background EEG abnormalities. We utilized a large dataset of recordings, including EMG, EEG, and hippocampal local field potentials, from control and intra-amygdala kainic acid-treated mice. We found that an existing sleep-wake classifier performed poorly, even after retraining. A support vector machine, relying on typically used scoring parameters, also performed below our benchmark. We then trained and evaluated several multi-layer neural network architectures and found that a bidirectional long short-term memory-based model performed best. This 'Sleep-Wake and Ictal State Classifier' (SWISC) showed high agreement between ground-truth and classifier scores for all sleep and seizure states in an unseen and unlearned epileptic dataset (average agreement 96.41% ± SD 3.80%), and saline animals (97.77% ± 1.40%). Channel elimination and feature selection provided interpretability and demonstrated that SWISC was primarily dependent on hippocampal signals, yet still maintained good performance (∼90% agreement) with EEG alone, thereby expanding the classifier's applicability to other epilepsy datasets. SWISC enables the efficient combined scoring of sleep-wake and seizure states in mouse models of epilepsy and healthy controls, facilitating comprehensive and mechanistic studies of sleep-wake and biological rhythms in epilepsy.</p>","PeriodicalId":72407,"journal":{"name":"bioRxiv : the preprint server for biology","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2025-06-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ftp.ncbi.nlm.nih.gov/pub/pmc/oa_pdf/0e/64/nihpp-2023.04.07.536063v1.PMC10104108.pdf","citationCount":"0","resultStr":"{\"title\":\"Automated Classification of Sleep-Wake States and Seizures in Mice.\",\"authors\":\"Brandon J Harvey, Viktor J Olah, Lauren M Aiani, Lucie I Rosenberg, Danny J Lasky, Benjamin Moxon, Nigel P Pedersen\",\"doi\":\"10.1101/2023.04.07.536063\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>Sleep-wake states bi-directionally interact with epilepsy and seizures, but the mechanisms are unknown. A barrier to comprehensive characterization and the study of mechanisms has been the difficulty of annotating large chronic recording datasets. To overcome this barrier, we sought to develop an automated method of classifying sleep-wake states, seizures, and the post-ictal state in mice ranging from controls to mice with severe epilepsy with accompanying background EEG abnormalities. We utilized a large dataset of recordings, including EMG, EEG, and hippocampal local field potentials, from control and intra-amygdala kainic acid-treated mice. We found that an existing sleep-wake classifier performed poorly, even after retraining. A support vector machine, relying on typically used scoring parameters, also performed below our benchmark. We then trained and evaluated several multi-layer neural network architectures and found that a bidirectional long short-term memory-based model performed best. This 'Sleep-Wake and Ictal State Classifier' (SWISC) showed high agreement between ground-truth and classifier scores for all sleep and seizure states in an unseen and unlearned epileptic dataset (average agreement 96.41% ± SD 3.80%), and saline animals (97.77% ± 1.40%). Channel elimination and feature selection provided interpretability and demonstrated that SWISC was primarily dependent on hippocampal signals, yet still maintained good performance (∼90% agreement) with EEG alone, thereby expanding the classifier's applicability to other epilepsy datasets. SWISC enables the efficient combined scoring of sleep-wake and seizure states in mouse models of epilepsy and healthy controls, facilitating comprehensive and mechanistic studies of sleep-wake and biological rhythms in epilepsy.</p>\",\"PeriodicalId\":72407,\"journal\":{\"name\":\"bioRxiv : the preprint server for biology\",\"volume\":\" \",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2025-06-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://ftp.ncbi.nlm.nih.gov/pub/pmc/oa_pdf/0e/64/nihpp-2023.04.07.536063v1.PMC10104108.pdf\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"bioRxiv : the preprint server for biology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1101/2023.04.07.536063\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"bioRxiv : the preprint server for biology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1101/2023.04.07.536063","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Automated Classification of Sleep-Wake States and Seizures in Mice.
Sleep-wake states bi-directionally interact with epilepsy and seizures, but the mechanisms are unknown. A barrier to comprehensive characterization and the study of mechanisms has been the difficulty of annotating large chronic recording datasets. To overcome this barrier, we sought to develop an automated method of classifying sleep-wake states, seizures, and the post-ictal state in mice ranging from controls to mice with severe epilepsy with accompanying background EEG abnormalities. We utilized a large dataset of recordings, including EMG, EEG, and hippocampal local field potentials, from control and intra-amygdala kainic acid-treated mice. We found that an existing sleep-wake classifier performed poorly, even after retraining. A support vector machine, relying on typically used scoring parameters, also performed below our benchmark. We then trained and evaluated several multi-layer neural network architectures and found that a bidirectional long short-term memory-based model performed best. This 'Sleep-Wake and Ictal State Classifier' (SWISC) showed high agreement between ground-truth and classifier scores for all sleep and seizure states in an unseen and unlearned epileptic dataset (average agreement 96.41% ± SD 3.80%), and saline animals (97.77% ± 1.40%). Channel elimination and feature selection provided interpretability and demonstrated that SWISC was primarily dependent on hippocampal signals, yet still maintained good performance (∼90% agreement) with EEG alone, thereby expanding the classifier's applicability to other epilepsy datasets. SWISC enables the efficient combined scoring of sleep-wake and seizure states in mouse models of epilepsy and healthy controls, facilitating comprehensive and mechanistic studies of sleep-wake and biological rhythms in epilepsy.