Skip to main content
Advertisement
  • Loading metrics

MIRAGE: Robust multi-modal architectures translate fMRI-to-image models from vision to mental imagery

  • Reese Kneeland ,

    Roles Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing

    reesekneeland@gmail.com

    Affiliations University of Minnesota, Minneapolis, Minnesota, United States of America, Medical AI Research Center (MedARC), San Francisco, California, United States of America

  • Cesar Kadir Torrico Villanueva ,

    Roles Formal analysis, Investigation, Methodology, Software, Visualization, Writing – original draft

    ☯ Core contribution.

    Affiliation Medical AI Research Center (MedARC), San Francisco, California, United States of America

  • Tong Chen ,

    Roles Formal analysis, Methodology, Software, Validation, Writing – original draft

    ☯ Core contribution.

    Affiliations Medical AI Research Center (MedARC), San Francisco, California, United States of America, University of Sydney, Sydney, Australia

  • Jordyn Ojeda,

    Roles Formal analysis, Software, Visualization, Writing – original draft

    Affiliation University of Minnesota, Minneapolis, Minnesota, United States of America

  • Shubh Khanna,

    Roles Formal analysis, Investigation, Software, Visualization

    Affiliation Stanford University, Palo Alto, California, United States of America

  • Jonathan Xu,

    Roles Investigation, Validation, Visualization

    Affiliations Medical AI Research Center (MedARC), San Francisco, California, United States of America, Alljoined, San Francisco, California, Unites States of America

  • Paul S. Scotti,

    Roles Project administration, Validation, Writing – original draft

    Affiliations Medical AI Research Center (MedARC), San Francisco, California, United States of America, Sophont, San Francisco, California‌‌, Unites States of America, Princeton Neuroscience Institute, Princeton, New Jersey,‌‌ United States of America

  • Thomas Naselaris

    Roles Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Writing – original draft, Writing – review & editing

    Affiliation University of Minnesota, Minneapolis, Minnesota, United States of America

Abstract

To be useful for downstream applications, vision decoding models that are trained to reconstruct seen images from human brain activity must be able to generalize to internally generated visual representations, i.e., mental images. In an analysis of the recently released NSD-Imagery dataset, we demonstrated that while some modern vision decoders can perform quite well on mental image reconstruction, some fail, and that state-of-the-art (SOTA) performance on seen image reconstruction is no guarantee of SOTA performance on mental image reconstruction. Motivated by these findings, we developed MIRAGE, a method explicitly designed to train on vision datasets and cross-decode mental images from brain activity. MIRAGE employs a linear backbone and multi-modal text and image features as input to a diffusion model. Feature metrics and human raters establish MIRAGE as SOTA for mental image reconstruction on the NSD-Imagery benchmark. With ablation analysis we show that mental image reconstruction works best when decoders use image features with relatively few dimensions and include guidance from text-based and both high- and low-level image-based features. Our work indicates that–given the right architecture–existing large-scale datasets using external stimuli are viable training data for decoding mental images, and warrant optimism about the future success and utility of mental image reconstruction.

Author summary

Recent research has focused on developing “vision decoding models” that reconstruct images a person is currently viewing. While scientifically impressive, we argue that the tremendous potential of this technology lies in externalizing mental images—the private, internal world of our thoughts—rather than simply decoding what is already visible to the naked eye. This capability is a necessary step towards future applications, such as diagnostic instruments and communication tools for patients with disorders of communication or consciousness. In this study, we demonstrate that state-of-the-art vision decoding models are often not state-of-the-art when it comes to decoding mental imagery, and that the field’s current focus on complex architectures optimized for vision has led to models that are often too fragile to capture the fainter, noisier signals of the imagination. We introduce MIRAGE, a method explicitly designed to bridge this gap by prioritizing robustness over complexity. Our findings indicate that making progress toward practical brain-computer interfaces requires a shift in focus: researchers must target mental imagery directly rather than assuming vision-based performance will translate in the service of impactful downstream use-cases.

1. Introduction

The ability to decode and reconstruct mental images—internally generated visual representations not driven by sensory input—from brain activity has tremendous potential for downstream applications such as brain-computer interfaces and medical diagnostics for patients with disorders of communication or consciousness. Externalizing mental images also provides insights into cognitive processes that would be otherwise inaccessible.

Recent research on decoding has focused on developing “vision decoding models” that are trained and tested on brain responses to seen images. To utilize such vision decoding models for the downstream applications we envision, it is important to demonstrate that these vision decoding models generalize well when tested on mental imagery. An evaluation of a suite of high-performing vision decoding models on the recently-released NSD-Imagery dataset [1]–which contains samples of brain activity patterns measured with 7T fMRI in human subjects as they generate mental images–has revealed that decoding performance on seen images is a poor predictor of decoding performance on mental images: while some of the vision decoders evaluated performed quite well on mental image reconstruction, some failed, and state-of-the-art (SOTA) performance on seen image reconstruction was no guarantee of SOTA performance on mental image reconstruction. This indicates that making progress toward a decoder with practical utility will require careful consideration of the factors that make mental image reconstruction challenging, and of the attributes that make vision decoders more or less likely to generalize. To that end, we present the following contributions:

  1. We introduce MIRAGE (Mental Image Reconstruction using Advanced Generative ModEls), demonstrating that the principled integration of linear decoding backbones with low-dimensional multi-modal feature spaces is an effective technique for enabling cross-decoding of internally generated mental images from vision-only training data.
  2. We establish MIRAGE as a SOTA mental imagery decoding method by comparing evaluations across a broad selection of image feature metrics and human preference ratings derived from large-scale behavioral experiments.
  3. We conduct a detailed ablation analysis to provide empirical evidence for the architectural choices that facilitate generalization from seen to mental image reconstruction, and identify the specific technical reasons why MIRAGE successfully generalizes to NSD-Imagery where MindEye2 and other more complex vision decoding models fail (Fig 1).
thumbnail
Fig 1. MIRAGE (ours) vs MindEye2 [2] reconstructions of an imagined image from fMRI brain activity.

https://doi.org/10.1371/journal.pcbi.1014263.g001

1.1. Related work

[3] Basic neuroscience has demonstrated an extensive overlap in the representation of seen and mental images [48]. Nonetheless, differences between vision and mental imagery make cross-decoding from vision to imagery challenging [9,10]. Compared to vision, brain activity during mental imagery has a lower signal-to-noise ratio (SNR) [11], varies along fewer signal dimensions [12], and encodes imagined stimuli with less spatial resolution [13,14].

Previous studies have reported successful n-way classification of mental images [9,15,16], retrieval of mental images of natural scenes using a visual encoding model [7,17], and reconstruction of simple blobs, letters, or singular natural objects [6,1822]. With the open releases of CLIP [23], Stable Diffusion [24], and large-scale fMRI datasets like NSD [25], newer vision decoding models now yield highly accurate reconstructions of natural scenes [2636]. These methods map fMRI brain activity patterns to embeddings of pre-trained deep learning models that are used to drive a diffusion model [2,3739] to generate image reconstructions of the content present in visual cortex.

