Electroencephalogram multi-modal image reconstruction method

By using DreamSim embedding and cross-modal alignment techniques in EEG image reconstruction, combined with diffusion prior and dynamic routing control, the problems of perceptual mismatch and low-quality modal effects in EEG image reconstruction are solved, achieving more accurate and consistent image generation.

CN123160776APending Publication Date: 2026-11-24HUAZHONG NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611365646.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing EEG image reconstruction methods, there is a perceptual mismatch between EEG and visual target representation. Low-quality auxiliary modal information leads to semantic drift and structural distortion during the generation process, and existing technologies have difficulty in effectively assessing and suppressing the impact of low-quality conditions.

Method used

The DreamSim image embedding interface is used to obtain the embedding, and the projection module is used to convert it into CLIP-compatible image target embedding. A modality expert encoder is set to perform cross-modal alignment. The diffusion prior and dynamic routing controller are used to evaluate the quality of auxiliary modalities and dynamically adjust the routing weights to shield or reduce the influence of low-quality auxiliary modalities.

Benefits of technology

It reduces the perceptual mismatch between EEG and visual target representation, improves the accuracy and consistency of image generation, reduces the negative impact of low-quality auxiliary modalities on the generation results, and ensures the semantic and structural quality of the generated images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160776A_ABST
    Figure CN123160776A_ABST
Patent Text Reader

Abstract

This invention relates to a multimodal image reconstruction method for electroencephalograms (EEGs). It utilizes DreamSim's single-image embedding interface to obtain DreamSim image embeddings, which are then converted into CLIP-compatible image target embeddings adapted to subsequent contrastive learning and image generation processes via a projection module. Modality expert encoders are set for three modality data pairs: EEG-image, EEG-text, and EEG-depth, ensuring cross-modal alignment of their output EEG embeddings with the corresponding modality target embeddings. The EEG embeddings from the three branches are then input into their respective diffusion prior models to obtain reconstructed embeddings. A dynamic routing controller is established between the diffusion prior model and the diffusion generation model, outputting continuous routing weights based on the sample-level prediction quality of the text and depth branches. Low-quality auxiliary modalities that are of lower quality and do not meet reliability requirements are downweighted or masked. Finally, the modulated three branches are connected to the diffusion generation model through corresponding conditional interfaces.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of artificial intelligence and neuroscience, and particularly relates to a brain electrical graph multi-modal image reconstruction method. BACKGROUND

[0002] EEG visual reconstruction is an important research direction in the field of brain-computer interface, and its goal is to decode the neural response of the subject in the visual stimulation task and reconstruct the target image perceived or noticed by the subject. The existing EEG image reconstruction method usually aligns the EEG features to the representation space of the pre-trained visual model, and further combines the diffusion model to complete the image generation. Although this kind of method can utilize the visual representation ability of the pre-trained model, it still has the following shortcomings in practical application: When the original CLIP image features are directly used as the alignment target of the EEG image branch, since CLIP is mainly trained for image-text matching and semantic retrieval tasks, its similarity judgment is not completely consistent with the judgment of human overall perception of image similarity, which is easy to cause the perception level mismatch between the EEG representation and the target image representation; In the generation stage, if multiple modal conditions are input into the diffusion model at the same time without distinguishing the reliability of the auxiliary conditions, the low-quality conditions may continuously propagate the wrong information in the multi-step denoising process, and then cause semantic drift, structure distortion or detail degradation; In the multi-modal EEG reconstruction process, quality judgment and active inhibition of low-quality auxiliary modalities need to be performed on the text and deep auxiliary branches after the generation conditions of the current sample are formed and before the image generation.

[0003] Therefore, it is urgent to propose a new EEG multi-modal image reconstruction scheme to reduce the perception mismatch between EEG and visual target representation, improve the reliable utilization ability of text and deep auxiliary conditions, and reduce the influence of low-quality auxiliary modalities on the final generated results. SUMMARY

