Auditory attention decoding method and device based on dual attention refinement network

Through the method of dual attention refining network, the sliding window and spatiotemporal feature extraction network are used to process EEG signals and generate high-density features for auditory attention decoding, which solves the problem of low accuracy in the existing technology and improves the accuracy and accuracy of decoding. robustness.

CN118567487BActive Publication Date: 2024-09-24ANHUI UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411035097.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-09-24
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

Existing auditory attention decoding methods have low accuracy when processing EEG signals, are susceptible to noise and outliers, and fail to fully extract information features.

Method used

A method based on dual attention refinement network is used to intercept EEG signals through sliding windows, use spatiotemporal feature extraction network to generate low-density features, and generate shallow and deep high-density spatiotemporal features through the first and second attention refinement networks respectively. After fusion, auditory attentional representations are generated for decoding.

Benefits of technology

It improves the accuracy of auditory attention decoding, reduces the impact of noise and outliers, and enhances the generalization and robustness of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567487B
    Figure CN118567487B
Patent Text Reader

Abstract

The present application relates to an auditory attention decoding method and device based on a dual attention refinement network. The auditory attention decoding method includes: obtaining EEG signal sequence data, intercepting the EEG signal sequence data through a sliding window, and obtaining multiple EEG signal window data; extracting features from the EEG signal window data through a spatiotemporal feature extraction network to generate low-density spatiotemporal features; refining the low-density spatiotemporal features through a first attention refinement network to generate shallow high-density spatiotemporal features, and processing the shallow high-density spatiotemporal features through a second attention refinement network to generate deep high-density spatiotemporal features; generating auditory attention representations based on the shallow high-density spatiotemporal features and the deep high-density spatiotemporal features; generating auditory attention decoding results of EEG signal sequence data based on the auditory attention representations. The present application can improve the accuracy of auditory attention decoding and solve the problem of low auditory attention decoding accuracy in current auditory attention decoding methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of brain-computer interaction, and in particular to an auditory attention decoding method and device based on a dual attention refinement network. Background Art

[0002] The significance of EEG-based auditory attention decoding technology is significant. Auditory attention decoding can use EEG technology to extract the physiological information contained in EEG signals and study the connection between EEG signals and speech envelopes by constructing appropriate algorithms. Based on these insights, a variety of Auditory Attention Decoding (AAD) algorithms have been proposed, which can be combined with appropriate speaker separation algorithms and mature EEG sensors to produce so-called neural listening devices.

[0003] When an individual is simultaneously exposed to multiple sound source stimuli, different areas of the brain will exchange information, and EEG signals will reflect the process of auditory attention changes. In order to improve the accuracy of EEG signal auditory attention decoding, researchers have proposed various methods, such as extracting time-frequency domain features from preprocessed EEG signals for auditory attention decoding, and using deep learning to further extract spatial features for auditory attention decoding. The challenge of EEG auditory attention decoding lies in how to extract highly representative and generalized auditory attention information from the original signal for recognition.

[0004] Current auditory attention decoding methods usually only extract information features of a single dimension from EEG signals for decoding, and fail to fully extract the information features contained in EEG signals, resulting in low accuracy of auditory attention decoding. At the same time, EEG signals contain a lot of noise and outliers, which makes the model susceptible to the influence of noise and outliers, thereby predicting the wrong auditory attention tendency.

[0005] The current auditory attention decoding methods have the problem of low auditory attention decoding accuracy, and no effective solution has been proposed yet. Summary of the invention

[0006] The present invention provides an auditory attention decoding method and device based on a dual attention refinement network to solve the problem of low auditory attention decoding accuracy in current auditory attention decoding methods.

[0007] In a first aspect, the present invention provides an auditory attention decoding method based on a dual attention refining network, wherein the dual attention refining network includes a first attention refining network and a second attention refining network; the auditory attention decoding method includes:

[0008] Acquire EEG signal sequence data, and intercept the EEG signal sequence data through a sliding window to obtain a plurality of EEG signal window data;

[0009] Extracting features from the EEG signal window data through a spatiotemporal feature extraction network to generate low-density spatiotemporal features;

[0010] Refining the low-density spatiotemporal features through the first attention refining network to generate shallow high-density spatiotemporal features, and processing the shallow high-density spatiotemporal features through the second attention refining network to generate deep high-density spatiotemporal features;

