Skip to main content

ORIGINAL RESEARCH article

Front. Neurosci., 09 March 2023
Sec. Neuroprosthetics
This article is part of the Research Topic The Application of Artificial Intelligence in Brain-Computer Interface and Neural System Rehabilitation View all 20 articles

Hierarchical fusion detection algorithm for sleep spindle detection

  • 1Academy of Medical Engineering and Translational Medicine, Tianjin University, Tianjin, China
  • 2Key Laboratory of Complex System Control Theory and Application, Tianjin University of Technology, Tianjin, China
  • 3Department of Computer and Network Engineering, College of Information Technology, United Arab Emirates University, Al Ain, United Arab Emirates
  • 4Zhonghuan Information College Tianjin University of Technology, Tianjin, China
  • 5Beijing Machine and Equipment Institute, Beijing, China
  • 6Department of Rehabilitation, Tianjin Medical University General Hospital, Tianjin, China
  • 7Department of Neurology, Xuanwu Hospital, Capital Medical University, Beijing, China
  • 8Beijing Key Laboratory of Neuromodulation, Beijing, China

Background: Sleep spindles are a vital sign implying that human beings have entered the second stage of sleep. In addition, they can effectively reflect a person’s learning and memory ability, and clinical research has shown that their quantity and density are crucial markers of brain function. The “gold standard” of spindle detection is based on expert experience; however, the detection cost is high, and the detection time is long. Additionally, the accuracy of detection is influenced by subjectivity.

Methods: To improve detection accuracy and speed, reduce the cost, and improve efficiency, this paper proposes a layered spindle detection algorithm. The first layer used the Morlet wavelet and RMS method to detect spindles, and the second layer employed an improved k-means algorithm to improve spindle detection efficiency. The fusion algorithm was compared with other spindle detection algorithms to prove its effectiveness.

Results: The hierarchical fusion spindle detection algorithm showed good performance stability, and the fluctuation range of detection accuracy was minimal. The average value of precision was 91.6%, at least five percentage points higher than other methods. The average value of recall could reach 89.1%, and the average value of specificity was close to 95%. The mean values of accuracy and F1-score in the subject sample data were 90.4 and 90.3%, respectively. Compared with other methods, the method proposed in this paper achieved significant improvement in terms of precision, recall, specificity, accuracy, and F1-score.

Conclusion: A spindle detection method with high steady-state accuracy and fast detection speed is proposed, which combines the Morlet wavelet with window RMS and an improved k-means algorithm. This method provides a powerful tool for the automatic detection of spindles and improves the efficiency of spindle detection. Through simulation experiments, the sampled data were analyzed and verified to prove the feasibility and effectiveness of this method.

1. Introduction

Sleep spindles refer to the recognizable 11–16 Hz sinusoidal periodic pulse sequence on an electroencephalogram (EEG) during sleep. According to the American Academy of Sleep Medicine (AASM) (Iber et al., 2007), the spindles mainly occur in stage two of Non-Rapid-Eye-Movement (NREM) sleep (Schilling et al., 2018; Chriskos et al., 2019). Spindle detection plays a crucial role in sleep staging research and clinical disease diagnosis (Dehnavi et al., 2019; Zhang et al., 2020). Studies have found that the number and density of spindles are associated with many diseases (Fogel and Smith, 2011), such as Parkinson’s disease (Latreille et al., 2015), Alzheimer’s disease, major depression, autism, insomnia, and schizophrenia (Limoges et al., 2005; Keshavan et al., 2011; Astori and Luthi, 2013; Davies et al., 2016; Spironelli et al., 2020). In addition, the function of sleep spindles is associated with human intelligence and sleep-dependent memory consolidation (Fogel et al., 2007; Ujma et al., 2014). Notably, spindles are a reflecting functional brain-state biomarker and have solid supplementary diagnostic value (Zhao et al., 2017; Mensen et al., 2018).

Currently, in clinical diagnosis, spindle detection mainly depends on the subjective experience of doctors, the so-called gold standard of spindle detection (Dakun et al., 2015). Generally, the manual detection of spindles allows many experts to select the spindles simultaneously. It is challenging to detect sleep spindles with this method due to the high detection cost and longer detection time (Lacourse et al., 2019). Thus, Wamsley et al. (2012) explored a method to detect spindles using the wavelet transform automatically and found an overall number and density of 62.5%, a result that was far from ideal. Athanasios and Clifford (2015) and others proposed a probabilistic wavelet estimation algorithm based on the wavelet algorithm for the automatic detection of spindles. However, due to the spindles’ irregularities, the performance in recall rate was not ideal, with a minimum of 14.4% and a maximum of 83.2%. Hence, the stability of the recall rate was poor. Martin (Martin et al., 2012) et al. used the window root mean square (RMS) method to detect the spindle density of young and older people by calculating the RMS value. The accuracy was only 72%, but the recall rate was 83%. Furthermore, concerning age, it was found that the density, duration, and amplitude of spindles in young subjects were greater than those in older subjects, and age factors affected the detection of spindles. Mporas et al. (2013) proposed the hidden Markov model (HMM) and support vector machine (SVM) to process EEG signals. Through the fusion of HMM and SVM (HMM&SVM), the output recognition spindle results were combined to extract the final sleep spindle detection results. The average performance regarding precision was 88%, and recall was 76%, but the process was complex, and the operation was cumbersome, bringing great inconvenience to the experiment. Lacourse et al. (2019) proposed a detection method for spindles, also known as A7. The recall rate of this method reached 68%, with no crucial change compared with the average value of 72.7% within and between experts in sleep spindle detection (Devuyst et al., 2006).