[0004] To address the aforementioned shortcomings of existing technologies, this invention provides a method for reconstructing multimodal EEG images. The core idea of ​​this invention is as follows: DreamSim image embeddings are obtained by calling the DreamSim single-image embedding interface. Before cross-modal contrastive learning, the DreamSim image embeddings are converted into CLIP-compatible image target embeddings via a projection module. Modality expert encoders are set for three modality data pairs: EEG-image, EEG-text, and EEG-depth, respectively, so that their output EEG embeddings are cross-modal aligned with the corresponding modality target embeddings. After alignment, all three branches utilize diffusion priors and conditional adaptation links. A dynamic routing controller is set between the diffusion prior model and the diffusion generation model. The conditional quality assessment module predicts the sample-level quality of the text and depth auxiliary branches, and the dynamic routing controller outputs continuous routing weights to downweight or mask low-quality auxiliary modalities that do not meet reliability requirements, thereby completing the active modulation of low-quality auxiliary conditions before image generation.

[0005] To achieve the above objectives, the present invention adopts the following technical solution: A method for reconstructing multimodal conditional EEG images includes the following steps: (1) Collect the EEG signals generated by the subject under the visual stimulus task, and obtain the image data corresponding to the visual stimulus; generate text data and depth data based on the image data, and construct a multimodal sample set corresponding to EEG-image-text-depth; (2) The EEG signals are preprocessed to obtain EEG input samples for training and reasoning; (3) Call the DreamSim single image embedding interface to obtain the DreamSim image embedding corresponding to the image data, and convert the DreamSim image embedding into CLIP-compatible image target embedding that is compatible with the subsequent contrastive learning and image generation link through the projection module; encode the text data and depth data respectively to obtain text target embedding and depth target embedding; form three modal data pairs of EEG-image, EEG-text and EEG-depth with the same EEG sample, respectively, and set modal expert encoders for the three modal data pairs to obtain image-associated EEG embedding, text-associated EEG embedding and depth-associated EEG embedding; align the three EEG embeddings with the CLIP-compatible image target embedding, text target embedding and depth target embedding respectively through cross-modal contrastive learning; (4) Input the image-associated EEG embedding, text-associated EEG embedding and deep-associated EEG embedding after cross-modal alignment training into the corresponding diffusion prior models respectively; and convert the three types of EEG embeddings into image reconstruction embedding, text reconstruction embedding and deep reconstruction embedding in CLIP embedding space respectively; (5) Calculate the cosine similarity between the text reconstruction embedding and the text target embedding output by the text branch, and the cosine similarity between the deep reconstruction embedding and the deep target embedding output by the deep branch; the former is used to characterize the semantic reconstruction quality of the text branch, and the latter is used to characterize the spatial structure reconstruction quality of the deep branch; use the above two cosine similarities as quality supervision signals to train the conditional quality assessment module; input the text reconstruction embedding and deep reconstruction embedding generated by the current EEG sample into the trained conditional quality assessment module to obtain the quality scores corresponding to the text branch and the deep branch; the text branch and the deep branch are collectively referred to as auxiliary branches, and the prediction quality referred to in this paper is the quality score; (6) Set up a dynamic routing controller between the diffusion prior model and the diffusion generation model, obtain the quality scores of the text branch and the depth branch in the current sample respectively, and output the continuous routing weights applied to the text branch and the depth branch respectively; compare the quality scores of the two branches for the current EEG sample, and determine the auxiliary branch with the lower quality score and that does not meet the preset reliability requirements as the low quality auxiliary mode; when both auxiliary branches meet the preset reliability requirements, set both routing weights to one. (7) The image reconstruction embedding is used as the visual backbone condition that is continuously preserved; the text reconstruction embedding and the depth reconstruction embedding are converted into conditional features of the cross attention layer of the injection diffusion generation model through the corresponding conditional adapters, and then multiplied by the corresponding continuous routing weights to obtain the adjusted text conditional features and depth conditional features; when the routing weight is one, the original output intensity of the conditional adapter is maintained; when it is between zero and one, the output intensity is reduced proportionally; when it is zero, the corresponding auxiliary branch is blocked; then the three branches are connected to the diffusion generation model through three independent conditional interfaces to generate the target reconstructed image; (8) Calculate CLIP semantic similarity, DreamSim perceptual distance, SSIM, PixCorr and classification accuracy between the reconstructed image and the original image, evaluate the image reconstruction effect and the role of DreamSim embedding projection alignment and low-quality auxiliary modality dynamic suppression.