[0011] generating an auditory attention representation according to the shallow high-density spatiotemporal features and the deep high-density spatiotemporal features;

[0012] An auditory attention decoding result of the electroencephalogram signal sequence data is generated according to the auditory attention representation.

[0013] In a second aspect, the present invention provides an auditory attention decoding device based on a dual attention refining network, wherein the dual attention refining network includes a first attention refining network and a second attention refining network; the auditory attention decoding device includes:

[0014] An EEG signal acquisition module is used to acquire EEG signal sequence data and intercept the EEG signal sequence data through a sliding window to obtain a plurality of EEG signal window data;

[0015] A spatiotemporal feature extraction module, used for extracting features from the EEG signal window data through a spatiotemporal feature extraction network to generate low-density spatiotemporal features;

[0016] a spatiotemporal feature refining module, configured to refine the low-density spatiotemporal features through the first attention refining network to generate shallow high-density spatiotemporal features, and to process the shallow high-density spatiotemporal features through the second attention refining network to generate deep high-density spatiotemporal features;

[0017] a spatiotemporal feature fusion module, for generating an auditory attention representation according to the shallow high-density spatiotemporal features and the deep high-density spatiotemporal features;

[0018] A decoding result generating module is used to generate an auditory attention decoding result of the EEG signal sequence data according to the auditory attention representation.

[0019] In a third aspect, the present invention provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the auditory attention decoding method based on the dual attention refinement network described in the first aspect.

[0020] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the auditory attention decoding method based on a dual attention refinement network described in the first aspect.

[0021] Compared with the related art, the auditory attention decoding method based on the dual attention refinement network provided by the present invention uses a double-layer attention refinement network and a self-attention mechanism to capture the attention status of each spatiotemporal feature in the spatiotemporal feature sequence, and further refines a shallow high-density spatiotemporal feature and a deep high-density spatiotemporal feature using convolution and maximum pooling operations. Finally, the final auditory attention representation is obtained by fusing these two high-density spatiotemporal features at different levels. Decoding through the auditory attention representation can improve the accuracy of auditory attention decoding, solving the problem of low auditory attention decoding accuracy in the current auditory attention decoding method.

[0022] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a flow chart of the auditory attention decoding method based on the dual attention refinement network provided in the present invention;

[0024] Figure 2 is a specific flow chart of an auditory attention decoding method based on a dual attention refinement network in a specific embodiment of the present invention;

[0025] Figure 3 It is a main flow chart of an auditory attention decoding method based on a dual attention refinement network in a specific embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.

[0027] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with general skills in the technical field to which this application belongs. The words "one", "a", "the", "these" and the like in this application do not indicate a quantitative limitation, and they may be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone. Generally, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0028] The present invention provides an auditory attention decoding method based on a dual attention refining network, wherein the dual attention refining network includes a first attention refining network and a second attention refining network.

[0029] Figure 1 is a flowchart of the auditory attention decoding method based on the dual attention refinement network provided in the present invention, referring to Figure 1 As shown, the process includes steps S110 to S150.

[0030] Step S110, acquiring EEG signal sequence data, intercepting the EEG signal sequence data through a sliding window, and obtaining a plurality of EEG signal window data.

[0031] In order to capture the temporal correlation of EEG signal sequence data, multiple EEG signal window data with time sequence are obtained through sliding window interception. Specifically, the interception operation is as follows:

[0032] 1. Determine the window length: First, determine the window length based on the size of the decision time. For example, for an EEG signal sequence with a sampling rate of 128 Hz, the decision time can be set to 1 second, and the window length is set to 128 frames (corresponding to 1 second).

[0033] 2. Determine the overlap rate: The step size refers to the step length of the window movement. The step size can be less than, equal to, or greater than the window length. If the step size is equal to the window length, there is no overlap between windows. If the step size is less than the window length, there will be overlap between windows; if the step size is greater than the window size, there will be gaps between windows.

[0034] 3. Initialize the window: Starting from the starting position of the EEG signal sequence, extract a data segment of the size of a window as the first EEG signal window data.

[0035] 4. Window sliding: Starting from the starting position of the first window, move the window to the right by the step size and extract new window data. Repeat this process until the end of the time series is reached.

[0036] Step S120, extracting features from the EEG signal window data through a spatiotemporal feature extraction network to generate low-density spatiotemporal features.

