Decoding method and decoding device for SSVEP electroencephalogram signals

Through multi-band filtering and cross-reconstruction technology, the problem of spatial redundant features in SSVEP EEG signal decoding is solved, the features are refined and effectively classified, and the information transmission rate and accuracy are improved.

CN118643386APending Publication Date: 2024-09-13SHANGHAI SHULI INTELLIGENT TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410691095.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

The existing training-free SSVEP EEG signal decoding method has spatial redundancy features, which results in increased computational complexity and insignificant performance improvement, and does not fully utilize the time domain information.

Method used

Use multiple sub-band bandpass filters of different frequency bands to extract signals, use pre-built spatial filters for spatial filtering, extract spatial and temporal features, divide them into two feature maps according to the richness of spatial pixels for cross reconstruction and splicing, and combine The preset frequency band channel segmentation ratio performs frequency band channel segmentation and weighted fusion to reduce feature redundancy and improve classification accuracy.

Benefits of technology

Through information integration and optimization at the feature level and frequency domain level, redundant information is reduced, key features are highlighted, the refinement and effectiveness of classification and identification are improved, and the information transmission rate and classification accuracy are significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643386A
    Figure CN118643386A
Patent Text Reader

Abstract

The invention discloses an SSVEP electroencephalogram signal decoding method and device, and the method comprises the steps: obtaining a to-be-decoded steady-state visual evoked potential signal, extracting a sub-band signal, and carrying out the spatial filtering of each sub-band signal through a spatial filter which is constructed based on related components in advance; extracting spatial features and time features of the signal after spatial filtering to obtain a feature map; and sequentially carrying out space reconstruction and channel reconstruction on the feature map, and carrying out classification based on channel reconstruction features to obtain a classification result of the steady-state visual evoked potential signal to be decoded. According to the method, redundant information in original features can be reduced, and features which are more critical to a classification task are emphasized and highlighted at the same time; compression of feature redundancy is facilitated; according to the method, the channel reconstruction features are obtained, classification and identification are carried out based on the reconstruction features, features of different frequency bands can be fused, feature redundancy is further compressed, and the features finally used for classification and identification are more refined and effective.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of brain-computer interface technology, and specifically relates to a method for decoding SSVEP electroencephalogram signals. Background Art

[0002] Brain Computer Interface (BCI) enables people to interact with the outside world using brain signals related to sensation, perception, or higher cognitive activities. BCI technologies are usually divided into invasive and non-invasive paradigms (or non-invasive paradigms). For non-invasive paradigms, steady-state visual evoked potential-based BCI (SSVEP-BCI) has been widely adopted due to its high information transfer rate (ITR), low cost, and ease of use.

[0003] Target recognition methods play an important role in enhancing the performance of SSVEP-based BCI methods. Depending on whether calibration or training data supervision is required, target recognition methods can be divided into non-training methods and supervised training-based methods. Training-free methods for identifying stimulus frequencies include canonical correlation analysis (CCA) and its filter bank extension, minimum energy combining (MEC), and multi-source synchronization index (MSI), but the effect of training-free methods comes at the expense of information transfer rate (ITR) and long stimulation duration.

[0004] Although the training-free method is independent of the supervised training method of the subjects, in many SSVEP application scenarios, the training-free method cannot extract information related to specific subjects and tasks from individual calibration data. The existing task-related component analysis (TRCA) method can maximize the repeatability between SSVEP-BCI experiments. Because spatial patterns or spatial filters can be shared in different categories of stimulation, the TRCA method uses integration technology to connect the spatial filters of each stimulation target. However, the integration and series connection of spatial filters will generate redundancy, resulting in complex accumulation of calculations. In addition, TRCA does not fully utilize the time domain information of SSVEP, which may result in insignificant performance improvement. Summary of the invention

[0005] The present application aims to solve the technical problem of the existence of spatial redundant features in the current training-free method, and to provide a decoding method and a decoding device for SSVEP electroencephalogram signals to compress the redundant features, thereby performing feature learning and enhancing the feature representation capability.

[0006] This application adopts the following technical solutions.