Tests of open-source vision decoding models [2,21,2629] on mental imagery activity in the NSD-Imagery dataset [1] showed that improved performance on vision decoding does not necessarily translate to mental imagery decoding. For example, MindEye2 [2] was the SOTA model on the test set of NSD, but not on the imagery trials of NSD-Imagery (Fig 1). Furthermore, in that study it was observed that methods with linear backbones, compact representations, and multimodal guidance yielded the best performance. We interpreted these observations as follows: First, [40] showed that linear mappings from CLIP to brain activity explains much of variance in activity in visual cortex. Thus, we should expect linear methods to work quite well when decoding CLIP. Second, as models increase in complexity, the risk of overfitting to noise in the input increases; this danger is especially acute in our case, given that imagery has very low SNR. Thus, representations with fewer dimensions are to be favored, all else being equal. Third, imagery and visual activity are most aligned in brain areas with language-like representations ([3,9,13]). Thus, it would make sense to include high-quality language-like representations in the decoding pipeline for mental imagery. These ideas informed the design of MIRAGE. Our results, including detailed ablation analyses, support our reasoning, and explain why MIRAGE is SOTA for mental image reconstruction.

2. Results

To generate baseline reconstructions for the NSD-Imagery benchmark, we utilized the official open-source implementations provided by the authors of each method, and sampled 10 reconstructions from the posterior distribution of each model for our analysis. The mental image reconstructions produced by MIRAGE (Fig 2 and H) are noticeably more faithful to the ground truth images the subjects were instructed to imagine than Brain Diffuser (the previous SOTA model applied to NSD-Imagery), and the other methods we evaluate against. For simple stimuli, the overall structure and orientation of the ground truth images are noticeably improved. For complex stimuli, we successfully reconstruct images that contain similar categories and themes—such as donuts, a man riding a surfboard, an animal with a beak—and with notably improved structural accuracy for complex objects such as the pose of the surfer and the position of the donuts. For conceptual stimuli, the images reconstructed clearly reflect content that is related or identical to the corresponding concept word, with a zebra for “zebra”, a cat for “mammal”, and a recognizable banana for the “banana” prompt.

thumbnail
Fig 2. Qualitative comparison of reconstruction methods on imagined stimuli from NSD-Imagery.

Reconstructions selected are the outputs sampled from each method and stimulus with the highest scores on all of the‌‌ image feature metrics in Table 1. Examples from more methods can be seen in Appendix A.5 in S1 Text.

https://doi.org/10.1371/journal.pcbi.1014263.g002

thumbnail
Table 1. Quantitative comparison between reconstruction methods for both imagery and vision trials on simple and complex stimuli (conceptual stimuli have no ground truth images).

PixCorr is the pixel-level correlation score. SSIM is the structural similarity index metric [41]. AlexNet(2) and AlexNet(5) are the 2-way comparisons (2WC) of layers 2 and 5 of AlexNet [42]. CLIP is the 2WC of the output layer of the CLIP ViT-L/14 Vision model [23]. Inception is the 2WC of the last pooling layer of InceptionV3 [43]. EffNet-B and SwAV are distance metrics gathered from EfficientNet-B13 [44] and SwAV-ResNet50 [45] models. Each brain correlation score is calculated using voxels from within the respective regions of the visual cortex. For EffNet-B and SwAV distances, lower is better. For all other metrics, higher is better. Bold indicates best performance, and underlines second-best performance. Additional details on the metrics used, including explanations of 2-way comparisons and brain correlation scores, are in Appendix A.6 in S1 Text. A breakdown of model performance across the different types of stimuli is in Appendix A.9 in S1 Text. Details for our implementation of iCNN are provided in Appendix A.15 in S1 Text.

https://doi.org/10.1371/journal.pcbi.1014263.t001

Vision reconstructions for simple and complex stimuli (Fig B and G in S1 Text) also perform well, despite vision decoding performance not being our primary target. The simple stimuli reconstructions are less visually distorted as a result of our low-level guidance, and the complex stimuli hold up well to previous methods. Median and worst-case reconstructions are in Fig C, D, E, F, I, J, K, and L in S1 Text.

2.1. Feature metric evaluations

We provide performance benchmarks against existing methods evaluated on NSD-Imagery [1] using the metrics in Table 1. For all methods, we output 10 reconstructions per test sample from each method and report averaged metrics across them. Metrics can fluctuate due to the stochastic nature of fMRI-to-image models, and this averaging step increases the reliability of results. Statistical significance measures can be found in Table A in S1 Text. Across the majority of metrics, MIRAGE shows SOTA performance on mental image reconstructions. We note that although these metrics are often used as a proxy for human judgment, many research efforts have established that these metrics do not closely approximate or align with human assessments of content [49] or quality [50]. We observe that they are particularly volatile with a dataset as small as NSD-Imagery. For this reason, we provide extensive behavioral evaluations of our results by human raters in Section 2.2. Benchmarks separated by stimulus type are provided in Tables C and D in S1 Text. Results of our method on the NSD shared1000 test set are also provided in Table B in S1 Text.

2.2. Human ratings of reconstruction quality

To ensure downstream applicability, reconstruction methods must produce outputs that are meaningful to human observers. Although we report standard image feature metrics, prior work indicates that these automated scores often dissociate from human perceptual judgments of quality and semantic content [2,49,50]. These factors, in addition to the high volatility of automated metrics on small datasets such as NSD-Imagery, lead us to treat human evaluation as the definitive standard for assessing model performance. We thus conducted several large-scale online behavioral experiments in which human raters (n = 500) assessed the quality of the reconstructions (See Appendix A.14 in S1 Text).

Experiment 1 To perform a systematic controlled experiment analyzing our results, we had human raters perform a 2-alternative forced choice (2AFC) judgment about whether a reconstruction was more similar to the ground truth image than a randomly selected “distractor” reconstruction of a brain activity pattern originating from a different stimulus that was sampled from the same stimulus type, method, and NSD subject. Results (Table 2) confirm MIRAGE as SOTA for every stimulus type (p < 0.001)‌‌ (Fig 3).

thumbnail
Fig 3.

Human similarity scores for simple and complex stimuli: X-axis = vision, Y-axis = imagery; each point is the mean over 12 samples (larger bold points are the overall means), colored/shaped by method.PCA-fit slopes closer to unity indicate tighter imagery–vision correspondence; dashed unity line shown.

https://doi.org/10.1371/journal.pcbi.1014263.g003

Experiment 2 Human raters viewed a ground truth image, a reconstruction of that stimulus from a vision trial, and a reconstruction of the same stimulus from an imagery trial. Raters provided continuous measures of similarity between each reconstruction and the ground truth image. The rating provided a direct comparison of the similarity between vision and imagery reconstructions. MIRAGE shows SOTA generalization from vison to imagery [40].

Experiment 3 Mental image reconstructions of the conceptual stimuli are particularly difficult to evaluate, as they do not have associated ground truth images or a meaningful match to vision trials. To compare the performance of our method on these stimuli relative to other models trained on NSD, we conducted a third behavioral experiment that pitted reconstruction methods head-to-head by presenting human raters with a ground truth conceptual stimulus and two reconstructions of that stimulus sampled at random from the collection of methods we evaluate against in this work. Every trial in this experiment is a head-to-head comparison between two random reconstruction methods, and so over the course of the whole experiment, we gather lots of trials between all combinations of two methods. The “similarity score advantage” is the average difference between one method and another across the trials where both methods were presented. Fig 4A plots the average “similarity score advantage” for all combinations of methods. Reconstructions from our method are the most strongly preferred in head-to-head comparisons (p < 0.001) and have the largest advantage in all comparison cases evaluated (Table 2).