[0037] Specifically, the spatiotemporal feature extraction network includes a temporal feature extraction network and a spatial feature extraction network. The steps for generating low-density spatiotemporal features include:

[0038] Step S121, extracting features from the EEG signal window data through a time feature extraction network to generate time features. The generation function of the time features is:

[0039]

[0040] in, E Represents the EEG signal window data, E t Represents time characteristics, Conv 2 d represents a two-dimensional convolution operation, GELU represents a Gaussian error linear activation operation.

[0041] Step S122, extracting the temporal features through the spatial feature extraction network to generate low-density spatiotemporal features, the generation function of the low-density spatiotemporal features is:

[0042]

[0043] in, S Represents low-density space-time characteristics, E t Represents time characteristics, SpatialConv 2 d represents a full-channel two-dimensional convolution operation, GELU represents a Gaussian error linear activation operation.

[0044] In the above process, the temporal features in the EEG signal window data are first extracted through two-dimensional convolution, and then the spatial features in the EEG signal window data are further extracted through full-channel two-dimensional convolution.

[0045] Step S130, the low-density spatiotemporal features are refined through the first attention refining network to generate shallow high-density spatiotemporal features, and the shallow high-density spatiotemporal features are processed through the second attention refining network to generate deep high-density spatiotemporal features.

[0046] Specifically, the generating function of shallow high-density spatiotemporal features is:

[0047]

[0048] in, S Represents low-density space-time characteristics, F 1 indicates shallow high-density spatiotemporal features, MultiHeadAttention represents a multi-head self-attention layer, Conv 1 d represents a one-dimensional convolution operation, ELU represents a linear activation operation, MaxPool Represents the maximum pooling operation;

[0049] The generating function of deep high-density spatiotemporal features is:

[0050]

[0051] in, F 1 indicates shallow high-density spatiotemporal features, F 2 represents deep high-density spatiotemporal features, MultiHeadAttention represents a multi-head self-attention layer, Conv 1 d represents a one-dimensional convolution operation, ELU represents a linear activation operation, MaxPool Represents a max pooling operation.

[0052] Furthermore, before step S130, the auditory attention decoding method may further include:

[0053] Step S129, adding absolute position codes to the low-density spatiotemporal features so that the low-density spatiotemporal features have position information.

[0054] Step S140, generating auditory attention representation based on shallow high-density spatiotemporal features and deep high-density spatiotemporal features.

[0055] Specifically, the auditory attention representation is obtained by concatenating the shallow high-density spatiotemporal features and the deep high-density spatiotemporal features after one-dimensional mapping.

[0056] Furthermore, the steps of generating auditory attention representation include:

[0057] Step S141, projecting the shallow high-density spatiotemporal features into one dimension through an adaptive average pooling operation and a linear layer to generate a shallow auditory attention representation. The generating function of the shallow auditory attention representation is:

[0058]

[0059] in, F 1 indicates shallow high-density spatiotemporal features, AdaptiveAvgPool represents the adaptive average pooling operation, Linear represents a linear layer, Represents superficial auditory attention representation.

[0060] Step S142, projecting the deep high-density spatiotemporal features into one dimension through an adaptive average pooling operation and a linear layer to generate a deep auditory attention representation, and the generating function of the deep auditory attention representation is:

[0061]

[0062] in, F 2 represents deep high-density spatiotemporal features, AdaptiveAvgPool represents the adaptive average pooling operation, Linear represents a linear layer, Indicates deep auditory attention representation.

[0063] Step S143, concatenate the shallow auditory attention representation and the deep auditory attention representation to obtain the auditory attention representation, and its generation function is as follows:

[0064]

[0065] in, F Indicates auditory attention indication.

[0066] Step S150, generating an auditory attention decoding result of the EEG signal sequence data according to the auditory attention representation.

[0067] Specifically, the auditory attention representation is input into the fully connected layer, and the auditory attention decoding result of the EEG signal sequence data is generated according to the output of the fully connected layer. The classification prediction function of the fully connected layer is:

[0068]

[0069] in, W represents the weight matrix of the fully connected layer, b Indicates bias, softmax represents the normalized exponential function, F Indicates auditory attention. y represents the output of the fully connected layer.

