A multimodal feature fusion analysis method and terminal for Alzheimer's disease

Through the multi-modal feature fusion analysis method, the 1D CNN and ViT models are used to extract EEG and MRI features, and combined with the attention mechanism and tensor fusion, it solves the problem of EEG and MRI data fusion in the existing technology and improves the performance of Alzheimer's disease. Accuracy and efficiency in Alzheimer's disease analysis.

CN118044785BActive Publication Date: 2024-10-18SHANDONG BAODELONG MEDICAL REHABILITATION EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410037679.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2024-10-18
Estimated Expiration
2044-01-10

AI Technical Summary

Technical Problem

Existing technology cannot effectively fuse EEG signals and magnetic resonance imaging data, resulting in poor Alzheimer's disease feature analysis, and long calculation times when processing massive data, affecting the stable operation of the system.

Method used

Using a multi-modal Alzheimer's disease feature fusion analysis method, the 1D CNN model and ViT model are used to extract the deep features of EEG signals and MRI images, combined with attention mechanism and tensor fusion, and use support vector machines for feature fusion. and classification, eliminating redundant information and improving data processing efficiency.

Benefits of technology

It improves the accuracy of data classification, takes into account the characteristic information of EEG signals and MRI, reduces the amount of calculation, improves data processing efficiency, and solves the problem of high time costs in extremely large-scale data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118044785B_ABST
    Figure CN118044785B_ABST
Patent Text Reader

Abstract

The present invention provides a multimodal feature fusion analysis method for Alzheimer's disease, the method comprising: obtaining an electroencephalogram signal and a three-dimensional MRI image; performing preprocessing; capturing the dependency between channels of the deep features obtained by the 1D CNN model through an attention mechanism to obtain a feature map of the electroencephalogram signal; extracting the deep feature vector of the MRI image based on the ViT model; obtaining fusion feature information based on a tensor fusion method; using a support vector machine as a classifier of the fusion network model, and using the fusion feature information to train the model parameters of the support vector machine; using the support vector machine to analyze the Alzheimer's disease information in the database to obtain the state of the Alzheimer's disease information. The present invention not only considers the feature correlation between modalities but also retains the information characteristics of each specific modality. The addition of the attention mechanism can effectively select and extract deep features, solving the problem of long calculation time caused by massive data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of Alzheimer's disease, and in particular relates to a multimodal feature fusion analysis method and terminal for Alzheimer's disease. Background Art

[0002] Alzheimer's disease (AD) is a primary, progressive, fatal neurodegenerative disease with an insidious onset and unknown etiology. Clinically, AD mainly occurs in the elderly, characterized by the continuous deterioration of cognitive and memory functions, aphasia, apraxia, agnosia and executive dysfunction, accompanied by mental and behavioral abnormalities and social life function decline. There is a relatively long incubation period before the onset of AD, with two stages: 1. Subjective cognitive decline (Subjective Cognitive Decline, SCD): This stage is manifested as subjective cognitive dysfunction, but neuropsychological tests and caregivers cannot provide evidence of cognitive decline; 2. Mild cognitive impairment (Mild Cognitive Impairment, MCI): At this stage, patients can still take care of themselves, but their memory, language and mobility decline much faster than normal aging. Studies have shown that people with subjective cognitive dysfunction and mild cognitive impairment are at high risk of dementia. If they fail to receive timely intervention treatment at the MCI stage, the disease may further develop into AD.

[0003] The cause of Alzheimer's disease is not yet fully understood. It usually starts insidiously and the initial symptoms are not significant. However, as the disease progresses, patients will gradually experience symptoms such as memory loss and confusion. There is currently no complete cure for Alzheimer's disease. The only way to alleviate symptoms and improve the patient's quality of life is through active treatment and care.

[0004] Currently, clinical analysis of AD requires a comprehensive analysis of core symptoms such as cognitive impairment and a variety of supporting features. The most widely used auxiliary detection methods include the use of imaging methods such as electroencephalogram (EEG) and magnetic resonance imaging (MRI) to detect changes in brain structure and function.

[0005] EEG signals are recorded by the potential difference between electrodes placed on the surface of the scalp. It is a non-invasive signal acquisition method. Due to its advantages of non-invasiveness, high sensitivity and easy acquisition, EEG is widely used in auxiliary diagnosis of neurological diseases. The research of Zhang Yiwen, Miao Maohua and others showed that the relative power ratio of EEG signals after power spectrum analysis was significantly different between the MCI group, SCD group and normal group. EEG signals can effectively monitor changes in brain activity.

[0006] Magnetic resonance imaging is a non-invasive imaging method with high resolution that can clearly show brain structures and lesions, such as brain atrophy.

[0007] At present, a large amount of EEG data and MRI data are used for analysis in the research of Alzheimer's disease. However, the correlation between EEG data and MRI data cannot be taken into account, which makes it impossible to integrate and analyze the characteristics of Alzheimer's disease, affecting the effect of the analysis. In addition, the use of a large amount of EEG data and MRI data will increase the amount of data processing, reduce the data processing efficiency, and also affect the stable operation of the system. Summary of the invention