[0007] In a first aspect, the present application provides a method for decoding a SSVEP electroencephalogram signal, comprising:

[0008] Acquire a steady-state visual evoked potential signal to be decoded, and extract each sub-band signal from the steady-state visual evoked potential signal to be decoded using a plurality of sub-band bandpass filters of different frequency bands;

[0009] Performing spatial filtering on each of the subband signals using a spatial filter pre-constructed based on the correlation component;

[0010] Extracting spatial and temporal features of the spatially filtered signal to obtain a feature map;

[0011] According to the spatial pixel richness, the feature map is divided into a first feature map and a second feature map; the first feature map and the second feature map are weighted respectively, cross-reconstructed and then spliced ​​to obtain spatial reconstruction features;

[0012] According to a preset frequency band channel segmentation ratio, the spatial reconstruction feature is segmented into frequency band channels to obtain two feature parts and convert them respectively to obtain a first output feature and a second output feature; the first output feature and the second output feature are weightedly fused to obtain a channel reconstruction feature;

[0013] Classification is performed based on the channel reconstruction features to obtain a classification result of the steady-state visual evoked potential signal to be decoded.

[0014] In a second aspect, the present application provides a decoding device for SSVEP electroencephalogram signals, the decoding device comprising:

[0015] The SSVEP electroencephalogram signal acquisition module is configured to obtain a steady-state visual evoked potential signal to be decoded, and extract each sub-band signal from the steady-state visual evoked potential signal to be decoded using a plurality of sub-band bandpass filters of different frequency bands;

[0016] A spatial filtering module is configured to perform spatial filtering on each of the sub-band signals using a spatial filter pre-constructed based on the correlation component;

[0017] A feature map extraction module is configured to extract spatial features and temporal features of the spatially filtered signal to obtain a feature map;

[0018] A spatial reconstruction module is configured to divide the feature map into a first feature map and a second feature map according to the richness of spatial pixels; weight the first feature map and the second feature map respectively, perform cross-reconstruction and then splice them to obtain spatial reconstruction features;

[0019] The channel reconstruction module is configured to perform frequency band channel segmentation on the spatial reconstruction feature according to a preset frequency band channel segmentation ratio, obtain two feature parts and convert them respectively to obtain a first output feature and a second output feature; perform weighted fusion on the first output feature and the second output feature to obtain a channel reconstruction feature;

[0020] The classification module is configured to perform classification based on the channel reconstruction features to obtain a classification result of the steady-state visual evoked potential signal to be decoded.

[0021] Compared with the prior art, the SSVEP EEG signal decoding method and decoding device provided by the present application have achieved the following beneficial technical effects:

[0022] The embodiment of the present application divides the feature map into a first feature map and a second feature map according to the richness of spatial pixels, weights the first feature map and the second feature map respectively, performs cross-reconstruction and then splices them, thereby realizing information integration and optimization at the feature level. This cross-reconstruction method helps to reduce redundant information in the original features, while emphasizing and highlighting the features that are more critical to the classification task; according to a preset frequency band channel segmentation ratio, the spatial reconstructed features are segmented into frequency band channels, and are respectively converted to obtain first output features and second output features, thereby realizing further refinement and screening of the features at the frequency domain level, helping to remove unnecessary frequency band information and further compress feature redundancy; by weighted fusion of the first output feature and the second output feature, a channel reconstruction feature is obtained, and classification and recognition are performed based on this reconstructed feature, which can fuse features of different frequency bands while further compressing feature redundancy, so that the features ultimately used for classification and recognition are more refined and effective. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings described herein are for explanation purposes only and are not intended to limit the scope of the present application in any way. In addition, the shapes and proportional dimensions of the components in the drawings are only for illustration purposes and are used to help understand the present application. They do not specifically limit the shapes and proportional dimensions of the components of the present application. Under the guidance of the present application, those skilled in the art can select various possible shapes and proportional dimensions to implement the present application according to specific circumstances. In the drawings:

[0024] Figure 1 A schematic diagram of a method for decoding SSVEP electroencephalogram signals provided in an embodiment of the present application;

[0025] Figure 2 A schematic diagram of the principle of the process of obtaining spatial reconstruction features in a method for decoding SSVEP electroencephalogram signals provided in an embodiment of the present application;

