betaFeedback

WorksComputer Science

Structured Visual Landscape: Generating Preferred Representations in Biological and Artificial Neural Networks

Abstract

Understanding how neurons respond to visual stimulus is an important question in both deep learning and neuroscience. It has significant implications for enhancing the interpretability of black-box artificial neural networks and for understanding the visual representation in the human brain. We propose a structured visual representations landscape and design an activation-based prior that allows us to effectively regularize the landscape with activations from brain regions or neural network units. Our model Vis-Lens integrates a variational autoencoder and a diffusion model into an image generation framework. It enables the generation of natural, realistic preferred images by directly modifying the activation-regularized latent codes without per-image iterative optimization. We demonstrate the effectiveness of our framework on both artificial neural networks and human visual cortex using functional magnetic resonance imaging (fMRI) data. Our framework improves activation modulation and image realism compared with a recent state-of-the-art method for generating preferred visual representations of these neural targets. Code is available at https://github.com/NeuroAIHub/Vis-Lens.

Keywords

visual representation, brain decoding, variational autoencoder, preferred images, neural networks, feature visualization

Introduction

The exploration of visual representations in both biological and artificial neural networks has advanced our understanding of how complex visual stimuli are processed and represented in neural networks [4, 27, 41]. Previous studies have demonstrated the capacity of neurons in the medial temporal lobe (MTL) of the human brain to form invariant representations of complex stimuli [63], such as faces, landmarks, and objects, regardless of visual variations. These findings illustrate how single neurons can encode high-level, abstract percepts with remarkable specificity, leading to the hypothesis of sparse and invariant coding mechanisms in the brain [56].

While methods exploring visual representation in some brain regions work fine by learning directly from embeddings of popular image encoders like CLIP [17, 37], understanding the feature representations for many brain regions that are not well-studied remains challenging. For example, some higher-order brain regions can demonstrate mixed selectivity [65], where they can respond to images with small overlap in shared features. As presented in Figure 1, the top images that maximally activate the brain region are distributed across the embedding space of the CLIP encoder [64].

Figure 1. Original CLIP Space (Top): Original CLIP embedding space without any activation constraint: image embeddings that elicit high and low neural responses are dispersed and not clustered throughout the space without shared visual structure. Structured Landscape (Bottom): By encoding CLIP embeddings into the regularized latent space constrained with neuronal activations (after z-score normalization) as the prior, our method Vis-Lens could provide a more structured and representative landscape to better identify the representations and preferences of brain regions than sorting top-k images in a dataset. The results are based on brain activations from the NSD dataset [2]. In the landscape plots, the color bar and z axis indicate the activation of the target brain region given different images as inputs, while the x and y axes represent two latent dimensions, respectively.

Additionally, brain activity measured is often noisy, low-resolution, and partially observed, which introduces difficulties for analysis and modeling. Unlike previous works that aim to reconstruct entire images from brain activities [25, 48, 53, 71], our work focuses on understanding the feature representation of brain regions by generating new preferred images that maximize or minimize the activity of those regions. These synthetic visual stimuli can be deployed in follow-up neuroscience experiments to test new hypotheses, refine ROI functional maps, and accelerate discovery by guiding stimulus design.

To achieve this goal, we propose Vis-Lens, an effective approach to interpret the feature represented by brain regions. Given the noisy nature of brain recordings, instead of using brain activities directly as input to the decoding model, our method refines the landscape of visual representation by employing brain activation to regularize the prior, serving as a soft constraint. We further integrate the structured landscape with a variational auto-encoder (VAE) and diffusion generative models to generate realistic preferred images that can effectively modulate target brain activations.

Our method can facilitate the exploration of visual representations of brain regions while maintaining interpretability. It is validated with fMRI data from the Natural Scenes Dataset (NSD) [2], analyzing responses in the human visual cortex to complex natural stimuli. Meanwhile, due to the scarcity of image response data from human brains, our proposed framework is also extended to artificial neural networks (ANNs), allowing controlled testing of visual feature representations and interpretability in artificial systems. By integrating insights from both biological and artificial neural networks, we aim to bridge the understanding of visual representation strategies across natural and engineered systems. Our contributions can be outlined as follows:

  • We introduce an activation-regularized prior for VAE [30] that organizes its latent space into two distinct clusters, corresponding to codes that increase or decrease a target brain region’s activation. This design enables easy plug-and-play integration with conventional generative models.

  • Our method synthesizes visual representations from specified brain regions, showing better performance to regularize brain activations than a recent state-of-the-art baseline, especially for decreasing activations. It could also generate preferred visual inputs with better perceptual realism. Moreover, it provides a generalized framework which shows robustness on cross-subject biological data, and can also be transferred to visualizing features in artificial neural networks.

  • By generating controllable, high-quality visual stimuli that can modulate specific regions, our framework demonstrates new potential in vision-based brain computer interface applications and can be used to generate new hypotheses for future neuroscience studies.

Related Works

Image generative models. Advances in generative models have significantly transformed image synthesis. Foundational approaches such as GANs [18] led to extensions like Wasserstein GANs [3] and Conditional GANs [43], with fidelity improvements using spectral normalization [44], while VAEs [30] introduced probabilistic encoding, later combined with latent space regularization [24, 77]. Further, Cascaded generation [24] and autoregressive modeling [9] enhanced synthesis quality. More superior generation models like Diffusion models [23, 67] advanced controllable, high-fidelity synthesis, integrating structured perturbations via SDEdit [42] and text-to-image alignment through CLIP [64]. IP-Adapter [83] refined latent spaces for semantic consistency, while GLIDE [52] and Stable Diffusion [67] further demonstrated photorealistic, text-guided image generation. Our work is developed based on these conventional generative model frameworks, it adopts VAEs to build up our proposed structured landscape and a Stable Diffusion model generation pipeline to synthesize preferred images conditioned on CLIP embeddings derived from the structured landscape.

Feature visualization. Visualization techniques provide deep insights into neural network interpretability and functionality, spanning both biological and artificial systems. Early work by Erhan et al. [15] focused on minimal regularization approaches, while adversarial examples exposed vulnerabilities in neural networks [74]. Mahendran and Vedaldi [39] and Nguyen et al. [50] further expanded on interpretability with total variation regularization, counterexamples, and image blurring. Meanwhile, techniques such as DeepDream by Mordvintsev et al. [45, 46], employing jitter, multi-scale visualization, and gradient normalization [54, 76], enhanced clarity in feature visualization. For prior related work, Nguyen et al. [51] demonstrated generative adversarial synthesis of preferred inputs, emphasizing controlled image generation through learned priors. Our work extends this line by generating images with preferred features based on pre-defined priors in landscape shaped by activations.

Brain decoding and most exciting images. Generative models leveraging brain activity as direct input have substantially advanced neural-to-visual synthesis. Direct neural-to-image synthesis methods convert fMRI activity into high-fidelity pictures with diffusion or GAN backbones, like BrainDiffusion and NeuroDM [37, 61], Brain2GAN [11], latent-diffusion variants [16, 58], and energy-guided approaches [60], while activation-optimized methods like Inception Loops [80] and NeuroGen [19] reveal neuronal tuning by iterating stimuli based on neural responses. Recent brain decoding studies have continued to improve visual reconstruction quality through stronger priors, better alignment spaces, and cross-subject or data-efficient formulations, including generative decoding with latent diffusion [58, 75], diffusion-prior-based reconstruction [69, 70], probabilistic visual-to-fMRI synthesis [40], and cross-subject decoding frameworks [81]. Recent multi-modal approaches [6, 14, 26, 28, 62, 79] integrate generative models for improved synthesis precision, while Controllable Mind Visual Diffusion [84], Seeing Beyond the Brain [10], and Reconstructing the Mind’s Eye [69] leverage structured diffusion priors for enhanced visual reconstructions. Beyond reconstruction, recent methods have also explored richer alignment spaces between brain signals and foundation-model representations, such as CLIP-based decoding [35] and self-supervised visual representations including DINO-style encoders [7]. Though dominated by fMRI data, [1, 12, 32, 33, 38, 73] explored on EEG data, obtained promising results.

To further modulate activations, computational models [47, 59] and frameworks targeting single neuron contributions [5, 55] provide interpretable mappings of cortical activations to specific visual features. Latent space optimization strategies [66, 82] extend foundational decoding frameworks [25, 48, 53, 71] to achieve targeted neural activation modulation. BrainDiVE and BrainSCUBA[36, 37] uses a CLIP-based encoder and diffusion models to improve stimulus quality and semantic specificity. BrainACTIV [17], as the recent state-of-the-art and the first work on using diffusion models to generate images to regulate brain activations, extends these paradigms by conditioning synthesis with linearly fitted CLIP embeddings and brain activation patterns. Related efforts in controllable activation synthesis have also shown that generative models can be used not only to maximize neural responses but also to suppress or differentially modulate them, both in biological systems and in artificial networks [4, 49, 72]. Although modeling activations via CLIP embeddings does work in previous work, our method tries to take the noisy and mix-selective nature of brain activity data into consideration, building a novel structured landscape in VAE through CLIP embeddings, permitting more controllable and effective activation manipulation, and avoiding falling into local minimum in the optimization process.

Methodology

Problem Setting and Notation

Let I\mathcal{I} be the space of natural images, X\mathcal{X} be the space of CLIP embeddings, and Z\mathcal{Z} be the latent space of a variational auto-encoder (VAE). For an input image i∈Ii \in\mathcal{I}, the pretrained CLIP encoder E\mathcal{E} maps ii to a CLIP embedding x=E(i)∈Xx = \mathcal{E}(i) \in\mathcal{X}. Subsequently, the VAE encoder qϕ(z∣x)q_{\phi}(z \mid x) produces a latent z∈Zz \in\mathcal{Z} with mean μ\boldsymbol{\mu} and diagonal covariance Σ=diag⁡(σ2)\boldsymbol{\Sigma} = \operatorname{diag}(\boldsymbol{\sigma}^{2}); the VAE decoder pθ(x∣z)p_{\theta}(x \mid z) reconstructs an embedding xrecx_{\mathrm{rec}}. Throughout, rr denotes a scalar activation value of a chosen target, i.e., the mean response of a selected ROI in human brain data after zz-score normalization or the response of a selected unit in an artificial neural network. λ\lambda, ωrec\omega_{\mathrm{rec}}, ωKLD\omega_{\mathrm{KLD}} are scalar hyper-parameters.