The performance index of the above algorithms is in the range of 60–70%, and thus their performance is not ideal. Currently, there is a shortage of public databases for spindle detection, and the lack of databases has led to difficulties in validating the stability of different detection algorithms (Wendt et al., 2015). The performance of spindle detection can be further improved on the original basis.

Herein, a new notion of hierarchical fusion algorithm is proposed to improve the defects of expert manual detection and the automatic detection of spindles. It addresses the advantages and disadvantages of the automatic detection methods of sleep spindles by combining the advantages of the spindle detection method and overcoming the shortcomings of previous methods to detect spindles. The Morlet wavelet and RMS algorithms are used as the first layer of the basic algorithm. After fusing the results of the two automatic detection methods, the k-means algorithm in the second layer is used for clustering to get the final result. The Morlet wavelet detection method, window RMS detection method, HMM&SVM algorithm, and the newly proposed hierarchical fusion algorithm are compared in the detection results. The data results optimized by the hierarchical fusion algorithm substantially improve the performance of spindle automatic detection. In order to improve the efficiency and accuracy of spindle detection, we propose a new spindle detection algorithm, which combines the Morlet wavelet detection algorithm, RMS algorithms, and k-means algorithm. The average accuracy of this method is 91.6%, at least five percentage points higher than other methods.

2. Materials and methods

2.1. Data sources and methods

The experimental data came from the sleep monitoring room of Beijing Xuanwu Hospital. This experiment was designed to collect sleep data from 20 subjects with sleep disorders, all of whom were between 20 and 40 years old in order to avoid the effect of age differences on the number of spindles. Their average age was 31 years old, 11 participants were female, and they were all recruited from the community. Twenty subjects were scored on the Pittsburgh Sleep Quality Index before EEG acquisition. Those with a score greater than or equal to 11 were patients with sleep disorders. Table 1 shows the Pittsburgh Sleep Quality Index scores of the 20 subjects in this paper. The higher the score, the worse the sleep quality.

TABLE 1
www.frontiersin.org

Table 1. Pittsburgh sleep quality index score.

The data collection equipment adopted polysomnography (PSG). The equipment could record many channels simultaneously during the subjects’ sleep, such as EEG, ECG, EOG, EMG, airflow, and oxygen saturation. As shown in Figure 1, the international 10 / 20 standard electrode placement system shows the electrode positions of the relevant EEG signals collected in this paper. Based on the relevant research on the brain regions with frequent spindles, this study collected and analyzed the EEG signals collected from only six channels. Thus, the EEG data of the left and right channels collected in this experiment included F3 \F4 \C3 \C4 \O1 \O2. Here, F3 and F4 are frontal brain regions, C3 and C4 are central brain regions, and O1 and O2 represent the occipital regions. Spindles appear most frequently at these positions, and C3/C4 have the most spindle appearances. The sampling frequency of the EEG signal acquisition equipment used in this experiment was 1,024 Hz.

FIGURE 1
www.frontiersin.org

Figure 1. International 10 / 20 standard electrode placement system.

The data collection for each subject lasted from 9:30 p.m. to 6:30 a.m. The start and end times of the subjects entering sleep were not wholly consistent. Thus, sleep EEG data of up to 8 h from the first entering sleep stage were intercepted based on the stage of sleep for research to facilitate and accurately analyze the characteristic differences in individual and overall sleep spindles in the later stages. Professional sleep researchers operated and guided the monitor used in the sleep monitoring room. To ensure the accuracy of the physiological signal collection, the subjects were required to prohibit the intake of alcohol and the consumption of caffeine, sedatives, hypnotics, and other relevant drugs that could affect data collection 1 week before the sleep monitoring. Before data acquisition, the subjects were required to have taken a bath and cleaned their heads to ensure good contact between the electrodes and the skin to assist the collecting of data as much as possible. Furthermore, the subjects were required to urinate in advance or place a disposable night pot next to the hospital bed to avoid the disproportionate impact of large-scale activities at night on data acquisition. Next, the experimenter recorded the subject’s name, weight, gender, age, and other essential information. The relevant electrode connection points were wiped with a cleaning paste specifically used to clean the electrodes before the electrodes were connected. When the electrode was placed, the accuracy and firmness of the electrode’s position could be secured, and the electrodes were placed in a specified order. After the work preparation, before collection was completed, the monitor was opened to record the data collected by the software. During the acquisition process, the cell phones of the subject and experimenter were turned off to keep the environment quiet to avoid the interference of external environmental sound on the experimental data. After data collection in the morning, the experimenter turned off the equipment and woke up the subject. At this point, the experimental data collection was finished.

