NeuroFlow: Toward Unified Visual Encoding and Decoding from Neural Activity

Wei-Jian Mai, Nan Mu, Yu Zhu, Jia-Hang Cao, Rui Zhang +4 more
4/1/2026
1 citation

No official code found. Best implementation: MichaelMaiii/NeuroFlow (20 stars, Apache-2.0, last commit 2026-04-23).

Abstract

Visual encoding and decoding models act as gateways to understanding the neural mechanisms underlying human visual perception. Typically, visual encoding models that predict brain activity from stimuli and decoding models that reproduce stimuli from brain activity are treated as distinct tasks, requiring separate models and training procedures.

Show full abstract

This separation is inefficient and fails to model the consistency between encoding and decoding processes. To address this limitation, we propose NeuroFlow, the first unified framework that jointly models visual encoding and decoding from neural activity within a single flow model. NeuroFlow introduces two key components: (1) NeuroVAE is designed as a variational backbone to model neural variability and establish a compact, semantically structured latent space for bidirectional modeling across visual and neural modalities. (2) Cross-modal Flow Matching (XFM) bypasses the typical paradigm of noise-to-data diffusion guided by a specific modality condition, instead learning a reversibly consistent flow model between visual and neural latent distributions. For the first time, visual encoding and decoding are reformulated as a time-dependent, reversible process within a shared latent space for unified modeling. Empirical results demonstrate that NeuroFlow achieves superior overall performance in visual encoding and decoding tasks with higher computational efficiency compared to any isolated methods. We further analyze principal factors that steer the model toward encoding-decoding consistency and, through brain functional analyses, demonstrate that NeuroFlow captures consistent activation patterns underlying neural variability. NeuroFlow marks a major step toward unified visual encoding and decoding from neural activity, providing mechanistic insights that inform future bidirectional visual brain-computer interfaces.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[CVPR 2026] NeuroFlow: Toward Unified Visual Encoding and Decoding from Neural Activity

201Mar 20, 20267 months agoApache-2.0

Similar Papers

Cite this paper

@article{mai2026neuroflow,
  title  = {NeuroFlow: Toward Unified Visual Encoding and Decoding from Neural Activity},
  author = {Wei-Jian Mai and Nan Mu and Yu Zhu and Jia-Hang Cao and Rui Zhang and Yuqi Dai and Chun-Feng Song and Andrew F. Luo and Jia-Min Wu},
  year   = {2026},
  eprint = {2604.09817},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2604.09817},
  journal = {Computer Vision and Pattern Recognition}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.09817.svg)](https://codeofpaper.com/paper/2604.09817)

Discussion