thumbnail
Fig 4. (A) Head-to-head human similarity score results for the conceptual stimuli.The Y-axis represents the similarity score advantage (difference between target method’s score and the alternative, on the radial X-axis); a larger colored polygon area indicates a stronger advantage, and the dashed circle at unity denotes equal performance. MIRAGE outperforms all other methods (p < 0.001). (B) Ablation analyses: model variants (numbered circles) under each ablation type (color) are assessed via the normalized average of all feature metrics (Table 1), with vision on the x-axis and imagery on the y-axis. The standard error of each point along each axis is visualized with a shaded ellipse of the same color. For details on how we compute the normalized average metric scores, see Appendix A.6.1 in S1 Text.

https://doi.org/10.1371/journal.pcbi.1014263.g004

thumbnail
Table 2. Human identification accuracy scores for the vision and mental imagery trials of the NSD-Imagery benchmark.

Scores are provided for each method and stimulus type; best values are bolded and second best underlined (chance = 50%, all p < 0.001).

https://doi.org/10.1371/journal.pcbi.1014263.t002

2.3. Ablation study

We systematically ablated model components to identify which were most important for mental imagery reconstruction. Colored numeric identifiers refer to Fig 4B. MIRAGE is identified as (1). We also provide a hyperparameter search over the ridge parameter in Appendix A.1 in S1 Text.

Low-Level Module We found that despite the relatively low spatial resolution of mental imagery, the low-level decoding module provides much of the needed structure to accurately reconstruct the target stimulus (3). We also observe that our image filtering technique induces a small performance increase for mental imagery reconstructions (2), suggesting that this technique partially mitigates the loss of structural detail in mental vs. seen image reconstructions.

Retrieval Module We see a notable boost from our retrieval procedure (4), demonstrating that high-dimensional image embeddings can be decoded and used to guide a retrieval module to improve performance, even if those same embeddings are not suitable to drive an image generator.

Caption Types We examine the results of using COCO captions (5), as well as a set of synthetic “short” captions (6) that aim to replicate the length of the COCO captions (the median word count is 8 vs 10 for COCO), and evaluate the quality of captions provided by LLaVA v1.5-13B. These short synthetic captions did not provide a boost over COCO, but the longer synthetic captions (average word count = 34) utilized in our final method (1) provided an improvement.

Diffusion Features We replaced the 1 × 768 image embeddings and 77 × 1280 text embeddings used to drive Stable Cascade with the features used to drive Versatile Diffusion in MindEye1 and Brain Diffuser (7) [39] (257 × 768 image embedding, 77 × 768 text embedding), and SDXL unCLIP [2], the embedding used to drive MindEye2 (8,9) (257 × 1664 image embedding). Our smaller image embedding and larger text embedding provided the most robust guidance for reconstructing mental images (1).

Guidance Modality For both vision and mental imagery, image-only guidance (10) to Stable Cascade afforded better performance than text-only guidance (11). In both cases, but especially for mental imagery, the combination of text and image guidance (1) provided a large performance boost, suggesting that multimodal guidance plays an important role for mental imagery reconstruction.

Backbone Architecture The MLP backbone and diffusion prior architectures of MindEye1 (14,15) and MindEye2 (12,13) perform worse than our ridge regression backbone (1) for both vision and mental imagery, suggesting that these architectures tend to overfit to the training data in the core NSD experiment. Evidently, the potential for increased expressivity afforded by an MLP is a disadvantage when attempting to generalize vision reconstruction performance to new sessions and stimulus types, or to mental imagery.

Scaling Behavior We assess the scaling behavior of MIRAGE and other decoding pipelines with respect to the number of trial repetitions folded into the brain activity averages (Appendix A.10 in S1 Text), and the number of training data hours (Appendix A.11 in S1 Text). In both cases, the scaling behavior of MIRAGE outperforms all other decoding pipelines.

Contribution of the Natural Image Prior To assess the relative contributions of the natural image prior on reconstruction performance, we implemented two systematic controls. First, in Experiment 1, distractor images were generated by decoding randomly selected brain activity patterns. Thus, both target and distractor outputs were equally shaped by the diffusion prior. The high identification accuracy observed (p < 0.001; see Table 2) therefore reflects genuine signal decoding rather than the prior’s semantic bias. Second, we assessed reconstruction performance across varying strengths of diffusion guidance. We found that reconstructions with minimal guidance (with nearly pure VDVAE decoding) remained highly identifiable, while increasing guidance strength primarily enhanced image quality rather than semantic content (Fig P in S1 Text), mitigating recent concerns about the authenticity of fMRI-to-image reconstructions [51,52].

3. Discussion

In this work, we addressed the challenge of generalizing fMRI decoding models from visual perception to mental imagery, investigating the specific architectural constraints required to robustly reconstruct internal mental states using models trained exclusively on seen images. Specifically, we sought to identify why state-of-the-art vision decoders fail on mental imagery, and how to bridge the signal-to-noise gap between these two modalities. MIRAGE improves mental imagery reconstruction over vision reconstruction pipelines shown to be SOTA on NSD shared1000 test samples (i.e., MindEye2 [2]) and on the NSD-imagery dataset (i.e., BrainDiffuser [28]). Ablation studies revealed that the keys to the success of MIRAGE are (1) a simple linear decoding backbone, (2) a reduction in the dimension of latent image representations, and (3) the inclusion of high-quality multi-modal guidance to the diffusion model.

3.1. Neuroscientific interpretations

Our ablation studies (Section 2.3) identify two critical factors for generalization: reduced feature dimensionality and the inclusion of text-based guidance. These empirical results align with known properties of the visual cortex. First, the success of lower-dimensional image embeddings likely reflects the reduced signal-to-noise ratio (SNR) and coarser spatial resolution of mental imagery compared to vision [12,13]. High-dimensional embeddings, while expressive for high-SNR vision trials, are empirically prone to overfitting and harming generalization to the noisier imagery signal.

Second, the efficacy of text guidance supports our hypothesis that mental imagery relies heavily on semantic representations. Previous work has demonstrated that natural language supervision improves encoding models of higher-level visual cortex [3], suggesting that these regions encode visual information in a format that is semantically aligned with language. Higher-level visual cortex is also the area of the brain that most heavily overlaps with activations created by mental imagery [13], and so by incorporating text embeddings, we speculate that MIRAGE taps into this semantic overlap, allowing the model to stabilize reconstructions even when fine-grained visual details in the brain signal are degraded.

3.2. Societal Impact

Our work is a necessary step towards applications of mental image reconstruction, including diagnostic instruments for psychiatric conditions [53] and disorders of consciousness [5456], as well as expressive alternative communication methods for patients with traumatic brain injuries [57], amyotrophic lateral sclerosis (ALS) [58], and locked-in syndrome [59]. While a significant fraction of this communicative value could be provided by a “concept decoder” whose output is linguistic or otherwise compressed, however, visual representations of internal states could complement linguistic representations, for example by revealing how a specific concept or text prompt is visually interpreted. As the saying goes, ’a picture is worth a thousand words’. While our work makes no claims about being able to decode what is unique and idiosyncratic about a specific individual’s mental imagery, it does represent a first step towards customized bespoke representations of internal states, and is a very literal attempt at this goal motivated by the overlap between representations of vision and mental imagery, and measured against a known ground truth visual stimulus image.