[0026] Figure 3A schematic diagram of the principle of the process of obtaining channel space reconstruction features in a method for decoding SSVEP electroencephalogram signals provided in an embodiment of the present application;

[0027] Figure 4 Comparison of classification accuracy of different algorithms decoding for each subject in the embodiment;

[0028] Figure 5 Comparison of information transmission rate (ITR) of different algorithms for decoding of each subject in the embodiment;

[0029] Figure 6 A schematic diagram of the structure of a decoding device for SSVEP electroencephalogram signals provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0031] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features.

[0032] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0033] Figure 1 A schematic flow chart of a method for decoding an SSVEP electroencephalogram signal provided in an embodiment of the present application; the decoding method comprises:

[0034] S1: Acquire the steady-state visual evoked potential signal to be decoded;

[0035] S2: using a plurality of sub-band bandpass filters of different frequency bands to extract each sub-band signal from the steady-state visual evoked potential signal to be decoded;

[0036] S3: Using the pre-built correlation component spatial filter, perform spatial filtering on each sub-band signal;

[0037] S4: extracting spatial features and temporal features of the spatially filtered signal to obtain a feature map;

[0038] S5: dividing the feature map into a first feature map and a second feature map according to the richness of spatial pixels; weighting the first feature map and the second feature map respectively, performing cross-reconstruction and then splicing them to obtain spatial reconstruction features;

[0039] S6: According to a preset frequency band channel division ratio, the spatial reconstruction feature is divided into frequency band channels to obtain two feature parts and convert them respectively to obtain a first output feature and a second output feature; the first output feature and the second output feature are weightedly fused to obtain a channel reconstruction feature;

[0040] S7: Classification is performed based on the channel reconstruction features to obtain the classification results of the steady-state visual evoked potential signal.

[0041] In a specific embodiment, the steady-state visual evoked potential signal is induced by the subject's gaze at a stimulus target flickering at a preset frequency on a stimulus screen.

[0042] In some embodiments, the SSVEP benchmark dataset is used in step S1. In the paradigm experiment, 40 visual stimulus targets are displayed in a 5×8 matrix on the stimulus screen, and the stimulus matrix is ​​encoded using a joint frequency phase modulation method. The frequency range of all visual stimulus targets is set to 8Hz-15.8Hz, and the phase is 0-1.5π. For each subject, the experiment consists of 6 parts. Each visual stimulus target contains 40 trials, corresponding to all 40 characters indicated in random order.

[0043] The continuous EEG data of the Benchmark dataset were divided into 6 seconds (500 ms before stimulation and 5.5 seconds after stimulation), the samples were downsampled to 250 Hz, and each trial consisted of 1500 time points.

[0044] In some embodiments, the decoding method further includes: collecting the original steady-state visual evoked potential signal, extracting multiple time window signals from the original steady-state visual evoked potential signal using a sliding window, that is, obtaining data of multiple stimulation durations; and combining the multiple time window signals into a steady-state visual evoked potential signal to be decoded. Since short data length is crucial for the individually calibrated SSVEP-BCI, N can be used in the embodiment. p Sliding window (for example, some embodiments take N p 0.4s) to prune Epoch for performance evaluation. As an example, the sliding window is set to [t s +d,t s +d+N p ], t s is the time point when the visual stimulus starts (optionally, t s =0.5s). d is the delay estimated according to the data set (for example, in some embodiments, d=0.14s).

[0045] In a specific implementation, step S2 may use a plurality of sub-band bandpass filters of 8 Hz-90 Hz to perform frequency filtering on the steady-state visual evoked potential signal (SSVEP) to be decoded.

[0046] As an example, the number of subbands is 4, and in some embodiments, 8 or 10 can also be selected, where the low cutoff frequency and the high cutoff frequency of the k-th subband can be set to k×8 Hz and 90 Hz respectively, k is the number of subbands, and the signal of the i-th trial of the n-th stimulus target in the k-th subband is generated.

[0047] Step S3 also includes pre-training a spatial filter based on TRCA.