[0008] The present invention proposes a multimodal feature fusion analysis method for Alzheimer's disease, which can effectively and comprehensively fuse the feature information of EEG and MRI, solves the problem of long calculation time when processing Alzheimer's disease information with massive data, and through feature fusion, it not only considers the feature correlation between modalities but also retains the information characteristics of each specific modality.

[0009] The method includes: S1: acquiring EEG signals and three-dimensional MRI images of patients with Alzheimer's disease, EEG signals and three-dimensional MRI images of patients with mild cognitive impairment, and EEG signals and three-dimensional MRI images of patients in a healthy state;

[0010] S2: Preprocess the EEG signals and 3D MRI images respectively;

[0011] S3: Based on the transfer learning of the 1D CNN model, the deep feature vector of the EEG signal is extracted, and the dependency between the channels of the deep features obtained by the 1D CNN model is captured through the attention mechanism, and the weight information of each position in the feature area is calculated to obtain the feature map of the EEG signal; the deep feature vector of the MRI image is also extracted based on the transfer learning of the ViT model;

[0012] S4: Processing the feature map of the EEG signal and the deep feature vector of the MRI image in step S3 based on the tensor fusion method to obtain fused feature information, and using the principal component analysis method to eliminate redundant information of the fused feature information;

[0013] S5: Use support vector machine as the classifier of the fusion network model, and use the fusion feature information to train the model parameters of the support vector machine;

[0014] S6: Use the support vector machine in step S5 to analyze the unclassified Alzheimer's disease information in the database to obtain the status of the Alzheimer's disease information.

[0015] It should be further explained that the preprocessing in step S2 includes frequency domain filtering, which uses a digital bandpass filter to filter the EEG signal from 2 Hz to 40 Hz to achieve frequency domain filtering of the EEG signal.

[0016] It should be further explained that, in step S2, principal component analysis is also performed, and the analysis method is to define the EEG signals of N channels as N-dimensional features, then each EEG signal has T S N-dimensional features, and then perform principal component analysis to obtain the size of each principal component eigenvalue, then sort the eigenvalues ​​from large to small, and extract the first principal component with the largest eigenvalue as the effective signal, which is expressed as , ;

[0017] The three-dimensional MRI image preprocessing method of step S2 includes:

[0018] The entropy value of the three-dimensional MRI image is calculated by the following formula:

[0019]

[0020] Where i represents the gray value of the pixel, is the probability of gray level i appearing in the image;

[0021] After entropy calculation, the first 32 slices with the highest entropy values ​​are selected and the rest are discarded.

[0022] It should be further explained that in step S2, the three-dimensional MRI image is also subjected to size unification and grayscale normalization processing;

[0023] Grayscale normalization is performed using the following formula:

[0024]

[0025] in The coordinates represent the location of each pixel. Represents the pixel value of the image, , represent the maximum and minimum pixel intensity values, respectively. Represents the normalized pixel value, each pixel value is normalized between 0 and 1;

[0026] Step S2 also includes: frequency domain filtering processing;

[0027] Frequency domain filtering is to use median filter and Gaussian filter to remove noise from three-dimensional MRI images;

[0028] Median filter: Using a median filter of a specific size, the statistical median of all pixel values ​​within a certain size neighborhood of a pixel point in the normalized two-dimensional slice image is used as the output of the point;

[0029] Gaussian filter: Use a Gaussian filter with a mean of 0 to process pixels within a certain size range of pixels according to the Gaussian function. The formula of the Gaussian function is as follows:

[0030]

[0031] in The coordinates represent the location of each pixel. represents the coefficients of the Gaussian template, Represents standard deviation.

[0032] It should be further explained that the transfer learning based on the 1D CNN model in S3 also includes the following methods to extract the deep feature vector of the EEG signal:

[0033] The extraction is done by the following formula:

[0034] The calculation formula is shown in (4):

[0035]

[0036] in, represents the input length, k represents the convolution kernel size, s represents the step size, n represents the number of convolution kernels, and m represents edge padding;

[0037] The 1D CNN model consists of a one-dimensional convolutional layer and a maximum pooling layer. The output dimension of the maximum pooling layer is , Represents the output length after the pooling layer, and the calculation formula is as follows:

[0038]

[0039] in Indicates the input length.

[0040] It should be further explained that the attention mechanism in S3 performs global maximum pooling and global average pooling operations on the deep features obtained by the 1D CNN model, compresses the global feature information into one channel, and obtains double pooling feature maps g1 and g2. The calculation formulas of g1 and g2 are as follows:

[0041]

[0042]

[0043] Perform one-dimensional convolution operations with a kernel size of 3 on the dual pooling feature maps g1 and g2 respectively to achieve channel dimensionality reduction and cross-channel interaction, and obtain dual-channel domain feature maps w1 and w2, which are calculated by the following formula:

[0044]

[0045]

[0046] Then add w1 and w2 along the channel dimension and normalize them using the sigmoid function to get the attention weight vector in the channel domain dimension direction , and is calculated by the following formula:

[0047]

[0048] It is further necessary to explain that S3 also involves spatial attention operations;