[0006] Furthermore, in step (1), BLIP2 is used to generate the text data based on the image data, and Depth Anything is used to generate the depth data based on the image data; the depth data is a depth map corresponding to the visual stimulus image, and its pixel values ​​are used to represent the depth relationship of each position in the image relative to the observation viewpoint and the spatial layout of the scene.

[0007] Furthermore, in step (3), the projection module takes the DreamSim image embedding as input and maps it to a 1024-dimensional representation consistent with the OpenCLIP ViT-H / 14 image embedding through a linear projection layer; the output of the projection module serves as the contrastive learning target of the image modality expert, and the parameters of the projection module are jointly optimized with the cross-modal alignment training of the image modality expert.

[0008] Furthermore, in step (4), the diffusion prior model is used to learn the conditional distribution between the EEG embedding and the corresponding modality target embedding. Noise is gradually added to the CLIP embedding of the target modality, and the diffusion prior network is trained to predict and remove the added noise using the corresponding EEG embedding and diffusion time step as conditions. During inference, the current EEG embedding is used as a condition for iterative denoising to obtain a reconstructed embedding that is compatible with the conditional space of the pre-trained image generation model.

[0009] In step (6), the diffusion generation model generates a target reconstructed image in the latent space of the image based on the reconstruction embedding. It uses SDXL-Turbo and receives condition signals from three branches through three independent IP-Adapter condition interfaces. The three independent condition interfaces are three independent IP-Adapter condition interfaces, where the image branch uses the full IP-Adapter, the text branch uses the IP-Adapter-Style, and the depth branch uses the IP-Adapter-Layout. Each IP-Adapter condition interface converts the corresponding reconstruction embedding into a conditional representation injected into the SDXL-Turbo cross-attention layer.

[0010] Specifically, in step (8), the CLIP semantic similarity is the cosine similarity of the normalized CLIP embedding, the DreamSim perceptual distance is the cosine distance of the normalized DreamSim embedding, the SSIM is calculated based on brightness, contrast and structure terms, the PixCorr is the Pearson correlation coefficient of the corresponding pixel, and the classification accuracy is the proportion of the number of samples whose classification results are consistent with the true category to the total number of test samples.

[0011] Compared with the prior art, the present invention has the following beneficial effects: This invention first obtains the DreamSim image embedding, and then projects it into a CLIP-compatible image target embedding before cross-modal contrastive learning. This allows the image branch to continue using the original contrastive learning, diffusion prior, and conditional generation links while introducing the DreamSim image representation, avoiding spatial inconsistencies caused by direct connections between the DreamSim embedding and subsequent CLIP spatial links. The method retains three independent conditional links: image, text, and depth. During the training phase, it uses the corresponding target embedding to supervise auxiliary conditional quality assessment. During the inference phase, it predicts the quality of the text and depth auxiliary branches only based on the current EEG samples, and dynamically downweights or masks low-quality auxiliary modalities that do not meet reliability requirements, avoiding reliance on unavailable original target images during the reconstruction process. Attached Figure Description

[0012] Figure 1 is a flowchart of the overall process of the EEG multimodal image reconstruction method of the present invention. Detailed Implementation

[0013] The technical solutions of the present invention will now be described in detail with reference to the accompanying drawings and embodiments. The described embodiments are some, but not all, of the embodiments of the present invention. Other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are all within the protection scope of the present invention.

[0014] The following is a process. Figure 1 The implementation steps of this invention are described in detail below: Data Acquisition. EEG signals generated by subjects during a visual stimulus task are collected, and image data corresponding to the visual stimulus is acquired. BLIP2 is used to generate textual modality information from the images, and a pre-trained monocular depth estimation model using Depth Anything is used to generate a depth map corresponding to the visual stimulus image. The pixel values ​​of the depth map are used to represent the depth relationship of each position in the image relative to the viewing viewpoint, thereby describing the foreground and background layers and the spatial layout of the scene. The depth data provides spatial structure supervision to depth modality experts, different from image appearance and text semantics, enabling them to learn the foreground and background relationships of objects, the outline range of main subjects, and the scene layout, and serving as structural aids during the generation stage. This step constructs multimodal input samples with a one-to-one correspondence between images, text, depth, and EEG.

[0015] EEG preprocessing. For the Thing-EEG dataset, the raw EEG data was filtered from 0.1 Hz to 100 Hz and recorded through 63 electrode channels at a sampling rate of 1000 Hz. Taking the visual stimulus occurrence time as zero, EEG segments from 0 ms to 1000 ms after the stimulus were extracted, and baseline correction was performed using the average of the signal from 200 ms before the stimulus. All electrode channels were retained, and the EEG data was downsampled to 250 Hz. Multivariate noise normalization was applied to the training data. During the testing phase, the average of repeated EEG trials corresponding to the same image was taken to improve the signal-to-noise ratio. After preprocessing, the same EEG sample was combined with image, text, and depth data to form three modal data pairs: EEG-Image, EEG-Text, and EEG-Depth, and then input into their respective modal expert encoders.

[0016] DreamSim Image Embedding and CLIP Spatial Projection. Instead of directly using the original CLIP image embedding for image modalities, DreamSim's single-image embedding interface is called to obtain the DreamSim image embedding. DreamSim takes two images as basic inputs and outputs a perceptual distance; the smaller the distance, the more similar the images. Its official implementation also provides a single-image embedding interface, where the perceptual distance is determined by the cosine distance between normalized embeddings. Since subsequent contrastive learning, diffusion prior, and conditional interfaces use the CLIP spatial link, this step converts the DreamSim image embedding into a CLIP-compatible image target embedding via the projection module before cross-modal contrastive learning.

[0017] The projection module takes DreamSim image embeddings as input and first maps them to a 1024-dimensional representation consistent with OpenCLIP ViT-H / 14 image embeddings through a linear projection layer. The output of the projection module serves as the contrastive learning target for the image modality expert. The parameters of the projection module are jointly optimized with the cross-modal alignment training of the image modality expert, thereby adapting the projection results to the subsequent CLIP spatial links in terms of dimensionality and numerical distribution. Unlike directly using the OpenCLIP image encoder, this projection module takes DreamSim single image embeddings as input and its function is to complete the interface adaptation between the DreamSim representation and the existing CLIP conditional generation link, rather than extracting CLIP image embeddings from the original image again.

[0018] Auxiliary modality target embedding construction. Text modality information and deep modality information are encoded separately to obtain text target embedding and deep target embedding. The projected CLIP-compatible image target embedding, text target embedding, and deep target embedding are used as cross-modal alignment targets for three subsequent EEG modality experts.

[0019] Modal expert encoding and cross-modal alignment. The same EEG sample is paired with image, text, and depth data to form three modal data pairs: EEG-image, EEG-text, and EEG-depth. A corresponding modal expert encoder is set for each data pair. Each modal expert encoder uses a lightweight Transformer, spatiotemporal convolutional modules, and projection layers to extract the spatiotemporal representation related to the corresponding modality from the same preprocessed EEG signal, outputting image-associated EEG embeddings, text-associated EEG embeddings, and depth-associated EEG embeddings, respectively. Cross-modal contrastive learning is used to align the image-associated EEG embeddings with the projected CLIP-compatible image target embeddings, the text-associated EEG embeddings with the text target embeddings, and the depth-associated EEG embeddings with the depth target embeddings. The three modal expert encoders serve the three types of EEG-modal data pairs respectively, using mutually independent network parameters.