The sampling frequency of the experimental data was 1,024 Hz, which was downsampled to 512 Hz during the pre-processing for this paper. In this experiment, the bilateral mastoid was used as the mean reference for re-referencing. The Morlet wavelet-based and RMS automatic detection methods used in this experiment both require band-pass filtering of the data prior to spindle wave detection. The raw EEG signal was pre-processed with band-pass filtering from 5 to 35 Hz prior to automatic spindle wave detection using Morlet wavelets. Pre-processing of the raw data with 11–16 Hz bandpass filtering was conducted before using the RMS algorithm, where the frequency band was chosen based on the standard definition of the spindle frequency distribution.

2.2. Proposed algorithm

Figure 2 is the flowchart of the newly proposed hierarchical fusion spindle automatic detection algorithm. Two single detection algorithms, the Morlet wavelet and window RMS were used in the fusion algorithm, merged with the improved k-means algorithm.

FIGURE 2
www.frontiersin.org

Figure 2. Flowchart of the fusion algorithm.

The specific steps of the hierarchical fusion algorithm were as follows:

Firstly, the collected sleep EEG signal was pre-processed. The resultant sleep signal was transmitted to the Morlet wavelet and window RMS spindle automatic detector to judge the true and false spindle of the two detectors’ output results.

The Morlet wavelet function was closer to the spindles and more conducive to spindle detection. Spindle detection function based on the Morlet wavelet was defined as:

f ( x ) = ( π F B ) - 0.5 exp ( 2 π iF C x ) exp ( - x 2 / F B ) (1)

Where FB is the bandwidth of wavelet transform, FB = 2s2, and s = n/2πFC. The value of FB depends on the magnitude of the values of n and FC. The n represents the number of cycles of the Morlet wavelet. FC is the center frequency. Here, set n = 7 is a typical default value when balancing the time-frequency domain.

The Morlet wavelet function performed time-frequency conversion on the pre-processed EEG signal, and a threshold function was used to detect the spindle. After all pre-processing, the threshold was defined as 4.5 times the average signal amplitude. The average moving value was calculated using a 0.1 s sliding window to extract the spindle in the frequency band. When the wavelet signal exceeded the threshold and the duration was in the range of 0.5–3 s, it was deemed a spindle. If the distance between the two spindles was less than 1 s and the duration was less than 3 s, the spindle was combined. This detection result was reserved for the fusion of later experiments.

The window RMS algorithm used a linear phase finite impulse response filter for 11–16 HZ band-pass filtering of the EEG original signal in the NREM period of the C3 channel, doubling the order of the filter. The filtered EEG signal was determined using a time window of 0.25 s, and the threshold value was 0.95 times the mean value. The spindle was identified as two consecutive root mean squares calculated time points, exceeding the threshold and lasting between 0.5 and 3 s. The RMS value was calculated every 5 s by employing the following formula:

R M S - A = i = 1 N X i 2 N (2)

RMS-A refers to the root mean square of the spindle wave frequency band. Where Xi2 is the square of the amplitude of the sampling point i, and N is the number of sampling points within 5 s.

Let us repeat the spindle detection link. The spindle detected by the Morlet wavelet and RMS method was divided into coincident and non-coincident spindles. When the spindle detected using the two methods overlapped in the time series, they were considered coincident spindles. As can be seen in Figure 3A, the coincident spindle was regarded as the effective result of the fusion algorithm detection. When the spindle time did not repeat, it was considered a non-coincident spindle, as can be seen in Figure 3B.

FIGURE 3
www.frontiersin.org

Figure 3. Spindle automatic detection results of the Morlet wavelet and root mean square (RMS). (A) Morlet wavelet and RMS detect the coincident spindle. (B) Morlet wavelet and RMS detect non-coincident spindle.

This study identified the coincident spindle as the same spindle and directly classified it into the final automatic detection result set. The non-coincident spindle set was treated as the sample of clustering input. After cluster analysis, many non-spindle clusters were removed, and the samples of the remaining clusters and the coincident spindle set were taken as the final output result.