[0070] In the auditory attention decoding method based on the dual attention refinement network provided by the present invention, the attention status of each spatiotemporal feature in the spatiotemporal feature sequence is captured by using the self-attention mechanism through the double-layer attention refinement network, and a shallow high-density spatiotemporal feature and a deep high-density spatiotemporal feature are further refined by using convolution and maximum pooling operations. Finally, the final auditory attention representation is obtained by fusing these two high-density spatiotemporal features at different levels, and decoding is performed through the auditory attention representation, which can improve the auditory attention decoding accuracy and solve the problem of low auditory attention decoding accuracy in the current auditory attention decoding method.

[0071] As follows, the auditory attention decoding method based on the dual attention refinement network provided by the present invention is further illustrated by a specific embodiment.

[0072] Figure 2 : is a flow chart of an auditory attention decoding method based on a dual attention refinement network in a specific embodiment of the present invention. In a specific embodiment, the auditory attention decoding method includes:

[0073] S1: Apply a sliding window to the EEG signal sequence data to divide the original EEG signal sequence data into a series of sliding windows to obtain multiple sliding window EEG sequence data. The specific operations are as follows:

[0074] 1. Determine the length of the decision window: First, determine the size of the sliding window according to the size of the decision time. For example, for an EEG signal sequence with a sampling rate of 128 Hz, set the decision time to 1 second, and then set the decision window length to 128.

[0075] 2. Determine the overlap rate: The step size refers to the step length of the window movement. The step size can be less than, equal to, or greater than the window size. If the step size is equal to the window size, there is no overlap between windows. If the step size is less than the window size, there will be overlap between windows; if the step size is greater than the window size, there will be gaps between windows.

[0076] 3. Initialize the window: Starting from the starting position of the time series, extract a data segment of the window size as the first sliding window.

[0077] 4. Window sliding: Starting from the starting position of the first window, move the window to the right by the step size and extract new window data. Repeat this process until the end of the time series is reached.

[0078] S2: Extract spatiotemporal features from each sliding window EEG sequence data to obtain low-density spatiotemporal features S The specific steps include:

[0079] S21: Sliding window EEG sequence data E, perform time convolution to obtain time features E t , time characteristics E t The generating function is as follows:

[0080]

[0081] in, Conv 2 d represents a two-dimensional convolution operation, GELU represents a Gaussian error linear activation operation.

[0082] S22: Use full-channel spatial convolution to further extract spatial features in EEG signals and obtain low-density spatiotemporal features S , low-density space-time characteristics S The generating function is as follows:

[0083]

[0084] in, SpatialConv 2 d represents a full-channel two-dimensional convolution operation, GELU represents a Gaussian error linear activation operation.

[0085] S3: Use the dual self-attention mechanism to refine low-density spatiotemporal features to obtain multi-level, high-density spatiotemporal features F 1 and F 2. Specifically includes the following steps:

[0086] S31: Give low-density space-time features S Add absolute position encoding to obtain low-density spatiotemporal features containing position information S ;

[0087] S32: Low-density spatiotemporal features S Send it to the first layer of attention refinement network to obtain shallow high-density spatiotemporal features F 1, and its generating function is as follows:

[0088]

[0089] in, MultiHeadAttention represents a multi-head self-attention layer, Conv 1 d represents a one-dimensional convolution operation, ELU represents a linear activation operation, MaxPool Represents a max pooling operation.

[0090] S33: Shallow high-density spatiotemporal features F 1 is sent to the second layer of attention refinement network to obtain deep and high-density spatiotemporal featuresF 2, its generating function is as follows:

[0091]

[0092] In the above formula, MultiHeadAttention represents a multi-head self-attention layer, Conv 1 d represents a one-dimensional convolution operation, ELU represents a linear activation operation, MaxPool Represents a max pooling operation.

[0093] S4: The refined multi-level, high-density spatiotemporal features F 1 and F 2 are fused and projected to the same dimension for splicing to obtain the auditory attention representation F , specifically including the following steps:

[0094] S41: Shallow high-density spatiotemporal features F 1. Project the features to one dimension through adaptive average pooling and linear layers to obtain shallow auditory attention representation , and its generating function is as follows:

[0095]

[0096] in, AdaptiveAvgPool represents the adaptive average pooling operation, Linear Represents a linear layer.

[0097] S42: Deep high-density spatiotemporal features F 2 Project the features to one dimension through adaptive average pooling and linear layers to obtain deep auditory attention representation , and its generating function is as follows:

[0098]

[0099] in, AdaptiveAvgPool represents the adaptive average pooling operation, Linear Represents a linear layer.

