Abstract
Decoding human visual perception from brain activity remains a significant challenge due to the "physiological-symbolic gap" between noisy EEG signals and structured visual representations. We present NeuroCLIP, a novel framework that bridges this gap by introducing brain-inspired prompt tuning and a softened contrastive loss to the CLIP architecture. NeuroCLIP achieves a 12.3% improvement in zero-shot image retrieval on the THINGS-EEG2 benchmark, demonstrating superior cross-modal alignment and inter-subject generalization with minimal parameter overhead.
Introduction
The ability to decode what a human is looking at based solely on brain activity is a long-standing goal in neuro-engineering. Electroencephalography (EEG) is a preferred modality due to its portability and high temporal resolution, yet it suffers from low spatial resolution and significant noise. Existing models like CLIP, while powerful for image-text alignment, struggle with EEG data because brain waves do not follow the symbolic rules of language. NeuroCLIP addresses this by moving beyond static feature extraction toward a dynamic, brain-aware adaptation of the vision model.
Methodology
NeuroCLIP's architecture is built upon three primary innovations designed to adapt the CLIP vision transformer to the nuances of neural data.
Dual-Stream Visual Embedding
To mimic the brain's ability to prioritize specific visual features, NeuroCLIP employs a dual-stream approach. One stream processes the original image, while the second utilizes a Dynamic Filter Layer (DFL) to generate content-adaptive versions of the image tokens. This allows the model to learn which visual features are most relevant to the corresponding neural response.
Two-Level Prompt Tuning
NeuroCLIP introduces a sophisticated prompt tuning mechanism that operates at two levels:
- Instance-level (IVPT): Employs a Cross-Attention based Token-level Fusion (CATF) to adjust image tokens according to specific visual content.
- Shared-level (SVPT): Introduces global modality-level prompts to help the Transformer adapt to the general characteristics of EEG data.
Unlike classical paradigms where prompts are static guides, NeuroCLIP utilizes a bidirectional process where prompts and image features co-adapt, ensuring the vision model evolves in response to neural constraints.
Softened Contrastive Loss
Standard contrastive learning uses "hard" labels, which can be suboptimal for neural data where semantic boundaries are often blurred. NeuroCLIP adopts a softened objective that accounts for semantic ambiguity (e.g., the similarity between a "dog" and a "wolf"), leading to more stable training and better alignment between the EEG and visual modalities.
Experimental Results
The model was evaluated primarily on the THINGS-EEG2 dataset, featuring EEG recordings from 10 participants viewing 1,654 object concepts. It was also validated on THINGS-MEG to prove generalization across different neural recording modalities.
Performance Benchmarks
NeuroCLIP established a new state-of-the-art (SOTA) on the THINGS-EEG2 benchmark:
- Zero-Shot Retrieval: Achieved 63.2% Top-1 accuracy, a 12.3% increase over the previous SOTA of 50.9%.
- Inter-Subject Generalization: Improved Top-1 accuracy by 4.6% when testing on subjects not seen during training, indicating the capture of universal neural signatures.
- Efficiency: The performance gains come with minimal overhead, adding as little as 0.68% additional parameters for larger ViT backbones.
Neuroscience Insights
Ablation studies confirmed that the occipital region is the most critical for visual decoding; using only these electrodes outperformed the full set (55.2% vs 51.6%). Furthermore, temporal analysis showed that the most vital information is encoded within the first 600ms post-stimulus, after which signal quality for decoding drops significantly.
Conclusion
NeuroCLIP demonstrates that bidirectional prompt tuning and softened alignment objectives can effectively bridge the gap between physiological signals and visual symbols. While the current EEG encoder is task-specific, future work will explore more complex backbones, such as Attention-based Graph Neural Networks, and expand the framework toward brain-to-text or brain-image-language tri-alignment.
Summary updated