The non-coincident spindle needed to be further analysed and processed by the K-means clustering method. The K-means algorithm was relatively stable, and had a very smooth clustering effect. The K-means clustering algorithm needed to calculate the distance between the points of each cluster. The distance metric commonly used in the k-means algorithm is Euclidean distance.

Euclidean distance (L2):

d 12 = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2 (3)

The density was the distance between points to judge the abnormal points. After removing the outliers, the data were put into K-means clustering, improving the accuracy of clustering, reducing the amount of clustering data, and enhancing data processing speed.

The sum of squared errors (SSE) was used as the objective function to evaluate the clustering effect so that the clustering result can obtain the minimum SSE value (Klampanos et al., 2009). The local outlier factor detection method optimized K-means clustering, addressing the detection problem of amplitude affecting the spindle.

The amplitude of the spindles was in the range of 10–60 μV. When clustering the non-coincident spindles, the amplitude was used as the input. Five categories were clustered based on the amplitude, and the maximum and minimum were removed. The remaining three categories were used as data for further analysis. After clustering, clusters with many non-spindles were discarded, leaving the actual spindle clusters.

Finally, the final fusion result was the clustering and the coincident spindle.

In this paper, when using the k-means algorithm for clustering, the method of calculating the difference statistics was adopted to select the k value.

2.3. Evaluation method

Twenty subjects were tested manually using the gold standard of spindle detection to prove the reliability of the hierarchical fusion spindle automatic detection method. The gold standard adopted was three experts conducting the sample’s artificial spindle detection. The intersection of the three experts’ detection results were determined as spindles here, and the detection results not within the intersection were regarded as non-spindle sets.

Then according to the confusion matrix and the gold standard of spindle detection, the evaluation indexes, such as TPR (recall), specificity, accuracy, precision, and F1-score, were calculated to evaluate the detector’s performance.

The following was the meaning and relevant calculation formula of these evaluation indicators:

recall = TP / ( TP + FN ) (4)
precision = TP / ( TP + FP ) (5)
specificity = T N / ( T N + F P ) (6)
accuracy = ( TP + TN ) / ( TP + FP + TN + FN ) (7)
F1 = 2 * pression * recall pression + recall (8)

TP plus FN was the sample set of the actual spindles detected by experts, and TP plus FP was the sample set predicted as actual spindles by the detection algorithm. TP represents samples that were actually true spindle waves and detected by the automatic detection algorithm as true spindle waves; FP represents samples that were non-spindle waves but detected as true spindle waves; FN represents samples that were actually true spindle waves but predicted by the detection algorithm as non-spindle waves; and TN represents samples that are actually non-spindle waves and predicted by the detection algorithm as non-spindle waves.

3. Analysis of experimental results

The spindle detector automatically detected the spindle and contrasted it with the spindle detected by experts. R-spindles represented the actual spindle in the automatically detected spindles and A-spindles denoted all spindles automatically detected by the algorithm. The E-spindles symbolized the actual spindle detected by experts, and the intersections of the three experts’ two or three detection results were considered E-spindles.

Table 2 shows the number of spindle waves detected by the Morlet wavelet, windowed RMS, HMM&SVM, and hierarchical fusion algorithms compared to the real spindle waves labeled by experts. In Table 2, A-spindle represents the number of all spindle waves automatically detected by the algorithm, R-spindle represents the number of true spindle waves among the automatically detected spindle waves, and E-spindle represents the true spindle waves detected by the expert.

TABLE 2
www.frontiersin.org

Table 2. Comparison of the results of different detection algorithms.

As shown in Table 2, the total number of spindles automatically detected by the four methods differed for the same data. The four methods detected the most spindles in sample DS15, while the total spindles detected in sample DS6 were the least. The number of samples detected by the Morlet wavelet algorithm was small. Compared with the wavelet algorithm, the RMS-based algorithm could detect more spindles. The average number of R-spindles detected by HMM&SVM was 712, higher than the Morlet wavelet and RMS algorithm, demonstrating that this algorithm could recall more spindles.

Compared with the Morlet wavelet method, the R-spindle/A-spindle ratio of the hierarchical fusion algorithm was higher, reaching 91.67%, indicating that the hierarchical fusion algorithm improved the recall rate. Compared with the RMS algorithm and the HMM&SVM algorithm, the number of A-spindles of the hierarchical fusion algorithm decreased by 122 and 48, respectively, without a substantial change. The number of R-spindles did not decrease but instead increased by 34 and 25, respectively, showing that the accuracy of the newly proposed algorithm had been substantially enhanced.

The A-spindle of the hierarchical fusion algorithm had the recombined set of the two spindle detection results. After clustering, they had the Morlet, the RMS, and the non-recombined sets. The maximum number of spindles detected reached 1,507 in DS15 samples and 530 in DS6 samples, and the average value was 804. However, the maximum value of R-spindles reached 1,359 in DS15 samples, and the average value was 737. The fusion algorithm was closest to the actual spindle value detected by experts.