[0049] The spatial attention operation performs global maximum pooling and global average pooling operations on the deep features obtained by the 1D CNN model, compressing the global feature information into one channel to obtain a double pooling feature map and , and is calculated by the following formula:

[0050]

[0051]

[0052] Next, the two pooling features are processed in parallel;

[0053] One of them is along the channel dimension and Perform splicing operation, , and the other along the channel dimension and Adding each element together, we get ;

[0054] Then and Perform splicing operations along the channel dimension to obtain feature maps containing rich spatial domain information ;

[0055] right Perform convolution operation with a kernel size of 3*3 to achieve feature aggregation and channel reduction, and finally obtain spatial domain features , the calculation formula is as follows:

[0056]

[0057] The spatial domain features are normalized using the sigmoid function to obtain the attention weight vector in the spatial domain dimension direction. , the calculation formula is as follows:

[0058]

[0059] Finally, the attention weight vector is multiplied by the original feature V element-wise to obtain the feature map h after channel-spatial domain attention weighting. The calculation formula is as follows:

[0060]

[0061] The extracted deep feature map is compressed into a feature vector of length C using global average pooling, and then mapped to a 128-dimensional feature vector through a fully connected layer. .

[0062] It should be further explained that the deep feature vectors of MRI images extracted by transfer learning based on the ViT model in S3 also include:

[0063] The preprocessed MRI signals are used to train the ViT model. After training, the MLP Head classifier is removed and the model parameters are fixed. The MRI features of the entire fusion network are extracted.

[0064] The ViT model includes the Embedding layer, Transformer Encoder layer, and MLP Head layer;

[0065] In the Embedding layer, define the image segmentation into patches: divide the preprocessed MRI two-dimensional slice image into patches of size 16*16, and the result is (224 / 16) 2 =196 Patches;

[0066] Patch vectorization and linear transformation is to flatten each 16*16 patch into a 256-dimensional vector, and then linearly project each vector into a 768-dimensional vector;

[0067] A Class token specifically used for classification is inserted into the 196 tokens obtained by adding Patch and Position Embedding. The dimension of the Class token is consistent with the dimensions of other tokens. Then, all 197 tokens are positionally encoded. The size of Position Embedding is consistent with the size of all tokens. Finally, all tokens and the corresponding Position Embedding are added together.

[0068] The Transformer Encoder layer is composed of an Encoder module consisting of normalization, multi-head attention mechanism, and multi-layer perceptron repeated 12 times.

[0069] It should be further explained that the tensor fusion method of step S4 includes: firstly, adding a feature point with a value of 1 to the end of each single modal feature, that is, the EEG signal feature is represented as , MRI image features are expressed as

[0070] Then perform the tensor product operation, the calculation formula is as follows:

[0071]

[0072] in To find the tensor product operation;

[0073] The principal component analysis method is used to reduce the dimension, and then the reduced dimension features are flattened for the final classification. The PCA processing is as follows:

[0074] (17)

[0075] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the multimodal-based Alzheimer's disease feature fusion analysis method when executing the program.

[0076] It can be seen from the above technical solutions that the present invention has the following advantages:

[0077] The multimodal feature fusion analysis method for Alzheimer's disease provided by the present invention can improve the accuracy of data classification, while taking into account the obvious characteristics of EEG signals in the AD latent period and the advantage of MRI in clearly reflecting the brain structure, and has richer feature information than using a single modality.

[0078] The present invention can achieve rich feature fusion information and fully fuse EEG and MRI feature information using a tensor fusion method, taking into account the feature correlation between modalities while retaining the information characteristics of each specific modality.

[0079] The present invention adds an attention mechanism in the process of extracting EEG features, which can effectively select and extract the deep features of EEG.

[0080] The present invention uses the ViT model to extract the deep features of MRI. The input of the ViT model can be used for any image size and ratio, has high flexibility, strong generalization ability, and can be calculated in parallel, and can make full use of GPU resources.

[0081] The present invention uses the principal component analysis method to reduce the dimension of both the EEG signal and the fusion feature, reduces the number of effective features, and solves the problem of large computational complexity and high time cost in extremely large-scale data, thereby making training and prediction easy to handle. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0083] Figure 1 This is a flowchart of the multimodal feature fusion analysis method for Alzheimer's disease;

[0084] Figure 2 This is the principle diagram of median filtering and Gaussian filtering;

[0085] Figure 3 Schematic diagram of EEG feature extraction module;

[0086] Figure 4 Schematic diagram of MRI feature extraction module. DETAILED DESCRIPTION

[0087] The multimodal Alzheimer's disease feature fusion analysis method provided by the present invention can acquire and process the associated EEG signals and three-dimensional MRI images based on intelligent technology. The Alzheimer's disease feature fusion analysis method utilizes the theory, method, technology and application device of digital computer machine simulation, extension and expansion of human intelligence, perception of environment, acquisition of knowledge and use of knowledge to obtain the best results.

