Feature selection and feature fusion method based on EEG sensitive leads
By adopting EEG sensitive lead feature selection and feature fusion methods in depression detection, removing redundant features and weighted fusion, the problem of lead signal redundancy and imprecise feature selection in the existing technology is solved, and the detection of depression is improved. classification accuracy and data quality.
Patent Information
- Application Number
- CN202211054620.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-08-30
AI Technical Summary
The existing technology has the problems of lead signal redundancy and insufficient feature selection in depression detection, resulting in high computational cost and low classification accuracy, and the interaction between features is not fully considered.
The EEG-based sensitive lead feature selection and feature fusion method is used to remove redundant features through Pearson correlation coefficient, determine sensitive leads, and use AUC values for feature weighted fusion to form a high-quality data basis to improve classification accuracy.
It effectively removes redundant lead signals, improves the classification accuracy of the feature layer, provides a high-quality data basis, and enhances the accuracy of depression state identification.
Smart Images

Figure BDA0003824531360000061 
Figure BDA0003824531360000062 
Figure BDA0003824531360000063
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of artificial intelligence and medical health, and specifically relates to a feature selection and feature fusion method based on EEG sensitive leads. The most useful signals are extracted step by step from the initial lead electroencephalogram (EEG) signals, providing a high-quality data basis for the identification of depressive states. Background Art
[0002] Depression is a common and highly prevalent affective mental disorder. The World Health Organization points out that more than 350 million people are estimated to suffer from depression worldwide, and the incidence rate is showing an increasing trend. It is expected that by 2030, depression will become the world's largest burden disease. About 95 million people in China suffer from depression, and about 16% of people will be troubled by depression at some stage in their lives. Depressive mood is different from depression. The depression of normal people is based on certain objective things and has reasons. Although it is not pathological depression, it is also worthy of attention to prevent further development.
[0003] At present, hospitals often use self-assessment scales such as the Beck Depression Inventory (BDI), the Self-rating Depression Scale (SDS), and the Hamilton Depression Scale (HAMD) to detect depression. These scale assessment methods rely on doctors' examinations and observations and are manual assessments. The assessment results are easily affected by subjective factors of rehabilitation physicians, and the limited number of physicians can also lead to untimely treatment.
[0004] With the in-depth study of physiological signals such as EEG and the convenience of collection, researchers are increasingly using physiological signals such as EEG signals to detect and classify depression. Most studies use all leads of the electrode cap without screening when collecting EEG signals, and perform preprocessing and multi-dimensional feature extraction based on the EEG signals of all leads. However, the EEG signals at certain lead positions have almost no correlation with the depressive state. Using the EEG signals here will result in processing too much useless information, increase the computational cost, and may even affect the classification accuracy of the system; in terms of feature processing, most studies only proceed to the step of feature selection, and directly use the selected feature subset as the input of the classifier, without considering the mutual influence between each feature and the different contributions of each feature to the classification result, that is, the weight of each feature, which will also have a certain impact on the final classification accuracy. The detection and classification accuracy of classifiers such as neural networks is closely related to data processing. Therefore, the selection of sensitive leads, the selection of sensitive features, and the weighted fusion of sensitive features provide a high-quality data foundation for obtaining high-precision classification results. Summary of the invention
[0005] In view of this, the present invention proposes a feature selection and feature fusion method based on EEG sensitive leads, which provides a high-quality data basis for further high-precision detection and identification classification of people with depressive states or potential depression. The original features include time domain, frequency domain and nonlinear features. The Pearson correlation coefficient is used to remove redundant features with a value greater than 0.8 to complete feature selection and obtain sensitive features; in order to determine the sensitive leads, the p value and accuracy value of the variance analysis of each feature at each lead are determined, the standard is defined, and the proportion of sensitive features that are strongly correlated with depressive emotions is determined, and finally the sensitive leads are determined; sensitive features are weighted and fused, using AUC as the objective function, the weight of each sensitive feature is calculated, and saved in a new matrix, namely the weight matrix, and the sensitive feature matrix is multiplied by the weight matrix to obtain the weighted feature matrix, and the weighted fusion of the feature layer is completed. In this way, the classification accuracy is improved from the perspective of data processing and feature layer.
[0006] The present invention is based on the research of feature selection and feature fusion method of EEG sensitive leads, and the technical solution adopted to solve the technical problem includes the following steps:
[0007] Step 1: Collect and preprocess the EEG signals of the 16-lead electrode cap to obtain the preprocessed EEG signals. The EEG signals collected are resting state EEG signals; preprocessing of EEG signals is very necessary. EEG signals are extremely weak physiological signals at the uV level, and the collected signals are often mixed with a lot of artifacts and noise due to the surrounding environment, eye movement signals, muscle movement signals, etc., resulting in poor quality of experimental data. Preprocessing is to obtain pure EEG signals, which is also the basis of EEG analysis.
[0008] Step 2: Extract the complete set of features from the preprocessed EEG signals. The complete set of features includes 4 time-domain features, 9 frequency-domain features, and 3 non-linear features. Based on the complete set of features, redundant features with values greater than 0.8 are removed using the Pearson correlation coefficient to obtain a sensitive feature subset. The Pearson correlation coefficient is a measure of the linear correlation degree between variables. The greater the absolute value of the Pearson correlation coefficient between two features, the stronger the correlation between the features, and thus the redundant features should be removed.
[0009] Step 3: Screen sensitive leads from 16 leads. First, determine the sensitive features at each lead, and then determine the sensitive leads according to the proportion of the sensitive features in the complete set of features. The specific steps are as follows: calculate the p-value and accuracy value of the analysis of variance corresponding to all the features of each lead signal. In this study, p < 0.05 indicates that this feature has an impact on depression recognition, and this feature is retained; p > 0.05 indicates that this feature has no impact on depression recognition, and this feature is deleted; when p = 0.05, -ln(p) = 3. The accuracy value is a common performance metric in the evaluation of classification models, and its value range is [0,1]. In this study, when accuracy > 0.6, it is considered that the performance of the model using this feature is good. When -ln(p) > 3 and 0.6 < accuracy < 1 for this feature, then this feature is a sensitive feature; when the number of sensitive features in the signal of this lead accounts for more than 25% of the complete set of features, then this lead is identified as a sensitive lead.
[0010] Step 4: Use the objective function with the AUC value as the weight to obtain the weights of each sensitive feature and then perform feature weighted fusion. The AUC value is the area under the ROC curve and is an important criterion for evaluating the performance of a classifier. The larger the AUC value, the better the performance. Traverse each feature vector in the sensitive feature matrix, calculate the AUC value of the feature matrix except this feature, and consider the overall classification effect as 1. Use the overall classification effect minus the classification effect of the feature matrix composed of the remaining features as the weight of this matrix vector, that is, 1 - AUC. After traversing all the features, a new matrix composed of 1 - AUC will be obtained as the weight matrix, and then multiply this weight matrix with the sensitive feature matrix to complete the weighted fusion at the feature level. Such feature weighted fusion fully considers the different contribution rates of different features to the result and can improve the accuracy of subsequent depression emotion recognition.
[0011] The present invention can not only remove the EEG signals of relatively redundant leads, but also fully consider the weights of each feature vector in the feature subset, providing a high-quality data basis. The overall technical process improves the classification accuracy for the recognition of the depressive state from the perspectives of data processing and feature layer. Description of the Drawings
[0012] Figure 1 Overall technical framework diagram
[0013] Figure 2 Preprocessing flow chart
[0014] Figure 3 Sensitive lead determination flow chart
[0015] Figure 4 Feature fusion strategy flow chart DETAILED DESCRIPTION
[0016] exist Figure 1 In the acquisition of resting-state EEG signals, the sources of EEG signals acquired by the present invention include public data sets and self-collected data sets. The self-collected data sets need to recruit subjects who meet the requirements, aged 18 to 60 years old, regardless of gender, and without other mental illness history. The subjects are mainly students of the school and hospital personnel of the project designated cooperation. Before the experiment, the subjects will be informed of the pre-test matters that should be paid attention to, sign the informed consent form, understand and voluntarily participate in this experiment; when starting to collect signals, they must participate in the Hamilton Depression Rating Scale (HAMD) test, record the scores, and make a preliminary judgment on depression based on the scores; during the experiment, the collectors provide a quiet, enclosed environment, as well as collection equipment, and control the collection time. After the collection is completed, check the quality of the data. If the quality is good, end the experiment, otherwise consider re-conducting the experiment.
[0017] Preprocessing mainly includes baseline removal, notch filtering, bandpass filtering, artifact removal, and segmentation. Based on the relatively pure EEG signal, time domain, frequency domain, and nonlinear features are extracted. Using the Pearson correlation coefficient method, redundant features with correlation coefficients greater than 0.8 are removed to determine sensitive features.
[0018] When performing time domain analysis, the extracted time domain features include kurtosis, mean, variance, and peak-to-peak value. These time domain features reflect the signal characteristics of EEG signals in the time dimension.
[0019] Kurtosis (K) is a numerical statistic that reflects the distribution characteristics of random variables. It is the normalized fourth-order central moment and is used to test the degree to which a signal deviates from a normal distribution. Kurtosis is a characteristic parameter used to measure the degree of outlier data. The larger the kurtosis, the more extreme values there are in the data series, and the smaller the kurtosis, the opposite is true. The formula is as follows:
[0020]
[0021] Mean is the arithmetic mean, which reflects the central tendency of the data and is equal to the sum of the valid values divided by the number of valid values. The formula is as follows:
[0022]
[0023] Variance is a measure of the degree of dispersion of a random variable or a set of data. The formula is as follows:
[0024]
[0025] The peak-to-peak value refers to the difference between the highest and lowest values of the signal within a cycle, which describes the range of variation of the signal value.
[0026] The time domain signal is subjected to fast Fourier transform to obtain the frequency domain signal. The frequency domain feature is mainly the power spectrum density. Based on the frequency band characteristics of EEG, four absolute energy features are obtained: δ band (0.5-4 Hz), θ band (4-8 Hz), α band (8-13 Hz), and β band (13-30 Hz). On this basis, δ / (δ+θ+α+β), θ /
[0027] The power spectrum density (PSD) is the power carried by each unit frequency wave, and the unit is usually W / Hz. The area covered by the power spectrum curve is numerically equal to the total power (energy) of the signal. The calculation methods include the periodogram method and the autocorrelation method. For the EEG signal x(n) of a certain electrode, it is first divided into L small segments, each of which has M sampling points. Then the i-th small segment x i (n) can be written as:
[0028] xi(n)=x(n+iM-M),0≤n≤M,1≤i≤L
[0029] After that, each data segment is windowed, using a rectangular window w(n) with a length of 100. After windowing, the periodogram I of each data segment is obtained. i (w), where the period graph of the i-th segment is:
[0030]
[0031] in
[0032]
[0033]
[0034] Then the power spectral density is:
[0035]
[0036] EEG signals are chaotic signals with extensive nonlinear dynamic characteristics. Therefore, nonlinear dynamic methods can be applied to analyze EEG signals and effectively extract nonlinear dynamic parameters such as correlation dimension, Shannon entropy, and Kolmogorov complexity of EEG signals. Using these parameters to identify or diagnose brain diseases has become a hot topic in the current EEG signal analysis and processing.
[0037] Correlation dimension is actually a kind of fractal dimension. Fractal dimension reflects the effectiveness of space occupied by complex shapes. It is a measure of the irregularity of complex shapes. The larger the dimension, the lower the degree of system correlation and the higher the system complexity.
[0038] Shannon entropy is a quantitative measure of information. The greater the uncertainty of a variable, the greater the entropy, and the more information is needed to figure it out. The formula is as follows:
[0039]
[0040] Kolmogorov complexity is generally expressed in C K The size of Kolmogorov complexity reflects the information content of the time series. The definition and algorithm of Kolmogorov complexity are introduced into the study of EEG time series to calculate the complexity of EEG C. K The basic algorithm of Kolmogorov complexity is described as follows: take the mean of the time series of length n as reference, take "1" for values greater than the mean, and take "0" for values less than the mean, and reconstruct a new (0, 1) sequence; calculate the number of forbidden words or forbidden strings in the (0, 1) sequence, which is called the absolute complexity C(n); the absolute complexity of any sequence approaches a constant value b(n), So the relative complexity, that is, the normalized complexity C K for:
[0041]
[0042] The Pearson correlation coefficient is:
[0043]
[0044] Among them, Cov(X,Y) is the covariance of X and Y, Var[X] is the variance of X, Var[Y] is the variance of Y, E(X) is the mean of X, E(Y) is the mean of Y, and |r|>0.8 is a very strong correlation. This coefficient correlation coefficient is a measure of the degree of linear correlation between research variables. The larger the absolute value, the stronger the correlation between the research objects. For the characteristics of EEG signals, the stronger the correlation between the two features, the more redundant features need to be removed.
[0045] exist Figure 2 In the illustrated embodiment, the sources of the EEG signals acquired by the present invention include public data sets and self-collected data sets. For the two data sets, the EEGLAB toolbox is used to complete the baseline removal (the existence of low-frequency drift or artifacts), notch filtering (the existence of power frequency interference), bandpass filtering (the frequency band distribution of EEG in the frequency domain), artifact removal (the existence of artifacts such as electromyography, electrocardiography, and eye movements), and segmentation operations of the original data. Artifact removal utilizes independent component analysis (ICA) to remove interference such as electrooculography and electromyography to obtain the EEG signal after noise is filtered out. The various independent components in the EEG signal are regarded as "signal sources", and the mixed signal collected by the electrode is regarded as a "microphone". What ICA needs to do is to find an unmixing matrix so that the unmixed signal is similar to the original signal.
[0046] exist Figure 3 In the embodiment shown, the parameter classification accuracy value and the p value of variance analysis are used. The accuracy is the ratio of the number of correctly classified samples to the total number of samples, and the formula is as follows:
[0047]
[0048] In the confusion matrix, there are concepts of Positive, Negative, True, and False, with the following meanings: a correct prediction is True, an incorrect prediction is False, a positive true value is Positive, and a negative true value is Negative.
[0049] True Positive (TP): The number of positive classes predicted as positive.
[0050] True Negative (TN): The number of negative classes predicted as negative.
[0051] False Positive (FP): The number of negative classes predicted as positive classes.
[0052] False Negative (FN): The number of positive class predictions that are negative.
[0053] Obviously, the closer the accuracy value is to 1, the better the classification performance.
[0054] If p<0.05 in logistic regression indicates that this factor has an effect on the result, then keep this factor. If p>0.05 indicates that this factor has no effect on the result, then the smaller the p value, the more likely the factor should be kept. When -ln(p) is plotted, -ln(p) is 3 when p=0.05.
[0055] On this basis, plot a graph for each lead with -ln(p) as the abscissa and the accuracy value as the ordinate. When -ln(p) corresponding to this feature > 3 and 0.6 < accuracy < 1, then this feature is a sensitive feature. Count the proportion of sensitive features in the total features in each lead graph. If the proportion is greater than 25%, then this lead is identified as a sensitive lead.
[0056] In Figure 4 the illustrated embodiment, it is necessary to借助 the parameter AUC, whose value is the area under the receiver operating characteristic curve (ROC). The abscissa of the ROC curve is the FPRate, and the ordinate is the TPRate.
[0057]
[0058]
[0059] The meaning of TPRate is the proportion of samples with the true class being positive among all samples with the true class being positive. The meaning of FPRate is the proportion of samples with the predicted class being positive among all samples with the true class being negative.
[0060] According to the meaning of AUC, the closer its value is to 1, the better the performance of the classifier. Based on the feature selection already performed in step 3, sensitive features are obtained. Concatenate each feature vector to obtain the sensitive feature matrix M. Traverse the matrix M starting from the first feature vector. When traversing to a certain feature vector, obtain the feature matrix M' after removing the feature vector. Calculate the classification accuracy AUC of the feature matrix M' at this time. The overall classification effect of the sensitive feature matrix M is regarded as 1. Use the overall classification effect minus the classification effect corresponding to the feature matrix after removing this feature as the feature weight of this feature vector, that is, 1 - AUC. After traversing all the feature vectors, a set of feature weight values is obtained and saved in a new matrix as the weight matrix W. Multiply the sensitive feature matrix M and the weight matrix W for weighted fusion at the feature layer. Assume the sensitive feature matrix M = (m1, m2,..., m n ), n is the maximum value of the number of features, 1 - AUC is w i , (i = 1, 2... n), the weight matrix W = (w1, w2,..., w n ), then the feature matrix E after weighted fusion = M * W = (m1w1 + m2w2 + … m n w n ).
Claims
1. A feature selection and feature fusion method based on EEG sensitive leads, characterized in that: Including the following steps: Step 1: Collect and preprocess the electroencephalogram (EEG) signals of 16 leads to obtain the preprocessed EEG signals; Step 2: Extract the full set of features from the preprocessed EEG signals. The full set of features includes time-domain features, frequency-domain features, and non-linear features. Based on the full set of features, use the Pearson correlation coefficient to remove redundant features and obtain sensitive features; Step 3: Screen sensitive leads from all leads: First, determine the sensitive features at each lead, and then determine the sensitive leads according to the proportion of the sensitive features in the full set of features. The specific steps are as follows: Calculate the p-value and accuracy value of the analysis of variance corresponding to all the features of the signal of each lead. If -ln(p) > 3 and 0.6 < accuracy < 1 for a certain feature, then this feature is a sensitive feature; when the number of sensitive features in the signal of this lead accounts for more than 25% of the full set of features, it is determined that this lead is a sensitive lead; Step 4: Use the AUC as the objective function to calculate the weight of each sensitive feature, and obtain a weight matrix for weighted fusion of the sensitive features.
2. The feature selection and feature fusion method based on EEG sensitive leads according to claim 1, characterized in that: The preprocessing of EEG signals includes baseline removal, notch filtering, band-pass filtering, artifact removal, and segmentation operation. Specifically: First, use the EEGLAB toolbox to complete the baseline removal of the original data; Then, perform notch and band-pass filtering according to the frequency of power frequency interference and the frequency-domain distribution of EEG signals; Next, use independent component analysis (ICA) to remove artifacts such as electrooculogram (EOG) and electromyogram (EMG) to obtain the EEG signals after noise filtering; Finally, segment and cut the denoised EEG signals to obtain the finally preprocessed EEG signals.
3. A feature selection and feature fusion method based on EEG sensitive leads according to claim 1, characterized in that: Time-domain features: kurtosis, mean, variance, peak-to-peak value; Frequency-domain features: power spectral density, absolute energy features of the δ, θ, α, and β frequency bands, and on this basis, four relative energy features of δ / (δ + θ + α + β), θ / (δ + θ + α + β), α / (δ + θ + α + β), and β / (δ + θ + α + β); where the δ frequency band is 0.5 - 4 Hz, the θ frequency band is 4 - 8 Hz, the α frequency band is 8 - 13 Hz, and the β frequency band is 13 - 30 Hz; Non-linear features: correlation dimension, Shannon entropy, Kolmogorov complexity.
4. The feature selection and feature fusion method based on EEG sensitive leads according to claim 1, characterized in that: Use the p-value and accuracy value of the analysis of variance. With -ln(p) as the abscissa and the accuracy value as the ordinate, plot a graph of the correlation strength between all the features at each lead and depressive mood, and obtain the number of sensitive features that show a strong correlation with depressive mood at each lead. When the number of sensitive features accounts for more than 25% of the total features, it can be determined that the lead here is a sensitive lead.
5. The method for feature selection and feature fusion of EEG sensitive leads according to claim 1, characterized in that: The weighted fusion of sensitive features is performed with AUC value as the objective function; from the sensitive feature matrix M = (m1, m2, ..., m n ) starts to traverse the sensitive feature matrix, n is the maximum number of sensitive features, when traversing to a certain feature vector, the feature matrix M′ without the feature vector is obtained, and the classification accuracy AUC of the feature matrix M′ is calculated at this time. The overall classification effect of the sensitive feature matrix M is regarded as 1, and the classification effect corresponding to the feature matrix after removing the feature is subtracted from the overall classification effect as the feature weight of the feature vector, that is, 1-AUC, which is w i , (i=1,2……n), weight matrix W=(w1、w2、……、w n ), the feature matrix after weighted fusion is E = M*W = (m1w1+m2w2+…m n w n ).
Citation Information
Patent Citations
Method for extracting electroencephalogram characteristic based on quantitative electroencephalogram
CN102715903A
Motor imagery brain electrical signal recognition method based on dual-tree complex wavelet energy difference
CN105286860A