Of course, the development of this technology raises concerns about the potential for misuse [60]. We propose that when deployed in a clinical setting, brain decoding should be defined as a medical procedure that yields private health information and should therefore be subject to all relevant laws pertaining to patient consent, risk / benefit assessment, and the protection of privacy. In all other settings, it seems obvious that laws governing brain decoding should require informed consent and, where necessary, parental guidance.

3.3. Current limitations

The MIRAGE method does exhibit some notable weaknesses and biases when applied to NSD-Imagery. The median and worst case reconstructions from MIRAGE and other methods can be seen in Appendix A.4 in S1 Text, and in particular we note how the method is heavily influenced by the prior of the NSD training dataset. Objects that are more well represented in NSD, such as surfers, tend to be reconstructed much more successfully than objects more sparsely observed, such as birds. This is seen even more clearly on the simple stimuli, which are not represented at all in NSD (which contains only natural scenes), and so MIRAGE and other methods tend to produce reconstructions with consistent low-level structural features, but seemingly random semantic content reconstructed in the details of the image.

The NSD-Imagery dataset utilized as a validation set for this work also presents a limitation, as it contains only 18 stimuli, and thus does not allow for large-scale model training or fine-tuning of existing vision decoding models, necessitating a cross-decoding approach. Future models for downstream applications would surely be improved by training or fine-tuning on mental imagery datasets. Such datasets must be a priority for research in this space.

In addition to dataset availability, practical clinical implementation faces the challenge of data acquisition time per subject. Collecting the volume of fMRI data typically required to train robust decoding models is often infeasible for patient populations, however, recent advancements in the “novel subject” problem, such as MindEye2 [2], have demonstrated the potential to fine-tune models on as little as one hour of data by leveraging pre-training on large public datasets. While current data-efficient methods struggle to generalize to mental imagery, we anticipate that future research will bridge this gap, and our results suggest a linear backbone with multimodal guidance to be a promising direction for future subject-adaptive mental imagery decoding.

Currently, the computational requirements to run these models are also an obstacle to realizing medical applications. We trained our ridge regression modules on computing hardware with 512GB of RAM and performed inference for our models using an NVIDIA A100 with 40GB of VRAM. The requirement of such hardware limits the use of our method to researchers with considerable compute resources.

All of these limitations we believe to be rich ground for future work, and we look forward to follow-up research addressing them in more detail.

4. Methods

4.1. NSD-imagery dataset

To evaluate model performance on internally generated visual representations, we utilize the NSD-Imagery dataset, an extension of the Natural Scenes Dataset (NSD) [25] where the same eight subjects completed a session of additional mental imagery tasks. For a full description of the dataset, please see [1]. This dataset consists of high-resolution 7T fMRI responses collected using identical acquisition protocols to NSD.

4.1.1. Stimuli.

Prior to scanning, participants in the NSD-Imagery experiment memorized a unique single-letter cue associated with each of the 18 stimuli (Fig 5), which span three distinct categories to assess reconstruction across varying levels of visual and semantic complexity:

  1. (A) Simple Stimuli: Six geometric shapes constructed from black bars on a gray background, including four oriented bars (0°, 45°, 90°, 135°) and two crosses (“+” and “ד).
  2. (B) Complex Stimuli: Five natural scenes selected from the NSD shared1000 set and one artwork (“The Two Sisters” by Kehinde Wiley), chosen based on recognizability scores from the original NSD sessions.
  3. (C) Conceptual Stimuli: Six abstract single-word concepts (e.g., “stripes”, “mammal”, “banana”) rather than specific fixed images. As the vision trials for these concepts involved viewing multiple variant images, we exclude the vision trials for this condition and evaluate only on the imagery trials.
thumbnail
Fig 5. Overview of the tasks utilized for the NSD-Imagery benchmark.

https://doi.org/10.1371/journal.pcbi.1014263.g005

4.1.2. Task protocol.

The experiment consisted of alternating run types. In Vision Runs, participants viewed the target image and its corresponding letter cue for 3 seconds, followed by a 1-second rest. Participants performed a one-back task indicating via button press if the image matched the cue. In Imagery Runs, participants were presented only with the letter cue and an empty frame (spanning 8.4° × 8.4° visual angle) for 3 seconds. They were instructed to vividly visualize the corresponding stimulus projected into the frame. This was followed by a 1-second rest and a button-press vividness rating. We note that the NSD-Imagery data were collected in a dedicated scanning session separate from the main NSD experiment. Consequently, none of the trials in this dataset were used to train MIRAGE or any other vision decoding models evaluated in this work, which were trained exclusively on the separate visual presentation trials from the NSD core dataset. Furthermore, within the NSD-Imagery session, vision and imagery trials were separated into distinct runs. Vision runs were presented prior to imagery runs to ensure participants correctly recalled the stimuli, but the temporal separation ensures that the decoding of mental imagery is not confounded by hemodynamic responses from preceding visual stimuli. Because there is no session overlaps between the training set (NSD) and the test set (NSD-Imagery), there are also no temporal relationships or block paradigm artifacts for the model to exploit during inference.

4.2. MIRAGE

4.2.1. Datasets.

Our method is trained exclusively on the Natural Scenes Dataset (NSD) [25] which consists of between 22k and 30k fMRI-image pairs per subject (8 subjects). NSD stimuli are sourced from the Common Objects in Context dataset (COCO) [61]. We train models for subjects 1, 2, 5, and 7, as only these subjects completed the full 30k trials of the NSD experiment. We applied the provided nsdgeneral voxel mask at a 1.8 mm resolution to the preprocessed fMRI signals, encompassing numerous visual areas ranging from the early visual cortex to higher-level visual regions. Data from the other 4 NSD subjects are used as a hyperparameter tuning set, as discussed in Section 4.2.3.

To evaluate performance on mental images—our primary decoding target—we apply our method to the NSD-Imagery benchmark discussed in Section 4.1, a small extension of NSD where the same subjects completed mental imagery trials.

4.2.2. Methodology.

We propose a model, (MIRAGE), that respects two important desiderata for decoders that generalize well from vision to mental imagery:

Reduced model complexity to accommodate the relatively low SNR of mental imagery activity. Complex, expressive models trained in a high SNR regime may exhibit unacceptably high levels of error variance when tested in a lower SNR setting [62]. Brain activity is known to have much lower SNR during mental imagery than it does during vision, and recent work [1] has found that relatively complex SOTA vision decoding pipelines generalize poorly when applied to mental images. Our decoding pipeline therefore prioritizes robustness over expressivity. In particular, we implemented a linear ridge regression backbone (Fig 6)—in contrast to the non-linear MLP backbone use more commonly in vision decoding. Ridge regression is effective in high-dimensional, low-SNR ‌‌settings [66], and is singularly effective for aligning noisy brain activity patterns across individual brains [33].

thumbnail
Fig 6. MIRAGE training pipeline.

(1) Brain activity (7T fMRI) acquired as NSD subjects view > 10K stimuli. (2) Stimuli are passed to VDVAE encoder [37] yielding (1 × 91168) latents (3) LLaVA v1.5-13B [63,64] generates synthetic captions. (4) Captions are encoded into CLIP ViT-bigG/14 text embeddings (77 × 1280) [65]. (5) Stimuli are also passed through the CLIP ViT-L/14 image encoder [23] to generate both CLS token (1 × 768) and hidden layer (257 × 1024) image embeddings. (6) Parallel ridge regression modules are trained from the measured fMRI brain activity to the various feature spaces.

