An online multi-feature spatial migration recognition method for scalp EEG signals
Through multi-feature space collaborative learning and induced transfer learning methods, the problems of insufficient feature representation of EEG signals and low efficiency of transfer learning are solved, efficient online recognition of EEG signals is achieved, and technical support for precision medical services is provided.
Patent Information
- Application Number
- CN202210428654.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-04-22
AI Technical Summary
It is difficult for existing technologies to capture rich temporal, spatial, and energy information in the feature representation of EEG signals, and the transfer learning model fails to effectively utilize a small number of labeled samples in the target domain for model "induced" learning, resulting in low recognition efficiency and accuracy. Inadequate degree.
Multi-feature space collaborative learning and induced transfer learning methods are used to establish a multi-view source domain data set of EEG signals, use Euclidean distance clustering to select the appropriate source domain, set the model parameters λ1, λ2, λ3, and combine the regularization parameters and Clustering algorithm defines loss function and collaborative learning function to maximize the Pearson correlation coefficient to ensure the consistency and efficiency of recognition results.
It improves the multi-view representation and online identification efficiency of EEG signals, effectively utilizes a small number of labeled samples, avoids negative migration, improves the accuracy of online identification of EEG signals such as epilepsy, and provides technical support for precision medical services.
Smart Images

Figure CN114692697B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical technology, and in particular to an online multi-feature spatial migration recognition method for scalp electroencephalogram signals. Background Art
[0002] As a non-invasive detection method, scalp EEG signals play an important role in the detection of brain diseases, such as epilepsy. Among the existing similar patents, Yu Qingshan et al. [Patent No.: CN201410738486.9] invented a multi-class EEG pattern online recognition method based on the probability output of dual support vector machines. This method established a dual support vector machine probability output model, and introduced an incremental learning method on this basis to achieve online recognition of multiple types of EEG patterns.
[0003] Gan Haitao et al. [Patent No.: CN201510922194.5] invented a self-training and learning method for EEG signal recognition. This method uses a semi-supervised extreme energy ratio algorithm to extract feature vectors of labeled and unlabeled samples, then uses labeled samples to train a support vector machine (SVM), predicts unlabeled samples, selects unlabeled samples with high confidence and their corresponding prediction labels, adds them to the labeled sample set, and deletes them from the unlabeled sample set accordingly, iterates in a loop, and finally completes the labeling of all unlabeled samples.
[0004] Li Yang et al. [Patent No.: CN201510284550.5] invented a feature extraction and automatic recognition method for epileptic EEG signals. The method first uses the support vector machine recursive feature elimination method to select features from the EEG signal feature space, and then inputs the selected features into the classifier for epilepsy recognition.
[0005] Although some patents have been published on the intelligent diagnosis of diseases using scalp EEG signals combined with machine learning methods, it can be seen from the above technical solutions that there are still some shortcomings: 1) After extracting features from EEG signals, the features are still represented in a single feature space, while EEG signals often contain rich information such as time series, space, and energy. A single feature representation method is difficult to capture enough feature pattern information for machine learning; 2) For a specific clinical problem, such as epilepsy, transfer learning is often used to solve the problem of insufficient number of training samples or expensive manual labeling. However, most of the current transfer learning models are trained on the source domain, and do not consider adding a small number of labeled samples in the target domain to "induce" model learning. Summary of the invention
[0006] In response to the above problems, the present invention provides an online multi-feature space migration recognition method for scalp EEG signals. From the perspective of multi-feature space representation and induced transfer learning, it provides a guarantee for improving the efficiency of online disease recognition based on EEG signals and provides technical support for precision medical services.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0008] An online multi-feature spatial migration recognition method for scalp electroencephalogram signals comprises the following steps:
[0009] Step 1: Establish a multi-view source domain dataset of EEG signals for model training;
[0010] Step 2: For each perspective, calculate the Euclidean distance between all samples in the source domain dataset and the target to be identified, and use this distance as a feature to perform cluster analysis, and then select the cluster with the cluster center closest to the target to be identified as the migration source domain;
[0011] Step 3: Set the model parameters λ1, λ2, λ3, and use the calibration samples in the source domain and target domain selected in step 2 to train the model;
[0012] Step 4: Use the trained model to predict unlabeled samples in the target domain.
[0013] In step 1, the model input must meet the following conditions:
[0014] 1. Annotated EEG signals in the source domain;
[0015] 2. A small amount of annotated EEG signals in the target domain (online correction samples);
[0016] 3. Model parameters λ1, λ2, λ3.
[0017] Basic principles of the present invention:
[0018] 1. Collaborative learning in multiple feature spaces
[0019] EEG signals contain rich pattern information such as time sequence, space and energy. Different feature extraction methods (such as kernelized principal component analysis, short-time Fourier transform, wavelet transform, etc.) can be used to obtain different feature space representations of EEG signals. Represents the representation of a certain segment of the EEG signal in the mth d-dimensional feature space, 1≤m≤M, M represents the total number of feature spaces. In order to enable the recognition method of the present invention to collaboratively learn in M feature spaces, the multiple feature spaces must meet the following conditions: 1) the training error in each feature space is minimized; 2) the recognition results of different feature spaces are as consistent as possible.
[0020] 2. Online Transfer Learning
[0021] Most of the transfer learning strategies used in existing patents adopt the method of minimizing the difference between the conditional probability distribution and marginal probability distribution of samples in the source domain and the target domain. However, in online learning, there are only a small number of "calibration samples" in the target domain, so in addition to the probability distribution constraints of the source domain and the target domain samples, the "inductive effect" of the calibration samples on the learning of the objective function must also be considered. Therefore, in the present invention, in addition to defining the loss function on the source domain, the loss of the calibration samples is also defined on the target domain, and the regularization parameter is used to control the size of the "inductive effect" of the calibration samples.
[0022] 3. Selective migration
[0023] The historical data generated by each individual (subject) can be regarded as a source domain. If the source domain that is significantly different from the target domain is included as the transfer knowledge, negative transfer will inevitably occur. Therefore, in the present invention, a clustering algorithm (such as k-means) is used to divide the source domain, and then the source domain whose cluster center is closest to the target domain center is selected as the transfer knowledge. Compared with the existing invention patents that include all source domains, the selective transfer used in the present invention can not only speed up the transfer, but also effectively avoid the occurrence of negative transfer.
[0024] Taking the above basic principles into consideration, the optimization goal of the recognition method of the present invention can be expressed as follows:
[0025]
[0026] In the error term, l s (r) and l t (r) Respectively represent the error loss functions of the source domain and the target domain under the perspective r; in the multi-perspective collaborative learning term, v s (r) and v t (r) denote the collaborative learning function of the source domain and the target domain respectively. The collaborative learning function follows two principles: first, the learning results from each perspective should be as consistent as possible; second, the noise perspective should be given a smaller weight; in the transfer learning term, d (r) and d' (r) They represent the marginal probability distribution similarity measurement function and conditional probability distribution similarity measurement function of the sample distribution between the source domain and the target domain from the perspective of r, respectively; in the Pearson correlation coefficient term, p (r)It represents the Pearson correlation coefficient between the true label of the training sample and the predicted label from the perspective of r. By maximizing this term, we can avoid the phenomenon that the prediction result is irrelevant to the feature space of the training sample.
[0027] Beneficial effects of the present invention:
[0028] 1. Based on the multi-perspective representation of EEG signal features, the present invention uses two strategies for multi-perspective collaborative learning; one is used to ensure that the learning results under different perspectives tend to be consistent, and the other is used for perspective weighting.
[0029] 2. The present invention utilizes the historical physiological electrical signal data accumulated over a long period of time under the same cognitive task, combined with a small amount of verification data of current patients, to perform multi-source domain knowledge transfer learning; and in order to improve the efficiency of transfer, it is proposed to use clustering methods to select the most appropriate source domain for knowledge transfer.
[0030] 3. The present invention provides a guarantee for improving the efficiency of online disease identification based on EEG signals, provides technical support for precision medical services, and can be used for online identification of abnormal EEG signals. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flow chart of the present invention.
[0032] Figure 2 Schematic diagram of five subset EEG signal sampling segments in an embodiment of the present invention.
[0033] Figure 3 Schematic diagram of features extracted on subset A using the WPD algorithm in an embodiment of the present invention.
[0034] Figure 4 It is a schematic diagram of features extracted on subset A using the STFT algorithm in an embodiment of the present invention.
[0035] Figure 5 It is a schematic diagram of features extracted on subset A using the KPCA algorithm in an embodiment of the present invention.
[0036] Figure 6 Schematic diagram of the test results in six migration scenarios in the embodiment of the present invention. (M represents the number of calibration samples in the target domain) DETAILED DESCRIPTION
[0037] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings, so that those skilled in the art can better understand the advantages and features of the present invention, thereby making a clearer definition of the protection scope of the present invention. The embodiments described in the present invention are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.
[0038] 1. Experimental Data
[0039] We successfully applied for an EEG signal dataset for epilepsy research from the University of Bonn in Germany (http: / / www.meb.uni-bonn.de / epileptologie / science / physik / eegdata.html). The dataset includes five subsets: A, B, C, D, and E. The A and B subsets contain scalp EEG signals of healthy volunteers, and the other three subsets contain intracranial EEG signals of epilepsy patients. Each subset contains 100 single-channel EEG signals, each of which includes 4096 sampling points at a sampling frequency of 173.6 Hz. The detailed introduction of the dataset is shown in Table 1, and some of the sampling fragments of the five subsets are shown in Table 1. Figure 2 shown.
[0040] Table 1 Bonn University EEG signal dataset
[0041]
[0042] 2. Multi-feature spatial expression
[0043] For the above-mentioned Bonn University EEG signal dataset, different feature extraction algorithms are designed to extract features of EEG signals.
[0044] 1) Wavelet Packet Decomposition (WPD)
[0045] The original EEG data is decomposed into a series of binary wavelets using Daubechies 4 wavelet coefficients. The original EEG data is decomposed into six different frequency bands, D1, D2, D4, D5 and the last approximate A4, using Daubechies 4 wavelet coefficients db(4,1), db(4,2), db(4,3), db(4,4), db(4,5), db(4,0). The corresponding frequency band intervals are [31,60], [16,30], [8,15], [4,8], [2,4], [0,2] respectively. Figure 3 The six bands of group A are shown, which are considered as six features respectively.
[0046] 2) Short-time Fourier Transform (STFT)
[0047] The process of extracting EEG features using STFT includes three steps. First, the original EEG data is decomposed into multiple different local stationary signal segments; then a set of local signal spectra with obvious time-varying characteristics are extracted using Fourier transform; finally, six frequency bands are extracted from the energy generated in the second step. These six bands are Delta-1 of 0-2Hz, Delta-2 of 2-4Hz, Theta of 4-8Hz, Alpha of 8-15Hz, Beta of 15-30Hz, and Gamma of 30-60Hz. Figure 4 The frequency of a feature in each band of subset A is shown.
[0048] 3) Kernel Principal Component Analysis (KPCA)
[0049] KPCA is a method that uses kernel techniques combined with traditional PCA principles to extract nonlinear features. First, a Gaussian function is selected as the kernel function to achieve nonlinear mapping, and then six features are extracted as KPCA features based on the six PC feature vectors with the first six eigenvalues. Figure 5 Six features on subset A are shown.
[0050] 3. Construction of Migration Scenario
[0051] In order to test the recognition method of the present invention, the present application constructs 6 migration scenarios as shown in Table 2, where A, B, C, D, and E represent the groups of EEG signals in Table 1.
[0052] Table 2 Migration scenarios constructed
[0053]
[0054] 4. Test results
[0055] In order to highlight the advantages of the recognition method (OT-TSK-FC) of the present invention, this application introduces three benchmark test devices (BL1, BL2 and BL3) and a transfer support vector machine (T-SVM) to compare the recognition accuracy, such as Figure 6 As shown in the figure, the recognition accuracy is used as an evaluation indicator, which is defined as: the number of correctly recognized samples / the total number of samples.
[0056] BL1: Train on the source domain and test on the target domain without considering transfer;
[0057] BL2: Use a small number of labeled correction samples on the target domain to train the model, and then test it on the target domain.
[0058] That is, the knowledge of the source domain is not utilized;
[0059] BL3: The model is trained using labeled samples from the source domain and a small number of labeled corrected samples from the target domain, and then tested on the target domain. That is, the distribution difference between the source domain and the target domain is not considered.
[0060] In the experiment, the model parameters λ1, λ2, and λ3 were obtained through 5-fold cross validation.
[0061] It can be seen from the experimental results that compared with BL1, BL2, BL3 and T-SVM, the recognition method of the present invention has certain advantages.
[0062] The embodiments of the present invention are described in detail above, but the contents described are only preferred embodiments of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made according to the scope of application of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. An online multi-feature spatial migration recognition method for scalp EEG signals. Features: The following steps are involved: Step 1: Establish a multi-view source domain dataset of EEG signals for model training; Step 2: For each perspective, calculate the Euclidean distance between all samples in the source domain dataset and the target to be identified, and use this distance as a feature to perform cluster analysis, and then select the cluster with the cluster center closest to the target to be identified as the migration source domain; Step 3: Set the model parameter λ 1 ,λ 2 ,λ 3 , use the correction samples in the source domain and target domain selected in step 2 to train the model; Step 4: Use the trained model to predict unlabeled samples in the target domain; The optimization objective of the recognition method is expressed as follows: Among them, in the error term, l s (r) and l t (r) Respectively represent the error loss functions of the source domain and the target domain under the perspective r; in the multi-perspective collaborative learning term, v s (r) and v t (r) Represent the collaborative learning functions of the source domain and the target domain respectively. In the transfer learning term, d (r) and d' (r) They represent the marginal probability distribution similarity measurement function and conditional probability distribution similarity measurement function of the sample distribution between the source domain and the target domain from the perspective of r, respectively; in the Pearson correlation coefficient term, p (r) It represents the Pearson correlation coefficient between the true label and the predicted label of the training sample from the perspective of r.
Citation Information
Patent Citations
Multiclass brain electrical mode online identification method based on probability output of twin support vector machine
CN104573630A
Epileptic feature extraction and automatic identification method based on electroencephalogram signal
CN104887224A
Electroencephalogram (EEG) signal recognition method based on improved self-training learning
CN105550705A
Epilepsy state identification method based on migration Softmax regression
CN113569725A
Electroencephalogram signal recognition method based on metric transfer learning
CN114330559A
