Literature DB >> 31341633

Automatic detection of sleep apnea events based on inter-band energy ratio obtained from multi-band EEG signal.

Suvasish Saha1, Arnab Bhattacharjee1, Shaikh Anowarul Fattah1.   

Abstract

Sleep apnea is a potentially serious sleep disorder characterised by abnormal pauses in breathing. Electroencephalogram (EEG) signal analysis plays an important role for detecting sleep apnea events. In this research work, a method is proposed on the basis of inter-band energy ratio features obtained from multi-band EEG signals for subject-specific classification of sleep apnea and non-apnea events. The K-nearest neighbourhood classifier is used for classification purpose. Unlike conventional methods, instead of classifying apnea patient and healthy person, the objective here is to differentiate apnea and non-apnea events of an apnea patient, which makes the task very challenging. Extensive experimentation is carried out on EEG data of several subjects obtained from a publicly available database. Comprehensive experimental results reveal that the proposed method offers very satisfactory classification performance in terms of sensitivity, specificity and accuracy.

Entities:  

Keywords:  K-nearest neighbourhood classifier; apnoea patient; automatic detection; electroencephalography; electroencephalography signal analysis; feature extraction; interband energy ratio features; medical disorders; medical signal detection; medical signal processing; multiband EEG signal; nearest neighbour methods; nonapnoea events; signal classification; sleep; sleep apnoea events; sleep disorder; subject-specific classification

Year:  2019        PMID: 31341633      PMCID: PMC6595536          DOI: 10.1049/htl.2018.5101

Source DB:  PubMed          Journal:  Healthc Technol Lett        ISSN: 2053-3713


Introduction

Apnea is a sleep disorder which causes sleep deprivation and lessens sleep quality. It yields severe headaches, hypertension, daytime sleepiness, diminished neurocognitive performance and cardiovascular diseases [1, 2]. It is defined by one or more pauses in breathing or shallow breaths during sleep. Duration of each pause can vary from a few seconds to several seconds. Apnea and hypopnea index (AHI) is defined as the number of occurrences of apnea and hypopnea events per hour of sleep. Generally, AHI of healthy subject should be <5; 5–15 corresponds to mild; 15–30 is moderate; and more than 30 corresponds to severe [3]. Polysomnography (PSG) is a type of sleep study which is used for the diagnosis of sleep apnea. It records the biophysiological changes occurring during sleep. It monitors body functions and several signals such as electroencephalogram (EEG), electro-oculogram (EOG), electrocardiogram (ECG), electromyogram (EMG), oro-nasal airflow, ribcage movements, abdomen movements and oxygen saturation are recorded. Sleep-disordered breathing events, different sleep stages, arousals in sleep etc., are annotated by a sleep technologist. AHI is calculated from the results of PSG study [4]. A sleep technologist is required to monitor and diagnose sleep apnea events, which is a laborious and costly process. Several researches have been pursued to develop automatic apnea detection process utilising different bio-signals including EEG, EOG, ECG and EMG [5]. Among them, the EEG signal has received much attention. The reason behind this is EEG signals reflect the electrical activity of brain, which has a significant relationship with sleep stages and sleep quality, and apnea events acutely disturb sleep quality. Most of the methods available in the literature deal with the task of classifying apnea patients and healthy subjects [5-8]. In [5], EEG signal is used along with other physiological signals (EOG and EMG) for scoring sleep stages, and to detect apnea frames, ECG signal is used. Here, various time- and frequency-domain feature extraction methods are utilised, namely derivative dynamic time warping, Fourier and wavelet transform and waveform recognition. Instead of using several physiological signals, only EEG signal is also used to detect sleep apnea as it offers less computational cost. The detrended fluctuation analysis of EEG signal is employed in [6] for the purpose of apnea detection. Feature extraction from different frequency bands of EEG signal is a popular technique. In [7], quadratic phase coupling in each frequency band is calculated over bispectral density of EEG, whereas in [8], energy and variance of each frequency band of EEG signal are used to detect apnea frames. Instead of differentiating healthy and apnea subjects, detection of apnea events within an apnea patient is also an important but difficult task. Duration of obstructive sleep apnea event within patient's overnight EEG data is detected in [9] utilising the variation in Hilbert spectrum frequency in particular frequency bands. In [10], the expectancy of identifying sleep-disordered breathing events within an apnea patient is studied analysing the characteristics of EEG frequency bands and EMG signal. In [11], apnea events within an apnea patient are detected using entropy values computed from each frequency band of EEG signal. Sub-frame-based features are extracted and feature variation within a frame is modelled using Rician probability density function (PDF) and model parameters along with some statistical parameters are used in [12] for apnea detection. However, inter-band characteristics have not been utilised in these methods. Moreover, most of the methods [5-8] mentioned above classify between healthy and apnea subjects, while in real-life applications, there is also a great demand for an efficient method to discriminate apnea and non-apnea events of an apnea subject. The main focus of this research work is to develop an automatic effective sleep apnea event detection method for apnea subject based on inter-band energy ratios of frequency band-limited EEG signals. The study is performed on a standard sleep apnea database. After pre-processing, the energy of band-limited EEG signal is computed for each frequency band of EEG. Instead of using the band energy, inter-band energy ratios are computed and cascaded to construct the proposed feature set. Finally, the K-nearest neighbourhood (KNN) classifier is used for apnea and non-apnea classifications.