[0048] For each subject, one set of EEG data can be used as a test set, and the rest of the data can be folded together and used as a training set.

[0049] The filtered EEG data is first subjected to TRCA to maximize the following terms to obtain the spatial filter of the nth stimulus target in the kth subband Where N C Represents the number of electrode channels, and the expression is as follows:

[0050]

[0051] in is the cross-correlation covariance matrix of all stimulus targets in the kth subband, N T is the number of trials for each stimulus target;

[0052]

[0053] in is the autocorrelation covariance matrix.

[0054] The final solution can be calculated as the matrix Q corresponding to the largest eigenvalue -1 The eigenvector of S;

[0055]

[0056] The weights of each stimulus are concatenated to obtain each subband w k The final spatial filter W k :

[0057]

[0058] Where N F is the number of stimulus targets;

[0059] The signal Xfiltered after spatial filtering is calculated by the following formula:

[0060]

[0061] is the signal of all trials with the nth stimulus target in the kth subband.

[0062] In some embodiments, before performing spatial filtering on each sub-band signal using a pre-constructed correlation component spatial filter, the method further includes filtering the steady-state visual evoked potential signal through a Butterworth filter.

[0063] In a specific embodiment, step S4 is based on the spatially filtered signal X filtered Combine spatial convolution layer and temporal filter convolution to obtain feature map X with spatial depth and temporal dimension feature Specifically, the method for obtaining the feature map includes: sequentially passing the spatially filtered signal through the first convolution layer, the second convolution layer, and the third convolution layer to obtain the feature map X feature , feature map Where N is the total number of trials, C is the number of subbands, and N C is the number of electrode channels, T is the number of sampling points in each trial; the first convolution layer includes a 1x1 convolution kernel, and the second convolution layer includes L1 N C x1 convolution kernel, N C is the number of electrode channels of the steady-state visual evoked potential signal. The third convolutional layer includes L2 1x2 convolution kernels, and the step size in the third convolutional layer is 2 for downsampling to reduce the parameter complexity of the network model.

[0064] In some embodiments, each convolutional layer is followed by a Dropout layer to avoid overfitting. As an example, the number of filter subbands is set to 4, and the Dropout-rate after every second convolutional layer and the third convolutional layer is set to 0.25 and 0.5 respectively. The feature map X is obtained through the network. feature . Dropout-rate is usually a value between 0 and 1, indicating the proportion of neurons that are discarded.

[0065] In some embodiments, for a steady-state visual evoked potential signal of 64 electrode channels, L1 is 120 and L2 is 120.

[0066] The embodiment of the present application effectively fuses the spatially filtered signal and extracts the spatial and temporal features of the signal through a multi-level convolution layer. This feature fusion and extraction method can more comprehensively reflect the characteristics of the signal and provide more valuable information for subsequent analysis and processing. The use of a 1x1 convolution kernel in the first convolution layer can effectively reduce the number of parameters and computational complexity of the model, while also helping to increase the nonlinearity of the model and improve the expressiveness of the model. The design of the second convolution layer takes into account the number of electrode channels N of the steady-state visual evoked potential signal. C , so that the model can flexibly adapt to signals with different numbers of channels. This design makes the model more universal and scalable. The third convolution layer uses L2 1x2 convolution kernels and sets the step size to 2. This design can effectively extract the temporal features in the signal and provide more accurate and effective feature representation.

[0067] In specific implementation, Figure 2 As shown, step S5 obtains spatial reconstruction features, including separation and reconstruction operations. Separation separates feature maps with rich information from feature maps with less information corresponding to spatial content. The scaling factor in the group normalization layer is used to evaluate the information content of different feature maps.

[0068] Since the hyperparameters in the group normalization layer are used to evaluate the information content of different feature maps, it can adaptively adjust the weights according to the actual situation of the feature maps. This adaptive weight adjustment mechanism can make the model more robust and able to cope with different data distributions and noise levels.

[0069] As an example, the feature map is passed through the group normalization layer (GN layer) to obtain a standardized input feature map; in the group normalization layer, the input feature map X can be standardized by the following formula GN :

[0070]