Constructing a Structured VAE Landscape with Activation-Constrained Priors

To generate explainable and controllable preferred visual representations for a specific brain region or neural unit, we incorporate the target activation rr into the VAE prior and use it to organize the latent space. The key intuition is that neural signals are noisy and could have an asymmetric distribution. To better represent those properties, we design a prior for the neural responses that they have a bimodal distribution, with significant responses (most positive or negative) are expected to be centralized in each distribution. The greater the absolute value of activation is, the closer it will be to each distribution center, and responses close to zero are relatively loosely constrained. This design yields a structured latent landscape that supports direct latent manipulation at test time.

The KL divergence (KLD) term in the VAE measures the divergence between the encoder’s approximate posterior, qϕ(z∣x)q_{\phi}(z \mid x), and the prior, pθ(z)p_{\theta}(z). We begin with its standard definition:

DKL(qϕ(z∣x)∥pθ(z))=∫qϕ(z∣x)log⁡qϕ(z∣x)pθ(z) dz=Ez∼qϕ(z∣x)[log⁡qϕ(z∣x)−log⁡pθ(z)].(1)D_{\mathrm{KL}}\left(q_{\phi}(z \mid x) \parallel p_{\theta}(z)\right) = \int q_{\phi}(z \mid x) \log\frac{q_{\phi}(z \mid x)}{p_{\theta}(z)} \, dz = \mathbb{E}_{z \sim q_{\phi}(z \mid x)} \left[\log q_{\phi}(z \mid x) - \log p_{\theta}(z)\right]. \tag*{(1)}

Both posterior and prior are defined as multivariate Gaussian distributions with diagonal covariance matrices. In our framework, the approximate posterior is qϕ(z∣x)=N(z;μ,diag⁡(σ2))q_{\phi}(z \mid x) = \mathcal{N}(z; \boldsymbol{\mu}, \operatorname{diag}(\boldsymbol{\sigma}^{2})). For the prior, we define an activation-constrained prior:

pθ(z)=N(z;μprior,diag⁡((σprior)2)),p_{\theta}(z) = \mathcal{N}(z; \boldsymbol{\mu}^{\mathrm{prior}}, \operatorname{diag}((\boldsymbol{\sigma}^{\mathrm{prior}})^{2})),

which depends on the target activation value rr:

σiprior=∣λri+ϵ∣,μiprior={μpos,if r>0,μneg,otherwise.(2)\sigma_{i}^{\mathrm{prior}} = \left|\frac{\lambda}{r_{i} + \epsilon}\right|,\qquad \mu_{i}^{\mathrm{prior}} = \begin{cases} \mu_{\mathrm{pos}}, & \text{if } r > 0,\\ \mu_{\mathrm{neg}}, & \text{otherwise}. \end{cases} \tag*{(2)}

Here, λ\lambda is a scaling hyperparameter, ϵ\epsilon is a small constant to prevent division by zero, and μpos\mu_{\mathrm{pos}}, μneg\mu_{\mathrm{neg}} are predefined means for positive and negative activations, respectively. The role of μpos\mu_{\mathrm{pos}} and μneg\mu_{\mathrm{neg}} is to provide two separated latent centers in VAE latent space for maximize activation increase and decrease. Meanwhile, variance term σiprior\sigma_{i}^{\mathrm{prior}}, which defines different priors for each data point ii, decrease as ∣ri∣\lvert r_{i} \rvert increases. By imposing such continuous loose to tight constraints for each data point, our method can map images to a structured space. Theoretically, the inputs will be centralized when rir_{i} approaches infinity, while in practice, we can sample input data points with maximize and minimize values at two pre-defined centers, and they are expected to increase or decrease the activations of targeted neurons.

Figure 2. Overview of Vis-Lens. The illustration depicts a two-stage approach integrating a structured landscape and variational autoencoder (VAE) generation with CLIP encoder and diffusion based generative model. Phase I: The input image, itraini_{\mathrm{train}}, is encoded by a pretrained CLIP encoder E\mathcal{E}, CLIP embeddings xx are encoded into a latent representation zz by the VAE encoder. A regularization step using a activation-based prior N(μprior,1∣r∣)\mathcal{N}(\mu_{\mathrm{prior}}, \frac{1}{\lvert r\rvert}) modifies the latent space for better alignment with activations, producing a regularized latent zz. The VAE is also trained to reconstruct the input CLIP embeddings xx with xreconx_{\mathrm{recon}}. Phase II: The test images itesti_{\mathrm{test}}, is encoded by same CLIP encoder E\mathcal{E}. Then, with fully trained VAE and the structured visual latent representation space, we can directly modify latents constrained by a specific feature represented by the selected regions, obtaining a new latent z′z'. This transformed latent is decoded back into an intermediate generated CLIP embeddings xgenx_{\mathrm{gen}}, which is used to guild the image generation through a diffusion pipeline, yielding the final output igeni_{\mathrm{gen}} as preferred images to modulate the activation rr.

Given the definition of the approximate posterior and activation-constrained prior, the expectation in Eq. (1) can be computed analytically, yielding the closed-form KLD between two Gaussian distributions. Assuming that the VAE latent space has dzd_z dimensions, the final activation-aware KLD is

KLDactivation=∑i=1dz[log⁡σipriorσi−12+σi2+(μi−μiprior)22(σiprior)2].(3)\mathrm{KLD}_{\mathrm{activation}} = \sum_{i=1}^{d_z} \left[\log\frac{\sigma_i^{\mathrm{prior}}}{\sigma_i} - \frac{1}{2} + \frac{\sigma_i^2 + \left(\mu_i - \mu_i^{\mathrm{prior}}\right)^2}{2\left(\sigma_i^{\mathrm{prior}}\right)^2}\right]. \tag*{(3)}

Here, μi\mu_i and σi\sigma_i are the mean and standard deviation of the approximate posterior for the ii-th latent dimension, respectively; μiprior\mu_i^{\mathrm{prior}} and σiprior\sigma_i^{\mathrm{prior}} are the corresponding mean and standard deviation of

the prior. This modified KLD does more than regularize the latent space toward a standard Gaussian: it explicitly organizes latent codes according to activations. As a result, the learned latent space becomes more suitable for controllable activation modulation than a single linear direction in the original embedding space.

With this activation-constrained prior, we can build a structured VAE latent space, where we can easily perform in-distribution sampling from a spherical space in a structured landscape.

Generate Preferred Visual Representations with Modified VAE

To produce preferred images, our method consists of two phases: a training phase that constructs the structured latent space, and a generation phase that synthesizes images from it. The VAE is the only trainable component in the pipeline, while the pretrained CLIP encoder (E\mathcal{E}) and the image-to-image diffusion model remain frozen.

Training. During training, only the VAE encoder qϕ(z∣x)q_{\phi}(z \mid x) and decoder pθ(x∣z)p_{\theta}(x \mid z), which map the CLIP embedding to a latent representation zz and reconstruct it back to xreconx_{\mathrm{recon}}, are optimized by

LVAE=ωrecon⋅Lrecon+ωKLD⋅KLDactivation,(4)\mathcal{L}_{\mathrm{VAE}} = \omega_{\mathrm{recon}} \cdot\mathcal{L}_{\mathrm{recon}} + \omega_{\mathrm{KLD}} \cdot\mathrm{KLD}_{\mathrm{activation}}, \tag*{(4)}

where Lrecon=∥x−xrecon∥22\mathcal{L}_{\mathrm{recon}} = \lVert x - x_{\mathrm{recon}} \rVert_{2}^{2} is the reconstruction loss between the original and decoded CLIP embeddings. The terms ωrecon\omega_{\mathrm{recon}} and ωKLD\omega_{\mathrm{KLD}} balance reconstruction fidelity against the activation-based regularization imposed by Eq. (3). Therefore, the VAE is trained not only to reconstruct CLIP embeddings, but also to reshape the latent space such that neural activation information becomes geometrically accessible for later manipulation.

Generation. To synthesize new images, we first encode an input image ii with the frozen CLIP encoder to obtain its CLIP embedding x=E(i)x = \mathcal{E}(i). We then feed xx into the trained VAE encoder to obtain a latent code z=qϕ(x)z = q_{\phi}(x) in the structured latent landscape. Next, zz is moved toward the predefined positive or negative prior center, producing a modified latent code z′z'. The modified latent code is decoded into a new CLIP embedding x′=pθ(x∣z′)x' = p_{\theta}(x \mid z'), which is then passed to the frozen diffusion model to synthesize the final preferred image i′i'.

Experiments

Datasets

Natural Scenes Dataset (NSD). The Natural Scenes Dataset (NSD), introduced by Allen et al. [2], provides high-resolution fMRI recordings from eight subjects viewing approximately 10,000 MS COCO images [34], each repeated three times to enhance data consistency. Following standard fMRI encoding practices [48, 78], beta values are z-scored within sessions and averaged across repetitions. ROI masks are utilized to extract activation patterns from specific brain regions, serving as essential constraints in our framework to align the VAE latent space with observed brain responses in 4.3.1.

ImageNet-mini. ImageNet-mini is a subset of the full ImageNet dataset [13], offering a diverse collection of images across various categories. This dataset serves as a benchmark for evaluating the performance of modulating artificial units from SIMCLR [8] in 4.3.2 and validating optimization performance under constrained image dimensions in 4.3.3.

Models

Implementation of our framework. Our VAE uses a linear encoder to map CLIP embeddings into an activation-constrained latent space and a linear decoder to reconstruct CLIP embeddings for controlled image synthesis. We use a pretrained CLIP-ViT-H-14 encoder [64] to extract 1024-dimensional embeddings, and Stable Diffusion v1.5 with IP-Adapter [83] as the image generator.

Baseline method. For every ROI, we re-implement BrainACTIV [17], a ridge-regularized linear model on ℓ2\ell_2-normalized CLIP embeddings, [x∥x∥⋅w+b]⟹r\left[\frac{x}{\lVert x\rVert} \cdot w+b\right] \Longrightarrow r, yielding a single modulation vector w∈R1024w \in\mathbb{R}^{1024}. This vector is interpreted as the direction of maximal and minimal activation in CLIP space: zmax⁡=w/∥w∥z_{\max}=w/\lVert w\rVert and zmin⁡=−w/∥w∥z_{\min}=-w/\lVert w\rVert. At inference time, a test CLIP embedding is shifted only along zmax⁡z_{\max} or zmin⁡z_{\min} before being injected, via an unchanged adapter, into a frozen image-to-image diffusion model. This baseline therefore assumes that activation increase and activation decrease can be represented by a single symmetric direction in CLIP space, whereas our method models them independently.

In-silico brain simulator. In our experiments, brain activations are evaluated with a DINO-ViT encoder [57]. DINO acts as a frozen feature extractor whose 12 layer outputs are fed to a single-layer ViT ensemble trained with ridge loss to predict neuronal responses. In line with the findings of [17], this encoder explains a large proportion of NSD voxel variance (typically R2>0.6R^2 > 0.6 in high-level ROIs), validating its use as a reliable neural readout. Because the encoder is not CLIP-based, it provides an independent estimate of neural activity.

Results

Generate Preferred Representations in Human Brain

With the structured landscape, we can obtain a better representation of a target brain region by sampling around the corresponding prior in latent space and generating images from those latent values, as shown in Figure 1.

In our latent space, we interpolate each latent code zz toward a positive or negative prior, z′=α⋅μprior+(1−α)⋅zz'=\alpha\cdot\mu_{\mathrm{prior}}+(1-\alpha)\cdot z, and pass it to a frozen SDEdit diffusion model with γ=1.0\gamma=1.0; thus, the output image depends solely on the edited embedding, allowing a clean comparison with the baseline.

Figure 3 and Table 1 show results on the NSD dataset. Our method produces activation changes in the intended direction across all reported ROIs, whereas BrainACTIV [17] fails to do so in several cases, especially for activation decrease. In particular, our method yields a larger decrease in activation in all reported regions, supporting the use of an independent negative prior rather than simply reversing the maximal direction used in BrainACTIV. For activation increase, the advantage of our method is most evident in less-studied or mixed-selective regions such as TE2p, IP0, and IP1, while performance is more comparable in strongly category-selective regions such as OFA, FFA, EBA, and OPA. Our method also consistently produces more realistic visual representations, as indicated by lower FID scores [22]. Those results demonstrate that, compared with linear interpolation method in BrainACTIV, which the negative direction is simply the reverse of the positive one, the key advantage of our method is constructing a structured space to make in-distribution sampling easier, mitigating out-of-distribution problem in linear interpolation method, which could produce consistently correct activation change, and generating more realistic images because sample from such latent space will avoid over-shift from original image representations. This is particularly useful when the target representation is noisy or mixed-selective.

Figure 3. Activation change results of our method and BrainACTIV [17] (A) Generate preferred representations of multiple ROIs with example images from COCO dataset by our method and baselines. The alpha value in interpolation indicates the strength and direction of preferred semantic in generation. (B) Comparison between predicted activations of ROIs made by DINO-ViT encoder. Means and ranges of activations are presented for different alpha settings. Our method outperforms the baseline in terms of maximizing or minimizing the ROI activations.

Table 1: Comparison of activation change and realism between our method and the baseline on NSD datasets. Better values are in bold face. For activation changes, ↑ indicates that higher values are better, and ↓ indicates that lower values are better. Our method produces activation changes that are more consistently aligned with the intended direction.

TE2pIP0IP1OFAFFAEBAOPA
Activation Increase (↑)Our Method0.2420.4980.1531.0520.8910.9630.699
BrainACTIV0.2070.4630.0441.1550.9761.1600.699
Activation Decrease (↓)Our Method-0.136-0.699-0.073-0.660-0.580-0.810-0.824
BrainACTIV0.1490.1860.0920.213-0.484-0.669-0.172
FID @ 2k (↓)Our Method172.71173.34178.01173.66153.70137.33166.01
BrainACTIV225.77213.17200.14216.15256.44188.59225.37

Table 1. Comparison of activation change and realism between our method and the baseline on NSD datasets.

To examine the robustness of the predictor, we further compare activation modulation results obtained with the original subject-specific predictor and with a held-out-subject predictor on the NSD dataset. The results are shown in Table 2. The comparable trends across the two predictors suggest that our conclusions are not driven solely by a single subject-specific model.

Table 2: Cross-subject generalization results on the NSD dataset. The table compares predicted activation changes obtained from the original subject-specific predictor and a held-out-subject predictor across several visual ROIs.

ROIsOFAFFAEBAVWFAOPAPPARSC
Activation Increase (original subj.)0.8690.8510.8600.8670.7310.9660.942
Activation Increase (held-out subj.)0.8610.9750.7900.6480.6291.0610.940
Activation Decrease (original subj.)-0.526-0.382-0.564-0.279-0.557-0.610-0.775
Activation Decrease (held-out subj.)-0.436-0.302-0.391-0.089-0.485-0.813-0.823

Table 2. Cross-subject generalization results on the NSD dataset.

Generate Preferred Representations in Artificial Neural Networks

Besides biological targets, we also test our approach on purely artificial targets: a mid-level unit inside a SimCLR encoder [8], a contrastive-learning framework with a ResNet-50 backbone, as well as a unit from a more complex Vision Transformer (ViT). Figure 4

Figure 4. Generate preferred images with increasing unit activations in ANNs. (A) The top 10 images demonstrate a notable pattern of “green plant & insect” represented by a unit in the middle layer of the SimCLR model. Our method generates images that better match this pattern and increase activation more than the BrainACTIV [17]. (B) For a mid-layer unit in a more complex Vision Transformer (ViT), our method synthesizes images that can better activate the unit compared with the baseline, although the underlying concept appears more ambiguous.

shows natural images that produce the largest responses from the chosen units in these ANNs. With our model trained on unit activations, editing the latent code toward the positive prior can generate representations that better activate the selected ANN units than the BrainACTIV [17] in these examples.

Optimize Unit Activations while Preserving Unrelated Features

To demonstrate the strength of our structured VAE latent space, we trained our model with ImageNet dataset. Standard VAE with a standard Gaussian prior. Then we constrain latent of VAE with multiple units activations, and only optimize the latent dimensions controlled by a certain unit. Compared with vanilla VAEs, our method achieves more significant changes in unit responses while preserving unrelated essential image characteristics. Besides modifying latent to prior values, which can manipulate activations and preserve features value, we further optimize the VAE’s latent variables zz using gradient-based methods, applying the Adam optimizer to adjust zz such that the activation rr of targeted network units is either maximized or minimized. The optimization objective combines the desired activation change with a KL divergence (KLD) regularization term, ensuring that the latent representation remains aligned with the prior distribution. The results of latent modification and optimization on both VAEs are shown in Figure 5.

Figure 5. a) Generating preferred images with different methods on ImageNet Dataset. Left 4 columns show optimizing images to increase their activations. Column 1 are four example input images. Column 2-3 are results of our method while column 4 represent optimizing the latent space with a standard VAE. Right 4 columns are results of optimization in the same methods presenting in the same order, with target of decreasing activations. b) shows the shift in the activation value between and the cosine similarity between randomly chosen 100 original images and their optimized results over different methods. Compared with baseline VAE, our method can modulate activation better as well as maintain similarity with original images, meaning unrelated features are preserved.