Proposed method

In the proposed method, frame-by-frame apnea detection task is carried out on each subject individually. From given two channel EEG data collected from symmetric locations, in order to reduce the effect of noise, average values of the two channels in time domain are considered for feature extraction in the proposed scheme. Main steps signifying the proposed method are illustrated in Fig. 1. Pre-processed averaged EEG data is divided into band-limited signals and features are extracted from each of them. In lieu of using band features, inter-band features are calculated and cascaded to detect apnea events using the KNN classifier.
Fig. 1

Flowchart of the proposed method

Flowchart of the proposed method

Pre-processing

The dc offset of an EEG test frame is eliminated by subtracting the mean value of that frame from each sample value since other frequency components are the significant ones. Frame amplitude normalisation is required to remove undesirable fluctuation in amplitude occurring in different test frames belonging to the same class. For this purpose, after mean value subtraction, normalisation of sample values in a test frame is accomplished with reference to the maximum sample value of that frame.

Band-limited signal extraction

When a person is sleeping, due to pause in breathing, carbon dioxide may build up in the bloodstream. When this reaches a critical level, it is detected by chemoreceptors. These receptors signal an alarm to the brain to wake the sleeping person and breathe in air. As a result, a transition in sleep stages occurs, which in turn, causes fluctuation in activity level of various frequency bands of the EEG signal. Hence, more distinct features can be preserved in frequency band-limited signals for apnea detection compared with that in full-band EEG signal. As a result, for apnea event detection, characteristics of band-limited signals are used instead of analysing full-band EEG signal. EEG signal is partitioned into five frequency bands [10] including delta (δ) (0.25–4 Hz), theta (θ) (4–8 Hz), alpha (α) (8–12 Hz), sigma (σ) (12–16 Hz) and beta (β) (16–40 Hz). Spectral filtering is done in fast Fourier transform domain to achieve this division.

Proposed inter-band energy ratio feature

For classification of apnea and non-apnea events, a subject-specific classification scheme based on feature is introduced in this proposed method. Inter-band energy ratio of band-limited EEG signal, expected to possess differentiating characteristic for apnea and non-apnea events, is proposed as the feature. First, energies of δ, θ, α, σ and β frequency bands are computed. Energy of the pth band is defined as where p is the band index (i.e. p = 1 to 5 corresponds to five frequency bands); x[n] is the EEG signal of the pth band and N is the total sample number of a frame. Next, the inter-band energy ratios are computed. The ratios are: , , , , , , , , and ratios. The ratio p–q is defined as where p≠q; p = 1, 2, 3, 4, 5; q = 1, 2, 3, 4, 5; Ep and Eq correspond to energies of pth and qth bands of a frame of EEG data, respectively. The calculated features are then cascaded to form the final feature vector. Energy contents of EEG signal vary in various frequency bands. Lower-frequency bands contain the major percentage of energy during sound sleep (non-apnea event). During apnea, the energy contents in various frequency bands change significantly with respect to non-apnea events. It is found that during apnea events, higher-frequency bands have greater relative energy contribution than that of lower-frequency bands. A hypothesis can be developed based on this observation that energy contents of lower-frequency bands are shifted to higher-frequency bands during apnea events. With a view to investigate this property of energy shift in apnea frames, it is proposed to use all the inter-band energy ratios as features. Ratio feature offers robustness against random energy changes in different frames. Since energy is mainly shifted from lower- to higher-frequency bands, the energy ratios involving lower- and higher-frequency bands are supposed to be more significant. Hence five ratios, namely , , , and are proposed as a reduced feature set. In the proposed method (Prop.), all the ten energy ratios are taken as features and in the proposed method with reduced feature dimension, termed as PRF method, the previously mentioned five significant energy ratios are used as features. To present the quality of energy ratio features, 100 EEG frames for each of the apnea and non-apnea classes obtained from a particular subject are taken into consideration. Fig. 2 represents the box plot of five energy ratio values (, , , and ) of the above-mentioned EEG frames. It is vivid from this figure that majority of the apnea (labelled as ‘A’) and non-apnea (labelled as ‘N’) frames have distinct energy ratio values. The first four ratios have much better distinguishability between ‘A’ and ‘N’ cases. It has been observed that distinguishability tends to decrease for the other ratios.
Fig. 2