https://doi.org/10.1371/journal.pcbi.1014263.g006

Representational alignment to mental images. Brain activity patterns that represent seen and mental images, respectively, overlap in early visual cortex [7] where structural details of stimuli are encoded, but are most closely aligned in higher-level visual brain areas [13] that are known to represent semantic and/or linguistic aspects of stimuli [67]. Accordingly, our method drives an image generator with the CLS token of a CLIP ViT-L/14 image embedding, and incorporates multi-modal guidance from decoded CLIP ViT-bigG/14 text features (Fig 7).

thumbnail
Fig 7. MIRAGE inference pipeline.

(1) The NSD subjects imagine stimuli from letter cues under 7T fMRI. (2) A set of feature embeddings is predicted by passing the measured fMRI brain activity through our frozen ridge regression models. (3) The VDVAE [37] latents are reconstructed into a low-level image. (4) The image is filtered to boost its structure. (5) The filtered low-level image, decoded image embedding, and decoded text embedding are used as input to Stable Cascade [68] to generate a retrieval pool of 16 candidate reconstructions. (6) Each of the candidate reconstructions is encoded into a CLIP ViT-L/14 hidden layer image embedding [23]. (7) The final reconstruction is automatically selected as the image with the highest cosine similarity to the decoded CLIP ViT-L/14 hidden layer image embedding. (8) The same hidden layer image embedding is passed through the GiT [69] captioning model. (9) A decoded caption is generated along with our final reconstruction.

https://doi.org/10.1371/journal.pcbi.1014263.g007

4.2.3. Ridge regression backbone.

To map preprocessed fMRI data to feature representations in our decoding pipeline, we employ parallel L2 regularized ridge regression models trained on each individual feature set. In keeping with our first constraint, ridge regression is chosen because it is known to be effective in low signal-to-noise regimes, in contrast to MLPs that offer advantages for capturing nonlinear relationships, but can also be fragile in brain decoding contexts when the input data are of low SNR. For each set of features, we train a parallel ridge regression model to predict the feature value from our fMRI responses, minimizing the loss function in:

(1)

where is the fMRI data matrix of n fMRI trials by v voxels, is the matrix of target features d for each trial n, is the weight vector mapping fMRI voxels to the feature dimension d, is the bias vector added to each trial n, and is the ridge parameter controlling the strength of the L2 penalty. To select an optimal value for , we treat the four NSD subjects who are not selected for reconstruction as a hyperparameter tuning set, and perform a grid search over possible values of on this set to pick the optimal value for generalizing to fMRI responses of mental images. Using this process, we select for all modules of the regression backbone. Details on our hyperparameter search are in Appendix A.1 in S1 Text.

4.2.4. Low-level module.

To begin the reconstruction process, we decode and reconstruct a “low-level” image that captures the structural layout of the target image. Inspired by the Brain Diffuser method [28], our approach utilizes a Very Deep Variational Autoencoder (VDVAE) [37] for this task. During training, images are fed into the encoder of the VDVAE to extract latent variables from the first 31 layers of the VDVAE model, which are concatenated into a 1 × 91168 dimensional feature vector. In the testing phase, we predict these features using our ridge regression backbone and pass them through the VDVAE decoder to generate reconstructed images at 64 × 64 pixel resolution. Details about our implementation of the VDVAE are in Appendix A.2 in S1 Text.

We observed that when decoding low-level images from fMRI responses to mental images, often the low-level reconstructions have significantly deteriorated features and reduced contrast. To counteract this and boost the influence of our structural layout on subsequent stages of the reconstruction process, we apply a set of image filters to boost the sharpness and contrast of the low-level images. These reconstructions serve as an initial estimate for the diffusion model employed in the subsequent stage of our pipeline.

4.2.5. Guidance features.

Image Features: Noting that the large high-dimensional hidden layer CLIP ViT-bigG/14 image embeddings used in the MindEye2 architecture (257 × 1664) fail to robustly drive image generators when decoded from mental images, we use only the CLS token of the CLIP ViT-L/14 model (1 × 768) for our image embeddings. We hypothesize that the removal of the spatial patch tokens used in the hidden layer of ViT embeddings increases the alignment of our features with the encoding of mental images in the brain.

Text Features: Motivated by recent findings suggesting that representations in higher-level visual cortex are well-modeled by language-supervised models [3], we incorporate multi-modal guidance into our method through the addition of an unpooled CLIP ViT-bigG/14 text embedding (77 × 1280). We hypothesize that this semantic guidance helps bridge the gap between the visual specificity of seen images and the more abstract, concept-driven nature of mental imagery. In practice, we do not observe the same performance dropoff with high-dimensional text features as we do with high-dimensional image features for driving the diffusion model.

Recaptioning: To increase the quality of our decoded text features, we replace the COCO captions for the training set with synthetic captions generated by LLaVA v1.5-13B. Each of the original training captions from the COCO dataset is short (average length of only 10 words). We improve the downstream training performance of our model by generating our own captions that are longer and more descriptive.

4.2.6 Reconstruction.

Diffusion Architecture: To generate the final reconstructions, we utilize Stable Cascade, one of the latest multi-modal diffusion models by Stability AI. Stable Cascade uses Würstchen [68], a text-to-image architecture that also has support for CLIP Image guidance. This architecture consists of three stages, which separately train an image reconstruction module as a VQ-GAN, a latent image diffusion decoder, and a text/image-conditional latent image diffusion generator. By decoupling the text/image condition from the rest of the generation and decoding, the model learns robust representations and how to translate them into images. This architecture accepts both our small 1 × 768 CLIP ViT-L/14 image embeddings, 77 × 1280 CLIP ViT-bigG/14 text embeddings, and a partially diffused input image for img2img mode [70]. The model’s multi-modal guidance capabilities, native img2img support, and robust multi-stage architecture make it well-suited for our mental imagery reconstruction task.

Retrieval Pooling: Because diffusion models are stochastic generators, the quality of the reconstructions they yield will vary from sample to sample. Our pipeline therefore includes a retrieval step to select the best reconstruction from among a small pool samples output by the diffusion model. We decode a CLIP ViT-L/14 hidden layer image embedding (257 × 1024) that has been unit normalized to approximate a cosine similarity loss in the regression training stage. We then generate 16 candidate reconstructions to form a retrieval pool, pass each candidate through the CLIP ViT-L/14 image encoder to get hidden layer image embeddings, and select only the highest-scoring reconstruction via cosine similarity with our decoded retrieval embedding as our output. We note that using a high-dimensional image embedding for this retrieval operation does not come with the same drawbacks as using a high-dimensional image embedding to drive the image generator, and we observe our process of using a cosine similarity comparison to differentiate between image embeddings to be robust even when the embeddings are decoded from brain activity responses to mental images.

Caption Decoding: We implement a caption decoding module that provides a text description of the visual content being decoded. To decode captions, we reuse the CLIP ViT-L/14 hidden layer image features decoded in the ‌‌retrieval module and pass them through a frozen GiT [69] transformer (which contains a generator and a decoder) to generate a predicted caption, an approach originally pioneered by [71] and MindEye2 [72].

Supporting information

S1 Text.