To further validate the effectiveness of our optimization approach. Cosine similarity, computed using features extracted from a pre-trained ResNet18 [21] encoder, quantifies the preservation of image features. Results in Figure 5 indicate that our structured landscape approach not only achieves more robust activation changes but also maintains similarity to the original images compared to standard VAE methods, underscoring the efficacy of incorporating structured priors for latent optimization.

Discussion and Limitations

We developed Vis-Lens, a framework that imposes an activation-regularized prior on a VAE to yield a structured latent landscape and then performs direct latent editing to steer activations in biological and artificial targets. This structured landscape can also modulate the activation of target units while preserving unrelated features. Vis-Lens shows clear advantages in changing activations in correct direction, keeping image realism and decreasing activations under our evaluation protocol. Inhibit activation is meaningful in clinical applications, reducing abnormally elevated activity in specific circuits has been associated with therapeutic benefit. For example, prior work has shown that attenuation of amygdala hyper-reactivity is linked to improvement in anxiety and trauma-related symptoms [29], while reduction of subgenual cingulate hyperactivity has been associated with antidepressant treatment effects [20]. Thus, although our study is entirely in-silico and does not constitute a medical intervention, the ability to selectively suppress target-unit responses may be relevant for modeling clinically meaningful forms of neural modulation.

Our framework can also extend to artificial neural networks as a controlled setting for studying feature visualization. Compared with the linear method, Vis-Lens does not assume that activation increase and decrease follow a single linear direction in CLIP space. Instead, it learns activation-specific regions in a structured latent space, and enables more controllable sampling, which is especially useful when neural responses are noisy and mixed-selective.

There are also limitations to our work. The image generator and the CLIP encoder are frozen, so biases inherited from their pre-training data may propagate into the generated preferred images.

In the future, we may scale the framework to additional modalities such as EEG, MEG or larger-scale brain datasets, and move beyond in-silico evaluation by testing the generated preferred images in human experiments; such closed-loop validation would further confirm the effectiveness of our framework and broaden its potential use in brain-computer-interface applications.

References

Appendix Overview

This appendix provides comprehensive details and additional results to support the findings presented in the main paper and ensure that all of the results can be reproduced. The appendix content is organized into the following sections:

  • Additional Results: Additional visualizations and analyses that further demonstrate the effectiveness of our proposed methods. More examples of enhanced sampling, local change results are presented, as shown in section A.

  • Experimental Settings: Comprehensive information about the datasets settings, like input size and how are the datasets divided and processed, model architectures and implementation details, then training configurations and computational resources. All of them can provide a clear understanding of our experimental setup, which are helpful to reproduce the results, as shown in section B.

  • Implementation Details: Detailed information about the algorithms we used to implement our method, including pseudocode, and corresponding explanations. All of them can provide a clear understanding of how the training and optimization are carried out, as shown in section C.

  • Predictive Power of In-silico brain simulator: Information about how much our trained In-silico brain simulator can predict the brain activity data, as shown in section D.