[0088] In the feature fusion analysis method of Alzheimer's disease, it is considered that humans can easily focus on the areas of interest or prominence in a complex scene with a lot of information, and then have a macroscopic understanding of the global information through the information of some important areas. Based on this observation, the attention mechanism is introduced into deep learning, that is, when the neural network processes a large amount of input information, only the key information is selected for processing, that is, the weight of some parts of the neural network input data is enhanced, while the weight of other parts is weakened, so that the neural network only pays attention to the main part of the data. According to the different dimensions of the attention domain, it can be classified into spatial attention, channel attention, self-attention and temporal attention. The main feature of spatial attention is to generate an attention mask in the spatial domain and use it to select important spatial regions or predict the most relevant spatial positions.

[0089] like Figure 1 As shown, the multimodal Alzheimer's disease feature fusion analysis method proposed in the present invention first deeply extracts the feature signals of EEG and MRI respectively, then fully fuses them through the multimodal signal fusion module, and finally analyzes and displays the fused signals for the Alzheimer's disease features. The present invention includes five parts in the execution process: signal acquisition, signal preprocessing, signal feature extraction, feature fusion and diagnosis classification. In the model training stage, the model is trained with the known AD, MCI and NC type data stored in the database. After the model is trained, the parameters are fixed, and the unknown type of test data is analyzed and classified and displayed.

[0090] In the model training stage, the present invention can perform end-to-end overall training on the proposed entire fusion network model, or can adopt staged training. Considering that if the model adopts an overall training method, the two modalities of EEG and MRI will cross-affect the parameter update of each branch network in the process of back propagation parameter update, and the overall training method makes the training complexity of the model larger, the present invention adopts a staged training method, which is divided into three stages for training. The first stage: add a Softmax layer (classifier) ​​after the EEG feature extraction model, and use a single-modal EEG signal to train the parameters of each layer of the EEG feature extraction model; the second stage: add an MLP Head layer (classifier) ​​after the MRI feature extraction model, and use a single-modal MRI signal to train the parameters of each layer of the MRI feature extraction model; the third stage: first fix the feature extraction model parameters trained in stages one and two, then input EEG and MRI signals to obtain feature information, and train the final classifier with the feature fusion information obtained by the fusion module. In the predictive diagnosis classification stage, the EEG and MRI information of the unknown subject is input into the trained entire fusion network, and the diagnosis classification result is output.

[0091] In this way, the present invention uses multimodal feature fusion, that is, fusing EEG signals and three-dimensional MRI images from different sources or in different forms, to obtain interactive information in addition to their respective information, fully explore the characteristics of various information, and improve the performance and robustness of the model.

[0092] The machine learning and deep learning in the multimodal feature fusion analysis method for Alzheimer's disease provided by the present invention generally include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and teaching learning. The multimodal feature fusion of EEG signals and three-dimensional MRI images is realized, while taking into account the characteristics of EEG signals and the advantage of MRI in clearly reflecting the brain structure, and has richer feature information than using a single modality.

[0093] The Alzheimer's disease feature fusion analysis method provided by the present invention can be applied to one or more terminals, wherein the terminal is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0094] The terminal can be any electronic product that can interact with the user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), an interactive network television (IPTV), a smart wearable device, etc.

[0095] The terminal may also include network equipment and / or user equipment, wherein the network equipment includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing.

[0096] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0097] See also Figure 1The figure is a flow chart of a method for fusion analysis of Alzheimer's disease features in a specific embodiment, the method comprising:

[0098] S1: Obtaining EEG signals and 3D MRI images of patients with Alzheimer's disease, EEG signals and 3D MRI images of patients with mild cognitive impairment, and EEG signals and 3D MRI images of patients in a healthy state.

[0099] Specifically, a certain number of EEG signals and 3D MRI images of Alzheimer's disease, EEG signals and 3D MRI images of mild cognitive impairment, and EEG signals and 3D MRI images of healthy state can be pre-stored in the system. According to the classification analysis control instructions, a certain amount of data is retrieved to train the model.

[0100] S2: Preprocessing the EEG signal and the 3D MRI image respectively. The preprocessing methods include: frequency domain filtering, PCA processing, MRI signal preprocessing, uniform size and grayscale normalization.

[0101] The frequency domain filtering method of this embodiment includes the following methods: first, the EEG signal is filtered, and a digital bandpass filter is used to filter from 2Hz to 40Hz to eliminate the frequency interference of the power frequency and high frequency. The filtering uses a Butterworth filter to achieve frequency domain filtering of the EEG signal.

[0102] This embodiment also involves PCA processing, which is principal component analysis (Principle Component Analysis, PCA), which is mainly a commonly used data linear decomposition method in the field of signal processing. Its purpose is to design a transformation so as to convert a data set into a "valid" feature component with fewer dimensions, without reducing the intrinsic information content contained in the original data, and to achieve the purpose of data set dimension compression under the minimum mean square error. The specific operation is: PCA operation is performed on the EEG signal after frequency domain filtering.

[0103] In this embodiment, the EEG signals of 16 channels are regarded as 16-dimensional features, and the features acquired by the database are defined as T S 16-dimensional features, and then perform PCA operation to obtain the size of each principal component eigenvalue, then sort the eigenvalues ​​from large to small, and extract the first principal component with the largest eigenvalue as the effective signal, which is expressed as , .