Fig A: Hyperparameter logarithmic grid search over possible values of for use in Equation 1 (Section 4.2.3). Metrics are the normalized average of all metrics in Table 1 of the manuscript, with imagery performance on the Y axis and vision on the X axis.

Fig B: Qualitative comparison of reconstruction methods on stimuli seen during the vision trials of NSD-Imagery. Samples selected are the best scoring according to the reconstruction metrics in Table 1 of the manuscript. Fig C: Median-case vision reconstructions from the vision trials of NSD-Imagery. Samples selected as median scoring based on metrics in Table 1 of the manuscript. Fig D: Median-case imagery reconstructions from the imagery trials of NSD-Imagery. Samples selected as in Fig C. Fig E: Worst-case vision reconstructions from the vision trials of NSD-Imagery. Samples selected as lowest scoring based on metrics in Table 1 of the manuscript. Fig F: Worst-case imagery reconstructions from the imagery trials of NSD-Imagery. Samples selected as in Fig E. Fig G: Best-case vision reconstructions (additional methods) from vision trials of NSD-Imagery. Samples selected as highest scoring based on metrics in Table 1 of the manuscript. Fig H: Best-case imagery reconstructions (additional methods) from imagery trials of NSD-Imagery. Samples selected as in Fig G. Fig I: Median-case vision reconstructions (additional methods) from vision trials of NSD-Imagery. Samples selected as median scoring based on metrics in Table 1 of the manuscript. Fig J: Median-case imagery reconstructions (additional methods) from imagery trials of NSD-Imagery. Samples selected as in Fig I. Fig K: Worst-case vision reconstructions (additional methods) from vision trials of NSD-Imagery. Samples selected as lowest scoring based on metrics in Table 1 of the manuscript. Fig L: Worst-case imagery reconstructions (additional methods) from imagery trials of NSD-Imagery. Samples selected as in Fig K. Table A: Standard error measurements for evaluation metrics of fMRI-to-Image reconstruction models evaluated on both the vision and mental imagery trials of NSD-Imagery. Values correspond to the standard error spread of values in Table 1 in the manuscript. Table B: Quantitative comparison between reconstruction methods on the NSD Shared1000 Test Set. Metrics are the same as Table 1 of the manuscript. Table C: Quantitative comparison between reconstruction methods for both imagery and vision trials on simple stimuli. Metrics are the same as Table 1 of the manuscript. Table D: Quantitative comparison between reconstruction methods for both imagery and vision trials on complex stimuli. Metrics are the same as Table 1 of the manuscript. Fig M: Performance of MIRAGE and other methods when averaging across brain activity responses to multiple trial repetitions of the same stimulus. Y-axis is the normalized average of all metrics in Table 1 of the manuscript, X-axis is the number of averaged trial repetitions. Fig N: Performance of MIRAGE and other methods on NSD-Imagery for Subject 1 when trained on different numbers of fMRI sessions present in NSD. Each session includes approximately one hour of fMRI data. Metrics are the normalized average of all metrics in Table 1 of the manuscript, with imagery performance on the Y axis and vision on the X axis. Methods are indicated by color, with the number of training sessions indicated by the numbers in each dot. Fig O: Examples of reconstructions provided at different diffusion strength parameters, images are the ground truth (outlined in red) and reconstructions provided at 0.4, 0.6, 0.8, and 1.0 diffusion strength respectively. Fig P: Human identification accuracy of MIRAGE (with no CLIP-Image guidance) as a function of diffusion model strength for imagery trials (orange line), vision trials (green line), and a control experiment that used the features directly from the ground truth image and caption (blue line). A dashed line is placed at the 50% chance threshold. Results are from a behavioral experiment that is identical to Experiment 1 (Fig 3), but varied across strength parameters. Table E: Quantitative comparison between MIRAGE and two Top-1 Retrieval baselines (pooled and hidden layer CLIP ViT-L/14 embeddings), separated by simple and complex stimuli and averaged across all subjects. Metrics are the same as Table 1. Bold indicates the best performance between MIRAGE and the retrieval baselines within each stimulus category, and underlines indicate second-best. Fig Q: Top-K retrieval performance vs. pool size for Subjects 1, 2, 5, and 7. Accuracy (y-axis) is evaluated across varying distractor pool sizes (x-axis) for both mental imagery (left: A, C) and vision trials (right: B, D). The top row (A, B) evaluates retrieval in the pooled ViT-L/14 image embedding space used to drive the MIRAGE generative model, while the bottom row (C, D) uses the hidden layer ViT-L/14 space utilized in the retrieval pooling step (Section 4.2.6). Curves denote top-1, top-5, and top-10 performance for simple (light lines) and complex (dark lines) stimuli, with chance levels indicated by corresponding dotted lines. To calculate accuracy, the ground-truth NSD-Imagery stimulus is shuffled with N random distractor images from the NSD shared1000 pool; a success is recorded when the target image ranks within the top K closest matches to the subject’s brain-predicted embedding. All curves are bootstrapped across 100 randomly sampled distractor pools for each value of N. Fig R: An example of the 2 alternative forced choice task used in the first behavioral experiment performed by human raters. Fig S: An example of similarity score task used in experiments 2 and 3 of the behavioral experiment performed by human raters. Appendix A.17: AI-Generated Images and Copyright Compliance

https://doi.org/10.1371/journal.pcbi.1014263.s001

(PDF)

Acknowledgments

We would like to thank the many collaborators in the Medical AI Research Center (MedARC) who supported and contributed to the project.