[0100] S43: Splicing and , and obtain the final auditory attention representation F , and its generating function is as follows:

[0101]

[0102] S5: Attention to auditory F Send it to the fully connected layer to obtain the final result of auditory attention decoding. The classification prediction function of the fully connected layer is as follows:

[0103]

[0104] in, W is the weight matrix of the fully connected layer; b is the bias, softmax is the normalized exponential function.

[0105] The main strategies of the auditory attention decoding method based on the dual attention refinement network in the above specific embodiment are as follows: Figure 3 shown.

[0106] First, the spatiotemporal features of each sliding window EEG sequence data are extracted to obtain low-density spatiotemporal features. Secondly, the dual self-attention mechanism is used to refine the low-density spatiotemporal features to obtain multi-level, high-density spatiotemporal features. The refined multi-level, high-density spatiotemporal features are fused and projected to the same dimension for splicing to obtain the final auditory attention representation. Finally, the obtained auditory attention representation is used for the final auditory attention decoding.

[0107] In the actual application of the present invention, the above-mentioned specific embodiments rely more on the network model performance of the low-density spatiotemporal feature construction module (corresponding to step S2), the multi-level high-density spatiotemporal feature construction module (corresponding to step S3), and the feature fusion module (corresponding to step S4). To this end, this embodiment needs to use a data set containing auditory attention state labels to train the network model. In the training stage, a large number of EEG signals {X, y} with auditory attention labels are used as samples to form a training set. The overall network model including the low-density spatiotemporal feature construction module, the multi-level high-density spatiotemporal feature construction module, the feature fusion module, and the fully connected layer is trained, and the parameters and weights of the overall network model are updated.

[0108] In the solution provided in this embodiment, the two-dimensional time convolution and full-channel two-dimensional spatial convolution used can help the model better capture the local high-frequency change characteristics of EEG signals and focus on the spatial distribution characteristics between different EEG signal channels, thereby improving the accuracy of auditory attention decoding. And through the double-layer attention refinement network, the long-range potential dependencies of EEG signals are captured, and the influence of noise and outliers in EEG signals can be greatly reduced, which improves the generalization and robustness of the model, and ultimately improves the accuracy of auditory attention decoding of this embodiment.

[0109] The present invention also provides an auditory attention decoding device based on a dual attention refining network, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be repeated hereafter. The terms "module", "unit", "subunit", etc. used below may be a combination of software and / or hardware that implements predetermined functions. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0110] An auditory attention decoding device based on a dual attention refining network, the dual attention refining network includes a first attention refining network and a second attention refining network; the auditory attention decoding device includes:

[0111] The EEG signal acquisition module is used to acquire EEG signal sequence data and intercept the EEG signal sequence data through a sliding window to obtain multiple EEG signal window data.

[0112] The spatiotemporal feature extraction module is used to extract features from EEG signal window data through a spatiotemporal feature extraction network to generate low-density spatiotemporal features.

[0113] The spatiotemporal feature refining module is used to refine the low-density spatiotemporal features through the first attention refining network to generate shallow high-density spatiotemporal features, and to process the shallow high-density spatiotemporal features through the second attention refining network to generate deep high-density spatiotemporal features.

[0114] The spatiotemporal feature fusion module is used to generate auditory attention representation based on shallow high-density spatiotemporal features and deep high-density spatiotemporal features.

[0115] The decoding result generation module is used to generate the auditory attention decoding result of the EEG signal sequence data according to the auditory attention representation.

[0116] In the auditory attention decoding device based on the dual attention refinement network provided by the present invention, the attention status of each spatiotemporal feature in the spatiotemporal feature sequence is captured by using the self-attention mechanism through the double-layer attention refinement network, and a shallow high-density spatiotemporal feature and a deep high-density spatiotemporal feature are further refined by using convolution and maximum pooling operations. Finally, the final auditory attention representation is obtained by fusing these two high-density spatiotemporal features at different levels, and decoding is performed through the auditory attention representation, which can improve the auditory attention decoding accuracy and solve the problem of low auditory attention decoding accuracy in the current auditory attention decoding method.

[0117] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0118] The present invention also provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the auditory attention decoding method based on the dual attention refinement network provided in the present invention.

[0119] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the auditory attention decoding method based on the dual attention refinement network provided in the present invention are implemented.

[0120] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of this application.

[0121] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.

Claims

