From Neural Tokens to Language: Dual-View EEG Semantic Bridging for Brain-to-Text Generation
Authors: YaoYang Liu, Jun Dai, ZhuoShi Tang, Weijun Sun, Xiaozhao Fang, Jie Wen
Organizations: School of Automation, Guangdong University of Technology, Guangzhou, 510006, China · School of Computer Science and Technology, Harbin Institute of Technology, Shenzhen, 518055, China
Visually evoked EEG-to-text generation aims to produce natural-language descriptions from neural responses elicited by visual stimuli. Existing approaches typically compress EEG signals into a single global representation and directly project it into the hidden space of a large language model (LLM), which may limit the preservation of complementary visual semantics under noisy and subject-dependent EEG signals. We propose a dual-view semantic token bridging framework that exploits raw images and sketch images as complementary visual supervision to learn raw-oriented and sketch-oriented EEG semantic token streams. To interface these structured neural representations with an LLM, we introduce a branch-specific semantic query bridge that aggregates each token stream into compact semantic slots and converts them into LLM-compatible soft prompts. A progressive adaptation strategy further transitions the learned visual-semantic interface from image-supported training to image-free EEG-conditioned generation. Experiments demonstrate strong subject-wise EEG classification performance and competitive EEG-to-text generation across multiple LLM backbones. Ablation, branch-level representation, and EEG-label disentanglement analyses further show that the two EEG streams learn complementary view-oriented representations and that EEG-derived prompts provide sample-specific information beyond category labels.
Figures & tables
Figure 1: Motivation of dual-view EEG supervision. Instead of aligning EEG features with a single visual space, our method uses raw and sketch views as complementary supervision to learn complementary raw-oriented and sketch-oriented EEG representations.
Figure 2: Overview of the proposed two-stage EEG-to-text framework.
Figure 3: Architecture of the proposed dual-view EEG semantic token encoder.
Method
Subject1
Subject2
Subject3
Subject4
Subject5
Subject6
Overall
Subject Avg.
Spampinato et al. re-eval. [ 42 , 34 ]
–
–
–
–
–
–
21.80
–
EEGCVPR40 [ 42 ]
–
–
–
–
–
–
26.00
–
SyncNet [ 26 ]
–
–
–
–
–
–
27.00
–
ShallowConvNet [ 37 ]
45.68
56.92
45.40
54.46
59.08
55.51
49.12
52.84
EEGNet [ 19 ]
19.44
36.31
30.98
40.31
28.31
33.74
25.21
31.52
EEG-ChannelNet [ 34 ]
–
–
–
–
–
–
36.00
–
Table 1: Classification accuracy (%) on the ImageNet-EEG visual classification dataset [ 42 ] . Best and second-best results are highlighted for directly comparable subject-wise columns. “Overall” values are retained for reference because published methods may follow different aggregate evaluation protocols.
Figure 4: Detailed analysis of Stage-1 EEG classification. (a) Evaluation pipeline for category prediction from visually evoked EEG. (b) Confusion matrix of the proposed model on the 40-class classification task, showing a pronounced diagonal structure. (c) All-subject classification performance under 2-way, 4-way, 10-way, Top-5, and Top-1 evaluation settings. (d) Corresponding subject-wise performance averaged over the six subjects. Dashed horizontal lines indicate the chance level for each evaluation setting.
LLM
Method
ROUGE
BLEU
METEOR
BERT Score
GPT-4o Flu.
GPT-4o Ade.
R-1
R-2
R-L
B-1
B-4
LLaMA3-8B
Thought2Text
30.0
8.1
26.6
25.5
5.5
26.3
0.890
4.820
1.580
Ours
35.4 (+5.4)
12.1 (+4.0)
31.9 (+5.3)
28.7 (+3.2)
8.1 (+2.6)
29.6 (+3.3)
0.898 (+0.008)
4.745 (-0.075)
1.852 (+0.272)
Mistral-7B-v0.3
Thought2Text
30.6
8.8
28.0
26.0
6.1
26.2
0.890
4.790
1.650
Ours
36.2 (+5.6)
12.9 (+4.1)
32.9 (+4.9)
29.6 (+3.6)
8.5 (+2.4)
30.7 (+4.5)
0.900 (+0.010)
4.776 (-0.014)
1.926 (+0.276)
Qwen2.5-7B
Thought2Text
26.4
4.6
22.8
22.7
3.7
21.1
0.880
4.750
1.280
Table 2: Comparison with other methods under different LLM backbones. Parenthesized values report absolute changes relative to Thought2Text for LLaMA3-8B and Mistral-7B-v0.3, and relative to SYNAPSE for Qwen2.5-7B. Positive, negative, and zero values denote improvements, decreases, and ties, respectively.
LLM Backbone
ROUGE
BLEU
METEOR
BERT Score
R-1
R-2
R-L
B-1
B-4
Mistral-7B-v0.3
32.23 ± 1.87
9.77 ± 1.57
29.07 ± 1.73
26.05 ± 1.07
6.27 ± 0.75
27.17 ± 2.23
0.894 ± 0.005
Qwen2.5-7B
27.58 ± 1.56
4.93 ± 0.42
23.40 ± 1.14
22.93 ± 1.43
3.73 ± 0.23
21.68 ± 1.15
0.882 ± 0.002
LLaMA3-8B
32.35 ± 1.90
9.45 ± 1.76
28.90 ± 1.74
25.95 ± 1.23
6.07 ± 0.83
26.38 ± 2.75
0.893 ± 0.004
Table 3: Subject-wise EEG-to-text performance under the all-subject training setting. Values denote mean ± standard deviation across the six observed subjects and characterize inter-subject performance variability within the evaluated participant population.
Figure 5: Metric-wise performance differences between our method and Thought2Text across different vision encoders and LLM backbones. Each cell reports the absolute score change with respect to the corresponding Thought2Text baseline under the same LLM backbone. Warm colors indicate performance gains, while blue colors indicate performance drops.
LLM
EEG Backbone
ROUGE
BLEU
METEOR
BERT Score
GPT-4o Flu.
GPT-4o Ade.
R-1
R-2
R-L
B-1
B-4
LLaMA3-8B
EEGNet
29.1
6.6
26.0
24.0
4.8
22.3
0.886
4.771
1.311
ATCNet
30.2
7.8
27.1
24.5
5.4
23.4
0.888
4.768
1.418
EEGConformer
33.4
10.6
30.0
27.1
7.1
27.3
0.895
4.745
1.700
ShallowConvNet
33.6
10.6
30.2
27.8
7.1
27.6
0.895
4.772
1.701
Ours
35.4
12.1
31.9
28.7
8.1
29.6
0.898
4.745
1.852
Table 5: Generalization of the proposed EEG-to-text training framework across different EEG backbones. All EEG backbones are trained and evaluated under the same EEG-to-text training pipeline. Ours denotes the proposed dual-view EEG semantic token encoder. The best value for each metric within each LLM group is highlighted in bold.
Variant
Modification
ROUGE
BLEU
METEOR
BERT Score
GPT-4o Flu.
GPT-4o Ade.
R-1
R-2
R-L
B-1
B-4
Full setting and regularization ablation
Full model
Full setting
36.2
12.9
32.9
29.6
8.5
30.7
0.900
4.776
1.926
w/o Div.
Remove diversity regularization
34.0
11.4
31.4
27.1
7.5
28.1
0.899
4.761
1.833
Dual-view input ablations
Raw only, sketch zeroed
Use raw-view EEG while zeroing the sketch-view input
34.9
11.5
31.6
28.2
7.5
29.4
0.897
4.741
1.869
Table 6: Ablation study of the proposed EEG-to-text fine-tuning framework.
ID
Image
Reference Object
Reference Description
Raw + Sketch Description
Raw-only Description
Sketch-only Description
1
Missing image
mushroom
A large yellow mushroom with a brown stem and a brown cap, surrounded by green foliage.
A close-up of a mushroom with a yellow cap and brown gills .
A mushroom growing out of a log.
A mushroom with a yellow background.
2
Missing image
watch or watches
A silver wristwatch with a digital display and a black strap .
A silver wristwatch with a black strap and a digital display.
A collection of watches on display.
A black watch with a white face and red numbers.
3
Missing image
camera
A vintage camera with a lens on a wooden table .
A vintage black and white camera with a lens on a wooden table .
A black camera with a silver lens and strap.
A vintage camera with a leather strap.
4
Missing image
shoes
A pair of white and blue sneakers .
A pair of white and black sneakers with a blue stripe .
A pair of white and black sneakers with a red tag .
A pair of white and black sneakers with a red sole .
Table 7: Qualitative comparison among raw+sketch, raw-only, and sketch-only supervision. The examples emphasize color, texture, material, and part attributes. Blue text highlights representative visual cues, green text emphasizes descriptions produced by the dual-view model, and red text marks incorrect attributes generated by single-view variants.
Branch
Sketch
Raw
Margin (95% CI)
Sketch
0.8300
0.6400
+0.1900 [0.1871, 0.1929]
Raw
0.7113
0.7308
+0.0195 [0.0168, 0.0223]
Table 8: Branch-level cross-view alignment on 1,987 test samples. Values are mean cosine similarities; the margin is the matched-view minus alternative-view similarity. Brackets denote 95% CIs from 5,000 paired-bootstrap resamples.
Leveraging the universal representations of pre-trained LLMs and MLLMs offers a promising path toward brain foundation models. However, visually-evoked EEG datasets remain scarce, leading existing methods to align neural signals mainly with abstract text, a lossy translation that may discard fine-grained perceptual information encoded in brain activity. We propose Generative Visual Grounding (GVG), a framework that visualizes the invisible by using an EEG-to-image generative model as a visual translator. Instead of forcing EEG into text alone, GVG hallucinates instance-specific proxy images for non-visual EEG, providing structured visual contexts that allow MLLMs to exploit their visual priors for clinical-state interpretation. We validate this idea on two MLLM backbones, GVG-X-Omni and GVG-Janus. Image-only alignment is already competitive: the lightweight GVG-X-Omni matches 1.7B-parameter text-aligned baselines while tuning only 170M parameters on a frozen 7B backbone. We further extend GVG-Janus with trimodal Image+Text alignment, where text supplies categorical semantic anchors and visual proxies enrich neural representations with perceptual details. Experiments show consistent gains in EEG understanding and visual generation, suggesting visual proxy grounding as an effective complement to textual alignment.
Jun-Yu Pan, Yansen Wang, Enze Zhang +3
Shanghai Jiao Tong University Shanghai, China · Microsoft Research Asia Shanghai, China
Recent advances in large language models have accelerated open-vocabulary EEG-to-imagined-text decoding, where non-invasive neural activity recorded during visual perception is translated into coherent natural language descriptions of viewed stimuli. However, existing systems remain highly vulnerable to biological noise, where corrupted neural projections induce hallucinated or semantically unstable generation in frozen language models. We introduce SYNAPSE (Symbolic Neural Alignment for Precise Semantic Extraction), a lightweight neuro-symbolic framework that stabilizes neural text generation through inference-time symbolic regularization. By purifying EEG-derived semantic candidates using commonsense graph structure and latent exemplars, SYNAPSE improves semantic stability without end-to-end LLM fine-tuning. Experiments across popular EEG decoding benchmarks and multiple frozen LLM backends demonstrate consistent gains over unconstrained prompting baselines, robustness under object-label ablation, and performance commensurate with substantially more resource-intensive fine-tuned systems, while preserving biometric privacy by localizing raw EEG processing entirely within the encoder stack.
Akshaj Murhekar, Abhijit Mishra
School of Information University of Texas at Austin
Electroencephalography (EEG) is widely used to measure brain activity for brain-computer interface applications for its non-invasive nature and high temporal resolution. However, progress in modeling the neural responses to visual semantics has been limited by a reliance on fixed image collections that lack the fine-grained control needed to isolate fine-grained changes in visual features and their relation to perception. In this work, we present EEGFaceSem, a large-scale dataset pairing high-quality EEG with photorealistic face images synthesized from a generative model. We provide the generative latent vector for each stimulus, enabling research into the continuous mapping between a visual latent space and neural representations. Each participant's brain responses were recorded while they attended to specific semantic features (e.g., smiling, hair color) in a rapid serial visual presentation paradigm. The dataset contains EEG signals from 30 participants, totaling 67,200 time-locked EEG recordings. We present benchmarks for single-trial semantic classification under single-subject, cross-subject, and subject-adapted settings, as well as for cross-subject voting that aggregates per-stimulus predictions across participants. We further demonstrate the dataset's unique utility with two complementary applications: deriving semantic directions in the latent space for brain-supervised image editing, and conditioning a generative model on brain-decoded labels for brain-supervised image generation. Our dataset paves the way for advancing brain-computer interfaces (BCI) for semantic-level visual saliency detection and brain-supervised generative modeling. Our dataset and code are openly released at OSF (https://osf.io/2guk3/) and at HuggingFace https://huggingface.co/datasets/yefllower/EEGFaceSem.
Jun Ma, Michiel M. Spapé, Keith M. Davis +1
University of Helsinki Helsinki, Finland · University of Macau Macau, China · LUT University Lahti, Finland +1