Additional Results

More Results for the NSD Dataset

Here is a summarized table of more experimental results on NSD dataset:

ROIsV1V2V3V4V8LO1LO2V4t
Activation Increase (Δr\Delta r)Ours0.2570.0800.2470.4860.6960.5830.4980.757
Activation Increase (Δr\Delta r)BrainACTIV0.1570.1160.2260.4880.7210.5820.5170.767
Activation Decrease (Δr\Delta r)Ours-0.291-0.272-0.573-0.690-0.406-0.485-0.490-0.601
Activation Decrease (Δr\Delta r)BrainACTIV0.1020.2240.2740.5010.6080.100-0.057-0.511
FID@2kOurs164.87157.84167.44173.24160.07136.05186.67178.62
FID@2kBrainACTIV224.29201.56240.64231.60216.80208.23255.06197.61
ROIsVWFA-1PPARSCOWFAIP2TPOJ1TPOJ2TPOJ3
Activation Increase (Δr\Delta r)Ours1.1080.9520.9230.7180.0910.4560.6611.014
Activation Increase (Δr\Delta r)BrainACTIV1.0190.9260.9541.0880.0840.5090.7511.091
Activation Decrease (Δr\Delta r)Ours-0.391-0.809-0.913-0.780-0.213-0.136-0.384-0.591
Activation Decrease (Δr\Delta r)BrainACTIV0.350-0.579-0.8040.3470.061-0.134-0.234-0.484
FID@2kOurs169.14153.67172.92163.88168.56192.04131.83137.57
FID@2kBrainACTIV229.65234.79216.65207.15171.94244.44197.94197.24

Table S1. Activation change and realism on additional ROIs. Better values are in bold.

The full test-set results for the additional ROIs are provided in Figure S1–Figure S16.

Grid of image results labeled Original, Vis-Lens, BrainACTIV, and α = 0.2, α = 0.4, α = 0.6, α = 0.8, α = 1.0

Figure S1. Full result of activation change on region IPS4, positive direction.

Figure S16. Full result of activation change on region V4, negative direction.

ROI: IPS4.

Figure S2. Full result of activation change on region IPS4, negative direction.

ROI: SPL1.

Figure S3. Full result of activation change on region SPL1, positive direction.

Grid of image panels labeled Original, Vis-Lens, and BrainACTIV, showing activation changes for $\alpha = -0.2$, $\alpha = -0.4$, $\alpha = -0.6$, $\alpha = -0.8$, and $\alpha = -1.0$

Figure S4. Full result of activation change on region SPL1, negative direction.

ROI: 31a.

Figure S5. Full result of activation change on region 31a, positive direction.

Figure S6. Full result of activation change on region 31a, negative direction.

ROI: 31pd.

Figure S7. Full result of activation change on region 31pd, positive direction.

Grid of original, Vis-Lens, and BrainACTIV images showing activation changes for α = −0.2, −0.4, −0.6, −0.8, and −1.0

Figure S8. Full result of activation change on region 31pd, negative direction.

ROI: V1.

Figure S9. Full result of activation change on region V1, positive direction.

Grid of original, Vis-Lens, and BrainACTIV images showing activation changes for $\alpha=-0.2$, $\alpha=-0.4$, $\alpha=-0.6$, $\alpha=-0.8$, and $\alpha=-1.0$

Figure S10. Full result of activation change on region V1, negative direction.

ROI: V2.

Figure S11. Full result of activation change on region V2, positive direction.

Full result of activation change on region V2, negative direction, showing Original, Vis-Lens, and BrainACTIV image grids for $\alpha = -0.2$, $\alpha = -0.4$, $\alpha = -0.6$, $\alpha = -0.8$, and $\alpha = -1.0$.

Figure S12. Full result of activation change on region V2, negative direction.

ROI: V3

Figure S13. Full result of activation change on region V3, positive direction.

Grid of original, Vis-Lens, and BrainACTIV images showing activation changes for $\alpha=-0.2$, $\alpha=-0.4$, $\alpha=-0.6$, $\alpha=-0.8$, and $\alpha=-1.0$

Figure S14. Full result of activation change on region V3, negative direction.

ROI: V4.

Figure S15. Full result of activation change on region V4, positive direction.

More ANN Results

We present more examples on manipulating activations in SimCLR[8], shown in Figure S17–Figure S22, which further demonstrate the effectiveness of our method.

Figure S17. One latent modification example to generate preferred images with increasing unit activations on ImageNet-mini Dataset. Though the top 10 images can not demonstrate a notable pattern represented by the unit in the early layer of SimCLR model, our method can generate a uniform representation and compared with original images from ImageNet-mini, generated preferred images based on modifying the latent to the positive prior mean shows a more apparent change in activation compared with original images and representations from BrainACTIV.

Figure S22. One latent modification example to generate preferred images with increasing unit activations on ImageNet-mini Dataset. Though the top 10 images can not demonstrate a notable pattern represented by the unit in the early layer of SimCLR model, our method can generate a uniform representation and compared with original images from ImageNet-mini, generated preferred images based on modifying the latent to the positive prior mean shows a more apparent change in activation compared with original images and representations from BrainACTIV.

Figure S18. One latent modification example to generate preferred images with increasing unit activations on ImageNet-mini Dataset. Though the top 10 images can not demonstrate a notable pattern represented by the unit in the early layer of SimCLR model, our method can generate a uniform representation and compared with original images from ImageNet-mini, generated preferred images based on modifying the latent to the positive prior mean shows a more apparent change in activation compared with original images and representations from BrainACTIV.

Figure S19. One latent modification example to generate preferred images with increasing unit activations on ImageNet-mini Dataset. Though the top 10 images can not demonstrate a notable pattern represented by the unit in the early layer of SimCLR model, our method can generate a uniform representation and compared with original images from ImageNet-mini, generated preferred images based on modifying the latent to the positive prior mean shows a more apparent change in activation compared with original images and representations from BrainACTIV.

Figure S20. One latent modification example to generate preferred images with increasing unit activations on ImageNet-mini Dataset. The top 10 images demonstrate a notable pattern represented by the unit in the deep layer of SimCLR model, that round objects appear in top images. Our method can also generate a uniform representation and compared with original images from ImageNet-mini, generated preferred images based on modifying the latent to the positive prior mean shows a more apparent change in activation compared with original images and representations from BrainACTIV.

Figure S21. One latent modification example to generate preferred images with increasing unit activations on ImageNet-mini Dataset. The top 10 images demonstrate a notable pattern represented by the unit in the deep layer of SimCLR model, that grid objects appear in top images. Our method can also generate a uniform representation and compared with original images from ImageNet-mini, generated preferred images based on modifying the latent to the positive prior mean shows a more apparent change in activation compared with original images and representations from BrainACTIV.

Experimental Settings

Dataset Details

We will show how the dataset was processed in this part.

Natural Scenes Dataset (NSD): [2]: we selected 1000 images presented to Subject 1 from the dataset as our test set, while using CLIP embeddings of 9000 images shown to same subject for training. We used same test images selected by the BrainACTIV. And for the measurement of activation change and FID score, we use all 1000 images presented to same subject as test set in COCO dataset [34] and their CLIP embeddings. 2k images for FID[22] calculation are the combination of 1k preferred images to maximize/minimize the activations, respectively. The CLIP embeddings are retrieved from the first output of CLIP encoder [64], the dimension is 1024 for every image.

Imagenet-mini [13]: The train and test split follow the default settings in the orginal dataset, which divided the whole dataset into train/val sets, we use train as our train set and val as our testset. Train set consists of 34,745 images, and test set consists of 3,923 images. For the training process of SimCLR, we used following transform techniques in torchvision.transforms to edit the orginal Imagenet-mini images:

transforms.RandomResizedCrop(128, scale=(0.08, 1.0),
interpolation=Image.BICUBIC)
transforms.RandomHorizontalFlip()
transforms.ToTensor()

Model Implementation Details

VAE Implementation and Training.

VAE: For NSD and ImageNet dataset to learn CLIP embeddings, using VAE architecture [30] consists of an encoder and a decoder with the following layers:

  • Encoder (CLIP →\to latent)

    • FCenc_{\mathrm{enc}}: 1024⟶40961024 \longrightarrow4096 (first 2048 dims are μ\mu, last 2048 dims are log⁡σ2\log\sigma^2)

  • Latent layer

    • μ∈R2048\mu\in\mathbb{R}^{2048}, log⁡σ2∈R2048\log\sigma^2 \in\mathbb{R}^{2048}

    • Reparameterisation: z=μ+ϵ⊙exp⁡(0.5log⁡σ2)z = \mu+ \epsilon\odot\exp(0.5 \log\sigma^2)

  • Decoder (latent →\to CLIP)

    • FCdec_{\mathrm{dec}}: 2048⟶10242048 \longrightarrow1024 (reconstructed CLIP embedding)

This CLIP-to-CLIP VAE is distinct from the image-space VAE used in the latent optimization experiments, whose decoder produces images directly.

The VAE training configurations are shown in the Table S2.

HyperparameterNSDImageNet
Data Hyperparameters
input_size1024 dim embeddings1024 dim embeddings
n_channels11
Model Hyperparameters
latent_dim20482048
Training Settings
seed00
batch_size128128
epochs150150
optimizerAdamAdam
lr1×10−41 \times10^{-4}1×10−31 \times10^{-3}
schedulerStepLR (step_size=10, γ=0.9\gamma= 0.9)StepLR (step_size=10, γ=0.9\gamma= 0.9)
grad_clip1.01.0

Table S2. VAE Hyperparameters and Training Settings for NSD and ImageNet-mini datasets.

Implementation of Diffusion Pipeline.

All images are first converted to a 1024-dimensional representation with the frozen CLIP-ViT-H/14 encoder released by LAION [68]. For every split of the Natural Scenes Dataset we iterate once over the raw-pixel loader, compute the embeddings and cache the resulting CLIP features. Subsequent experiments therefore operate purely in embedding space and never revisit the expensive vision backbone.