References

  1. 1. Kneeland R, Scotti PS, St-Yves G, Breedlove J, Kay K, Naselaris T. NSD-Imagery: A benchmark dataset for extending fMRI vision decoding methods to mental imagery. In: 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025. 28852–62. https://doi.org/10.1109/cvpr52734.2025.02687
  2. 2. Scotti PS, Tripathy M, Kadir Torrico Villanueva C, Kneeland R, Chen T, Narang A, et al. Mindeye2: shared-subject models enable fmri-to-image with 1 hour of data. In: Proceedings of the 41st International Conference on Machine Learning, 2024.
  3. 3. Wang AY, Kay K, Naselaris T, Tarr MJ, Wehbe L. Better models of human high-level visual cortex emerge from natural language supervision with a large and diverse dataset. Nat Mach Intell. 2023;5(12):1415–26.
  4. 4. Kosslyn SM, Thompson WL, Ganis G. The case for mental imagery. Oxford University Press. 2006.
  5. 5. Stokes M, Thompson R, Cusack R, Duncan J. Top-down activation of shape-specific population codes in visual cortex during mental imagery. J Neurosci. 2009;29(5):1565–72. pmid:19193903
  6. 6. Goebel R, van Hoof R, Bhat S, Luhrs M, Senden M. Reading Imagined Letter Shapes from the Mind’s Eye Using Real-time 7 Tesla fMRI. In: 2022 10th International Winter Conference on Brain-Computer Interface (BCI), 2022. 1–3. https://doi.org/10.1109/bci53720.2022.9735031
  7. 7. Naselaris T, Olman CA, Stansbury DE, Ugurbil K, Gallant JL. A voxel-wise encoding model for early visual areas decodes mental images of remembered scenes. Neuroimage. 2015;105:215–28. pmid:25451480
  8. 8. Reddy L, Tsuchiya N, Serre T. Reading the mind’s eye: decoding category information during mental imagery. Neuroimage. 2010;50(2):818–25. pmid:20004247
  9. 9. Lee S-H, Kravitz DJ, Baker CI. Disentangling visual imagery and perception of real-world objects. Neuroimage. 2012;59(4):4064–73. pmid:22040738
  10. 10. Pearson J. The human imagination: the cognitive neuroscience of visual mental imagery. Nat Rev Neurosci. 2019;20(10):624–34. pmid:31384033
  11. 11. Saha Roy T, Breedlove J, St-Yves G, Kay K, Naselaris T. Comparison of Signal to Noise in Vision and Imagery for qualitatively different kinds of stimuli. Journal of Vision. 2023;23(9):5961.
  12. 12. Saha Roy T, Breedlove J, St-Yves G, Kay K, Naselaris T. Mental Imagery: Weak Vision or Compressed Vision?. In: 2023 Conference on Cognitive Computational Neuroscience, 2023. https://doi.org/10.32470/ccn.2023.1693-0
  13. 13. Breedlove JL, St-Yves G, Olman CA, Naselaris T. Generative feedback explains distinct brain activity codes for seen and mental images. Current Biology. 2020;300(12):2211-2224.e6.
  14. 14. Serra E, Favila BA, Kuhl J, Winawer J. Spatial perception and memory have distinct activation profiles in human visual cortex. BioRxiv. 2019;:811331.
  15. 15. Cichy RM, Heinzle J, Haynes J-D. Imagery and perception share cortical representations of content and location. Cereb Cortex. 2012;22(2):372–80. pmid:21666128
  16. 16. Albers AM, Kok P, Toni I, Dijkerman HC, de Lange FP. Shared representations for working memory and mental imagery in early visual cortex. Curr Biol. 2013;23(15):1427–31. pmid:23871239
  17. 17. St-Yves G, Breedlove J, Kay K, Naselaris T. Do better models of fMRI visual response better predict mental imagery responses?. In: 2023 Conference on Cognitive Computational Neuroscience, 2023. https://doi.org/10.32470/ccn.2023.1644-0
  18. 18. Thirion B, Duchesnay E, Hubbard E, Dubois J, Poline J-B, Lebihan D, et al. Inverse retinotopy: inferring the visual content of images from brain activation patterns. Neuroimage. 2006;33(4):1104–16. pmid:17029988
  19. 19. Senden M, Emmerling TC, van Hoof R, Frost MA, Goebel R. Reconstructing imagined letters from early visual cortex reveals tight topographic correspondence between visual mental imagery and perception. Brain Struct Funct. 2019;224(3):1167–83. pmid:30637491
  20. 20. Lee H, Kuhl BA. Reconstructing Perceived and Retrieved Faces from Activity Patterns in Lateral Parietal Cortex. J Neurosci. 2016;36(22):6069–82. pmid:27251627
  21. 21. Shen G, Horikawa T, Majima K, Kamitani Y. Deep image reconstruction from human brain activity. PLoS Comput Biol. 2019;15(1):e1006633. pmid:30640910
  22. 22. Koide-Majima N, Nishimoto S, Majima K. Mental image reconstruction from human brain activity: Neural decoding of mental imagery via deep neural network-based Bayesian estimation. Neural Netw. 2024;170:349–63. pmid:38016230
  23. 23. Radford A, Kim JW, Hallacy C, Ramesh A, Goh G, Agarwal S, et al. Learning transferable visual models from natural language supervision. In: Proceedings of the 38th International Conference on Machine Learning, Virtual, 2021. 8748–63. https://proceedings.mlr.press/v139/radford21a.html
  24. 24. Rombach R, Blattmann A, Lorenz D, Esser P, Ommer B. High-resolution image synthesis with latent diffusion models. CoRR. 2021;abs/2112.10752.
  25. 25. Allen EJ, St-Yves G, Wu Y, Breedlove JL, Prince JS, Dowdle LT, et al. A massive 7T fMRI dataset to bridge cognitive neuroscience and artificial intelligence. Nat Neurosci. 2022;25(1):116–26. pmid:34916659
  26. 26. Takagi Y, Nishimoto S. High-resolution image reconstruction with latent diffusion models from human brain activity. In: 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023. 14453–63. https://doi.org/10.1109/cvpr52729.2023.01389
  27. 27. Takagi Y, Nishimoto S. Improving visual image reconstruction from human brain activity using latent diffusion models via multiple decoded inputs. 2023.
  28. 28. Ozcelik F, VanRullen R. Natural scene reconstruction from fmri signals using generative latent diffusion. Scientific Reports. 2023;13.
  29. 29. Abraham T, Banerjee A, Cohen E, Dempster A, Goode J, Nguyen A, et al. Reconstructing the Mind’s Eye: fMRI-to-Image with Contrastive Learning and Diffusion Priors. In: Advances in Neural Information Processing Systems 36, 2023. 24705–28. https://doi.org/10.52202/075280-1073
  30. 30. Kneeland R, Ojeda J, St-Yves G, Naselaris T. Reconstructing seen images from human brain activity via guided stochastic search. In: 2023 Conference on Cognitive Computational Neuroscience, 2023. https://doi.org/10.32470/ccn.2023.1672-0
  31. 31. Kneeland R, Ojeda J, St-Yves G, Naselaris T. Second Sight: Using brain-optimized encoding models to align image distributions with human brain activity, June 2023b. http://arxiv.org/abs/2306.00927. arXiv:2306.00927 [cs, q-bio].
  32. 32. Kneeland R, Ojeda J, St-Yves G, Naselaris T. Brain-optimized inference improves reconstructions of fMRI brain activity. 2023. https://doi.org/arXiv:2312.07705
  33. 33. Ferrante M, Boccato T, Ozcelik F, VanRullen R, Toschi N. Through their eyes: Multi-subject brain decoding with simple alignment techniques. Imaging Neurosci (Camb). 2024;2:imag–2–00170. pmid:40800361
  34. 34. Chen Z, Qing J, Xiang T, Yue WL, Zhou JH. Seeing beyond the brain: Conditional diffusion model with sparse masked modeling for vision decoding. In: 2023. 22710–20. https://api.semanticscholar.org/CorpusID:253510456
  35. 35. Sun J, Li M, Chen Z, Zhang Y, Wang S, Moens M-F. Contrast, attend and diffuse to decode high-resolution images from brain activities. 2023. https://doi.org/arXiv:2305.17214
  36. 36. Mai W, Zhang Z. UniBrain: Unify Image Reconstruction and Captioning All in One Diffusion Model from Human Brain Activity. 2023. https://doi.org/arXiv:2308.07428
  37. 37. Child R. Very deep {vae}s generalize autoregressive models and can outperform them on images. In: 2021. https://openreview.net/forum?id=RLRXCV6DbEJ
  38. 38. Podell D, English Z, Lacey K, Blattmann A, Dockhorn T, Müller J, et al. SDXL: Improving latent diffusion models for high-resolution image synthesis. In: 2024. https://openreview.net/forum?id=di52zR8xgf
  39. 39. Xu X, Wang Z, Zhang E, Wang K, Shi H. Versatile Diffusion: Text, Images and Variations All in One Diffusion Model. In: 2023 IEEE/CVF International Conference on Computer Vision (ICCV), 2023. 7720–31. https://doi.org/10.1109/iccv51070.2023.00713
  40. 40. Wang AY, Kay K, Naselaris T, Tarr MJ, Wehbe L. Incorporating natural language into vision models improves prediction and understanding of higher visual cortex. 2022. 2022.09.27.508760. https://www.biorxiv.org/content/10.1101/2022.09.27.508760v1
  41. 41. Wang Z, Bovik AC, Sheikh HR, Simoncelli EP. Image quality assessment: from error visibility to structural similarity. IEEE Trans Image Process. 2004;13(4):600–12. pmid:15376593
  42. 42. Krizhevsky A, Sutskever I, Hinton GE. Imagenet classification with deep convolutional neural networks. Advances in Neural Information Processing Systems. Curran Associates, Inc. 2012.
  43. 43. Szegedy C, Vanhoucke V, Ioffe S, Shlens J, Wojna Z. Rethinking the inception architecture for computer vision. CoRR. 2015;abs.
  44. 44. Tan M, Le QV. Efficientnet: Rethinking model scaling for convolutional neural networks. In: Proceedings of the 36th International Conference on Machine Learning, ICML 2019, Long Beach, California, USA, 2019. 6105–14. http://proceedings.mlr.press/v97/tan19a.html
  45. 45. Caron M, Misra I, Mairal J, Goyal P, Bojanowski P, Joulin A. Unsupervised learning of visual features by contrasting cluster assignments. CoRR. 2020;abs/2006.09882.
  46. 46. Wang S, Liu S, Tan Z, Wang X. MindBridge: A Cross-Subject Brain Decoding Framework. In: 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). 2024. 11333–42.
  47. 47. Huo J, Wang Y, Qian X, Wang Y, Li C, Feng J, et al. Neuropictor: Refining fmri-to-image reconstruction via multi-individual pretraining and multi-level modulation. 2024.
  48. 48. Xie D, Zhao P, Zhang J, Wei K, Ni X, Xia J. BrainRAM: Cross-Modality Retrieval-Augmented Image Reconstruction from Human Brain Activity. In: Proceedings of the 32nd ACM International Conference on Multimedia, 2024. 3994–4003. https://doi.org/10.1145/3664647.3681296
  49. 49. Sinha P, Russell R. A perceptually based comparison of image similarity metrics. Perception. 2011;40(11):1269–81. pmid:22416586
  50. 50. Kirstain Y, Levy O, Matiana S, Penna J, Polyak A, Singer U. Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generation. In: Advances in Neural Information Processing Systems 36, 2023. 36652–63.
  51. 51. Shirakawa K, Nagano Y, Tanaka M, Aoki SC, Majima K, Muraki Y, et al. Spurious reconstruction from brain activity: The thin line between reconstruction, classification, and hallucination. Journal of Vision. 2024;24(10):321.
  52. 52. Alabdulkareem A, Barbu A, Harbin A, Katz B, Mayo D, Shaw A, et al. BrainBits: How Much of the Brain are Generative Reconstruction Methods Using?. In: Advances in Neural Information Processing Systems 37, 2024. 54396–420.
  53. 53. Holmes E, Mathews A. Mental imagery in emotion and emotional disorders. Clinical Psychology Review. 2010;30(3):349–62.
  54. 54. Giacino JT, Kalmar K. The Vegetative and Minimally Conscious States: A Comparison of Clinical Features and Functional Outcome. Journal of Head Trauma Rehabilitation. 1997;12(4):36–51.
  55. 55. Edlow LB, Chatelle C, Spencer AC, Chu CJ, Bodien GY, O’Connor LK, et al. Early detection of consciousness in patients with acute severe traumatic brain injury. Brain. 2017;1400(9):2399–414.
  56. 56. Turgeon AF, Lauzier F, Simard J-F, Scales DC, Burns KEA, Moore L, et al. Mortality associated with withdrawal of life-sustaining therapy for patients with severe traumatic brain injury: a Canadian multicentre cohort study. CMAJ. 2011;183(14):1581–8. pmid:21876014
  57. 57. Popa LL, Chira D, Strilciuc Ștefan, Mureșanu DF. Non-Invasive Systems Application in Traumatic Brain Injury Rehabilitation. Brain Sci. 2023;13(11):1594. pmid:38002552
  58. 58. Luo S, Rabbani Q, Crone NE. Brain-Computer Interface: Applications to Speech Decoding and Synthesis to Augment Communication. Neurotherapeutics. 2022;19(1):263–73. pmid:35099768
  59. 59. Canny E, Vansteensel MJ, van der Salm SMA, Müller-Putz GR, Berezutskaya J. Boosting brain-computer interfaces with functional electrical stimulation: potential applications in people with locked-in syndrome. J Neuroeng Rehabil. 2023;20(1):157. pmid:37980536
  60. 60. Gordon EC, Seth AK. Ethical considerations for the use of brain-computer interfaces for cognitive enhancement. PLoS Biol. 2024;22(10):e3002899. pmid:39466848
  61. 61. Lin T-Y, Maire M, Belongie S, Hays J, Perona P, Ramanan D, et al. Microsoft COCO: Common Objects in Context. Lecture Notes in Computer Science. Springer International Publishing. 2014. p. 740–55. https://doi.org/10.1007/978-3-319-10602-1_48
  62. 62. Geman S, Bienenstock E, Doursat R. Neural Networks and the Bias/Variance Dilemma. Neural Computation. 1992;4(1):1–58.
  63. 63. Liu H, Li L, Wu Q, Lee J. Visual instruction tuning. In: NeurIPS, 2023.
  64. 64. Liu H, Li C, Li Y, Lee YJ. Improved baselines with visual instruction tuning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024. 26296–306.
  65. 65. Cherti M, Beaumont R, Wightman R, Wortsman M, Ilharco G, Gordon C, et al. Reproducible Scaling Laws for Contrastive Language-Image Learning. In: 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023. 2818–29. https://doi.org/10.1109/cvpr52729.2023.00276
  66. 66. Hoerl AE, Kennard RW. Ridge Regression: Biased Estimation for Nonorthogonal Problems. Technometrics. 1970;12(1):55–67.
  67. 67. Wang AY, Kay K, Naselaris T, Tarr MJ, Wehbe L. Better models of human high-level visual cortex emerge from natural language supervision with a large and diverse dataset. Nat Mach Intell. 2023;5(12):1415–26.
  68. 68. Pernias P, Rampas D, Richter ML e o n, Pal C, Aubreville M. Würstchen: An efficient architecture for large-scale text-to-image diffusion models. In: 2024. https://openreview.net/forum?id=gU58d5QeGv
  69. 69. Wang J, Yang Z, Hu X, Li L, Lin K, Gan Z, et al. GIT: A generative image-to-text transformer for vision and language. Transactions on Machine Learning Research. 2022.
  70. 70. Meng C, Song Y, Song J, Wu J, Zhu J, Ermon S. SDEdit: Image synthesis and editing with stochastic differential equations. CoRR. 2021;abs/2108.01073.
  71. 71. Ferrante M, Ozcelik F, Boccato T, Van Rullen R, Toschi N. Brain Captioning: Decoding Human Brain Activity into Images and Text. 2023. https://doi.org/arXiv:2305.11560
  72. 72. St-Yves G, Allen EJ, Wu Y, Kay K, Naselaris T. Brain-optimized deep neural network models of human visual areas learn non-hierarchical representations. Nat Commun. 2023;14(1):3329. pmid:37286563