Box plot to show the variation of five energy ratio values for apnea and non-apnea events

Box plot to show the variation of five energy ratio values for apnea and non-apnea events The frame-wise variation of a particular energy ratio value, namely ratio, is illustrated in Fig. 3 for 121 apnea and non-apnea frames for a particular subject. It is noted from this figure that most of the apnea and non-apnea frames possess distinct energy ratio values. For some EEG frames, overlaps are also observed in Fig. 3, which are within admissible limit. Depending on the shifting of energy, apnea and non-apnea frames having analogous values for a particular energy ratio are supposed to exhibit distinguishable values for other energy ratios. It is expected that the proposed inter-band energy ratio features can provide satisfactory classification performance because of their good feature quality.
Fig. 3

Variation of delta-beta energy ratio values for apnea and non-apnea events

Variation of delta-beta energy ratio values for apnea and non-apnea events

Classification

The KNN classifier is used for classification purpose. Features of the EEG pattern of the test set and K neighbouring EEG patterns in the training set are used for computing distance function for the classifier. On the basis of the K closer patterns’ class labels in the train set, the test set is classified. Out of several distance functions, in the proposed method, cosine distance is used. The K value is changed within a wide range and consistent performance is achieved for all K values because of better feature quality. A suitable value of K is selected for classification purpose. M-fold cross-validation technique is employed for the purpose of performance evaluation.

Results and discussion

Database and simulation setup

The task of apnea detection is performed on the publicly available Physionet database [13] related to some sleep-disordered breathing subjects diagnosed formerly. In this database, EEG recordings from two channels (C3–A2 and C4–A1) are available. Both channels are considered in this research. The sampling frequency of the EEG data is 128 samples/s. Onset time and duration of apnea events, annotated by a sleep technologist, are mentioned in the database. Five subjects with large differences in AHI are considered in this research for experimental analysis. The average height, weight and age of the five subjects are 178.6 cm, 99.14 kg and 50.8 year, respectively. Some more information about the subjects and the number of frames considered for each subject are shown in Table 1. For a particular subject, all the apnea frames and equal number of non-apnea frames are taken into consideration for the purpose of evaluating the classification performance. Duration of apnea event is found to vary between 10 and 25 s in most of the cases. To ensure the fact that a frame consists of only apnea or non-apnea condition, a frame duration of 10 s is considered in this experiment.
Table 1

Information of the subjects considered in the experiment

Subject numberAHITotal number of frames
UCDDB00351788
UCDDB011888
UCDDB02015198
UCDDB02424390
UCDDB02614242
Information of the subjects considered in the experiment

Feature quality analysis