[0104] The MRI signal preprocessing of this embodiment involves the selection of slices. In order to make the MRI image contain more effective information and high training value, it is necessary to obtain multiple two-dimensional slices from the database and select slices that pass through the hippocampus. In order to further make the image contain a large amount of classification information and improve the efficiency of model training, the manually selected photos are sorted according to the size of entropy. The higher the entropy value, the greater the amount of information contained in the MRI slice. The calculation formula of the entropy value is shown in (1):

[0105] (1)

[0106] Where i represents the gray value of the pixel ( ), is the probability of gray level i appearing in the image. After the above entropy calculation, the first 32 slices with the highest entropy value are selected for each subject, and the remaining slices are discarded.

[0107] The unified size method includes: MRI scanner imaging parameters will affect the image size, which may cause large differences in the size of the two-dimensional grayscale slice image. In order to ensure the consistency of the image size of the input training model, these two-dimensional grayscale slice images are unified into a standard size of 224*224. The specific operation is: if the image size is smaller than the standard size, the center point of the image is kept unchanged, and the edge is filled with pixels with a value of 0. If the image size is larger than the standard size, it is adjusted to the standard size through image downsampling method.

[0108] The grayscale normalization processing method includes: then normalizing the image grayscale, while retaining the grayscale differences with diagnostic value, reducing the absolute value differences in the image grayscale information of different tissues caused by medical imaging factors, making the subsequent deep learning model easier to converge. The grayscale normalization formula is shown in (2):

[0109] (2)

[0110] in The coordinates represent the location of each pixel. Represents the pixel value of the image, , represent the maximum and minimum pixel intensity values, respectively. Represents the normalized pixel value, and each pixel value is normalized between 0 and 1.

[0111] Frequency domain filtering includes: using median filter and Gaussian filter to remove noise in the image. Figure 2 As shown, it should be noted that Figure 2The data in the figure are only used to illustrate the principles of median and Gaussian filtering. Median filter: Using a median filter of a specific size, the statistical median of all pixel values ​​within a certain size neighborhood of a pixel point in the normalized two-dimensional slice image is used as the output of the point. Without blurring the edge of the image, the use of a median filter can minimize noise. Gaussian filter: Then, using a Gaussian filter with a mean of 0, the pixels within a certain size neighborhood of the pixel point are processed according to the Gaussian function, that is, the coefficient decreases as the distance from the center of the template increases. The Gaussian function formula is shown in (3)

[0112] (3)

[0113] in The coordinates represent the location of each pixel. represents the coefficients of the Gaussian template, represents the standard deviation and is set to 1.5.

[0114] S3: Based on the transfer learning of the 1D CNN model, the deep feature vector of the EEG signal is extracted, and the dependency between the channels of the deep features obtained by the 1D CNN model is captured through the attention mechanism, and the weight information of each position in the feature area is calculated to obtain the feature map of the EEG signal; the deep feature vector of the MRI image is also extracted based on the transfer learning of the ViT model.

[0115] According to an embodiment of the present application, the EEG feature extraction model includes two parts: 1D CNN and "parallel" attention module. The feature extraction process is as follows: Figure 3 That is, first add a Softmax layer (classifier) ​​after the model, then use the preprocessed EEG signal to train the model, remove the Softmax layer after training and fix the model parameters, and finally use it for EEG feature extraction of the entire fusion network model.

[0116] It should be noted that the model will first be pre-trained on a large dataset, and then the EEG signals will be used to fine-tune the parameters to obtain better feature extraction capabilities.

[0117] 1) The transfer learning in the 1D CNN module involved in this embodiment is used for deep feature vector extraction of EEG signals. 1D CNN is composed of four submodules, each of which contains a one-dimensional convolution layer and a maximum pooling layer. All convolution layers and maximum pooling layers are used for feature extraction. The more detailed network structure information of 1D CNN is shown in Table 1, where k represents the convolution kernel size, s represents the step size, n represents the number of convolution kernels, and m represents edge padding.

[0118]

[0119] Table 1 Network structure information of 1D CNN

[0120] The output dimension of each convolution operation is , represents the output length after the convolutional layer, and the calculation formula is shown in (4):

[0121] (4)

[0122] in Indicates the input length.

[0123] The output dimension of each max pooling operation , represents the output length after the pooling layer, and the calculation formula is shown in (5):

[0124] (5)

[0125] in Indicates the input length.

[0126] 2) This embodiment introduces the attention mechanism: This is to capture the dependencies between the channels of the deep features obtained by the 1D CNN model and calculate the weight information of each position in the feature area to obtain a more discriminative feature map. Therefore, the extracted features are "parallelized" through the channel-space dual domain. The specific operation is as follows: Features from the 1D CNN model .

[0127] D=T S / 16 and C=32 represent the data length and channel size respectively.

[0128] Channel attention operation: First, global maximum pooling and global average pooling operations are performed on the deep features obtained by the 1D CNN model to compress the global feature information into one channel and obtain double pooling feature maps g1 and g2. The formulas are shown in (6) and (7):

[0129] (6)