[0071] where μ and σ are the feature maps X feature The mean and standard deviation of , ε is a small positive constant added for division stability, and γ and β are hyperparameters.

[0072] The normalized correlation weight W is obtained by using the trainable hyperparameter γ in the group normalization layer as a way to measure the spatial pixel variance of each batch and electrode channel. γ , expressed as:

[0073]

[0074] where γ i , γj are the hyperparameters of the corresponding electrode channel i and electrode channel j obtained by training in the group normalization layer.

[0075] Richer spatial information reflects more changes in spatial pixels, resulting in larger parameters. The expression of the relevant weight W of different spatial information is as follows:

[0076] W=Gate(Sigmoid(W γ ·(GN(X feature ))))

[0077] = Gate(Sigmoid(W r ·X GN )));

[0078] Sigmoid() is an activation function that can map parameters to the range of (0, 1); Gate() is a threshold function. γ With the normalized input feature map X GN Re-weight to obtain the feature map weight W γ ·X GN , the feature mapping weight is mapped to the range of (0, 1) through the sigmoid function to obtain a mapping result, and the information weight is obtained by comparing the mapping result with a preset weight threshold (as an example, the preset weight threshold can be set to 0.5).

[0079] As an example, a feature mapping weight whose mapping result is less than a threshold is used as a first feature weight W1, and a feature mapping weight whose mapping result is greater than or equal to the threshold is used as a second feature weight W2.

[0080] Multiply the feature map Xfeature by the first feature weight W1 and the second feature weight W2 respectively to obtain the first feature map Xfeature with large information content. 1 and the second feature map X with less information 2 (Redundant feature), the expression is as follows:

[0081]

[0082]

[0083] The first feature map and the second feature map are weighted and cross-reconstructed respectively, and the expression is:

[0084]

[0085] X 11 , X 22 , X 21 and X 12 Based on the first feature map X 1and the second feature map X 2 Cross-acquire, such as X 11 is the first feature map X 1 and the first feature map X 1 Splice to obtain X 22 is the second feature map X 2 and the second feature map X 2 Splice to obtain X 21 is the second feature map X 2 and the first feature map X1 to obtain X 12 is the first feature map X1 and the second feature map X 2 Get it by splicing.

[0086] X w1 ∪X w2 =X SRU ;

[0087] Where X feature is the feature map, X SRU Reconstruct features for space.

[0088] In an embodiment of the present application, by separating the feature map into an information-rich first feature map and a second feature map with less information, and performing weighted processing respectively, the computational complexity can be reduced. Compared with the method of directly processing the entire feature map, computing resources can be used more efficiently and the training and reasoning process of the model can be accelerated. This method can more effectively utilize the information in different feature maps. Feature maps with rich information can retain more key information, while feature maps with less information may contain redundant information or noise, and their impact on the final result can be reduced through weighted processing. Through the cross-reconstruction operation, the information in the first feature map and the second feature map can be fused to generate new spatial reconstruction features, increase the diversity of the feature map, and enhance the representation ability of the model, which helps the model better learn and understand complex patterns in the data.

[0089] In some embodiments, Figure 3 As shown, step S6 introduces a channel reconstruction step to address the channel redundancy of features, and uses a segmentation-conversion-fusion strategy to further reduce the redundancy of the spatially refined feature map along the channel dimension.

[0090] like Figure 3 As shown, the channel reconstruction feature is obtained, including: dividing the frequency band channel of the spatial reconstruction feature segmentation into two feature parts, αC frequency band channel and (1-α)C frequency band channel, according to the preset frequency band channel segmentation ratio α, where 0≤α≤1; compressing the frequency band channel of the feature map by 1×1 convolution respectively, and obtaining X up and X low .

[0091] In the transformation stage, GWC reduces the parameters and the amount of calculation, but cuts off the information flow between channel groups, while PWC compensates for the information loss and helps the information flow between feature channels. It adopts a combination of group-wise-Conv (GWC, group convolution) and point-wise-Conv (PWC, point-by-point convolution) to reduce parameters and the amount of calculation and promote the flow of information between functional channels.

[0092] In X up Perform K×K group-wise-Conv and 1x1 point-wise-Conv convolutions on the first output feature Y 1 ;