1. An auditory attention decoding method based on a dual attention refining network, wherein the dual attention refining network comprises a first attention refining network and a second attention refining network; characterized in that: The auditory attention decoding method comprises: Acquire EEG signal sequence data, and intercept the EEG signal sequence data through a sliding window to obtain a plurality of EEG signal window data; Extracting features from the EEG signal window data through a spatiotemporal feature extraction network to generate low-density spatiotemporal features; Refining the low-density spatiotemporal features through the first attention refining network to generate shallow high-density spatiotemporal features, and processing the shallow high-density spatiotemporal features through the second attention refining network to generate deep high-density spatiotemporal features; generating an auditory attention representation according to the shallow high-density spatiotemporal features and the deep high-density spatiotemporal features; generating an auditory attention decoding result of the EEG signal sequence data according to the auditory attention representation; Among them, the generating function of the shallow high-density spatiotemporal feature is: , in, S Represents low-density space-time characteristics, F 1 indicates shallow high-density spatiotemporal features, MultiHeadAttention represents a multi-head self-attention layer, Conv 1 d represents a one-dimensional convolution operation, ELU represents a linear activation operation, MaxPool Represents the maximum pooling operation; The generating function of the deep high-density spatiotemporal feature is: , in, F 1 indicates shallow high-density spatiotemporal features, F 2 represents deep high-density spatiotemporal features, MultiHeadAttention represents a multi-head self-attention layer, Conv 1 d represents a one-dimensional convolution operation, ELU represents a linear activation operation, MaxPool Represents the maximum pooling operation; The spatiotemporal feature extraction network includes a temporal feature extraction network and a spatial feature extraction network; The step of generating the low-density spatiotemporal features comprises: The EEG signal window data is subjected to feature extraction through the time feature extraction network to generate time features, and the generation function of the time features is: , in, E Represents the EEG signal window data, E t Represents time characteristics, Conv 2 d represents a two-dimensional convolution operation, GELU represents the Gaussian error linear activation operation; The time feature is extracted through a spatial feature extraction network to generate the low-density spatiotemporal feature. The generating function of the low-density spatiotemporal feature is: , in, S Represents low-density space-time characteristics, E t Represents time characteristics, SpatialConv 2 d represents a full-channel two-dimensional convolution operation, GELU represents the Gaussian error linear activation operation; The auditory attention decoding method further includes, before refining the low-density spatiotemporal features through the first attention refining network: Adding absolute position coding to the low-density spatiotemporal features; The auditory attention representation is obtained by concatenating the shallow high-density spatiotemporal features and the deep high-density spatiotemporal features after one-dimensional mapping; The step of generating the auditory attention representation comprises: The shallow high-density spatiotemporal features are projected into one dimension through an adaptive average pooling operation and a linear layer to generate a shallow auditory attention representation, and the generating function of the shallow auditory attention representation is: , in, F 1 indicates shallow high-density spatiotemporal features, AdaptiveAvgPool represents the adaptive average pooling operation, Linear represents a linear layer, represents superficial auditory attention representation; The deep high-density spatiotemporal features are projected into one dimension through an adaptive average pooling operation and a linear layer to generate a deep auditory attention representation, and the generating function of the deep auditory attention representation is: , in, F 2 represents deep high-density spatiotemporal features, AdaptiveAvgPool represents the adaptive average pooling operation, Linear represents a linear layer, Indicates deep auditory attention representation; The shallow auditory attention representation and the deep auditory attention representation are concatenated to obtain the auditory attention representation, and the generating function of the auditory attention representation is as follows: , in, F indicates auditory attention representation; The step of generating the auditory attention decoding result of the EEG signal sequence data comprises: The auditory attention representation is input into a fully connected layer, and the auditory attention decoding result of the EEG signal sequence data is generated according to the output of the fully connected layer. The classification prediction function of the fully connected layer is: , in, W represents the weight matrix of the fully connected layer, b Indicates bias, softmax represents the normalized exponential function, F Indicates auditory attention. y represents the output of the fully connected layer.