[0130] (7)

[0131] Next, a fast one-dimensional convolution operation with a kernel size of 3 is performed on the dual pooling feature maps g1 and g2 (the edge padding is 1 and the step size is 1 in the convolution operation) to achieve channel dimensionality reduction and cross-channel interaction, and obtain the dual-channel domain feature maps w1 and w2, as shown in the following formulas (8) and (9):

[0132] (8)

[0133] (9)

[0134] Then w1 and w2 are element-wise added along the channel dimension and normalized using the sigmoid function to obtain the attention weight vector in the channel domain dimension direction , the formula is shown as follows (10):

[0135] (10)

[0136] Spatial attention operation: First, global maximum pooling and global average pooling operations are performed on the deep features obtained by the 1D CNN model to compress the global feature information into one channel to obtain a double pooling feature map. and , the formula is as follows (11) (12):

[0137] (11)

[0138] (12)

[0139] Next, the two pooling features are processed in parallel. One of them is processed along the channel dimension. and Perform splicing operation, , and the other along the channel dimension and Adding each element together, we get . Then and Perform splicing operations along the channel dimension to obtain feature maps containing rich spatial domain information . Then Perform a convolution operation with a kernel size of 3*3 (the edge padding is 1 and the step size is 1 in the convolution operation) to achieve feature aggregation and channel reduction, and finally obtain the spatial domain features. , the formula is as follows (13):

[0140] (13)

[0141] Then the spatial domain features are normalized using the sigmoid function to obtain the attention weight vector in the spatial domain dimension direction , the formula is as follows (14):

[0142] (14)

[0143] Finally, the attention weight vector is element-wise multiplied with the original feature V to obtain the feature map h after channel-spatial domain attention weighting, as shown in the following formula (15):

[0144] (15)

[0145] In order to facilitate the subsequent multimodal feature-level fusion, the extracted deep feature map is compressed into a feature vector of length C by global average pooling, and then mapped to a 128-dimensional feature vector through a fully connected layer. .

[0146] 3.2 MRI signal feature extraction;

[0147] Transfer learning based on the Vision Transformer (ViT) model is used to extract deep feature vectors from MRI images. The feature extraction process is as follows: Figure 4 That is, the preprocessed MRI signal is first used to train the complete ViT model, and after training, the MLP Head (classifier) ​​is removed and the model parameters are fixed, and finally used for MRI feature extraction of the entire fusion network.

[0148] It should be noted that the model will be pre-trained on a large dataset first, and then the parameters will be fine-tuned using MRI data to obtain better feature extraction capabilities.

[0149] The ViT model was proposed to be applied in the field of NLP and has been successful in the field of NLP. The ViT model breaks the barriers between the fields of NLP and CV and also shows superior performance in processing image tasks. Usually, it consists of three parts: Embedding layer, Transformer Encoder layer and MLP Head layer. The present invention uses the ViT-B / 16 model to extract MRI signal features. In order to ensure that the model can adapt to the input image size, the Embedding layer of the model is mainly adjusted, and the Transformer Encoder layer and the MLP Head layer basically maintain the original structure. The implementation method of each layer is described as follows:

[0150] 1) Embedding layer;

[0151] Image segmentation into patches: The preprocessed MRI two-dimensional slice image (size 224*224) is divided into patches of size 16*16, and the result is (224 / 16) 2 = 196 Patches. That is, through this operation, a slice image with a size of 224*224 is converted into 196 Patches with a size of 16*16.

[0152] Patch vectorization and linear transformation: First, each 16*16 patch is flattened into a 256-dimensional vector (16*16=256), and then each vector is linearly projected (equivalent to a fully connected layer) to become a 768-dimensional vector (hereinafter referred to as a token). That is, through this operation, 196 16*16 patches are transformed into 196 tokens.

[0153] Add Patch to Position Embedding: First, insert a Class token specifically for classification into the 196 tokens obtained above. The dimension of the Class token is consistent with the dimensions of other tokens. Then, position encoding (Position Embedding) is performed on all 197 (196+1=197) tokens. The size of Position Embedding is consistent with the size of all tokens, that is, 197*768. Finally, add all tokens and the corresponding Position Embedding.

[0154] 2) Transformer Encoder layer;

[0155] The Transformer Encoder layer is mainly composed of the Encoder module consisting of normalization (Norm), multi-head attention mechanism (Multi-HeadAttention), and multi-layer perceptron (MLP) repeated 12 times. Since the present invention directly uses the Transformer Encoder layer of the ViT-B / 16 model, the working principle of the Encoder module is not described.

[0156] The specific operation is as follows: first, the above token with positional encoding is input into the Transformer Encoder layer. After processing, an output token (197*768) with the same number and dimension as the input token is obtained; then, the Class token (1*768) is selected in the output token, and then a transposition operation (768*1) is performed; finally, in order to facilitate the subsequent multimodal feature-level fusion, the extracted deep feature vector is mapped to a 128-dimensional feature vector U through a fully connected layer, which can be expressed as .

