arXiv:2610.40280cs.LGOct 2026

Manuscript Offprint

arXiv:2610.40280

Latent Prediction Yields Cross-Subject Alignable Representations in Sensory-Evoked fMRI

Serwan Jassim, Victoria Bosch, Daniel Anthes, Elia Bruni, Tim Kietzmann

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Decoding sensory-evoked functional magnetic resonance imaging (fMRI) data is a central analytical tool in cognitive neuroscience. Here we ask whether self-supervised learning (SSL), which has been scarcely explored in this domain, can yield representations that support strong downstream performance. To do so, we adapt a joint embedding predictive architecture (JEPA) to train participant-specific encoders on brain data alone. The encoders never see the stimulus images or any representation derived from them. Applied to the Natural Scenes Dataset (NSD), we evaluate our learned brain embeddings on the downstream tasks of brain captioning and image reconstruction, as well as cross-participant generalization. Our self-supervised approach achieves competitive performance with parameter-rich supervised pipelines that are trained end-to-end with access to image and language data. We further find that encoders trained independently for different participants can be aligned fully unsupervised, using neither images nor stimuli shared between them. After alignment, a neural decoding head trained on one participant can be applied to another without fine-tuning and retains most of its within-subject performance on image reconstruction and brain captioning. By removing the need for images and shared stimuli, our approach is a step towards pooling fMRI data across participants and, eventually, across datasets.

1 INTRODUCTION

The decoding of information from brain activity is a central analytical tool in cognitive neuroscience. Classical applications ask whether experimental conditions, visual categories, or other stimulus properties can be read out from measured brain responses alone. More recently, advances in generative modeling and the availability of large-scale neural datasets, such as the Natural Scenes Dataset (NSD) (Allen et al., 2022), have substantially expanded the scope of which information can be derived from brain data. Capabilities of brain decoding now include largely veridical image reconstruction from functional MRI (fMRI) responses, obtained while participants observe visual stimuli (Takagi & Nishimoto, 2023; Ozcelik & van Rullen, 2023; Scotti et al., 2024), up to approaches that map brain activity into language representations, enabling versatile brain captioning and question-answering interfaces beyond reconstruction itself (Mai & Zhang, 2023; Bosch et al., 2025).

These approaches, however, place substantial demands on the available data. Modern decoding pipelines are typically trained separately for each participant, and many additionally rely on paired supervision between brain responses and stimulus-derived representations, such as image embeddings or language annotations. Both requirements are restrictive. Even unusually large fMRI datasets contain orders of magnitude fewer training examples per participant than are commonly used to train modern machine-learning models, simply because acquiring fMRI data is time-consuming and expensive. Pooling data across participants could substantially increase the amount

∗^{*}Elia Bruni and Tim Kietzmann share senior authorship.

of brain data available for representation learning, but this is difficult because brains differ in functional organization and in the precise spatial pattern through which information is represented. Consequently, a decoder trained on one participant does not straightforwardly generalize to another. Existing approaches to functional alignment can reduce this problem, but typically depend on paired measurements, i.e., responses from multiple participants to the same stimuli.

An appealing alternative would therefore be to learn brain representations that address both limitations at once: such a representation should make effective use of the brain data itself, without requiring large-scale external supervision during representation learning, while at the same time enabling versatile downstream applications and exposing a structure that can be aligned across participants despite their anatomical and functional differences. Self-supervised learning (SSL) provides a natural framework for this objective. Rather than learning brain representations by predicting an image embedding or a language annotation, we learn them from the structure that the measured brain responses share across repetitions of the same stimulus. Because the objective is self-supervised, the resulting representation is not tied to the feature space of a particular external image or language model, and can serve multiple readouts. In addition, the objective does not depend on the stimulus modality: it applies to any experiment that repeats its stimuli.

Here, we explore this possibility for stimulus-evoked fMRI using a joint-embedding predictive architecture (JEPA). SSL has previously been applied to fMRI, particularly in the resting-state setting for downstream phenotype or clinical prediction (Ortega Caro et al., 2023; Dong et al., 2024). We instead ask whether it can recover representations of stimulus-evoked activity that retain the fine-grained information required for generative decoding. We pre-train one encoder per participant on NSD, asking it to predict the latent representation of masked cortical parcels from a different repetition of the same stimulus. Pairing repetitions this way leaves stimulus-locked structure as the only predictable signal and does not reward the model for measurement-specific noise; the model also never sees the stimulus, an image embedding, or a language annotation during pre-training.

We find that the resulting brain embeddings are highly expressive. After self-supervised pre-training, we freeze the encoders and train downstream heads for image reconstruction and brain captioning using MindEye2 (Scotti et al., 2024) and CorText (Bosch et al., 2025), respectively. Despite the absence of image or language supervision during encoder training, these brain embeddings support downstream performance competitive with the corresponding pipelines trained end-to-end with stimulus supervision. Thus, much of the information required for mapping brain activity into modern image and language models can be captured through latent prediction directly within brain data, reducing the amount of task-specific parameter learning required at the decoding stage.

Self-supervised training also yields representations that can be aligned across participants without externally defined anchors, such as shared stimuli or stimulus content. This has recently been shown for compact, largely linear embeddings of NSD participants (Marcos-Manchón et al., 2026). What remains open is whether alignability survives in representations rich enough to drive generative decoders and whether a decoder trained on one participant works on the aligned representations of another. Applying that alignment procedure, extended to parcel sequences, to our per-participant encoders, we find the full parcel embeddings still related by orthogonal maps recoverable without paired data, and a decoding head trained on one participant applies unchanged to another's aligned representations, retaining most of its within-participant quality. Self-supervised pre-training therefore provides both an expressive within-participant representation and a basis for cross-participant transfer.

Our contributions are:

• We introduce self-supervised pre-training of stimulus-evoked fMRI encoders using a brain-only JEPA objective. The objective exploits repeated responses to the same stimulus, but requires no access to the stimulus itself or to externally pre-trained image or language representations.

• We show that the resulting frozen brain embeddings simultaneously support both image reconstruction and brain captioning at performance levels competitive with corresponding end-to-end supervised pipelines, despite requiring substantially less task-specific parameter learning.

• We show that independently trained, participant-specific brain embeddings can be aligned fully unsupervised, without images or stimuli shared across participants, enabling cross-participant decoding without retraining the downstream decoder.

Together, these results suggest that latent prediction can provide a common representational basis for both expressive brain decoding and cross-participant generalization. By decoupling representation learning from stimulus-derived supervision and cross-participant alignment from shared stimuli, this approach opens a path towards combining brain data across participants and, ultimately, across datasets that were not originally acquired with joint decoding in mind.

References (56)