BrainAE: Alignment-driven Autoencoder for Bidirectional Visual Encoding and Decoding
Yonghao Song, Chunfeng Song, Yijun Wang, Xiaorong Gao
ICLR 2026 submission
Abstract. Modeling the bidirectional mapping between visual stimuli and neural activity is critical for both neuroscience and brain–computer interfaces (BCIs). Although significant progress has been made in independently addressing visual encoding and decoding, unified latent representations for the bidirectional mapping remain lacking. Here, we propose BrainAE, an autoencoder-based framework designed for both visual encoding and decoding. Contrastive alignment with image models drives the latent features toward a shared representation space of visual stimuli and neural responses. Once trained, the model supports stimulus-to-brain encoding, brain-to-stimulus decoding, and whole-brain signal reconstruction. We extensively evaluate the model on electrophysiology, including human electroencephalography (EEG) and magnetoencephalography (MEG), as well as macaque multi-unit spiking activity (MUA), spanning non-invasive and invasive recordings, macro- and micro-scales, and species. Results demonstrate competitive encoding and decoding performance, revealing spatial, temporal, and semantic patterns consistent with established neuroscience findings. BrainAE provides a methodological foundation for probing brain function and developing BCIs.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…