ZEBRA: Towards Zero-Shot Cross-Subject Generalization for Universal Brain Visual Decoding

Haonan Wang, Jingyu Lu, Hongrui Li, Xiaomeng Li

Introduction

Reconstructing visual experiences from brain activity—often called "brain decoding"—has long been a goal of computational neuroscience. While recent advancements in generative AI have enabled high-quality image reconstruction from fMRI scans, these models have historically suffered from a significant limitation: they are subject-specific. Because every human brain is structurally and functionally unique, a model trained on one person's brain data typically fails when applied to another.

ZEBRA (Zero-Shot Cross-Subject Generalization) addresses this bottleneck by introducing a "plug-and-play" framework. It is the first system capable of reconstructing high-quality images from the brain activity of completely unseen subjects without requiring any subject-specific fine-tuning or calibration.

The Subject-Specific Bottleneck

Traditional state-of-the-art methods require a "calibration phase" where a new user must spend hours in an fMRI machine to provide training data. This is followed by computationally expensive AI fine-tuning. This requirement makes the technology impractical for real-world clinical use, such as helping paralyzed patients communicate or building real-time brain-computer interfaces (BCIs). ZEBRA aims to eliminate this phase entirely, moving toward a "universal" brain decoder that works "out of the box."

Methodology: Disentangling the Neural Signal

The core innovation of ZEBRA lies in its ability to disentangle "subject-invariant" (universal) semantic signals from "subject-specific" (individual) neural noise. The framework operates through two primary modules:

  1. Subject-Invariant Feature Extraction (SIFE): This module utilizes residual decomposition to separate a universal representation ($E_i$) from individual variations ($E_s$). To ensure $E_i$ is truly universal, ZEBRA employs Adversarial Training with a Gradient Reversal Layer (GRL). A discriminator attempts to identify which subject the brain scan belongs to, while the encoder is trained to "fool" this discriminator, effectively stripping away the individual's unique neural fingerprint.
  2. Semantic-Specific Feature Extraction (SSFE): This module aligns the extracted brain signals with the CLIP (Contrastive Language-Image Pre-training) latent space. By focusing on semantic alignment, it ensures the model captures the conceptual meaning of the visual stimulus (e.g., "a cat") rather than idiosyncratic neural fluctuations.

The final decoded features are processed through a ViT-based encoder and fed into a diffusion-based generative model (specifically SDXL/unCLIP) to reconstruct the final image.

Experimental Setup

The researchers utilized the Natural Scenes Dataset (NSD), the gold standard for brain decoding research. The dataset contains fMRI recordings of subjects viewing thousands of natural images from the MS-COCO dataset. To test zero-shot capabilities, the model was trained on seven subjects and evaluated on an eighth subject who was completely unseen during the training phase.

Key Results and Insights

ZEBRA demonstrates that "zero-shot" decoding can rival models specifically optimized for a single individual.

  • Quantitative Performance: On low-level perceptual metrics like Pixel Correlation (PixCorr), ZEBRA achieved a score of 0.131, more than doubling the performance of previous zero-shot baselines like NeuroPictor (0.057).
  • Closing the Gap: Remarkably, ZEBRA's zero-shot performance (SSIM of 0.375) reached the same level of accuracy as models that were fully fine-tuned on the test subject.
  • Semantic Accuracy: On high-level semantic metrics (Inception and CLIP scores), ZEBRA showed a +9.7% and +5.5% improvement over existing baselines, meaning the reconstructed images are conceptually much closer to the original stimuli.

Discussion and Future Work

ZEBRA succeeds by leveraging "Universal Semantic Topography"—the neuroscientific principle that the human cortex organizes semantic information consistently across individuals. By explicitly modeling subject-specific residuals as a regularizer, the model avoids discarding important data while pursuing universality.

While ZEBRA represents a leap forward, limitations remain. The model currently struggles with fine-grained distinctions (e.g., specific rare species of birds) and is limited by the diversity of the 8-subject NSD dataset. Future work aims to extend this framework to video reconstruction and "inner speech," potentially revolutionizing how we interact with BCIs in clinical and everyday settings.

Summary updated

BibTeX
@inproceedings{wang2025zebra,
  author = {Haonan Wang and Jingyu Lu and Hongrui Li and Xiaomeng Li},
  title = {{ZEBRA: Towards Zero-Shot Cross-Subject Generalization for Universal Brain Visual Decoding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=CDQ0MI4rLw},
}
Figure