Figure 4 contrasts the hierarchical fusion algorithm with the other three automatic detection algorithms by calculating five performance evaluation indexes: Precision, Recall, Specificity, Accuracy, and F1-score.

FIGURE 4
www.frontiersin.org

Figure 4. Performance comparison of detection algorithms based on subject data.

The fusion algorithm represented the newly proposed hierarchical fusion algorithm, and Morlet wavelet, RMS, and HMM&SVM represented the Morlet wavelet, window RMS, and HMM and SVM, respectively. Figure 4 shows that the Precision of the spindle detection based on the Wavelet algorithm could meet the accuracy requirements under the current standard, scoring more than 85%. However, a critical gap existed between the maximum and minimum values of Recall, which had large fluctuations, and its stability needs to be improved. Only the evaluation index of Specificity of spindle automatic detection based on the RMS algorithm reached more than 90%. Likewise, the Specificity evaluation index of the HMM&SVM algorithm was more than 90% but lower than the other three detection algorithms. In the subject samples, the Recall index of the hierarchical fusion algorithm reached 92.9% at its highest, 81.9% at its lowest, and with an average of 89.1 ± 8.84%. In the performance of Precision, the maximum value reached was 96.3%, the minimum value was 87.1%, and the average value was 91.6 ± 3.06%. This Precision average value was better than those with the RMS and HMM&SVM algorithms and slightly better than those with the Morlet wavelet algorithm. The performances of Specificity, Accuracy, and F1-score were also ideal, and the average values were higher than those of the other three methods. The average values in the subject samples were 96 ± 2.89, 90.4 ± 6.50, and 90.3 ± 2.49%, respectively. The maximum, minimum, and average of each evaluation index of the hierarchical fusion algorithm were substantially improved compared with the other three algorithms.

4. Discussion

As sleep spindles are a characteristic index to evaluate sleep quality, the pursuit of the accurate detection of sleep spindles is imperative. The fusion method proposed in this paper was based on the Morlet wavelet and the Window RMS algorithm, combined with the improved k-means algorithm, and then the data results of algorithmic optimization. The fusion detection spindle algorithm combined the advantages of the three algorithms. Compared with previous research on spindle automatic detection, it improved calculation and effectiveness. The spindle detection results of the hierarchical fusion algorithm are shown in Figure 4, demonstrating better consistency with the expert detection results than the other methods. The detection rate of actual spindles was critically improved compared with the previous detection methods, effectively improving the accuracy and speed of the automatic spindle detection. This proposed method improved the shortcomings of the existing spindle detection methods and effectively enhances the detection efficiency of doctors, and reduces the visual inspection workload of sleep clinicians and the cost of detection (Jiang et al., 2021).

In the study of Warby et al. (2014), the amplitude and duration of the spindle decreased with age, probably damaging the spindle recognition performance. Therefore, in this experiment, we also paid attention to the interference of other unnecessary sample factors. PSG equipment was used to experiment on 20 subjects, and sleep data of 8 h were intercepted for research and analysis. The age of the subjects was controlled between 20 and 40 years old. The experimental data were truncated (Herrmann et al., 2016) to ensure a specific length of sample time. The wavelet automatic spindle detection method proposed by Wamsley et al. (2012) is more hierarchical than the fusion algorithm. The wavelet automatic detection algorithm needs much calculation and cumbersome experiments. The hierarchical fusion algorithm simplified the calculation, solving this problem. After completing the automatic spindle detection, the outliers and misjudged spindles were first eliminated. Then clustering processing was conducted to improve the effectiveness of spindle detection and simplify the process.

The number of actual spindles detected by the Wavelet algorithm proposed by Athanasios and Clifford (2015) was less than that detected by experts, so it cannot replace expert detection methods. This study used a sliding window to calculate the corrected moving average of the signal for the threshold setting. This method shortened the detection time and improved the accuracy. The spindles detected by the Martin et al. (2012) window root mean square method contained more false spindles. The hierarchical fusion algorithm clustered the non-coincident spindles automatically detected, improving the stability of spindle detection. The hierarchical fusion algorithm combined the Morlet wavelet and window RMS. It adopted the ideal accuracy of the wavelet method and the ideal recall rate of the window RMS detection method. Thus, the fusion algorithm realized both high levels of precision and recall and could achieve high evaluation indexes.

The HMM&SVM algorithm (Löfhede et al., 2008) also inspired the improvement of the algorithm in this paper. The influence of spindle amplitude on spindle detection was avoided, as the fluctuation range is too large to be ideal for the stability of the accuracy of the HMM&SVM algorithm. The hierarchical fusion algorithm advanced the experimental data to sample clustering, improving the detection speed through iterative clustering (Ding et al., 2018), and optimized the algorithm before clustering.

