Multi-feature low-dimensional subspace ERP detection method for cross-subject RSVP
Through the method of Euclidean space alignment and multi-feature fusion, the accuracy and stability problems of ERP detection under cross-subject RSVP conditions are solved, and higher detection accuracy and lower standard deviation are achieved, especially in segments of different lengths. for best results.
Patent Information
- Application Number
- CN202210042481.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-14
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-01-14
AI Technical Summary
Under the condition of cross-subject RSVP, the existing technology has low single-trial ERP detection accuracy and insufficient model stability. This is mainly due to the single feature scale and the influence of individual differences, which makes cross-time and cross-subject detection difficult.
A multi-feature low-dimensional subspace ERP detection method for cross-subjects was adopted. Through Euclidean space alignment, multi-way feature extraction and dimensionality reduction, surface and deep features were integrated to construct a joint feature space for ERP detection. Specific steps include sample data alignment, multi-channel feature extraction, feature unidimensionalization and construction of a joint feature space, and finally classification using a linear discriminator.
The accuracy and stability of ERP detection are improved, and the performance of cross-subject detection is enhanced. In particular, the detection effect under different length segments is significantly better than the existing technology.
Smart Images

Figure CN114403903B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of event-related potential analysis, and relates to event-related potential detection across subjects, and in particular to a multi-feature low-dimensional subspace ERP detection method for RSVP across subjects. Background Art
[0002] Target image retrieval based on computer vision is widely used. However, some targets have characteristics such as camouflage, occlusion, environmental changes, and uncertainty. Machine recognition has poor scene generalization ability and difficulty in intrinsic abstraction, which makes it difficult to accurately identify such complex targets. Figure 1 As shown in the figure, the target image retrieval based on Rapid Serial Visual Presentation (RSVP) uses the event-related potentials (ERP) generated by the human brain when seeing the target image to complete the target image retrieval, and has the ability to recognize complex targets. ERP is an evoked potential in the electroencephalogram (EEG), which contains components such as P300, N170, and N200, and can be induced by auditory or visual stimuli.
[0003] It is worth noting that in the classic RSVP paradigm, ERP detection and recognition is based on a single trial, which is more difficult than the speller paradigm that detects ERP based on multiple trials. In addition, when applying the RSVP paradigm for online target image detection, there are often problems across time periods or even across subjects. Cross-time detection will be affected by factors such as changes in the subject's personal mental state, position deviation of the EEG cap electrode, and changes in the external environment. Cross-subject detection will also be affected by individual differences between subjects.
[0004] In order to find a better method to improve the accuracy of single-trial ERP detection. Solis-Escalante et al. proposed a single-trial detection method based on empirical mode decomposition, decomposing the average event response from the training set of P300, providing a good direction for event response decomposition; Krusienski et al. used Stepwise Linear Discriminant Analysis (SWLDA) to discriminate P300, providing an improvement direction at the discriminator level; Bertrand Rivet et al. proposed an xDAWN algorithm that improves the signal-to-noise ratio of EEG data by constructing a spatial filter, contributing to the improvement of the method of improving the signal-to-noise ratio of EEG data; Lawhern et al. proposed a compact convolutional neural network model architecture EEGNet, which provides an excellent neural network model baseline for pattern recognition of EEG data. However, although these methods show excellent results in single-trial ERP detection, they perform generally in the case of cross-subjects.
[0005] In order to enhance the cross-subject performance of the model, transfer learning has been introduced into the pattern recognition of EEG data. The idea is to use the information of the source domain to improve the learning performance of the target domain. Paolo Zanini et al. proposed a transfer learning method called RA-MDRM, which improves the accuracy of the MDRM classifier by using auxiliary data from other subjects. It is worth noting that this method also requires a small amount of labeled EEG data from new subjects. He He et al. proposed a method for aligning EEG data in Euclidean space, which achieves data alignment by mapping the average covariance matrix of each trial EEG data to the unit matrix. This method does not require labels from new subjects. However, the feature scales used by these methods are relatively single, which will limit the accuracy and stability of the model. Summary of the invention
[0006] In view of the shortcomings of the existing technology, the present invention proposes a multi-feature low-dimensional subspace ERP detection method for cross-subject RSVP. First, the sampling data of different subjects and different trials are aligned through the transfer learning method, and then different methods are used for feature extraction and dimensionality reduction. Finally, multi-channel features are fused to perform event-related potential detection to improve accuracy and stability.
[0007] The multi-feature low-dimensional subspace ERP detection method for cross-subject RSVP specifically includes the following steps:
[0008] Step 1: Sample data alignment
[0009] The original EEG data from different subjects and multiple trials were processed using the Euclidean Space Data Alignment (EA) method. Euclidean space alignment can make the known EEG data distributions from different subjects closer without using any EEG data labels from new subjects, that is, aligning the EEG data of the subjects in the Euclidean space.
[0010] The Euclidean space alignment method first obtains the reference matrix for the EEG data of n trials of a subject.
[0011]
[0012] Where X i is the EEG data of the i-th trial of the subject, and T indicates transposition. Reference matrix The actual meaning of is the average matrix of the covariance matrix of each trial of the subject. Get the reference matrix Then update the original EEG data to get the aligned EEG data:
[0013]
[0014] Step 2: Multi-channel feature extraction
[0015] For the EEG data aligned in step 1, surface features and deep features are extracted respectively to construct multi-feature EEG signals to alleviate the adverse effects of a single feature when detecting across subjects.
[0016] s2.1. Surface feature extraction
[0017] The features of EEG signals that can be recognized by humans are called surface features, that is, their signal amplitude. The waveform formed by ERP in the original time domain has a certain degree of recognition, so its signal amplitude will contain some important information. If the signal amplitude is used directly as the surface feature, it is easy to overfit the training set subjects. In order to alleviate this problem, in the process of surface feature extraction, this method first downsamples the aligned EEG data, and then passes it through the xDAWN spatial domain filter to use the amplitude of the EEG signal after improving the signal-to-noise ratio as the surface feature F. S .
[0018] The xDAWN spatial filter is a spatial filtering method originally designed for P300 evoked potentials to enhance target responses by referencing non-target responses.
[0019] The response mode of the xDAWN spatial domain filter is:
[0020] S=DA+N (3)
[0021] in represents the EEG signal, N t Represents the number of sampling points of the EEG signal, N s Indicates the number of channels of EEG signals, is a Toeplitz matrix, whose first column is fixed to 1 when a stimulus is present. represents the synchronous response to the target stimulus, N e represents the number of samples of EEG signals containing ERP, and N represents the continuous activity and artifacts of the brain.
[0022] s2.2. Deep feature extraction
[0023] Since there are certain individual differences between subjects, after extracting the deep features, the labels will be used for multiple tests to allow the deep features to contain more cross-subject and ERP-related information. First, the xDAWN spatial domain filter is used to improve the signal-to-noise ratio; then the covariance matrix of the signal is calculated as a feature to reduce the impact of electrode position offset across subjects; finally, the signal is projected into the tangent space to obtain its deep features F D .
[0024] The tangent space projection projects a set of covariance matrices into its tangent space, which is equivalent to a kernel operation. Tangent space projection can be regarded as a local approximate manifold learning, which preserves the internal structure of the manifold while converting the sample covariance matrix.
[0025] First, the covariance matrix of the aligned EEG data is calculated by covariance matrix estimation or regularization:
[0026]
[0027] Then according to the covariance matrix C i , the reference matrix C is calculated by gradient descent method ref :
[0028]
[0029] where δ R Represents the distance measure of the covariance matrix in Riemann space.
[0030] The next step is to calculate the covariance matrix C i Projection S in tangent space i :
[0031]
[0032] Where upper() means taking the upper triangular matrix of the matrix and vectorizing it. During the vectorization process, the elements of the main diagonal remain unchanged, and the elements of the non-main diagonal become times.
[0033] Step 3: One-dimensionalization of features
[0034] The idea of linear discriminant analysis is used to analyze the surface features F extracted in step 2. S and deep features F D Supervised dimensionality reduction is performed separately to make the intra-class discreteness of different class features as low as possible and the inter-class discreteness as high as possible.
[0035] s3.1, based on surface characteristics F S For example, first classify the collected features according to the labels of EEG data to obtain the sub-feature set flag=1,2, Represent the surface feature subsets of class 0 and class 1 respectively. Then calculate the mean vectors of the two subsets in the original feature space
[0036]
[0037] in, Represents a sub-feature set The number of features in .
[0038] Then calculate the sub-feature set The intra-class dispersion matrix
[0039]
[0040] Get the surface feature F S The total intra-class dispersion matrix and the inter-class dispersion matrix They are:
[0041]
[0042]
[0043] Then calculate The eigenvector ω corresponding to the maximum eigenvalue of S , and use this feature vector as the surface feature F S The one-dimensional projection direction obtains the one-dimensional surface feature F S’ :
[0044]
[0045] where f is Represents the surface features corresponding to the i-th sample.
[0046] s3.2. According to the method described in s3.1, the deep feature F D Perform one-dimensional processing to obtain the one-dimensional deep feature F D’ .
[0047] Step 4: Construct joint feature space
[0048] Since the extraction methods of shallow features and deep features are different, the two types of features are located in different feature spaces. Before classification detection, feature fusion is required, that is, a joint feature space is constructed. The existing technology directly merges the features in different feature spaces into a high-dimensional mixed feature space. The mixed features contain both the same features from one feature space and different features from two feature spaces. Since the classifier itself cannot distinguish which feature space the current feature comes from, the features fused in this way will increase the difficulty of the classifier's classification task. Although the amount of information increases, it may lead to a decrease in recognition accuracy.
[0049] In this method, the two-way features are supervisedly reduced in dimension in step 3 and projected into two one-dimensional feature spaces respectively. The one-dimensional features obtained in step 3 are merged into two dimensions to reconstruct a two-dimensional joint feature space. The features of each dimension are highly condensed features extracted previously. Different features are located in different dimensions and do not interfere with each other. Based on this idea, the fused feature F C ∈R 2xn for:
[0050]
[0051] Step 5: ERP detection
[0052] Use the linear discriminator to fusion feature F obtained in step 4 C After classification, the ERP detection results can be obtained.
[0053] The present invention has the following beneficial effects:
[0054] This method first aligns the original data, then extracts two different features, and fuses the two features in a two-dimensional joint feature space after a one-dimensional operation. ERP detection is performed based on the fused features. While slightly improving the accuracy of event-related potential detection, it can effectively increase the stability of the accuracy of event-related potential detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 This is a schematic diagram of the classic RSVP experimental paradigm;
[0056] Figure 2 Flowchart of multi-feature low-dimensional subspace ERP detection for cross-subject RSVP. DETAILED DESCRIPTION
[0057] The present invention will be further explained below with reference to the accompanying drawings;
[0058] like Figure 2 As shown in the figure, the multi-feature low-dimensional subspace ERP detection method for cross-subject RSVP first uses the Euclidean space alignment in the transfer learning method to align the data of different subjects. Secondly, the features from different spaces are supervised for dimensionality reduction and reconstruction. Finally, the reconstructed features are used for ERP detection.
[0059] The following uses the leave-one-subject method as the test method and the balanced accuracy rate as the evaluation index. This method and some existing technologies are used to perform cross-subject ERP detection on the same data set under different length segmentation conditions. The length segmentation refers to the time length t used when segmenting the EEG data. The start point of the current trial is taken as the time zero point, and the EEG data of the time interval [0, t] is intercepted as the EEG sample corresponding to the current trial.
[0060] Example 1
[0061] This embodiment uses the tangent space projection method and the xDAWN spatial domain filter to extract features from the PhysioNetRSVP dataset in 7 segments of different lengths, and uses the direct combination and the feature combination method described in this method to perform feature fusion. The balanced accuracy of ERP detection under the four feature extraction methods is analyzed. The results are shown in Table 1:
[0062]
[0063] Table 1
[0064] According to the statistical data in the table, we can see that: (1) The classification effect of using Euclidean space aligned data is generally better than that of unaligned data. (2) The feature combination method proposed by this method is not the worst classification effect under the 7 segment lengths. (3) Under the 7 different segment lengths, the feature combination method proposed by this method achieves the highest balanced accuracy under 5 of the 7 segment lengths, that is, the best classification effect, while the direct combination method in the prior art only achieves the best under 1 segment length.
[0065] Example 2
[0066] This embodiment maintains the same experimental conditions as the first embodiment, and performs ERP detection on 7 segments of different lengths of the Tsinghua RSVP dataset. The experimental results are shown in Table 2:
[0067]
[0068] Table 2
[0069] As shown in Table 2, this method achieves the best results under 7 different segment lengths, and its standard deviation is also lower than that of other methods.
[0070] Among the 14 length segments in total under two different data sets, this method achieved the optimal classification results in 12 length segments, indicating that this method can effectively improve the stability and accuracy of ERP detection.
Claims
1. Multi-feature low-dimensional subspace ERP detection method for cross-subject RSVP, Features: The specific steps include: Step 1: Sample data alignment The Euclidean space alignment method was used to align the raw EEG data from different subjects and multiple trials in the Euclidean space. Step 2: Multi-channel feature extraction Extracting surface features and deep features from the EEG data aligned in step 1 includes the following steps: s2.
1. Surface feature extraction First, the aligned EEG data is downsampled, and then its signal amplitude is calculated after passing through the xDAWN spatial domain filter as the surface feature F S ; s2.
2. Deep feature extraction The aligned EEG data is first filtered through the xDAWN spatial domain filter to improve the signal-to-noise ratio, and then its covariance matrix is calculated. The covariance matrix is then projected into the tangent space and the projection result is used as the deep feature F D ; Step 3: One-dimensionalization of features For the surface feature F extracted in step 2 S and deep features F D Perform supervised dimensionality reduction respectively, the specific methods are as follows: According to the label of EEG data, the surface features F collected S Classify and obtain sub-feature sets Represent the surface feature subsets of class 0 and class 1 respectively; then calculate the mean vectors of the two subsets in the original feature space in, Represents a sub-feature set The number of features in ; Then calculate the sub-feature set The intra-class dispersion matrix Get the surface feature F S The total intra-class dispersion matrix and the inter-class dispersion matrix They are: Then calculate The eigenvector ω corresponding to the maximum eigenvalue of S , and use this feature vector as the surface feature F S One-dimensional projection direction, get the one-dimensional surface feature F S’ : where f i s Represents the surface features corresponding to the i-th sample; According to the surface characteristics F S The same method of one-dimensionalization is used for the deep feature F D Perform one-dimensional processing; Step 4: Construct joint feature space The one-dimensional shallow features and deep features obtained in step 3 are combined into two dimensions to reconstruct a two-dimensional joint feature space to obtain the fused feature F C ∈R 2xn for: Step 5: ERP detection Use the linear discriminator to fusion feature F obtained in step 4 C After classification, the ERP detection results can be obtained.
2. The multi-feature low-dimensional subspace ERP detection method for cross-subject RSVP as claimed in claim 1, Features: The Euclidean space alignment method first obtains the reference matrix for the EEG data of n trials of a subject: Where X i is the EEG data of the i-th trial of the subject, T indicates transposition; Then, according to the reference matrix Then update the original EEG data to get the aligned EEG data:
3. The multi-feature low-dimensional subspace ERP detection method for cross-subject RSVP as claimed in claim 1, Features: The xDAWN spatial domain filter enhances the target response by referring to the non-target response, and the response mode is: S=DA+N (9) in represents the EEG signal, N t Represents the number of sampling points of the EEG signal, N s Indicates the number of channels of EEG signals, is a Toeplitz matrix whose first column is fixed to 1 when a stimulus is present. represents the synchronous response to the target stimulus, N e represents the number of samples of EEG signals containing ERP, and N represents the continuous activity and artifacts of the brain.
4. The multi-feature low-dimensional subspace ERP detection method for cross-subject RSVP as claimed in claim 1 or 2, Features: The specific method of deep feature extraction is: First, calculate the covariance matrix of the aligned EEG data: Then according to the covariance matrix C i Calculate the reference matrix C ref : where δ R Represents the measure of the distance of the covariance matrix in Riemann space; Then calculate the covariance matrix C i Projection S in tangent space i , as a deep feature: Where upper() means taking the upper triangular matrix of the matrix and vectorizing it. During the vectorization process, the elements of the main diagonal remain unchanged, and the elements of the non-main diagonal become times.
5. The multi-feature low-dimensional subspace ERP detection method for cross-subject RSVP as claimed in claim 4, Features: The covariance matrix is obtained by covariance matrix estimation or regularization, and the reference matrix is calculated by gradient descent method.
6. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1, 2, 3, and 5.
Citation Information
Patent Citations
Single-trial electroencephalogram P300 component detection method based on folding HDCA algorithm
CN105700687A
Weak and small target detection method and system based on RSVP electroencephalogram characteristics
CN110991406A
Electroencephalogram signal cross-subject classification method of sub-band target alignment co-spatial mode
CN112528834A
Multi-window discriminant typical pattern matching method and brain-computer interface application
CN112861629A
Target detection method based on multilevel information fusion of double brains
CN113191395A