The quality of the proposed feature is analysed on the basis of geometrical separability index (GSI) which is a standard parameter to understand class separability. The fraction of a set of data points, having the same classification labels as those of their nearest neighbours, is defined as GSI. It is defined as [14] where N is the number of points and denotes the nearest neighbour of x. It is clear that s will approximate to 1 when a set of data points having opposite classification labels reside in clusters which are well-separated. The index will decrease when the data points having opposite classes start to overlap defining poorly-separated clusters. Hence, higher GSI value defines better quality feature. GSI values of the proposed method (Prop.) and PRF method are represented in Table 2. It is clearly observed from this table that both the proposed method and PRF method have higher GSI values. Thus, the proposed feature performs better in classifying apnea and non-apnea events. The area under the receiver operating characteristic (ROC) curve (AUC) is a measure of how well a parameter can distinguish between two diagnostic groups (diseased/normal). Higher AUC value indicates better classifier performance. The AUC values computed for the methods with the KNN classifier are represented in Table 2. It is observed that both the methods have higher AUC values.
Table 2

GSI and AUC values of different methods

Subject numberGSI valueAUC value
Prop.PRFProp.PRF
UCDDB0030.850.850.950.94
UCDDB0110.900.920.950.94
UCDDB0200.950.940.990.99
UCDDB0240.910.920.970.96
UCDDB0260.820.830.920.91
mean0.890.890.960.95
standard deviation0.050.050.020.03
interquartile range0.080.080.030.04
GSI and AUC values of different methods

Classification result

The performance of the proposed method is evaluated using standard measures such as accuracy, sensitivity and specificity, which are defined as where TP is the true positive (apnea detected as apnea); FP is the false positive (non-apnea detected as apnea); TN is the true negative (non-apnea detected as non-apnea); and FN is the false negative (apnea detected as non-apnea). Classification results obtained by averaging the individual sensitivity, specificity and accuracy of the five mentioned subjects for different channel data for the proposed method (Prop.) and PRF method are reported in Table 3 for leave-one-out cross-validation scheme. It is observed from this table that, instead of considering single channel, if the average (avg.) data of the two channels (C3–A2, C4–A1) are considered for feature extraction, better classification performance is achieved. In method PRF, only five features are used compared with the ten features of the proposed method. Hence, the computational complexity is reduced a bit which can be helpful in real-time application. It is observed from Table 3 that the performance of the PRF method is slightly better in one case and descends slightly for the other two cases with respect to the proposed method.
Table 3

Comparison of apnea detection results for different channel data

Channel numberSensitivity, %Specificity, %Accuracy, %
Prop.PRFProp.PRFProp.PRF
C3–A284.9684.6390.8891.6187.9288.12
C4–A189.3788.4692.2090.6990.7889.57
average data90.3989.7094.0493.2292.2191.46
Comparison of apnea detection results for different channel data The average classification results for the proposed method and PRF method using different classifiers are represented in Table 4 for leave-one-out cross-validation scheme. It is observed from this table that the KNN classifier gives better performance.
Table 4

Comparison of classification results for different classifiers

ClassifierProp.PRF
Sens.Spec.Acc.Sens.Spec.Acc.
KNN90.3994.0492.2189.7093.2291.46
support vector machine91.1084.8187.9590.7680.9985.87
linear discriminant analysis90.7489.4290.0893.3972.7383.06
Naïve Bayes90.7489.4290.0891.2882.3186.80
Comparison of classification results for different classifiers The average classification results for different distance functions of KNN classifier are reported in Table 5 for leave-one-out cross-validation scheme. It is observed from this table that the classification result does not depend much on distance function but the cosine distance gives comparatively better result.
Table 5

Comparison of classification results for different distance types

DistanceAverage accuracies, %
Prop.PRF
Euclidean89.1189.75
Cityblock89.4589.54
Cosine92.2191.46
Correlation92.2188.06
Comparison of classification results for different distance types The performance comparison of the proposed method with the existing methods reported in [8, 11, 12] is provided in Table 6 for leave-one-out cross-validation scheme. In [8], energy and variance of each frequency band of EEG data are used as features to distinguish between controls and patients. The method reported in [11] utilises entropy values obtained from five frequency bands of EEG data to detect apnea events. The method reported in [12] utilises sub-frame-based feature extraction for apnea detection, which involves huge computational burden in comparison with the proposed method, where no sub-framing is performed. Moreover, the number of features used in [12] is also much higher in comparison with that used in the proposed method (four times higher with respect to the proposed method). It is to be noted that for fair comparison, frame duration of 10 s and KNN classifier are used in all cases. In [12], for the database [13], 90% overlap between two successive frames is considered, and sub-frame duration is chosen as two-thirds of the original frame duration (15 s). The same principle is applied on the 10 s frames for the method in [12] for comparison purpose. It is observed from Table 6 that the performance of the proposed method is better than that of the existing methods with respect to all the standard performance criteria. The confusion matrix of the classification for the five subjects considered in this Letter for the proposed method for leave-one-out cross-validation scheme is given in Table 7.
Table 6