The figures reveal that the average Recall rate of the wavelet fusion method was 91.4%. The average Recall rate of the Precision method was 91.4%, which can be improved by 91.4% compared with that of the previous method, and the average Recall rate of the Precision method is improved by 90.4% compared with that of the Precision method. It met the requirements of improving the performance index and stability of the spindles.

Accurate and effective detection of sleep spindles is a methodological challenge. The spindles have a necessary judgment basis for diagnosing human diseases (Manoach et al., 2020). The hierarchical fusion algorithm is a favorable and feasible method for liberating the “gold standard” detection of experts, and reducing the shortcomings of the cumbersome, expensive, and strongly subjective spindle detection methods of the past (Parekh et al., 2017). This method could be popularized for clinical disease diagnosis instead of artificial spindle detection as it improves the speed of disease diagnosis and enables patients to receive rapid treatment (Imtiaz and Rodriguez-Villegas, 2014). At the same time, according to this test, the study of spindles on human intelligence and memory can save substantial experimental time (Wei et al., 2020). Therefore, effective and rapid spindle detection method is a common research direction.

The experiment mentioned in this paper only used the spindle samples of 20 subjects for analysis due to the limitation of the number and age of subjects and limited conditions; as a sample base, this is insufficient. In future research, increasing the sample base will improve the credibility of the results further. In the spindle detection algorithm, the spindle detection used in this paper was based on a single-channel C3, which uses too few channels. We could use dual-channel or multi-channels to detect the spindle automatically in future research. Concurrently, we could combine more deep learning models to classify the spindles and explore the prospects of deep learning in spindle classification.

Data availability statement

The original contributions presented in this study are included in this article/supplementary material, further inquiries can be directed to the corresponding authors upon reasonable request, and according the policies of Tianjin University, Tianjin university of Technology, Tianjin Medical University General Hospital, Xuanwu Hospital, Capital Medical University.

Ethics statement

The studies involving human participants were reviewed and approved by the Ethics Committee of Xuanwu Hospital. The patients/participants provided their written informed consent to participate in this study.

Author contributions

CC and JM completed the ethics files of this experiment. CC and ZH recorded the original experiment data, analyzed the experiment data, and penned the manuscript. CC, LL, DM, and AB wrote parts of the manuscript. FL, WY, PL, and JL designed the experiment and revised the manuscript. All authors contributed to the article and approved the submitted version.

Funding

This work was financially supported in part by the National Key Research and Development Program of China (2022YFF1202500 and 2022YFF1202501), the National Natural Science Foundation of China (61806146, 62106173, 62006014, and 82101448), the United Arab Emirates University and ASPIRE (AYIA20-002 and 21T057), and the Graduate Research and Innovation Project of Tianjin City (2019YJSS052).

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Astori, S., and Luthi, A. (2013). Synaptic plasticity at intrathalamic connections via CaV3.3 T-type Ca2+ channels and glun2b-containing nmda receptors. J. Neurosci. 33, 624–630. doi: 10.1523/JNEUROSCI.3185-12.2013

PubMed Abstract | CrossRef Full Text | Google Scholar

Athanasios, T., and Clifford, G. D. (2015). Stage-independent, single lead EEG sleep spindle detection using the continuous wavelet transform and local weighted smoothing. Front. Hum. Neurosci. 9:181. doi: 10.3389/fnhum.2015.00181

PubMed Abstract | CrossRef Full Text | Google Scholar

Chriskos, P., Frantzidis, C. A., Gkivogkli, P. T., Bamidis, P. D., and Kourtidou-Papadeli, C. (2019). “Automatic sleep staging employing convolutional neural networks and cortical connectivity images,” in IEEE transactions on neural networks & learning systems, (New Yotk, NY: IEEE), 1–11. doi: 10.1109/TNNLS.2019.2899781

PubMed Abstract | CrossRef Full Text | Google Scholar

Dakun, T., Rui, Z., Jinbo, S., and Qin, W. (2015). Sleep spindle detection using deep learning: A validation study based on crowdsourcing. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. 37, 2828–2831. doi: 10.1109/EMBC.2015.7318980

PubMed Abstract | CrossRef Full Text | Google Scholar

Davies, G., Haddock, G., Yung, A. R., Mulligan, L. D., and Kyle, S. D. (2016). A systematic review of the nature and correlates of sleep disturbance in early psychosis. Sleep Med. Rev. 31, 25–38. doi: 10.1016/j.smrv.2016.01.001

PubMed Abstract | CrossRef Full Text | Google Scholar

Dehnavi, F., Moghimi, S., Haghighi, S. S., Safaie, M., and Ghorbani, M. (2019). Opposite effect of motivated forgetting on sleep spindles during stage 2 and slow wave sleep. Sleep 42:zsz085. doi: 10.1093/sleep/zsz085