[0020] Diffusion Prior Mapping. The diffusion prior model is a conditional generation mapping module set between the cross-modal alignment module and the image generation model, used to learn the conditional distribution between EEG embeddings and corresponding modal target embeddings. During training, noise is progressively added to the CLIP embedding of the target modality, and the diffusion prior network is trained to predict and remove the added noise using the corresponding EEG embedding and diffusion time step as conditions. During inference, iterative denoising is performed using the current EEG embedding as a condition to obtain a reconstructed embedding compatible with the conditional space of the pre-trained image generation model. Compared with single deterministic linear regression, diffusion prior can model the conditional distribution of the uncertain mapping between EEG signals and visual target representations, thus making it suitable as a connection module between EEG embeddings and the pre-trained image generation model. The image-associated EEG embedding, text-associated EEG embedding, and deep-associated EEG embedding after cross-modal alignment are input into the corresponding diffusion prior models to obtain image reconstructed embeddings, text reconstructed embeddings, and deep reconstructed embeddings, respectively.

[0021] Conditional quality assessment and dynamic routing control. During the training phase, the cosine similarity between the normalized reconstructed text embedding and the text target embedding, as well as the cosine similarity between the normalized deep reconstructed embedding and the deep target embedding, are calculated. This cosine similarity is used as the training quality label for the corresponding auxiliary branch; a higher similarity indicates that the reconstructed embedding is closer to the real target embedding and the auxiliary condition is more reliable. The conditional quality assessment module takes the auxiliary branch reconstructed embedding as input and the training quality label as supervision to learn how to predict the corresponding sample-level quality score when the real target embedding is not provided.

[0022] During the inference phase, instead of using the original stimulus image, real text target embedding, or real depth target embedding, the text reconstruction embedding and depth reconstruction embedding generated from the current EEG sample are input into a pre-trained conditional quality assessment module to obtain prediction quality scores for two auxiliary branches. This design completes low-quality auxiliary modality judgment in actual EEG visual reconstruction and does not form cyclic conditions dependent on the original image to be reconstructed.

[0023] A dynamic routing controller is set between the diffusion prior model and the diffusion generation model. The dynamic routing controller uses the prediction quality of the text branch and the deep branch as the routing basis, and outputs continuous routing weights applied to the two auxiliary branches respectively. Specifically, the prediction quality of the text branch and the deep branch is compared, and the branch with lower quality is identified as a candidate low-quality auxiliary mode. If the quality of the candidate low-quality auxiliary mode is lower than the reliability threshold determined on the validation set, or if the quality difference between it and the other auxiliary branch reaches a preset difference, the continuous routing weight of that branch is reduced. If both auxiliary branches meet the reliability requirements, the continuous routing weights of both branches are set to one.

[0024] The output layer of the conditional quality assessment module uses a sigmoid function to limit the prediction quality of the text branch and the deep branch to between zero and one. The continuous routing weight of the reliable auxiliary branch remains one. For candidate low-quality auxiliary modalities with quality below the reliability threshold, a continuous routing weight between zero and one is determined according to the ratio of their prediction quality to the threshold, so that branches with lower prediction quality receive less control strength. The continuous routing weight does not change the semantic content of the reconstructed embedding, but rather scales the output strength of the corresponding conditional adapter: when the weight is one, the original control strength is maintained; when the weight is between zero and one, the impact of the auxiliary branch on the diffusion denoising process is reduced; and when the weight is zero, the branch is masked.

[0025] Multi-path conditional generation and low-quality auxiliary modality dynamic suppression. The diffusion generation model employs SDXL-Turbo and uses three independent IP-Adapter conditional interfaces to receive reconstructed embeddings from three branches: the image branch uses a full IP-Adapter to provide the main visual content conditions, the text branch uses IP-Adapter-Style, and the depth branch uses IP-Adapter-Layout. Each conditional adapter converts the corresponding reconstructed embedding into a conditional representation that is injected into the SDXL-Turbo cross-attention layer.

[0026] During generation, the image reconstruction embedding is used as a persistently preserved visual backbone condition. Based on the continuous routing weights output by the dynamic routing controller, the output strengths of the text and depth conditional adapters are adjusted separately, allowing the two auxiliary branches to participate in diffusion denoising according to their corresponding weights. The three branches maintain independent conditional injection channels, without simple averaging, summing, or concatenation. Therefore, the dynamic routing controller only weakens the low-quality auxiliary modalities in the current sample, without changing the image backbone condition or another reliable auxiliary condition.