Image synthesis uses the “img-to-img” variant of Stable Diffusion v1.5 from the DIFFUSERS library [31]. We swap the original PNDM scheduler for DDIM (better speed/quality trade-off) and disable the safety checker to avoid unintended filtering. Every network in the pipeline—U-Net, text encoder, VAE, and the IP-Adapter [83] that injects the CLIP embedding into the cross-attention blocks—remains entirely frozen. We use an IP-Adapter checkpoint compatible with the ViT-H/14 image embeddings employed for feature extraction.

During inference each RGB frame (512 ×\times 512 px) is supplied together with a target CLIP embedding—either the baseline embedding obtained by ridge regression or the one produced by our activation-aware VAE. Unless noted otherwise we set the SDEdit strength to γ=1.0\gamma= 1.0; We run 50 DDIM steps per image, draw a single sample, and fix the random seed to 42 for strict comparability across all methods.

Implementation of Other Models.

SimCLR. We train a SimCLR encoder with a ResNet-50 backbone on ImageNet-mini, as described in § 4.4. Training uses the 128 ×\times 128 image crops and augmentations specified above, with the model adjusted to accommodate this input resolution.

Metric Details

Quantifying Similarity. To further evaluate the structured landscape, we used similarity and realism metrics. For similarity between original images and images with activation optimized but unrelated features preserved, we use cosine similarity as follows. Given a set of images {Ii}\{I_i\} with feature embeddings {fi}\{f_i\}, the similarity score is expressed as:

Cosine Similarity⁡(fi,fj)=fi⋅fj∥fi∥∥fj∥\operatorname{Cosine\ Similarity}(f_i, f_j) = \frac{f_i \cdot f_j}{\lVert f_i \rVert\lVert f_j \rVert}

Implementation of Similarity Calculation: Following § 4.5, feature preservation is quantified using a pretrained ResNet18 encoder [21]. We compute cosine similarity between the feature embedding of each original image and that of its corresponding optimized image. Higher similarity indicates greater preservation of image features.

Quantifying Realism: Frechét Inception Distance (FID): To quantify overall realism we report the Frechét Inception Distance, computed on the 2 048-D pool-3 activations of a frozen Inception-v3 network. Let μr\mu_r, Σr\Sigma_r and μg\mu_g, Σg\Sigma_g be the empirical means and covariances of the real and generated image features, respectively. The FID is

FID=∥μr−μg∥22+Tr⁡(Σr+Σg−2(ΣrΣg)1/2)\mathrm{FID} = \lVert\mu_r - \mu_g \rVert_2^2 + \operatorname{Tr}\left(\Sigma_r + \Sigma_g - 2\left(\Sigma_r\Sigma_g\right)^{1/2}\right)

Lower values indicate that the generated distribution is closer to the real one. For the NSD evaluation, each method generates 1,000 images in the positive direction and 1,000 in the negative direction. We pool these into a single set of 2,000 generated images per method and compute one FID against the 1,000 original test images repeated twice. FID is computed with the TORCHMETRICS implementation using feature=2048.

Computational Resources

All experiments were carried out on a single workstation equipped with 8×8 \times NVIDIA RTX A5000 GPUs (each with 24 GB on-board memory, CUDA 12.2, driver 535.183), an AMD EPYC 7543 CPU (32 cores, 2.8 GHz) and 512 GB of system RAM. One GPU was used for model training or inference at a time. Training a CLIP-to-CLIP VAE on the NSD train split (≈9\approx9 k images) with a batch-size of 128 took ≈6.5\approx6.5 hours on a single A5000; Optimizing on Imagenet-mini completed in under 40 minutes. For diffusion-based generation (IP-Adapter + Stable-Diffusion v1.5, 50 DDIM steps) ,producing one full 2 k-image evaluation set (positives + negatives) took about 70 minutes.

C Implementation Details

Training Details

The following pseudocode summarizes the training objective and generation procedure described in § 3.3.

Algorithm 1 VAE Training with Activation Regularization

Require:

  1. vae: Variational Autoencoder model

  2. optimizer: Optimizer (Adam)

  3. scheduler: Learning rate scheduler (StepLR)

  4. num_epochs: Number of training epochs

Ensure:

  1. VAE with structured latent space and high-quality reconstruction

  1. procedure TrainVAE(vae, optimizer, \ldots)

  2. for epoch = 1 to num_epochs do

  3.     for each batch do

  4.         optimizer.zero_grad()

  5.         Forward Pass:

  6.         (μ,log⁡σ2)←vae.encode(data)(\mu, \log\sigma^2) \gets\texttt{vae.encode(data)}

  7.         η∼N(0,I)\eta\sim\mathcal{N}(0, I); z←μ+exp⁡(12log⁡σ2)⊙ηz \gets\mu+ \exp\left(\frac{1}{2}\log\sigma^2\right) \odot\eta

  8.         x^←vae.decode(z)\hat{x} \gets\texttt{vae.decode}(z)

  9.         Compute Loss:

  10.         Reconstruction Loss ←∥data−x^∥22\gets\lVert\text{data} - \hat{x}\rVert_2^2

  11.         Compute Prior Parameters:

  12.         σprior←λ∣activation_values+ϵ∣\sigma^{\mathrm{prior}} \gets\frac{\lambda}{\lvert\texttt{activation\_values}+\epsilon\rvert}

  13.         μiprior←{μpos,if activation_valuesi>0,μneg,otherwise.\mu_i^{\mathrm{prior}} \gets\begin{cases} \mu_{\mathrm{pos}}, & \text{if }\texttt{activation\_values}_i > 0, \\ \mu_{\mathrm{neg}}, & \text{otherwise.} \end{cases}

  14.         Compute KLD Loss from μ\mu, σ\sigma, μprior\mu^{\mathrm{prior}}, σprior\sigma^{\mathrm{prior}} using Eq. (3)

  15.         Total Loss ←ωrecon×\gets\omega_{\mathrm{recon}} \times Reconstruction Loss +ωKLD×+ \omega_{\mathrm{KLD}} \times KLD Loss

  16.         Backpropagation:

  17.         Total Loss.backward()

  18.         optimizer.step()

  19.     end for

  20.     scheduler.step()

  21. end for

  22. end procedure

Latent Modification and Image Generation. To generate high-quality preferred images that enhance activations based on the latent modification, the algorithm is shown as following block 2:

Algorithm 2 Vis-Lens: Preferred–Image Generation

Require:

iini_{\mathrm{in}} … RGB input image clip_enc\mathrm{clip\_enc} … frozen CLIP–ViT-H encoder xx … 1024-d CLIP embedding of iini_{\mathrm{in}} vae\mathrm{vae} … activation-aware CLIP→\toCLIP VAE z,μz, \mu … latent code / mean; μpos,μneg\mu_{\mathrm{pos}}, \mu_{\mathrm{neg}} … activation priors ip_adapter\mathrm{ip\_adapter} … frozen IP-Adapter sd15\mathrm{sd15} … Stable-Diffusion v1.5 (DDIM) α\alpha … linear interpolation weight, γ\gamma … SDEdit strength rdir∈{pos,neg}r_{\mathrm{dir}} \in\{\mathrm{pos}, \mathrm{neg}\} … desired ROI shift

Ensure: preferred image iouti_{\mathrm{out}}

  1. procedure GenPreferred(iin,rdir)\mathrm{GenPreferred}(i_{\mathrm{in}}, r_{\mathrm{dir}})

  2. x←clip_enc(iin)x \leftarrow\mathrm{clip\_enc}(i_{\mathrm{in}})

  3. (μ,log⁡σ2)←vae.encode(x); z←μ(\mu, \log\sigma^2) \leftarrow\mathrm{vae.encode}(x); \ z \leftarrow\mu

  4. if rdir=posr_{\mathrm{dir}} = \mathrm{pos} then

  5. μprior←μpos\mu_{\mathrm{prior}} \leftarrow\mu_{\mathrm{pos}}

  6. else

  7. μprior←μneg\mu_{\mathrm{prior}} \leftarrow\mu_{\mathrm{neg}}

  8. end if

  9. z′←αμprior+(1−α)zz^\prime\leftarrow\alpha\mu_{\mathrm{prior}} + (1-\alpha)z

  10. xgen←vae.decode(z′)x_{\mathrm{gen}} \leftarrow\mathrm{vae.decode}(z^\prime)

  11. iout←ip_adapter.generate(clip=xgen,image=iin,γ,50 steps)i_{\mathrm{out}} \leftarrow\mathrm{ip\_adapter.generate}(\mathrm{clip}=x_{\mathrm{gen}}, \mathrm{image}=i_{\mathrm{in}}, \gamma, 50\ \mathrm{steps})

  12. return iouti_{\mathrm{out}}

  13. end procedure

Here are more detailed explanations of our generation process:

  • The input image iini_{\mathrm{in}} is projected to a CLIP embedding xx with the frozen encoder.

  • The activation-aware VAE encodes xx to latent mean μ\mu; we take z=μz = \mu for a deterministic edit.

  • Following § 4.3.1, the latent edit is z′=αμprior+(1−α)zz^\prime= \alpha\mu_{\mathrm{prior}} + (1-\alpha)z, where μprior\mu_{\mathrm{prior}} is the positive prior μpos\mu_{\mathrm{pos}} to raise activity or the negative prior μneg\mu_{\mathrm{neg}} to suppress it.

  • Decoding z′z^\prime gives an intermediate CLIP embedding xgenx_{\mathrm{gen}}.

  • xgenx_{\mathrm{gen}} is injected—via a frozen IP-Adapter—into Stable-Diffusion v1.5. With SDEdit strength γ=1.0\gamma= 1.0 the reverse DDIM process relies entirely on xgenx_{\mathrm{gen}}; smaller γ\gamma blends in low-level structure from the reference image.

  • The sampler returns the final preferred image iouti_{\mathrm{out}}, which is used in all downstream analyses.

Details about Optimizing Unit Activations with Latent

The algorithm for optimizing neural network unit responses using latent variables from a VAE is listed as following algorithm block 3:

Algorithm 3 Optimize Activation with Latent Variables

Require:

  1. net: Pre-trained neural network model

  2. vae: Pre-trained Variational Autoencoder

  3. layer_name: Target layer in net

  4. unit_idx: Index of target unit

  5. num_iterations: Number of optimization steps

  6. learning_rate: Learning rate for optimizer

  7. KLD_weight: Weight for Kullback-Leibler Divergence loss

  8. target: Direction “max” or “min”)

  9. init_data: Initial data sample

  10. J\mathcal{J}: Latent dimensions associated with the target unit