PubMed Abstract | CrossRef Full Text | Google Scholar

Devuyst, S., Dutoit, T., Didier, J. F., Meers, F., Stanus, E., Stenuit, P., et al. (2006). Automatic sleep spindle detection in patients with sleep disorders. Conf. Proc. IEEE Eng. Med. Biol. Soc. 1, 3883–3886.

Google Scholar

Ding, H., Wang, W., and Califano, A. (2018). IterClust: A statistical framework for iterative clustering analysis. Bioinformatics 34, 2865–2866. doi: 10.1093/bioinformatics/bty176

PubMed Abstract | CrossRef Full Text | Google Scholar

Fogel, S. M., Nader, R., Cote, K. A., and Smith, C. T. (2007). Sleep spindles and learning potential. Behav. Neurosci. 121, 1–10.

Google Scholar

Fogel, S. M., and Smith, C. T. (2011). The function of the sleep spindle: A physiological index of intelligence and a mechanism for sleep-dependent memory consolidation. Neurosci. Biobehav. Rev. 35, 1154–1165. doi: 10.1016/j.neubiorev.2010.12.003

PubMed Abstract | CrossRef Full Text | Google Scholar

Herrmann, C. S., Strüber, D., Helfrich, R. F., and Engel, A. K. (2016). EEG oscillations: From correlation to causality. Int. J. Psychophysiol. 103, 12–21.

Google Scholar

Iber, C., Ancoli-Israel, S., Chesson, A., and Quan, S. (2007). The AASM manual for the scoring of sleep and associated events: Rules, terminology and technical specifications. Westchester, IL: American Academy of Sleep Medicine.

Google Scholar

Imtiaz, S. A., and Rodriguez-Villegas, E. (2014). Evaluating the use of line length for automatic sleep spindle detection. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. 2014, 5024–5027. doi: 10.1109/EMBC.2014.6944753

PubMed Abstract | CrossRef Full Text | Google Scholar

Jiang, D., Ma, Y., and Wang, Y. (2021). A robust two-stage sleep spindle detection approach using single-channel EEG. J. Neural Eng. 18:026026. doi: 10.1088/1741-2552/abd463

PubMed Abstract | CrossRef Full Text | Google Scholar

Keshavan, M. S., Montrose, D. M., Miewald, J. M., and Jindal, R. D. (2011). Sleep Correlates of cognition in early course psychotic disorders. Schizophr. Res. 131, 231–234.

Google Scholar

Klampanos, I. A., Christopher, M., and Prabhakar, R. (2009). Hinrich schütze: Introduction to information retrieval. Inform. Retriev. 12, 609–612.

Google Scholar

Lacourse, K., Delfrate, J., Beaudry, J., Peppard, P., and Warby, S. C. (2019). A sleep spindle detection algorithm that emulates human expert spindle scoring. J. Neurosci. Methods 15, 3–11. doi: 10.1016/j.jneumeth.2018.08.014

PubMed Abstract | CrossRef Full Text | Google Scholar

Latreille, V., Carrier, J., Lafortune, M., Postuma, R., Bertrand, J., Panisset, M., et al. (2015). Sleep spindles in Parkinson’s disease may predict the development of dementia. Neurobiol. Aging 36, 1083–1090.

Google Scholar

Limoges, E., Mottron, L., Bolduc, C., Berthiaume, C., and Godbout, R. (2005). Atypical sleep architecture and the autism phenotype. Brain 128, 1049–1061. doi: 10.1093/brain/awh425

PubMed Abstract | CrossRef Full Text | Google Scholar

Löfhede, J., Degerman, J., Löfgren, N., Thordstein, M., Flisberg, A., Kjellmer, I., et al. (2008). Comparing a supervised and an unsupervised classification method for burst detection in neonatal EEG. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. 2008, 3836–3839. doi: 10.1109/IEMBS.2008.4650046

PubMed Abstract | CrossRef Full Text | Google Scholar

Manoach, D. S., Mylonas, D., and Baxter, B. (2020). Targeting sleep oscillations to improve memory in schizophrenia-sciencedirect. Biol. Psychiatry 221, 63–70.

Google Scholar

Martin, N., Lafortune, M., Godbout, J., Barakat, M., Robillard, R., Poirier, G., et al. (2012). Topography of age-related changes in sleep spindle. Neurobiol. Aging 34, 468–476.

Google Scholar

Mensen, A., Poryazova, R., Huber, R., and Bassetti, C. L. (2018). Individual spindle detection and analysis in high-density recordings across the night and in thalamic stroke. Sci. Rep. 8:17885. doi: 10.1038/s41598-018-36327-x

PubMed Abstract | CrossRef Full Text | Google Scholar

Mporas, I., Korvesis, P., Zacharaki, E. I., et al. (2013). “Sleep Spindle Detection in EEG Signals Combining HMMs and SVMs,” in Engineering applications of neural networks. EANN 2013. Communications in computer and information science, eds L. Iliadis, H. Papadopoulos, and C. Jayne (Berlin: Springer), 40–49.

Google Scholar

Parekh, A., Selesnick, I. W., Osorio, R. S., Varga, A. W., Rapoport, D. M., and Ayappa, I. (2017). Multichannel sleep spindle detection using sparse low-rank optimization. J. Neurosci. Methods 1, 1–16. doi: 10.1016/j.jneumeth.2017.06.004

PubMed Abstract | CrossRef Full Text | Google Scholar

Schilling, C., Gappa, L., Schredl, M., Streit, F., Treutlein, J., Frank, J., et al. (2018). Fast sleep spindle density is associated with rs4680 (Val108/158Met) genotype of catechol-O-methyltransferase (COMT). Sleep 41. doi: 10.1093/sleep/zsy007

PubMed Abstract | CrossRef Full Text | Google Scholar

Spironelli, C., Maffei, A., Romeo, Z., Piazzon, G., Padovan, G., Magnolfi, G., et al. (2020). Evidence of language-related left hypofrontality in major depression: An EEG beta band study. Sci. Rep. 10:8166. doi: 10.1038/s41598-020-65168-w

PubMed Abstract | CrossRef Full Text | Google Scholar

Ujma, P. P., Konrad, B. N., Genzel, L., Bleifuss, A., Simor, P., Pótári, A., et al. (2014). Sleep spindles and intelligence: Evidence for a sexual dimorphism. J. Neurosci. 34, 16358–16368. doi: 10.1523/JNEUROSCI.1857-14.2014

PubMed Abstract | CrossRef Full Text | Google Scholar

Wamsley, E. J., Tucker, M. A., Shinn, A. K., Ono, K. E., McKinley, S. K., Ely, A. V., et al. (2012). Reduced sleep spindles and spindle coherence in schizophrenia: Mechanisms of impaired memory consolidation. Biol. Psychiatry 71, 154–161. doi: 10.1016/j.biopsych.2011.08.008

PubMed Abstract | CrossRef Full Text | Google Scholar

Warby, S. C., Wendt, S. L., Welinder, P., Munk, E. G., Carrillo, O., Sorensen, H. B., et al. (2014). Sleep-spindle detection: Crowdsourcing and evaluating performance of experts; non-experts and automated methods. Nat. Methods 11, 385–392.

Google Scholar

Wei, L., Ventura, S., Lowery, M., Ryan, M. A., Mathieson, S., Boylan, G. B., et al. (2020). Random forest-based algorithm for sleep spindle detection in infant EEG. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. 2020, 58–61.

Google Scholar

Wendt, S. L., Welinder, P., Sorensen, H. B., Peppard, P. E., Jennum, P., Perona, P., et al. (2015). Inter-expert and intra-expert reliability in sleep spindle scoring. Clin. Neurophysiol. 126, 1548–1556. doi: 10.1016/j.clinph.2014.10.158

PubMed Abstract | CrossRef Full Text | Google Scholar

Zhang, Y., Quiñones, G. M., and Ferrarelli, F. (2020). Sleep spindle and slow wave abnormalities in schizophrenia and other psychotic disorders: Recent findings and future directions. Schizophr. Res. 221, 29–36. doi: 10.1016/j.schres.2019.11.002

PubMed Abstract | CrossRef Full Text | Google Scholar

Zhao, R., Sun, J., Zhang, X., Wu, H., Liu, P., Yang, X., et al. (2017). Sleep spindle detection based on non-experts: A validation study. PLoS One 12:e0177437. doi: 10.1371/journal.pone.0177437

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: sleep spindle detection, hierarchical fusion detection algorithm, EEG, Morlet wavelet, SVM

Citation: Chen C, Meng J, Belkacem AN, Lu L, Liu F, Yi W, Li P, Liang J, Huang Z and Ming D (2023) Hierarchical fusion detection algorithm for sleep spindle detection. Front. Neurosci. 17:1105696. doi: 10.3389/fnins.2023.1105696

Received: 23 November 2022; Accepted: 07 February 2023;
Published: 09 March 2023.

Edited by:

Ernest N. Kamavuako, King’s College London, United Kingdom

Reviewed by:

Sagarika Mukesh, IBM Research, United States
Axel Steiger, Ludwig Maximilian University of Munich, Germany
Vittorio Cuculo, University of Milan, Italy

Copyright © 2023 Chen, Meng, Belkacem, Lu, Liu, Yi, Li, Liang, Huang and Ming. 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.

*Correspondence: Zhaoyang Huang, drhuangzy@gmail.com; Dong Ming, richardming@tju.edu.cn

These authors have contributed equally to this work

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.