[0027] This invention maintains independent condition control channels for image, text, and depth branches, and independently adjusts the control strength of text and depth auxiliary conditions through continuous routing weights. When the quality of a certain auxiliary branch is low, its influence is reduced separately, thus avoiding low-quality information from directly interfering with other reliable conditions in the fixed fusion stage.

[0028] Image performance evaluation. For each sample in the test set, CLIP semantic similarity, DreamSim perceptual distance, SSIM, PixCorr, and classification accuracy were calculated and averaged. CLIP semantic similarity was calculated as the cosine similarity of the normalized CLIP embedding; DreamSim perceptual distance was calculated as the cosine distance of the normalized DreamSim embedding; SSIM was calculated based on brightness, contrast, and structure terms; PixCorr was the Pearson correlation coefficient for the corresponding pixel; and classification accuracy was the proportion of samples whose classification results matched the true category out of the total number of test samples. Each metric was compared with a control experiment using the complete model and with DreamSim projection alignment removed, dynamic routing removed, and all auxiliary conditions fixed. CLIP similarity is used to compare the semantic consistency of two images in the CLIP embedding space; a higher value indicates greater semantic similarity. SSIM measures the consistency of brightness, contrast, and structural information; a higher value indicates greater structural similarity. PixCorr measures the consistency of corresponding pixel changes; a higher value indicates greater similarity in low-level visual information. Classification accuracy is used to determine whether the generated image can be recognized by a pre-trained classification model as the same target category as the original stimulus. The effects of DreamSim embedding projection alignment and low-quality auxiliary modal dynamics suppression are verified through ablation settings such as no DreamSim embedding projection alignment, no low-quality auxiliary modal dynamics suppression, and fixed use of all auxiliary conditions.

[0029] The contents not described in detail in this specification are existing technologies known to those skilled in the art.

[0030] It should be noted that the above embodiments are used to explain the technical features of the present invention. Equivalent substitutions, improvements, and modifications made without departing from the concept of the present invention should all fall within the protection scope of the present invention, which is defined by the claims.

Claims