[0093] Y 1 =M G X up +M P1 Xu p ;

[0094] X low Input to the feature generated by point-wise-Conv (PWC), and then concatenate with itself to generate the second output feature Y 2 ;

[0095] Y 2 =M P2 X low ∪X low ;

[0096] Among them, M G 、M P1 、M P2 is the learning matrix of convolution, and K is the preset convolution kernel parameter.

[0097] After the conversion is completed, the SKNet method is used to adaptively merge the output features Y from the upper and lower conversion stages 1 and Y 2 ,like Figure 3 Specifically, we first use the global average pooling layer to obtain the global spatial information and obtain S m :

[0098]

[0099] N C is the number of electrode channels, T is the number of sampling points in each test, Y 1 (i,j) is the first output feature Y 1 The element Y 2 (i,j) is the first output feature Y 2 elements, m=1,2.

[0100] In the upper and lower global S1 ,S 2 Superimposed together, a Softmax function is used to generate the feature importance weight β 1 ,β 2 ; In the feature importance weight β 1 , β 2 Weighted, the upper feature Y 1 With the following feature Y 2 (Merge according to the electrode channel direction to obtain the channel reconstruction feature Y, the expression is as follows:

[0101] Y=β 1 Y 1 +β 2 Y 2 .

[0102] The first output feature and the second output feature are weightedly combined to realize the combination of the task components of the features with rich content information and the features with less information, so as to strengthen the information flow between the two different task components and obtain the channel reconstruction features. Through the preset frequency band channel splitting ratio α, the scheme can flexibly select the ratio of C-band channels and (1-α)C-band channels to adapt to different tasks and data sets. This flexibility helps to capture important information in different frequency bands. Using 1×1 convolution to compress the segmented feature part can effectively reduce the number of frequency band channels of the feature map, reduce the computational cost, and may improve the discriminability of the feature.

[0103] In some embodiments, in step S7, the channel reconstruction feature Y output by the above module is input into a fully connected layer, and finally classified by a Softmax classifier.

[0104] By adopting the SSVEP decoding method of the present invention, the average accuracy of SSVEP classification can reach 84%, which is much higher than 58% of TRCA and 74% of eTRCA, and the information transmission rate is also greatly improved. The information transmission rate of TRCA combined with the SCConv network reaches an average of 261.92 bit / min, which is significantly higher than 127.15 bit / min of TRCA and 186.2 bit / min of eTRCA, effectively eliminating redundancy and significantly improving the signal-to-noise ratio of the system.

[0105] Table 1 shows the average accuracy of 18 subjects in 6 blocks:

[0106] Table 1

[0107]

[0108] Table 2 shows the average ITR (bit / min) of 20 subjects in 6 blocks:

[0109] Table 2

[0110]

[0111] The present application also provides a decoding device for SSVEP electroencephalogram signals. Figure 6 As shown, it includes an SSVEP electroencephalogram signal acquisition module, a bandpass filtering module, a spatial filtering module, a feature map extraction module, a spatial reconstruction module, a channel reconstruction module and a classification module.

[0112] The SSVEP electroencephalogram signal acquisition module is configured to obtain steady-state visual evoked potential signals to be decoded.

[0113] The bandpass filtering module is configured to extract each sub-band signal from the steady-state visual evoked potential signal to be decoded using a plurality of sub-band bandpass filters of different frequency bands.

[0114] The spatial filtering module is configured to perform spatial filtering on each sub-band signal using a spatial filter pre-constructed based on the correlation component.

[0115] The feature map extraction module is configured to extract spatial features and temporal features of the signal after spatial filtering to obtain a feature map.

[0116] The spatial reconstruction module is configured to divide the feature map into a first feature map and a second feature map according to the richness of spatial pixels; weight the first feature map and the second feature map respectively, perform cross-reconstruction and then splice them to obtain spatial reconstruction features.

[0117] The channel reconstruction module is configured to perform frequency band channel segmentation on the spatial reconstruction feature according to a preset frequency band channel segmentation ratio, obtain two feature parts and convert them respectively to obtain a first output feature and a second output feature; perform weighted fusion on the first output feature and the second output feature to obtain a channel reconstruction feature.

[0118] The classification module is configured to perform classification based on the channel reconstruction features to obtain a classification result of the steady-state visual evoked potential signal to be decoded.

[0119] The SSVEP EEG signal decoding device provided in the embodiment of the present application can implement the SSVEP EEG signal decoding method provided in the embodiment of the present application, but the implementation device of the SSVEP EEG signal decoding method provided in the present application includes but is not limited to the SSVEP EEG signal decoding device listed in the present embodiment. All structural deformations and replacements of the prior art made according to the principles of the present application are included in the protection scope of the present application.

[0120] The present application embodiment also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by the processor, the decoding method of the SSVEP electroencephalogram signal provided in any of the above items is implemented. A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above embodiment can be completed by instructing the processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid-state hard disk (solid state disk, SSD)), etc.