Ensure:

  1. Optimized responses scores, Controlled KLD loss

  1. procedure OptimizeActivation(net, vae, . . .)

  2.     Initialize Latent Variable:

  3.     (\mu, \logvar) \leftarrow\operatorname{vae.encode}(\texttt{init\_data})

  4.     z←μ,z0←μz \leftarrow\mu,\quad z_0 \leftarrow\mu

  5.     Set Up Optimizer:

  6.     optimizer⁡←Adam⁡(z,lr⁡=learning_rate)\operatorname{optimizer} \leftarrow\operatorname{Adam}(z,\operatorname{lr}=\texttt{learning\_rate})

  7.     Register Activation Hook on layer_name

  8.     for iteration = 1 to num_iterations do

  9.         Decode Latent to Image:

  10.         x←vae.decode⁡(z)x \leftarrow\operatorname{vae.decode}(z)

  11.         Forward Pass:

  12.         net⁡(x)\operatorname{net}(x)

  13.         Compute Loss:

  14.         if target = “max” then

  15.             loss ←−activation+ωKLD×KLD⁡(z)\leftarrow-\text{activation} + \omega_{\mathrm{KLD}} \times\operatorname{KLD}(z)

  16.         else

  17.             loss ←activation+ωKLD×KLD⁡(z)\leftarrow\text{activation} + \omega_{\mathrm{KLD}} \times\operatorname{KLD}(z)

  18.         end if

  19.         Backpropagation:

  20.         optimizer.zero_grad⁡()\operatorname{optimizer.zero\_grad}()

  21.         loss.backward⁡()\operatorname{loss.backward}()

  22.         optimizer.step⁡()\operatorname{optimizer.step}()

  23.         zj←(z0)jz_j \leftarrow(z_0)_j for all j∉Jj \notin\mathcal{J}

  24.     end for

  25.     Remove Activation Hook

  26.     Return xx, activation scores

  27. end procedure

More Explanation of the Algorithm. This algorithm describes the image-space VAE optimization experiment in § 4.5. To preserve unrelated features, only the latent dimensions J\mathcal{J} associated with the selected unit are updated; the remaining coordinates stay at their initial values. The VAE and target network remain fixed while the latent code is optimized to increase or decrease the target response.

Initialization: We initialize the latent variable zz by encoding the input image using the VAE encoder:

(\mu, \logvar) \leftarrow\operatorname{vae.encode}(\texttt{init\_data})
z←μz \leftarrow\mu

Optimization Loop: For each iteration, we perform the following steps:

  1. Decode Latent to Image: The current latent variable zz is decoded to generate an image xx:

x←vae.decode⁡(z)x \leftarrow\operatorname{vae.decode}(z)
  1. Forward Pass and Activation Capture: The generated image xx is passed through the neural network net. We utilize a registered hook function on the target layer to capture the activation of the target unit during this forward pass:

net⁡(x)\operatorname{net}(x)

The hook function retrieves the target activation activation, which will be used in the loss computation. This approach allows us to monitor and manipulate the activation of specific units without altering the forward pass logic of the network.

3. Compute Loss: We compute the loss function, which consists of two components: the activation term and the Kullback-Leibler Divergence (KLD) regularization term.

  • Activation Term: Depending on the optimization direction (maximize or minimize), we use the negative or positive of the target unit’s activation:

loss⁡={−activation⁡,if target = “max”activation⁡,if target = “min”\operatorname{loss} = \begin{cases} -\operatorname{activation}, & \text{if target = “max”} \\ \operatorname{activation}, & \text{if target = “min”} \end{cases}
  • KLD Regularization Term: The KLD term ensures that the latent variable zz remains within a plausible region of the latent space. We consider two method for the KLD calculation. One is our method, and the other one is using the latent space of Standard VAE to compute KLD loss, which is our baseline.

  • Our Method: We calculate the KLD using a modified prior that incorporates the desired change in activation. Specifically, the prior mean μprior\mu^{\mathrm{prior}} is adjusted based on the target direction:

μprior={+1,if target = “max”−1,if target = “min”\mu^{\mathrm{prior}} = \begin{cases} +1, & \text{if target = “max”} \\ -1, & \text{if target = “min”} \end{cases}

The KLD is then computed as:

KLD⁡our(z)=12∑i=1dz[2log⁡(σipriorσi)−1+σi2+(μi−μiprior)2(σiprior)2]\operatorname{KLD}_{\mathrm{our}}(z) = \frac{1}{2}\sum_{i=1}^{d_z} \left[ 2\log\left(\frac{\sigma_i^{\mathrm{prior}}}{\sigma_i}\right)-1+ \frac{\sigma_i^2+(\mu_i-\mu_i^{\mathrm{prior}})^2}{(\sigma_i^{\mathrm{prior}})^2} \right]

where σiprior\sigma_i^{\mathrm{prior}} is set to a small constant (e.g., 0.1).

  • Standard VAE: We calculate the KLD using the standard Gaussian prior with zero mean and unit variance:

KLD⁡standard(z)=12∑i=1dz(μi2+σi2−log⁡(σi2)−1)\operatorname{KLD}_{\mathrm{standard}}(z) = \frac{1}{2}\sum_{i=1}^{d_z} \left(\mu_i^2+\sigma_i^2-\log(\sigma_i^2)-1\right)
  • Total Objective Function: The total loss combines the activation loss and the KLD regularization:

loss⁡=activation_loss⁡+ωKLD×KLD⁡(z)\operatorname{loss}=\operatorname{activation\_loss}+\omega_{\mathrm{KLD}}\times\operatorname{KLD}(z)

where KLD⁡(z)\operatorname{KLD}(z) is either KLD⁡our(z)\operatorname{KLD}_{\mathrm{our}}(z) or KLD⁡standard(z)\operatorname{KLD}_{\mathrm{standard}}(z) depending on the mode.

4. Backpropagation: We perform backpropagation to compute the gradients of the loss with respect to zz and update zz using the optimizer.

optimizer.zero_grad()
loss.backward()
optimizer.step()

Configurations: During the implementation, learning rate was set to 0.1, num_iterations to 10000 and ωKLD\omega_{\mathrm{KLD}} to 0.001.

Predictive Power of In-silico brain simulator

The following plots compare observed and predicted responses for the in-silico brain simulator described in § 4.2. The simulator uses a frozen DINO-ViT feature extractor and a single-layer ViT ensemble over its 12 layer outputs. Separate simulators are trained for different ROI groups. In these fMRI plots, the displayed correlation is the arithmetic mean of the Pearson correlations computed separately for the ROIs in each group.

Actual vs Predicted fMRI Activations scatter plot

Figure S23. Observed versus predicted responses. ROIs: OFA, FFA-1, EBA, VWFA-1, OPA, PPA, RSC, OWFA.

Observed versus predicted responses

Figure S24. Observed versus predicted responses. ROIs: IPS4, SPL1, TO1, PHC2, VO2, PGi, VVC, TE2a.

Observed versus predicted responses

Figure S25. Observed versus predicted responses. ROIs: STSdp, 31a, 31pd, DVT, FST, Gp, PGs, PH.

Actual vs Predicted fMRI Activations

Figure S26. Observed versus predicted responses. ROIs: TE2p, PHT, TPOJ1, TPOJ2, TPOJ3, IP0, IP1, IP2.

Actual vs Predicted fMRI Activations scatter plot

Figure S27. Observed versus predicted responses. ROIs: V1, V2, V3, V4, V8, LO1, LO2, V4t.

Actual vs Predicted EEG Activations

Figure S28. Observed versus predicted responses. Occipital Channels: O1, Oz, O2, PO7, PO3, POz, PO4, PO8.

References

  1. [1]Igor Abramov. 2025. EEG-Driven Image Reconstruction with Saliency-Guided Diffusion Models. In Proceedings of the 33rd ACM International Conference on Multimedia (MM ’25). ACM, 13522–13524. doi:10.1145/3746027.3754476DOI
  2. [2]Emily J. Allen, Ghislain St-Yves, Yihan Wu, Jesse L. Breedlove, Logan T. Dewald, Brad Caron, Franco Pestilli, Ian Charest, J. Benjamin Hutchinson, Thomas Naselaris, and Kendrick Kay. 2021. A massive 7T fMRI dataset to bridge cognitive and computational neuroscience. bioRxiv (2021). arXiv:https://www.biorxiv.org/content/early/2021/02/22/2021.02.22.432340.full.pdf doi:10.1101/2021.02.22.432340DOI
  3. [3]Martin Arjovsky, Soumith Chintala, and Léon Bottou. 2017. Wasserstein GAN. arXiv preprint arXiv:1701.07875 (2017).arxiv.org/abs/1701.07875
  4. [4]Pouya Bashivan, Kohitij Kar, and James J DiCarlo. 2019. Neural population control via deep image synthesis. Science 364, 6439 (2019), eaav9436.DOI
  5. [5]David Bau et al. 2017. Network Dissection: Quantifying Interpretability of Deep Visual Representations. In Conference on Computer Vision and Pattern Recognition (CVPR).
  6. [6]Vinamra Benara, Chandan Singh, John X. Morris, Richard Antonello, Ion Stoica, Alexander G. Huth, and Jianfeng Gao. 2024. Crafting Interpretable Embeddings by Asking LLMs Questions. arXiv:2405.16714 [cs.CL] https://arxiv.org/abs/2405.16714
  7. [7]Yohann Benchertit, Hubert Banville, and Jean-Rémi King. 2024. Brain decoding: toward real-time reconstruction of visual perception. In International Conference on Learning Representations (ICLR).
  8. [8]Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. 2020. A Simple Framework for Contrastive Learning of Visual Representations. In International Conference on Machine Learning (ICML).arxiv.org/abs/2002.05709
  9. [9]Xi Chen, Nikhil Mishra, Mustafa Rohaninejad, and Pieter Abbeel. 2018. Pixel-SNAIL: An Improved Autoregressive Generative Model. In Proceedings of the International Conference on Machine Learning (ICML).
  10. [10]Jizhao Chen, Jiaxin Qing, Tiange Jiang, Wan Lin Yue, and Juan Helen Zhou. 2023. Seeing Beyond the Brain: Conditional Diffusion Model with Sparse Masked Modeling for Vision Decoding. arXiv:2211.06956 [cs.CV] https://arxiv.org/abs/2211.06956
  11. [11]T Dado, P Papale, et al. 2024. Brain2GAN: Feature-Disentangled Neural Encoding and Decoding of Visual Perception in the Primate Brain. PLoS Computational Biology (2024). https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1012058DOI
  12. [12]Carlos de la Torre-Ortiz and Tuukka Ruotsalo. 2024. Perceptual Visual Similarity from EEG: Prediction and Image Generation. 11146–11155 pages. doi:10.1145/3664647.3685508
  13. [13]Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. 2009. ImageNet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition. 248–255. doi:10.1109/CVPR.2009.5206848DOI
  14. [14]Zhiwei Ding, Dat Tran, Kayla Ponder, Erick Cobos, Zhuokun Ding, Paul Fahey, Eric Wang, Taliah Muhammad, Jiak un Fu, Santiago Cadena, Stelios Papadopoulos, Saumil Patel, Katrin Franke, Jacob Reimer, Fabian Sinz, Alexander Ecker, Xaq Pitkow, and Andreas Tolias. 2023. Bipartite invariance in mouse primary visual cortex. doi:10.1101/2023.03.15.532836DOI
  15. [15]Dumitru Erhante, Tommaso Boccato, Luca Passamonti, and Nicola Toschi. 2009. Visualizing higher-layer features of a deep network. University of Montreal (2009).
  16. [16]Matteo Ferrante, Tommaso Beccato, Luca Passamonti, and Nicola Toschi. 2024. Retrieving and reconstructing conceptually similar images from fMRI with latent diffusion models and a neuro-inspired brain decoding model. Journal of Neural Engineering 21, 4 (2024), 046001.DOI
  17. [17]Diego Garcia Cerdas, Christina Sarztetaki, Magnus Petersen, Gemma Roig, Pascal Mettes, and Iris Groen. 2025. BrainACTIV: Identifying visuo-semantic properties driving cortical selectivity using diffusion-based image manipulation. In Proceedings of the International Conference on Learning Representations. https://openreview.net/forum?id=CGON8btleu
  18. [18]Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. 2014. Generative adversarial nets. Advances in Neural Information Processing Systems (NeurIPS) (2014).
  19. [19]Zijin Gu, Keith Wakefield Jamison, Meenakshi Khosla, Emily J. Allen, Yihan Wu, Ghislain St-Yves, Thomas Naselaris, Kendrick Kay, Mert R. Sabuuncu, and Amy Kuceyeski. 2022. NeuroGen: Activation optimized image synthesis for discovery neuroscience. NeuroImage 247 (2022), 118812. doi:10.1016/j.neuroimage.2021.118812DOI
  20. [20]Itay Hadas, Yinming Sun, Pantelis Lioumis, Reza Zomorrod i, Brett Jones, Daphne Voineskos, Jonathan Downar, Paul Fitzgerald, Daniel Blumberger, and Zafiris Daskalakis. 2019. Association of Repetitive Transcranial Magnetic Stimulation Treatment With Subgenual Cingulate Hyperactivity in Patients With Major Depressive Disorder: A Secondary Analysis of a Randomized Clinical Trial. JAMA Network Open 2 (06 2019), e195578. doi:10.1001/jamanetworkopen.2019.5578DOI
  21. [21]Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 770–778.
  22. [22]Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. 2017. GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. In Advances in Neural Information Processing Systems, I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (Eds.), Vol. 30. Curran Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2017/file/8a1d694707eb0ef65871369074926d-Paper.pdf
  23. [23]Jonathan Ho, Ajay Jain, and Pieter Abbeel. 2020. Denoising Diffusion Probabilistic Models. In Advances in Neural Information Processing Systems (NeurIPS).arxiv.org/abs/2006.11239
  24. [24]Jonathan Ho, Chitwan Saharia, William Chan, David J Fleet, Mohammad Norouzi, and Tim Salimans. 2022. Cascaded diffusion models for high fidelity image generation. Journal of Machine Learning Research 23, 47 (2022), 1–33.arxiv.org/abs/2106.15282
  25. [25]Tomoyasu Horikawa and Yukiyasu Kamitani. 2017. Generic decoding of seen and imagined objects using hierarchical visual features. Nature Communications 8 (2017), 1037.DOI
  26. [26]Shuo Huang, Wei Shao, Mei-Ling Wang, and Dao-Qiang Zhang. 2021. fMRI-based Decoding of Visual Information from Human Brain Activity: A Brief Review. International Journal of Automation and Computing 18 (01 2021). doi:10.1007/s11633-020-1263-yDOI
  27. [27]David H Hubel and Torsten N Wiesel. 1962. Receptive fields, binocular interaction and functional architecture in the cat’s visual cortex. The Journal of physiology 160, 1 (1962), 106.
  28. [28]Jingyang Huo, Yikai Wang, Yanwei Fu, and Jianfeng Feng. 2026. The Pictorial Cortex: Zero-Shot Cross-Subject fMRI-to-Image Reconstruction via Compositional Latent Modeling. arXiv:2601.15071 [cs.CV] https://arxiv.org/abs/2601.15071
  29. [29]Maria Ironside, Michael Brownning, Tahereh Ansari, Christopher Harvey, Mama Sekyi-Djan, Sonia Bishop, Catherine Harmer, and Jacinta O’Shea. 2019. Effect of Prefrontal Cortex Stimulation on Regulation of Amygdala Response to Threat in Individuals With Trait Anxiety: A Randomized Clinical Trial. JAMA Psychiatry 76 (01 2019), 71–78. doi:10.1001/jamapsychiatry.2018.2172DOI
  30. [30]Diederik P Kingma and Max Welling. 2013. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114 (2013).arxiv.org/abs/1312.6114
  31. [31]Paulo H. Leocadio. 2025. Hugging Face Diffusers - Chapter 07. Hugging Face (Jan. 2025). doi:10.22541/au.173627634.49343603/v1DOI
  32. [32]Dongyang Li, Haoyang Qin, Mingyang Wu, Chen Wei, and Quanying Liu. 2025. BrainFLORA: Uncovering Brain Concept Representation via Multimodal Neural Embeddings. arXiv:2507.09747 [cs.NE] https://arxiv.org/abs/2507.09747
  33. [33]Dongyang Li, Chen Wei, Shiying Li, Jiaxuan Zhou, Haoyang Qian, and Quanying Liu. 2024. Visual Decoding and Reconstruction via EEG Embeddings with Guided Diffusion. arXiv:2403.07721 [cs.HC] https://arxiv.org/abs/2403.07721
  34. [34]Tsung-Yi Lin, Michael Maire, Serge Belongie, Lubomir Bourdev, Ross Girshick, James Hays, Pietro Perona, Deva Ramanan, C. Lawrence Zitnick, and Piotr Dollár. 2015. Microsoft COCO: Common Objects in Context. arXiv:1405.0312 [cs.CV] https://arxiv.org/abs/1405.0312
  35. [35]Yulong Liu, Yongqiang Ma, Wei Zhou, Guibo Zhu, and Nanning Zheng. 2023. Brainclip: Bridging brain and visual-linguistic representation via clip for generic natural visual stimulus decoding. arXiv preprint arXiv:2302.12971 (2023).
  36. [36]Andrew F. Luo, Margaret M. Henderson, Michael J. Tarr, and Leila Wehbe. 2024. BrainSCUBA: Fine-Grained Natural Language Captions of Visual Cortex Selectivity. arXiv:2310.04420 [cs.LG] https://arxiv.org/abs/2310.04420
  37. [37]Andrew F. Luo, Margaret M. Henderson, Leila Wehbe, and Michael J. Tarr. 2023. Brain Diffusion for Visual Exploration: Cortical Discovery using Large Scale Generative Models. arXiv:2306.03089 [cs.CV] https://arxiv.org/abs/2306.03089
  38. [38]Jun Ma and Tuukka Ruotsalo. 2024. Cognition-Supervised Saliency Detection: Contrasting EEG Signals and Visual Stimuli. In Proceedings of the 32nd ACM International Conference on Multimedia (Melbourne VIC, Australia) (MM ’24). Association for Computing Machinery, New York, NY, USA, 7744–7753. doi:10.1145/3664647.3681037DOI
  39. [39]Aravindh Mahendran and Andrea Vedaldi. 2015. Understanding deep image representations by inverting them. In Proceedings of the IEEE conference on computer vision and pattern recognition (CVPR). 5188–5196.arxiv.org/abs/1412.0035
  40. [40]Weijian Mai, Jiamin Wu, Yu Zhu, Zhouheng Yao, Dongzhan Zhou, Andrew F. Luo, Qiao Zheng, Wanli Ouyang, and Chunfeng Song. 2025. SynBrain: Enhancing Visual-to-fMRI Synthesis via Probabilistic Representation Learning. arXiv:2508.10298 [cs.LG] https://arxiv.org/abs/2508.10298
  41. [41]David Marr. 2010. A computational investigation into the human representation and processing of visual information. MIT press.
  42. [42]Chenlin Meng, Yutong He, Yang Song, Jiamin Song, Jiajun Wu, Jun-Yan Zhu, and Stefano Ermon. 2022. SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations. arXiv:2108.01073 [cs.CV] https://arxiv.org/abs/2108.01073
  43. [43]Mehdi Mirza and Simon Osindero. 2014. Conditional Generative Adversarial Nets. In arXiv preprint arXiv:1411.1784.arxiv.org/abs/1411.1784
  44. [44]Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. 2018. Spectral normalization for generative adversarial networks. In International Conference on Learning Representations (ICLR). https://arxiv.org/abs/1802.05957
  45. [45]Alexander Mordvintsev, Chris Olah, and Mike Tyka. 2015. Inceptionism: Going deeper into neural networks. Google Research Blog 5 (2015).
  46. [46]Alexander Mordvintsev, Chris Olah, and Mike Tyka. 2016. DeepDream–A code example for visualizing Neural Networks. Google Research Blog (2016).
  47. [47]N. Murty, Pouya Bashivan, Alex Abate, James Dicarlo, and Nancy Kanwisher. 2021. Computational models of category-selective brain regions enable high-throughput tests of selectivity. Nature Communications 12 (09 2021), 5540. doi:10.1038/s41467-021-25409-6
  48. [48]Thomas Naselaris, Kendrick N Kay, Shinji Nishimoto, and Jack L Gallant. 2011. Encoding and decoding in fMRI. Neuroimage 56, 2 (2011), 400–410.
  49. [49]Anh Nguyen, Jeff Clune, Yoshua Bengio, Alexey Dosovitskiy, and Jason Yosinski. 2017. Plug & Play Generative Networks: Conditional Iterative Generation of Images in Latent Space. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 4467–4477.arxiv.org/abs/1612.00005
  50. [50]Anh Nguyen, Jason Yosinski, and Jeff Clune. 2015. Deep neural networks are easily fooled: High confidence predictions for unrecognizable images. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 427–436.
  51. [51]Anh Nguyen, Jason Yosinski, and Jeff Clune. 2016. Synthesizing the preferred inputs for neurons in neural networks via deep generator networks. In Advances in Neural Information Processing Systems (NeurIPS). 3387–3395.arxiv.org/abs/1605.09304
  52. [52]Alex Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam, Pamela Mishkin, Bob McGrew, Ilya Sutskever, and Mark Chen. 2022. GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models. arXiv:2112.10741 [cs.CV] https://arxiv.org/abs/2112.10741
  53. [53]Shinji Nishimoto, An T Vu, Thomas Naselaris, Yuval Benjamini, Bin Yu, and Jack L Gallant. 2011. Reconstructing visual experiences from brain activity evoked by natural movies. Current Biology 21, 19 (2011), 1641–1646.DOI
  54. [54]Tormod Ø ygard. 2015. Gradient blurring for improved feature visualization. Personal communication (2015).
  55. [55]Chris Olah et al. 2017. Feature Visualization. Distill (2017).DOI
  56. [56]Bruno A Olshausen and David J Field. 2004. Sparse coding of sensory inputs. Current opinion in neurobiology 14, 4 (2004), 481–487.pubmed.ncbi.nlm.nih.gov/15321069
  57. [57]Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaeldin El-Nouby, Mahmoud Assran, Nicolas Ballas, Wojciech Galuba, Russell Howes, Po-Yao Huang, Shang-Wen Li, Isham Misra, Michael Rabbat, Vasu Sharma, Gabriel Synnaeve, Hu Xu, Hervé Jegou, Julien Mairal, Patrick Labatut, Armand Joulin, and Piotr Bojanowski. 2024. DINOv2: Learning Robust Visual Features without Supervision. arXiv:2304.07193 [cs.CV] https://arxiv.org/abs/2304.07193
  58. [58]Furkan Ozcelik and Rufin VanRullen. 2023. Natural scene reconstruction from fMRI signals using generative latent diffusion. arXiv:2303.05334 [cs.CV] https://arxiv.org/abs/2303.05334
  59. [59]Paolo Papale, Daniela De Luca, and Pieter R. Roelfsema. 2024. Deep generative networks reveal the tuning of neurons in IT and predict their influence on visual perception. bioRxiv (2024). arXiv:https://www.biorxiv.org/content/early/2024/10/12/2024.10.09.617382.full.pdf doi:10.1101/2024.10.09.617382
  60. [60]Paweł A. Pierżchlewicz, Konstantin Willke, Arne Nix, Pavithra Elumalai, Kelli Restivo, Tori Shinn, Cate Nealley, Gabrielle Rodriguez, Saumil Patel, Katrin Franke, Andreas Tolias, and Fabian Sinz. 2023. Energy Guided Diffusion for Generating Neurally Exciting Images. doi:10.1101/2023.05.18.541176DOI
  61. [61]D Qian, H Zeng, et al. 2024. NeuroDM: Decoding and Visualizing Human Brain Activity with EEG-Guided Diffusion Model. Computer Methods and Programs in Biomedicine (2024). https://www.sciencedirect.com/science/article/pii/S0169260724002098DOI
  62. [62]Weikang Qiu, Zheng Huang, Haoyu Hu, Aosong Feng, Yujun Yan, and Rex Ying. 2025. MindLLM: A Subject-Agnostic and Versatile Model for fMRI-to-Text Decoding. arXiv:2502.15786 [q-bio.NC] https://arxiv.org/abs/2502.15786
  63. [63]Rodrigo Quiroga, Leila Reddy, Gabriel Kreiman, Christof Koch, and Itzhak Fried. 2005. Invariant visual representation by single neurons in the human brain. Nature 435, 7045 (2005), 1102–1107.pubmed.ncbi.nlm.nih.gov/15973409
  64. [64]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. 2021. Learning Transferable Visual Models From Natural Language Supervision. In Proceedings of the International Conference on Machine Learning (ICML). https://arxiv.org/abs/2103.00020
  65. [65]Mattia Rigotti, Om Barak, Michael Warden, Xiao-Jing Wang, N. Daw, E. Miller, and Stefano Fusi. 2013. The importance of mixed selectivity in complex cognitive tasks. Nature 497 (2013), 585–590. doi:10.1038/nature12160DOI
  66. [66]Amanda Robinson, Genevieve Quek, and Thomas Carlson. 2023. Visual Representations: Insights from Neural Decoding. Annual Review of Vision Science 9 (03 2023). doi:10.1146/annurev-vision-100120-025301DOI
  67. [67]Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. 2022. High-Resolution Image Synthesis with Latent Diffusion Models. arXiv:2112.10752 [cs.CV] https://arxiv.org/abs/2112.10752
  68. [68]Christoph Schuhmann, Roman Beaumont, Richard Vencu, Cade W Gordon, Ross Wightman, Mehdi Cherti, Theo Coombes, Aarush Katta, Clayton Mullis, Mitchell Wortsman, Patrick Schramowski, Srivatsa R Kundurthy, Katherine Crowson, Ludwig Schmidt, Robert Kaczmarczyk, and Jenia Jitsev. 2022. LAION-5B: An
  69. [69]Paul S. Scotti, Atmaja Benerjee, Jimmie Goode, Esteban Shenkman, Alex Nguyen, Ethan Cohen, Aidan J. Dempster, Nathalie Verlinde, Elad Yundler, David Weisberg, Kenneth A. Norman, and Tanishq Mathew Abraham. 2023. Reconstructing the Mind’s Eye: fMRI-to-Image with Contrastive Learning and Diffusion Priors. arXiv:2305.18274 [cs.CV] https://arxiv.org/abs/2305.18274
  70. [70]Paul S. Scotti, Mihir Tripathy, Cesar Kadir Torrico Villanueva, Reese Kneeland, Tong Chen, Ashutosh Narang, Charan Santhinrasegaran, Jonathan Xu, Thomas Naselaris, Kenneth A. Norman, and Tanishq Mathew Abraham. 2024. MindEye2: Shared-Subject Models Enable fMRI-To-Image With 1 Hour of Data. arXiv:2403.11207 [cs.CV] https://arxiv.org/abs/2403.11207
  71. [71]Guohua Shen, Thomas Horikawa, Kei Majima, and Yukiyasu Kamitani. 2019. Deep image reconstruction from human brain activity. PLoS Computational Biology 15, 1 (2019), e1006633.DOI
  72. [72]Matthew Shinkle and Mark D. Lescroart. 2025. Visualizing and Controlling Cortical Responses Using Voxel-Weighted Activation Maximization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops. 4864–4868.arxiv.org/abs/2506.04379
  73. [73]Yonghao Song, Bingchuan Liu, Xiang Li, Nanlin Shi, Yijun Wang, and Xiarong Gao. 2024. Decoding Natural Images from EEG for Object Recognition. arXiv:2308.13234 [cs.HC] https://arxiv.org/abs/2308.13234
  74. [74]Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. 2013. Intriguing properties of neural networks. In arXiv preprint arXiv:1312.6199.arxiv.org/abs/1312.6199
  75. [75]Yu Takagi and Shinji Nishimoto. 2023. High-Resolution Image Reconstruction With Latent Diffusion Models From Human Brain Activity. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). 14453–14463.DOI
  76. [76]Mike Tyka. 2016. Regularizing feature visualization with bilateral filters. Personal communication (2016).
  77. [77]Aaron van den Oord, Nal Kalchbrenner, Lasse Espeholt, Oriol Vinyals, Alex Graves, and Koray Kavukcuoglu. 2016. Conditional Image Generation with PixelCNN Decoders. In Advances in Neural Information Processing Systems (NeurIPS).arxiv.org/abs/1606.05328
  78. [78]Marcel A.J. van Gerven. 2017. A primer on encoding models in sensory neuroscience. Journal of Mathematical Psychology 76 (2017), 172–183. doi:10.1016/j.jmp.2016.06.009 Model-based Cognitive Neuroscience.DOI
  79. [79]Marcel A.J. van de Ven. 2021. Neural decoding with generative models. Trends in Cognitive Sciences 25, 7 (2021), 593–607.
  80. [80]Edgar Walker, Fabian Sinz, Erick Cobos, Taliah Muhammad, Emmanouil Froudarakis, Paul Fahey, Alexander Ecker, Jacob Reimer, Xaq Pitkow, and Andreas Tolias. 2019. Inception loops discover what excites neurons most using deep predictive models. Nature Neuroscience 22 (12 2019), 1–6. doi:10.1038/s41593-019-0517-xDOI
  81. [81]Shizun Wang, Songhua Liu, Zhenxiong Tan, and Xin chao Wang. 2024. Mind-Bridge: A Cross-Subject Brain Decoding Framework. arXiv:2404.07850 [cs.CV] https://arxiv.org/abs/2404.07850
  82. [82]Weih a o Xia, Raoul de Charette, Cengiz Öztireli, and Jing-Hao Xue. 2024. DREAM: Visual Decoding from Reversing Human Visual System. arXiv:2310.02265 [cs.CV] https://arxiv.org/abs/2310.02265
  83. [83]Hu Ye, Jun Zhang, Sh i o Liu, Xiao Han, and Wei Yang. 2023. IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models. arXiv:2308.06721 [cs.CV] https://arxiv.org/abs/2308.06721

Paper details

vlnc:W_bdy894nt
Version
v2 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 13

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents