Cargando…

DynamicSleepNet: a multi-exit neural network with adaptive inference time for sleep stage classification

Sleep is an essential human physiological behavior, and the quality of sleep directly affects a person’s physical and mental state. In clinical medicine, sleep stage is an important basis for doctors to diagnose and treat sleep disorders. The traditional method of classifying sleep stages requires s...

Descripción completa

Detalles Bibliográficos
Autores principales: Wenjian, Wang, Qian, Xiao, Jun, Xue, Zhikun, Hu
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10213983/
https://www.ncbi.nlm.nih.gov/pubmed/37250117
http://dx.doi.org/10.3389/fphys.2023.1171467
_version_ 1785047744351567872
author Wenjian, Wang
Qian, Xiao
Jun, Xue
Zhikun, Hu
author_facet Wenjian, Wang
Qian, Xiao
Jun, Xue
Zhikun, Hu
author_sort Wenjian, Wang
collection PubMed
description Sleep is an essential human physiological behavior, and the quality of sleep directly affects a person’s physical and mental state. In clinical medicine, sleep stage is an important basis for doctors to diagnose and treat sleep disorders. The traditional method of classifying sleep stages requires sleep experts to classify them manually, and the whole process is time-consuming and laborious. In recent years, with the help of deep learning, automatic sleep stage classification has made great progress, especially networks using multi-modal electrophysiological signals, which have greatly improved in terms of accuracy. However, we found that the existing multimodal networks have a large number of redundant calculations in the process of using multiple electrophysiological signals, and the networks become heavier due to the use of multiple signals, and difficult to be used in small devices. To solve these two problems, this paper proposes DynamicSleepNet, a network that can maximize the use of multiple electrophysiological signals and can dynamically adjust between accuracy and efficiency. DynamicSleepNet consists of three effective feature extraction modules (EFEMs) and three classifier modules, each EFEM is connected to a classifier. Each EFEM is able to extract signal features while making the effective features more prominent and the invalid features are suppressed. The samples processed by the EFEM are given to the corresponding classifier for classification, and if the classifier considers the uncertainty of the sample to be below the threshold we set, the sample can be output early without going through the whole network. We validated our model on four datasets. The results show that the highest accuracy of our model outperforms all baselines. With accuracy close to baselines, our model is faster than the baselines by a factor of several to several tens, and the number of parameters of the model is lower or close. The implementation code is available at: https://github.com/Quinella7291/A-Multi-exit-Neural-Network-with-Adaptive-Inference-Time-for-Sleep-Stage-Classification/.
format Online
Article
Text
id pubmed-10213983
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-102139832023-05-27 DynamicSleepNet: a multi-exit neural network with adaptive inference time for sleep stage classification Wenjian, Wang Qian, Xiao Jun, Xue Zhikun, Hu Front Physiol Physiology Sleep is an essential human physiological behavior, and the quality of sleep directly affects a person’s physical and mental state. In clinical medicine, sleep stage is an important basis for doctors to diagnose and treat sleep disorders. The traditional method of classifying sleep stages requires sleep experts to classify them manually, and the whole process is time-consuming and laborious. In recent years, with the help of deep learning, automatic sleep stage classification has made great progress, especially networks using multi-modal electrophysiological signals, which have greatly improved in terms of accuracy. However, we found that the existing multimodal networks have a large number of redundant calculations in the process of using multiple electrophysiological signals, and the networks become heavier due to the use of multiple signals, and difficult to be used in small devices. To solve these two problems, this paper proposes DynamicSleepNet, a network that can maximize the use of multiple electrophysiological signals and can dynamically adjust between accuracy and efficiency. DynamicSleepNet consists of three effective feature extraction modules (EFEMs) and three classifier modules, each EFEM is connected to a classifier. Each EFEM is able to extract signal features while making the effective features more prominent and the invalid features are suppressed. The samples processed by the EFEM are given to the corresponding classifier for classification, and if the classifier considers the uncertainty of the sample to be below the threshold we set, the sample can be output early without going through the whole network. We validated our model on four datasets. The results show that the highest accuracy of our model outperforms all baselines. With accuracy close to baselines, our model is faster than the baselines by a factor of several to several tens, and the number of parameters of the model is lower or close. The implementation code is available at: https://github.com/Quinella7291/A-Multi-exit-Neural-Network-with-Adaptive-Inference-Time-for-Sleep-Stage-Classification/. Frontiers Media S.A. 2023-05-10 /pmc/articles/PMC10213983/ /pubmed/37250117 http://dx.doi.org/10.3389/fphys.2023.1171467 Text en Copyright © 2023 Wenjian, Qian, Jun and Zhikun. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
spellingShingle Physiology
Wenjian, Wang
Qian, Xiao
Jun, Xue
Zhikun, Hu
DynamicSleepNet: a multi-exit neural network with adaptive inference time for sleep stage classification
title DynamicSleepNet: a multi-exit neural network with adaptive inference time for sleep stage classification
title_full DynamicSleepNet: a multi-exit neural network with adaptive inference time for sleep stage classification
title_fullStr DynamicSleepNet: a multi-exit neural network with adaptive inference time for sleep stage classification
title_full_unstemmed DynamicSleepNet: a multi-exit neural network with adaptive inference time for sleep stage classification
title_short DynamicSleepNet: a multi-exit neural network with adaptive inference time for sleep stage classification
title_sort dynamicsleepnet: a multi-exit neural network with adaptive inference time for sleep stage classification
topic Physiology
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10213983/
https://www.ncbi.nlm.nih.gov/pubmed/37250117
http://dx.doi.org/10.3389/fphys.2023.1171467
work_keys_str_mv AT wenjianwang dynamicsleepnetamultiexitneuralnetworkwithadaptiveinferencetimeforsleepstageclassification
AT qianxiao dynamicsleepnetamultiexitneuralnetworkwithadaptiveinferencetimeforsleepstageclassification
AT junxue dynamicsleepnetamultiexitneuralnetworkwithadaptiveinferencetimeforsleepstageclassification
AT zhikunhu dynamicsleepnetamultiexitneuralnetworkwithadaptiveinferencetimeforsleepstageclassification