[0121] The above is a detailed introduction to a decoding method for SSVEP EEG signals provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the concept of the present application and should not be construed as limiting the scope of protection of the present application.

Claims

1. A method for decoding SSVEP electroencephalogram signals, characterized in that: include: Acquire a steady-state visual evoked potential signal to be decoded, and extract each sub-band signal from the steady-state visual evoked potential signal to be decoded using a plurality of sub-band bandpass filters of different frequency bands; Performing spatial filtering on each of the subband signals using a spatial filter pre-constructed based on the correlation component; Extracting spatial and temporal features of the spatially filtered signal to obtain a feature map; According to the spatial pixel richness, the feature map is divided into a first feature map and a second feature map; the first feature map and the second feature map are weighted respectively, cross-reconstructed and then spliced ​​to obtain spatial reconstruction features; According to a preset frequency band channel segmentation ratio, the spatial reconstruction feature is segmented into frequency band channels to obtain two feature parts and convert them respectively to obtain a first output feature and a second output feature; the first output feature and the second output feature are weightedly fused to obtain a channel reconstruction feature; Classification is performed based on the channel reconstruction features to obtain a classification result of the steady-state visual evoked potential signal to be decoded.

2. The SSVEP electroencephalogram signal decoding method according to claim 1, characterized in that: The decoding method further comprises: Collecting an original steady-state visual evoked potential signal, and extracting a plurality of time window signals from the original steady-state visual evoked potential signal using a sliding window; A plurality of time window signals are combined into the steady-state visual evoked potential signal to be decoded.

3. The SSVEP electroencephalogram signal decoding method according to claim 1, characterized in that: Before performing spatial filtering on each of the sub-band signals using a spatial filter pre-constructed based on the correlation component, the method further includes: filtering the steady-state visual evoked potential signal to be decoded through a Butterworth filter.

4. The SSVEP electroencephalogram signal decoding method according to claim 1, characterized in that: Extract spatial and temporal features of the spatially filtered signal to obtain a feature map, including: The spatially filtered signal is sequentially passed through a first convolution layer, a second convolution layer, and a third convolution layer to obtain the feature map, wherein the first convolution layer includes a 1x1 convolution kernel, and the second convolution layer includes L1 N convolution kernels. C x1 convolution kernel, N C is the number of electrode channels of the steady-state visual evoked potential signal, the third convolutional layer includes L2 1x2 convolution kernels, and the step size in the third convolutional layer is 2.

5. The SSVEP electroencephalogram signal decoding method according to claim 4, characterized in that: A Dropout layer is set between the first convolution layer and the second convolution layer, between the second convolution layer and the third convolution layer, and after the third convolution layer.

6. The SSVEP electroencephalogram signal decoding method according to claim 1, characterized in that: Obtaining the spatial reconstruction feature includes: Passing the feature map through a group normalization layer to obtain a standardized input feature map; Using the trainable hyperparameters in the group of normalization layers as parameters of the measurement space pixels to obtain normalized correlation weights; Re-weighting the normalized correlation weight and the standardized input feature map to obtain a feature mapping weight, mapping the feature mapping weight to a range of (0, 1) and comparing them with a preset weight threshold to obtain a first feature weight W1 and a second feature weight W2; Multiply the feature map by the first feature weight and the second feature weight respectively to obtain a first feature map X 1 And the second feature map X 2 ; The first feature map and the second feature map are weighted and cross-reconstructed respectively, and the expression is: The concatenation expression is: X w1 ∪X w2 =X SRU ; Where X 11 is the first feature map X 1 and the first feature map X 1 Splice to obtain, X 22 is the second feature map X 2 and the second feature map X 2 Splice to obtain, X 21 is the second feature map X 2 and the first feature map X1 to obtain X 12 is the first feature map X1 and the second feature map X 2 Get by splicing; X feature is the feature map, X SRU Reconstruct features for space.

7. The method for decoding SSVEP electroencephalogram signals according to claim 6, characterized in that: The feature map is passed through the group normalization layer to obtain a standardized input feature map, which is expressed as: The feature map Where N is the total number of trials, C is the number of subbands, and N C is the number of electrode channels, T is the number of sampling points in each test; μ and σ are the characteristic graph X feature The mean and standard deviation of X, ε is a positive constant less than the preset value, γ and β are hyperparameters, GN is the standardized input feature map.

8. The SSVEP electroencephalogram signal decoding method according to claim 1, characterized in that: Obtain channel reconstruction features, including: According to a preset frequency band channel division ratio α, the frequency band channel of the spatial reconstruction feature division is divided into two characteristic parts, αC frequency band channel and (1-α)C frequency band channel, 0≤α≤1; The two feature parts are respectively compressed through 1×1 convolution to compress the frequency band channel of the feature map to obtain X up and X low ; In X up Perform K×K convolution group-wise-Conv and 1x1 point-wise-Conv convolution on the image to obtain the output Y1(i,j); X low Input the features generated by point-wise-Conv, and then concatenate with itself to generate feature Y2(i,j); The global average pooling layer is used to obtain global spatial information. The expression is as follows: K is the preset convolution kernel parameter, N C is the number of electrode channels, T is the number of sampling points in each test, m=1,2; After the upper and lower global S1 and S2 are superimposed together, a Softmax function is used to generate feature importance weights β1 and β2. Under the weighting of feature importance weights β1 and β2, the upper feature Y1(i, j) and the lower feature Y2(i, j) are merged according to the electrode channel direction to obtain the channel reconstruction feature Y, which is expressed as follows: Y=β1Y1+β2Y2.

9. The SSVEP electroencephalogram signal decoding method according to claim 1, characterized in that: Classification is performed based on the channel reconstruction features to obtain the classification result of the steady-state visual evoked potential signal to be decoded, including: inputting the channel reconstruction features into a fully connected layer, and finally classifying through a Softmax classifier to obtain the classification result.

10. A decoding device for SSVEP electroencephalogram signals, characterized in that: The decoding device comprises: The SSVEP electroencephalogram signal acquisition module is configured to obtain steady-state visual evoked potential signals to be decoded; A bandpass filtering module is configured to extract each sub-band signal from the steady-state visual evoked potential signal to be decoded using a plurality of sub-band bandpass filters of different frequency bands; A spatial filtering module is configured to perform spatial filtering on each of the sub-band signals using a spatial filter pre-constructed based on the correlation component; A feature map extraction module is configured to extract spatial features and temporal features of the spatially filtered signal to obtain a feature map; A spatial reconstruction module is configured to divide the feature map into a first feature map and a second feature map according to the richness of spatial pixels; weight the first feature map and the second feature map respectively, perform cross-reconstruction and then splice them to obtain spatial reconstruction features; The channel reconstruction module is configured to perform frequency band channel segmentation on the spatial reconstruction feature according to a preset frequency band channel segmentation ratio, obtain two feature parts and convert them respectively to obtain a first output feature and a second output feature; perform weighted fusion on the first output feature and the second output feature to obtain a channel reconstruction feature; The classification module is configured to perform classification based on the channel reconstruction features to obtain a classification result of the steady-state visual evoked potential signal to be decoded.

Citation Information

Cited By

  • Visual brain-computer interface signal decoding method and system

    CN120215717A

  • A visual brain-computer interface signal decoding method and system

    CN120215717B