1. A method for reconstructing multimodal conditional images from electroencephalography (EEG), characterized in that, Includes the following steps: (1) Collect the EEG signals generated by the subject under the visual stimulus task, and obtain the image data corresponding to the visual stimulus; generate text data and depth data based on the image data, and construct a multimodal sample set corresponding to EEG-image-text-depth; (2) The EEG signals are preprocessed to obtain EEG input samples for training and reasoning; (3) Call the DreamSim single image embedding interface to obtain the DreamSim image embedding corresponding to the image data, and convert the DreamSim image embedding into CLIP-compatible image target embedding that is compatible with the subsequent contrastive learning and image generation link through the projection module; encode the text data and depth data respectively to obtain text target embedding and depth target embedding; form three modal data pairs of EEG-image, EEG-text and EEG-depth with the same EEG sample, respectively, and set modal expert encoders for the three modal data pairs to obtain image-associated EEG embedding, text-associated EEG embedding and depth-associated EEG embedding; align the three EEG embeddings with the CLIP-compatible image target embedding, text target embedding and depth target embedding respectively through cross-modal contrastive learning; (4) Input the image-associated EEG embedding, text-associated EEG embedding and deep-associated EEG embedding after cross-modal alignment training into the corresponding diffusion prior models respectively; and convert the three types of EEG embeddings into image reconstruction embedding, text reconstruction embedding and deep reconstruction embedding in CLIP embedding space respectively; (5) Calculate the cosine similarity between the text reconstruction embedding and the text target embedding output by the text branch, and the cosine similarity between the deep reconstruction embedding and the deep target embedding output by the deep branch; the former is used to characterize the semantic reconstruction quality of the text branch, and the latter is used to characterize the spatial structure reconstruction quality of the deep branch; use the above two cosine similarities as quality supervision signals to train the conditional quality assessment module; input the text reconstruction embedding and deep reconstruction embedding generated by the current EEG sample into the trained conditional quality assessment module to obtain the quality scores corresponding to the text branch and the deep branch; the text branch and the deep branch are collectively referred to as auxiliary branches, and the prediction quality referred to in this paper is the quality score; (6) Set up a dynamic routing controller between the diffusion prior model and the diffusion generation model, obtain the quality scores of the text branch and the depth branch in the current sample respectively, and output the continuous routing weights applied to the text branch and the depth branch respectively; compare the quality scores of the two branches for the current EEG sample, and determine the auxiliary branch with the lower quality score and that does not meet the preset reliability requirements as the low quality auxiliary mode; when both auxiliary branches meet the preset reliability requirements, set both routing weights to one. (7) The image reconstruction embedding is used as the visual backbone condition that is continuously retained; the text reconstruction embedding and the depth reconstruction embedding are converted into conditional features of the injection diffusion generation model cross attention layer by the corresponding conditional adapters, and multiplied by the corresponding continuous routing weights to obtain the adjusted text conditional features and depth conditional features. When the routing weight is one, the original output strength of the conditional adapter is maintained; when it is between zero and one, the output strength is reduced proportionally; when it is zero, the corresponding auxiliary branch is blocked. Then, the three branches are connected to the diffusion generation model through three independent conditional interfaces to generate the target reconstructed image; (8) Calculate CLIP semantic similarity, DreamSim perceptual distance, SSIM, PixCorr and classification accuracy between the reconstructed image and the original image, evaluate the image reconstruction effect and the role of DreamSim embedding projection alignment and low-quality auxiliary modality dynamic suppression.

2. The method according to claim 1, characterized in that, In step (1), BLIP2 is used to generate the text data based on the image data, and Depth Anything is used to generate the depth data based on the image data; the depth data is a depth map corresponding to the visual stimulus image, and its pixel values ​​are used to represent the depth relationship of each position in the image relative to the observation viewpoint and the spatial layout of the scene.

3. The method according to claim 1, characterized in that, In step (3), the projection module takes the DreamSim image embedding as input and maps it to a 1024-dimensional representation consistent with the OpenCLIP ViT-H / 14 image embedding through a linear projection layer; the output of the projection module serves as the contrastive learning target of the image modality expert, and the parameters of the projection module are jointly optimized with the cross-modal alignment training of the image modality expert.

4. The method according to claim 1, characterized in that, In step (4), the diffusion prior model is used to learn the conditional distribution between the EEG embedding and the target embedding of the corresponding modality. Noise is gradually added to the CLIP embedding of the target modality, and the diffusion prior network is trained to predict and remove the added noise using the corresponding EEG embedding and diffusion time step as conditions. During inference, the current EEG embedding is used as a condition for iterative denoising to obtain a reconstructed embedding that is compatible with the conditional space of the pre-trained image generation model.

5. The method according to claim 1, characterized in that, In step (6), the diffusion generation model generates a target reconstructed image in the latent space of the image based on the reconstruction embedding. It uses SDXL-Turbo and receives condition signals from three branches through three independent IP-Adapter condition interfaces. The three independent condition interfaces are three independent IP-Adapter condition interfaces, where the image branch uses the full IP-Adapter, the text branch uses the IP-Adapter-Style, and the depth branch uses the IP-Adapter-Layout. Each IP-Adapter condition interface converts the corresponding reconstruction embedding into a conditional representation injected into the SDXL-Turbo cross-attention layer.

6. The method according to claim 1, characterized in that, In step (8), the CLIP semantic similarity is the cosine similarity of the normalized CLIP embedding, the DreamSim perceptual distance is the cosine distance of the normalized DreamSim embedding, the SSIM is calculated based on brightness, contrast and structure terms, the PixCorr is the Pearson correlation coefficient of the corresponding pixel, and the classification accuracy is the proportion of the number of samples whose classification results are consistent with the true category to the total number of test samples.