2. An auditory attention decoding device based on a dual attention refining network, wherein the dual attention refining network comprises a first attention refining network and a second attention refining network; characterized in that: The auditory attention decoding device comprises: An EEG signal acquisition module is used to acquire EEG signal sequence data and intercept the EEG signal sequence data through a sliding window to obtain a plurality of EEG signal window data; A spatiotemporal feature extraction module, used for extracting features from the EEG signal window data through a spatiotemporal feature extraction network to generate low-density spatiotemporal features; a spatiotemporal feature refining module, configured to refine the low-density spatiotemporal features through the first attention refining network to generate shallow high-density spatiotemporal features, and to process the shallow high-density spatiotemporal features through the second attention refining network to generate deep high-density spatiotemporal features; a spatiotemporal feature fusion module, for generating an auditory attention representation according to the shallow high-density spatiotemporal features and the deep high-density spatiotemporal features; A decoding result generating module, used for generating an auditory attention decoding result of the EEG signal sequence data according to the auditory attention representation; Among them, the generating function of the shallow high-density spatiotemporal feature is: , in, S Represents low-density space-time characteristics, F 1 indicates shallow high-density spatiotemporal features, MultiHeadAttention represents a multi-head self-attention layer, Conv 1 d represents a one-dimensional convolution operation, ELU represents a linear activation operation, MaxPool Represents the maximum pooling operation; The generating function of the deep high-density spatiotemporal feature is: , in, F 1 indicates shallow high-density spatiotemporal features, F 2 represents deep high-density spatiotemporal features, MultiHeadAttention represents a multi-head self-attention layer, Conv 1 d represents a one-dimensional convolution operation, ELU represents a linear activation operation, MaxPool Represents the maximum pooling operation; The spatiotemporal feature extraction network includes a temporal feature extraction network and a spatial feature extraction network; The generating of low-density spatiotemporal features comprises: The EEG signal window data is subjected to feature extraction through the time feature extraction network to generate time features, and the generation function of the time features is: , in, E Represents the EEG signal window data, E t Represents time characteristics, Conv 2 d represents a two-dimensional convolution operation, GELU represents the Gaussian error linear activation operation; The time feature is extracted through a spatial feature extraction network to generate the low-density spatiotemporal feature. The generating function of the low-density spatiotemporal feature is: , in, S Represents low-density space-time characteristics, E t Represents time characteristics, SpatialConv 2 d represents a full-channel two-dimensional convolution operation, GELU represents the Gaussian error linear activation operation; The auditory attention decoding method further includes, before refining the low-density spatiotemporal features through the first attention refining network: Adding absolute position coding to the low-density spatiotemporal features; The auditory attention representation is obtained by concatenating the shallow high-density spatiotemporal features and the deep high-density spatiotemporal features after one-dimensional mapping; Generating an auditory attention representation comprises: The shallow high-density spatiotemporal features are projected into one dimension through an adaptive average pooling operation and a linear layer to generate a shallow auditory attention representation, and the generating function of the shallow auditory attention representation is: , in, F 1 indicates shallow high-density spatiotemporal features, AdaptiveAvgPool represents the adaptive average pooling operation, Linear represents a linear layer, represents superficial auditory attention representation; The deep high-density spatiotemporal features are projected into one dimension through an adaptive average pooling operation and a linear layer to generate a deep auditory attention representation, and the generating function of the deep auditory attention representation is: , in, F 2 represents deep high-density spatiotemporal features, AdaptiveAvgPool represents the adaptive average pooling operation, Linear represents a linear layer, Indicates deep auditory attention representation; The shallow auditory attention representation and the deep auditory attention representation are concatenated to obtain the auditory attention representation, and the generating function of the auditory attention representation is as follows: , in, F indicates auditory attention representation; The auditory attention decoding result of generating the EEG signal sequence data includes: The auditory attention representation is input into a fully connected layer, and the auditory attention decoding result of the EEG signal sequence data is generated according to the output of the fully connected layer. The classification prediction function of the fully connected layer is: , in, W represents the weight matrix of the fully connected layer, b Indicates bias, softmax represents the normalized exponential function, F Indicates auditory attention. y represents the output of the fully connected layer.

3. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the auditory attention decoding method based on the dual attention refinement network of claim 1.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the auditory attention decoding method based on the dual attention refinement network described in claim 1 are implemented.

Citation Information

Patent Citations

  • Space-time frequency domain effective channel attention motor imagery electroencephalogram decoding method based on comparative learning

    CN117009780A

  • Auditory attention detection method and system based on time-frequency domain fusion

    CN118121192A

  • Hearing assistance system comprising an EEG-recording and analysis system

    US20180014130A1

  • End-To-End Deep Neural Network For Auditory Attention Decoding

    US20200201435A1