[0157] S4: Based on the tensor fusion method, the feature map of the EEG signal and the deep feature vector of the MRI image in step S3 are processed to obtain fused feature information, and the principal component analysis method is used to eliminate redundant information of the fused feature information.

[0158] In order to fully integrate the features, the present invention adopts a tensor fusion method, and then uses a principal component analysis method to eliminate redundant information of the features and reduce the feature dimension.

[0159] Tensor fusion: First, add a feature point with a value of 1 to the end of each single-modal feature, that is, the EEG signal feature is expressed as , MRI image features are expressed as .

[0160] Then, the tensor product operation is performed, and its calculation formula is shown as follows (16):

[0161] (16)

[0162] in To perform the tensor product operation.

[0163] It can be seen that the joint feature Y contains not only the modal interaction information of the EEG signal and the MRI image, but also the feature information of each single modality. However, it is also obvious that the number of features has increased, that is, each subject has changed from the original 258 (129*2=258) features to 16641 (129*129=16641) features, which is likely to cause the dimensionality disaster problem. Therefore, the principal component analysis method (PCA) is first used to reduce the dimension, and then the reduced features are flattened for the final classification. The PCA processing is shown as follows (17):

[0164] (17)

[0165] S5: Use the support vector machine as the classifier of the fusion network model, and use the fusion feature information to train the model parameters of the support vector machine.

[0166] Support vector machine (SVM) is used as the classifier of the entire fusion network model, and the fusion feature information is used to train SVM.

[0167] The specific process is as follows: input the unanalyzed or unclassified EEG and MRI information into the feature extraction model trained above to obtain the single-modal feature information, then obtain the fusion feature through the feature fusion module, flatten the fusion feature, and finally obtain the feature vector. Use the feature vector and the corresponding labels (AD, MCI, CN) to train the SVM model parameters.

[0168] S6: Use support vector machine to analyze the unclassified Alzheimer's disease information in the database to obtain the status of the Alzheimer's disease information.

[0169] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0170] The multimodal feature fusion analysis method for Alzheimer's disease provided by the present invention is a combination of the units and algorithm steps of each example described in the embodiments disclosed herein, and can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0171] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A multimodal feature fusion analysis method for Alzheimer's disease. It is characterized in that The method includes: S1: acquiring EEG signals and three-dimensional MRI images of patients with Alzheimer's disease, EEG signals and three-dimensional MRI images of patients with mild cognitive impairment, and EEG signals and three-dimensional MRI images of patients in a healthy state; S2: Preprocess the EEG signals and 3D MRI images respectively; S3: Based on the transfer learning of the 1D CNN model, the deep feature vector of the EEG signal is extracted, and the dependency between the channels of the deep features obtained by the 1D CNN model is captured through the attention mechanism, and the weight information of each position in the feature area is calculated to obtain the feature map of the EEG signal; the deep feature vector of the MRI image is also extracted based on the transfer learning of the ViT model; S4: Processing the feature map of the EEG signal and the deep feature vector of the MRI image in step S3 based on the tensor fusion method to obtain fused feature information, and using the principal component analysis method to eliminate redundant information of the fused feature information; S5: Use support vector machine as the classifier of the fusion network model, and use the fusion feature information to train the model parameters of the support vector machine; S6: Use the support vector machine in step S5 to analyze the unclassified Alzheimer's disease information in the database to obtain the status of the Alzheimer's disease information.

2. The multimodal feature fusion analysis method for Alzheimer's disease according to claim 1, It is characterized in that The preprocessing in step S2 includes frequency domain filtering, using a digital bandpass filter to filter the EEG signal from 2 Hz to 40 Hz, thereby achieving frequency domain filtering of the EEG signal.

3. The multimodal feature fusion analysis method for Alzheimer's disease according to claim 1, It is characterized in that In step S2, principal component analysis is also performed. The analysis method is to define the EEG signals of N channels as N-dimensional features. Then each EEG signal has T S N-dimensional features, and then perform principal component analysis to obtain the size of each principal component eigenvalue, then sort the eigenvalues ​​from large to small, and extract the first principal component with the largest eigenvalue as the effective signal, which is expressed as , ; The three-dimensional MRI image preprocessing method of step S2 includes: The entropy value of the three-dimensional MRI image is calculated by the following formula: ; Where i represents the gray value of the pixel, is the probability of gray level i appearing in the image; After entropy calculation, the first 32 slices with the highest entropy values ​​are selected and the rest are discarded.

4. The multimodal feature fusion analysis method for Alzheimer's disease according to claim 1, It is characterized in that In step S2, the three-dimensional MRI image is also subjected to size unification and grayscale normalization processing; Grayscale normalization is performed using the following formula: ; in The coordinates represent the location of each pixel. Represents the pixel value of the image, , represent the maximum and minimum pixel intensity values, respectively. Represents the normalized pixel value, each pixel value is normalized between 0 and 1; Step S2 also includes: frequency domain filtering processing; Frequency domain filtering is to use median filter and Gaussian filter to remove noise from three-dimensional MRI images; Median filter: Using a median filter of a specific size, the statistical median of all pixel values ​​within a certain size neighborhood of a pixel point in the normalized two-dimensional slice image is used as the output of the point; Gaussian filter: Use a Gaussian filter with a mean of 0 to process pixels within a certain size range of pixels according to the Gaussian function. The formula of the Gaussian function is as follows: ; in The coordinates represent the location of each pixel. represents the coefficients of the Gaussian template, Represents standard deviation.