Performance comparison among various methods of apnea event detection

Subject numberSensitivity, %Specificity, %Accuracy, %
[8][11][12]Prop.[8][11][12]Prop.[8][11][12]Prop.
UCDDB00387.3179.1981.2287.5688.5881.7387.3188.5887.9480.4684.2688.07
UCDDB01186.3690.9186.3688.6472.7388.6484.0997.7379.5589.7785.2393.18
UCDDB02082.8384.8586.8796.9794.9590.9195.9697.9888.8987.8891.4197.47
UCDDB02485.1392.3191.2892.8290.7791.7993.8593.3387.9592.0592.5693.08
UCDDB02685.9580.9985.9585.9590.0886.7890.0892.5688.0283.8888.0289.26
mean85.5285.6586.3490.3987.4287.9790.2694.0486.4786.8188.3092.21
standard deviation1.705.833.574.478.554.004.803.933.894.653.663.72
interquartile range2.0510.723.206.707.205.627.876.222.397.316.725.30
Table 7

Confusion matrix of classification

Subject numberUCDDB003UCDDB011UCDDB020UCDDB024UCDDB026
LabelApneaNon-apneaApneaNon-apneaApneaNon-apneaApneaNon-apneaApneaNon-apnea
apnea345493959631811410417
non-apnea45349143297131829112
Performance comparison among various methods of apnea event detection Confusion matrix of classification Comparison of mean classification results for leave-one-out, ten-fold, five-fold and two-fold cross-validation methods are reported in Table 8 to represent the regularity of the classification results in case of random variation in the training and test set data. It is observed that the proposed method gives better performance than the existing methods in all cases.
Table 8

Comparison of classification results for different cross-validation methods

Cross-validationSensitivity, %Specificity, %Accuracy, %
[8][11][12]Prop.[8][11][12]Prop.[8][11][12]Prop.
leave-one-out85.5285.6586.3490.3987.4287.9790.2694.0486.4786.8188.3092.21
10-fold85.7485.1286.2290.8488.0987.4391.2593.6986.5986.3688.9092.02
5-fold86.5287.1286.6789.9087.4087.9591.2793.7586.9187.7188.8491.59
2-fold84.6779.3186.9989.4685.9085.1488.6789.4085.2382.1287.4489.37
Comparison of classification results for different cross-validation methods

Conclusion

In this research work, an automatic efficient sleep apnea event detection scheme is proposed based on inter-band energy ratios of multi-band EEG signal. Features are extracted from time-averaged data of two EEG channels, which helps in reducing the effect of noise. Band energy of EEG data may change randomly but inter-band energy ratio feature proposed in this Letter offers robustness with better feature quality. The proposed method offers superior subject-specific classification performance compared with that achieved by some recent methods in terms of sensitivity, specificity and accuracy for sleep apnea subjects with wide variation in AHI index.
  3 in total

1.  Classification of sleep apnea based on EEG sub-band signal characteristics.

Authors:  Xiaoyun Zhao; Xiaohong Wang; Tianshun Yang; Siyu Ji; Huiquan Wang; Jinhai Wang; Yao Wang; Qi Wu
Journal:  Sci Rep       Date:  2021-03-12       Impact factor: 4.379

2.  Detection of sleep apnea from single-channel electroencephalogram (EEG) using an explainable convolutional neural network (CNN).

Authors:  Lachlan D Barnes; Kevin Lee; Andreas W Kempa-Liehr; Luke E Hallum
Journal:  PLoS One       Date:  2022-09-13       Impact factor: 3.752

3.  Recognition of Patient Groups with Sleep Related Disorders using Bio-signal Processing and Deep Learning.

Authors:  Delaram Jarchi; Javier Andreu-Perez; Mehrin Kiani; Oldrich Vysata; Jiri Kuchynka; Ales Prochazka; Saeid Sanei
Journal:  Sensors (Basel)       Date:  2020-05-02       Impact factor: 3.576

  3 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.