5. The multimodal feature fusion analysis method for Alzheimer's disease according to claim 1, It is characterized in that The transfer learning based on the 1D CNN model in S3 also includes the following methods to extract the deep feature vector of the EEG signal: The extraction is done by the following formula: The calculation formula is: ; in, represents the input length of the convolution layer, k represents the size of the convolution kernel, s represents the step size, n represents the number of convolution kernels, and m represents edge padding; F represents the output length after the convolution layer; The 1D CNN model consists of a one-dimensional convolutional layer and a maximum pooling layer. The output dimension of the maximum pooling layer is , Represents the output length after the pooling layer, and the calculation formula is as follows: ; in Represents the input length of the maximum pooling layer.

6. The multimodal feature fusion analysis method for Alzheimer's disease according to claim 5, It is characterized in that The attention mechanism in S3 performs global maximum pooling and global average pooling operations on the deep features obtained by the 1D CNN model, compresses the global feature information into one channel, and obtains the double pooling feature maps g1 and g2. The calculation formulas of g1 and g2 are as follows: ; ; Among them, j represents the convolution channel, represents the feature of the jth convolution channel, D represents the data length, and C represents the channel size; Perform one-dimensional convolution operations with a kernel size of 3 on the dual pooling feature maps g1 and g2 respectively to achieve channel dimensionality reduction and cross-channel interaction, and obtain dual-channel domain feature maps w1 and w2, which are calculated by the following formula: ; ; in, The symbol for a one-dimensional convolution operation with a kernel size of 3; Then add w1 and w2 along the channel dimension and normalize them using the sigmoid function to get the attention weight vector in the channel domain dimension direction , and is calculated by the following formula: 。 7. The multimodal feature fusion analysis method for Alzheimer's disease according to claim 6, It is characterized in that S3 is also involved in spatial attention operations; Next, the double pooling feature map and 2. Perform parallel processing; One of them is along the channel dimension and 2 Perform splicing operation, and get , and the other along the channel dimension and 2 Add each element one by one, and we get ; Then and Perform splicing operations along the channel dimension to obtain feature maps containing rich spatial domain information ; right Make the kernel size 3 The convolution operation of 3 realizes feature aggregation and channel reduction, and finally obtains the spatial domain features , the calculation formula is as follows: ; Among them, C2D 3x3 It is the representation of a two-dimensional convolution operation with a kernel size of 3×3; The spatial domain features are normalized using the sigmoid function to obtain the attention weight vector in the spatial domain dimension direction. , the calculation formula is as follows: ; Finally, the attention weight vector is multiplied by the original feature V element-wise to obtain the feature map h after channel-spatial domain attention weighting. The calculation formula is as follows: ; The extracted deep feature map is compressed into a feature vector of length C using global average pooling, and then mapped to a 128-dimensional feature vector through a fully connected layer. .

8. The multimodal feature fusion analysis method for Alzheimer's disease according to claim 1, It is characterized in that The transfer learning based on the ViT model in S3 to extract the deep feature vector of the MRI image also includes: using the preprocessed MRI signal to train on the ViT model, after training, removing the MLP Head classifier and fixing the model parameters, and extracting the MRI features of the entire fusion network; The ViT model includes the Embedding layer, Transformer Encoder layer, and MLP Head layer; In the Embedding layer, define the image segmentation into patches: divide the preprocessed MRI two-dimensional slice image into patches of size 16*16, and the result is (224 / 16) 2 =196 Patches; Patch vectorization and linear transformation is to flatten each 16*16 patch into a 256-dimensional vector, and then linearly project each vector into a 768-dimensional vector; A Class token specifically used for classification is inserted into the 196 tokens obtained by adding Patch and Position Embedding. The dimension of the Class token is consistent with the dimensions of other tokens. Then, all 197 tokens are positionally encoded. The size of Position Embedding is consistent with the size of all tokens. Finally, all tokens and the corresponding Position Embedding are added together. The Transformer Encoder layer is composed of an Encoder module consisting of normalization, multi-head attention mechanism, and multi-layer perceptron repeated 12 times.

9. The multimodal feature fusion analysis method for Alzheimer's disease according to claim 1, It is characterized in that The tensor fusion method of step S4 includes: firstly, adding a feature point with a value of 1 to the end of each single modal feature, that is, the EEG signal feature is represented as , MRI image features are expressed as ; Then perform the tensor product operation, the calculation formula is as follows: ; in To find the tensor product operation; The principal component analysis method is used to reduce the dimension, and then the reduced dimension features are flattened for the final classification. The PCA processing is as follows: 。 10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the steps of the multimodal feature fusion analysis method for Alzheimer's disease are implemented as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Alzheimer disease evaluation method and system, and device and storage medium

    WO2023173538A1

  • Brain-computer information fusion classification method and system for shared subspace learning

    WO2023173804A1