Manuscript Offprint
arXiv:2610.33065ProtoEEG: Structured Prototype Alignment for EEG Visual Decoding
Abstract
EEG visual decoding remains difficult because scalp recordings are noisy, spatially coarse, and variable across trials and subjects. Most systems align each trial with a dense image embedding, although that embedding mixes semantic content with instance-specific texture, pose, and background. This target can demand details absent from EEG and provides no explicit account of the visual factors supporting a prediction. We propose ProtoEEG, a prototype-mediated framework that reformulates EEG–image alignment as soft composition over a shared learnable visual codebook. A trainable EEG encoder and a frozen visual teacher produce assignment distributions over the same prototypes. Their weighted reconstructions form a structured representation for retrieval and image generation. Prototype contrast supplies the main cross-modal training signal, distribution alignment coordinates codebook use across modalities, an instance anchor preserves fine-grained discrimination, and diversity regularization prevents redundant prototypes. The shared assignment profile also makes the learned bottleneck directly testable through prototype retention, random selection, and identity shuffling. Across five seeds, ProtoEEG reaches 64.0% Top-1 and 91.5% Top-5 on THINGS-EEG2 200-way retrieval. After retraining on EEG-ImageNet, it obtains 44.8% Top-1 and 73.8% Top-5 in 80-way retrieval. ProtoEEG also ranks first on all seven reconstruction metrics. Removing prototype contrast lowers Top-1 by 56.9 percentage points, while shuffling prototype identities reduces it to 0.5%. Prototype analyses further show distributed assignments and broad codebook use rather than one-prototype routing. These results support structured alignment targets as a practical alternative to increasing encoder or teacher capacity alone.
Introduction
Visual decoding has been studied across several neuroimaging modalities. Functional magnetic resonance imaging (fMRI) can reconstruct viewed images from blood-oxygen-level-dependent signals (Benchetrit, Banville, and King 2024; Scotti et al. 2023), but it requires expensive scanners and restricts subject movement. Electroencephalography (EEG) is portable, inexpensive, and records neural dynamics at millisecond resolution (Spampinato et al. 2017). Its scalp measurements are spatially coarse and vary across trials and people. A decoder must therefore recover visual distinctions without assuming that texture, viewpoint, or background is recorded consistently.

Figure 1: Dense alignment matches EEG to instance-specific image embeddings and can treat related concepts as negatives, as shown on the left. ProtoEEG instead maps both modalities to soft assignments over shared visual prototypes, shown on the right.
Deep learning has moved EEG visual decoding from category prediction toward representation alignment and image generation. Early approaches learned joint EEG–image embeddings for classification (Spampinato et al. 2017; Palazzo et al. 2020). Recent methods align EEG with pretrained visual features (Song et al. 2023; Li et al. 2024; Zhang et al. 2025; Li et al. 2025; Liu et al. 2025; Singh et al. 2024), modify visual supervision (Wu et al. 2025, 2026; Zhang et al. 2026), or condition generative models on EEG embeddings (Bai et al. 2024; Dai et al. 2026). Large-scale pretraining on EEG has also shown promise for learning generic representations (Jiang, Zhao, and Lu 2024; Yu et al. 2026; Zhou et al. 2026; Wang et al. 2025; El Ouahidi et al. 2026). These lines of work improve temporal modeling, visual supervision, or generation, yet they primarily change the predictor or teacher rather than asking whether a dense visual embedding is an appropriate target for a noisy neural measurement.
Most of these methods retain the same assumption: an EEG trial should match one dense, instance-level image representation (Song et al. 2023; Li et al. 2024; Wu et al. 2025, 2026; Zhang et al. 2026). Such a representation combines category and coarse shape with viewpoint, texture, lighting, background, and spatial arrangement, although EEG may support only some of these factors. Direct alignment can penalize the neural encoder for variation absent from the measurement and turn related images into negatives. The cross-modal gap adds another mismatch (Liang et al. 2022).
The choice of alignment target is therefore as important as encoder capacity.
The alignment target should remain tied to a visual teacher, represent uncertainty compositionally, and expose that composition for analysis. Prototype methods organize data around reusable representatives (Snell, Swersky, and Zemel 2017; Caron et al. 2018, 2020; Li et al. 2020). Hard assignments are too restrictive because one EEG trial may not support a single categorical choice. We instead use a learnable codebook with soft assignments. The prototypes define shared visual directions, while each sample assigns graded weights to them.
We propose ProtoEEG, which aligns EEG and images through a shared visual prototype space. Figure 1 shows the main design. A trainable EEG encoder and a frozen visual teacher produce soft assignments over the same codebook, then reconstruct assignment-weighted embeddings for retrieval and image generation. Prototype contrast aligns the decoded representation, while distribution, instance, and diversity terms coordinate codebook use and prevent collapse. The code supports retrieval, reconstruction, and controlled perturbations without assigning neurocognitive meanings to individual prototypes.
Our main contributions are:
• We propose ProtoEEG, a prototype-alignment framework built around a shared learnable codebook. Soft assignments express graded EEG evidence without forcing one prototype per trial.
• We combine prototype contrast for cross-modal discrimination, distribution alignment for shared codebook use, an instance anchor for fine-grained distinctions, and diversity regularization to prevent redundant prototypes.
• Experiments across retrieval and reconstruction show consistent gains across datasets and visual teachers. ProtoEEG reaches 64.0% Top-1 and 91.5% Top-5 on THINGS-EEG2, obtains 44.8% Top-1 on EEG-ImageNet after retraining, and leads reconstruction metrics.
EEG-to-image reconstruction and generative priors. DreamDiffusion and ATM condition diffusion models on EEG-derived representations (Bai et al. 2024; Li et al. 2024); AVDE uses autoregressive decoding (Dai et al. 2026). Related fMRI and MEG systems combine contrastive alignment with diffusion priors (Benchetrit, Banville, and King 2024; Scotti et al. 2023, 2024; Ozcelik and VanRullen 2023). Generative priors improve synthesis, but the EEG condition remains a dense vector with no explicit decomposition. Reconstruction quality can therefore improve without showing which part of the neural representation supplies category, shape, or appearance information. Our reconstruction experiment uses the prototype code learned for retrieval, rather than a separate representation trained only for generation.
Prototype learning and multimodal alignment. Prototype-based representations include few-shot class centroids (Snell, Swersky, and Zemel 2017), cluster codebooks for self-supervised learning (Caron et al. 2018, 2020; Li et al. 2020), and interpretable part prototypes (Chen et al. 2019). Multimodal variants align prototypes across images and text or clinical reports (Cheng et al. 2023; Qin et al. 2023), providing structure across modalities with different feature distributions (Liang et al. 2022). Existing methods either use hard assignments that are poorly suited to noisy EEG or keep prototypes within one modality. Neither setting addresses soft neural–visual alignment. ProtoEEG shares one trainable codebook across EEG and images and retains the resulting assignment profile at inference.
Method
Overview and Problem Definition
Figure 2 shows the complete architecture. A trainable EEG encoder and projection head produce the normalized embedding . A visual encoder and projection head similarly produce . We freeze the visual backbone and train only , , , and the prototype codebook. Freezing fixes the visual coordinate system throughout training so the EEG encoder learns to use this space rather than changing the teacher to follow EEG noise. Both modalities produce soft assignments over the same prototype matrix, and their assignment-weighted reconstructions replace direct recovery of dense visual embeddings.
Given paired data denotes a single-trial EEG recording, its stimulus image, and its concept label. Labels are used for evaluation, not for training the codebook. Our goal is to map EEG and images into a common representation for retrieval and reconstruction.
Shared Prototype Representation
Prototype codebook. The shared visual basis is a learnable matrix containing unit-norm prototypes. We initialize them from random training-image embeddings and update them through paired EEG–image supervision. They are neither class centroids nor pre-labelled semantic concepts. The same matrix is shared across all trials, subjects, and images within a trained model, providing stable coordinates for cross-modal comparison, while the assignment vector changes with each observation.

Figure 2: Overview of ProtoEEG. A frozen visual teacher and a trainable EEG encoder produce soft assignments over a shared prototype codebook. The diagram denotes and by and . These embeddings support retrieval and image generation. Training uses prototype contrast , distribution alignment , and diversity regularization ; the instance anchor .
and records which parts of that basis are supported. This distinction separates dataset-level structure from trial-level evidence: learning P across samples gives recurring visual patterns a shared coordinate, while records how one observation uses that coordinate.
Soft assignment. For a normalized embedding from modality , the soft assignment over prototypes is
where controls assignment sharpness and is the probability simplex. EEG noise makes a unique prototype assignment unreliable. Soft assignments allow several visual factors to explain one trial and represent evidence as graded weights. Because and use the same codebook, their coordinates can be aligned directly.
The temperature determines the effective resolution of this description. A low value concentrates probability on a small number of prototypes, approaching hard routing, whereas a higher value distributes support more broadly. Retaining a differentiable full assignment lets gradients jointly refine prototype identities and mixture weights. It also creates a controlled interface for later analysis: entries can be retained, removed, randomized, or permuted without changing the underlying EEG encoder.
We use the same temperature and prototype matrix for both modalities. Any difference between and then reflects the encoded observations rather than a modality-specific codebook. The distribution loss below reduces this difference for paired samples without requiring their raw embeddings to be identical.
Prototype reconstruction. The prototype-reconstructed embedding is
For EEG, is the representation used for decoding. For gallery images, serves as the comparison target. Both lie in the same codebook span. The prototype bottleneck retains shared visual structure while constraining representations away from unstable instance-specific details that EEG cannot encode. The resulting representations pool evidence across visually similar stimuli, as images with similar content naturally receive similar assignment profiles.
The reconstruction is deterministic once P and are fixed. Retrieval scores can therefore be traced to an ordered set of prototype weights, and perturbing a weight changes the same representation used by the decoder. This link is the basis of the assignment interventions reported in Section 4.
Because the weights are nonnegative and sum to one, each reconstruction lies in the convex hull of the learned prototypes. This constraint is weaker than assigning one class but more structured than predicting an unrestricted vector. An individual prototype is not a complete semantic concept. Information is carried by the ordered profile and interactions among several basis vectors. We interpret the model by testing this decomposition rather than naming prototypes after training.
Learning Objective
The model is trained with four complementary losses. The prototype contrastive loss aligns prototype-reconstructed EEG and visual embeddings via symmetric InfoNCE (Oord, Li, and Vinyals 2018):
where B is the batch size and is learned. This loss organizes the decoded representation for cross-modal discrimination. Its gradients update both prototype assignment and reconstruction. Without it, paired samples may reach similar embeddings through incompatible assignments.
A distribution alignment term encourages both modalities to use the codebook similarly for the same stimulus:
This term aligns the assignment profiles of paired samples and prevents them from reaching similar reconstructions through incompatible prototype weights.
An instance-level anchor operates on raw embeddings to preserve discriminability:
This preserves distinctions that prototype reconstruction may smooth. Without it, the bottleneck can discard fine-grained details needed for candidate ranking.
To prevent prototype collapse, we penalize pairwise cosine similarity:
This discourages redundant basis vectors. Without it, several rows of P can converge to similar directions and reduce the effective codebook size. Table 4 tests each term separately.
The total loss is
Optimization updates the EEG encoder, both projection heads, and the prototype matrix jointly, while the visual backbone remains fixed. After each update, prototype rows are normalized again so that assignment scores continue to reflect angular similarity rather than changing vector magnitude. Initialization from training-image embeddings gives the codebook a visual starting geometry, but its final organization is determined by the paired objective because gradients from both assignments and decoded representations reach P. The complete training procedure is summarized in Algorithm 1.
Prototype-Based Decoding
Retrieval. At inference, the EEG query and each gallery candidate are represented by their prototype-reconstructed embeddings. For an EEG trial X and a candidate image , the similarity score is
Gallery candidates are ranked by descending score, and Top-1 and Top-5 accuracy measure retrieval performance. Both the EEG query and visual gallery pass through the codebook, so ranking compares their learned prototype decompositions.
Gallery representations are computed once with the trained visual projection and codebook. Test-time processing then requires only EEG encoding, assignment, and similarity evaluation. The scoring function has no classifier tied to a
Algorithm 1 ProtoEEG Training
Require: Dataset , frozen visual encoder , codebook size , temperature
Ensure: Trained EEG encoder , projections , prototype matrix
1: Initialize from random image embeddings; L2-normalize rows
2: for each training batch do
3: Encode: ,
4: Assign: ,
5: Reconstruct:
6: Compute , , , and using Eqs. 3–6
7: Update , on the objective in Eq. 7
8: L2-normalize each row of
9: end for
fixed vocabulary, so the same interface supports the 200-way image gallery and the 80-way class gallery.
For the image gallery, each candidate is encoded with the same visual projection used during training and then reconstructed as . In the class-level protocol, the gallery contains one representative for each class; in image-level retrieval, it contains the held-out candidate images. The similarity rule itself is unchanged.
Reconstruction. The prototype-reconstructed EEG embedding conditions a frozen generative decoder. This decoder does not affect codebook training. Reconstruction measures the information retained by the prototype bottleneck with pixel-level and semantic metrics.
Retrieval and reconstruction use the same learned code. Retrieval tests candidate ordering; reconstruction tests which appearance and semantic information can be rendered. Neither task retrains the codebook. A difference between their outcomes therefore reflects what the fixed code preserves for each readout, rather than a separate representation learned for generation.
Experiments
Datasets and Implementation Details
Datasets. We evaluate on two EEG visual-decoding datasets. THINGS-EEG2 (Gifford et al. 2022) contains 10 subjects, 16,740 natural images from 200 concepts, and 63-channel EEG recorded at 1000 Hz after 50 ms presentations. Each concept contains several image exemplars, and the model receives one EEG trial at a time. In intra-subject evaluation, an 80/20 split trains and tests on one subject using disjoint exemplars of the same concepts. In inter-subject evaluation, one subject is held out and the remaining nine provide training data. Both use a 200-way gallery with one held-out exemplar per concept. This design tests image retrieval rather than only predicting a concept label.
EEG-ImageNet (Spampinato et al. 2017) contains 8 subjects viewing 40,000 images from 80 classes. Each image is
(a) Intra-subject: train and test on one subject
| Subject | CLIP family | RN50 family | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NICE | ATM | AVDE | ProtoEEG | UBP | ATS | NeuroBridge | ProtoEEG | |||||||||
| T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | |
| Sub-01 | 20.1 | 47.9 | 23.2 | 51.2 | 25.0 | 55.2 | 39.3 | 71.8 | 41.2 | 70.5 | 53.0 | 79.0 | 50.0 | 77.6 | 62.9 | 89.7 |
| Sub-02 | 19.2 | 36.9 | 18.8 | 43.2 | 24.1 | 51.0 | 32.7 | 63.5 | 51.2 | 80.9 | 62.0 | 87.5 | 63.2 | 90.6 | 61.8 | 94.1 |
| Sub-03 | 21.2 | 53.8 | 27.3 | 57.0 | 27.5 | 58.6 | 35.5 | 66.6 | 51.2 | 82.0 | 61.5 | 89.0 | 61.6 | 91.1 | 64.9 | 93.6 |
| Sub-04 | 22.4 | 50.4 | 28.0 | 54.1 | 29.8 | 54.7 | 42.1 | 73.9 | 51.1 | 76.9 | 57.0 | 86.5 | 61.4 | 90.0 | 58.5 | 88.5 |
| Sub-05 | 14.4 | 31.6 | 16.8 | 39.5 | 25.4 | 50.3 | 26.4 | 53.5 | 42.2 | 72.8 | 55.0 | 84.0 | 54.8 | 85.0 | 51.4 | 81.9 |
| Sub-06 | 26.1 | 56.3 | 28.0 | 59.2 | 33.5 | 60.3 | 36.1 | 66.4 | 57.5 | 83.5 | 68.0 | 90.5 | 69.7 | 92.9 | 67.2 | 96.3 |
| Sub-07 | 26.9 | 55.7 | 26.8 | 53.7 | 27.4 | 55.2 | 35.2 | 69.0 | 49.0 | 79.9 | 53.0 | 84.0 | 62.7 | 88.8 | 64.5 | 93.6 |
| Sub-08 | 38.2 | 67.4 | 39.3 | 71.5 | 41.7 | 71.3 | 47.9 | 80.7 | 58.6 | 85.8 | 66.5 | 91.0 | 71.2 | 95.1 | 69.4 | 92.7 |
| Sub-09 | 23.4 | 53.2 | 24.5 | 51.2 | 26.1 | 52.1 | 35.7 | 63.4 | 45.1 | 76.2 | 58.5 | 86.0 | 64.0 | 91.0 | 69.7 | 92.0 |
| Sub-10 | 29.8 | 58.6 | 37.2 | 67.7 | 39.5 | 73.0 | 45.6 | 79.8 | 61.5 | 88.2 | 67.5 | 89.0 | 73.6 | 97.1 | 69.4 | 92.9 |
| Avg | 24.2 | 51.2 | 27.0 | 54.8 | 30.0 | 58.2 | 37.7 | 68.9 | 50.9 | 79.7 | 60.2 | 86.7 | 63.2 | 89.9 | 64.0 | 91.5 |
(b) Inter-subject: leave one subject out for test
| Subject | CLIP family | RN50 family | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NICE | ATM | AVDE | ProtoEEG | UBP | ATS | NeuroBridge | ProtoEEG | |||||||||
| T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | |
| Sub-01 | 7.6 | 22.8 | 10.5 | 26.8 | 14.1 | 32.2 | 15.8 | 39.5 | 11.5 | 29.7 | 17.0 | 37.5 | 23.2 | 52.4 | 25.8 | 55.7 |
| Sub-02 | 5.9 | 20.5 | 7.1 | 24.8 | 17.0 | 38.4 | 16.6 | 42.8 | 15.5 | 40.0 | 21.5 | 49.5 | 21.2 | 49.3 | 24.1 | 52.6 |
| Sub-03 | 6.0 | 22.3 | 11.9 | 33.8 | 9.1 | 21.8 | 9.8 | 28.4 | 9.8 | 27.0 | 7.5 | 20.0 | 13.2 | 36.5 | 14.6 | 38.9 |
| Sub-04 | 6.3 | 20.7 | 14.7 | 39.4 | 15.2 | 32.5 | 15.9 | 40.6 | 13.0 | 32.3 | 13.5 | 41.5 | 17.0 | 45.3 | 19.2 | 47.1 |
| Sub-05 | 4.4 | 18.3 | 7.0 | 23.9 | 12.5 | 32.4 | 12.9 | 35.7 | 8.8 | 33.8 | 7.0 | 27.0 | 14.5 | 37.7 | 16.3 | 40.2 |
| Sub-06 | 5.6 | 22.2 | 11.1 | 35.8 | 17.3 | 38.6 | 17.5 | 43.9 | 11.7 | 31.0 | 14.5 | 37.0 | 25.0 | 55.0 | 27.8 | 57.8 |
| Sub-07 | 5.6 | 19.7 | 16.1 | 43.5 | 7.4 | 20.4 | 10.5 | 31.2 | 10.2 | 23.8 | 10.0 | 33.5 | 15.3 | 45.1 | 18.2 | 46.9 |
| Sub-08 | 6.3 | 22.0 | 15.0 | 40.3 | 18.5 | 40.1 | 19.1 | 45.8 | 12.2 | 32.2 | 13.0 | 30.5 | 20.1 | 44.9 | 23.5 | 49.5 |
| Sub-09 | 5.7 | 17.6 | 4.9 | 22.7 | 13.2 | 33.6 | 13.8 | 37.4 | 15.5 | 40.5 | 9.5 | 28.5 | 13.7 | 36.5 | 16.4 | 39.4 |
| Sub-10 | 8.4 | 28.3 | 20.5 | 46.5 | 18.0 | 39.3 | 23.1 | 52.7 | 16.0 | 43.5 | 26.0 | 52.5 | 27.2 | 56.3 | 34.1 | 55.9 |
| Avg | 6.2 | 21.4 | 11.8 | 33.7 | 14.2 | 32.9 | 15.5 | 39.8 | 12.4 | 33.4 | 14.0 | 35.8 | 19.0 | 45.9 | 22.0 | 48.4 |
Table 1: THINGS-EEG2 200-way retrieval accuracy (%). ProtoEEG reports five-seed means. Bold marks best within each visual-encoder family. ProtoEEG consistently outperforms dense alignment baselines in both intra-subject and inter-subject settings, with CLIP gains uniform across subjects while RN50 improvements are more variable.
presented for 500 ms, and EEG is recorded from 128 channels at 1000 Hz. We follow its 80-way class-retrieval protocol with disjoint training and test images and one representative per class. ProtoEEG is retrained rather than transferred zero-shot. This task retrieves classes rather than THINGS-EEG2 image instances, so scores across the datasets are not directly comparable.
Brain Encoders. The EEG encoder applies temporal convolution with a 25 ms kernel, spatial convolution over channels, and self-attention to each trial . A two-layer MLP projects the normalized 1024-dimensional output to d = 512. The encoder contains no subject-specific parameters and receives no subject identifier. Differences between intra-subject and inter-subject results therefore arise without an explicit subject-adaptation module.
Visual Teachers. We use frozen CLIP ViT-L/14 and ResNet-50 teachers, which define two method families. The trainable head maps their features to the shared d = 512 space. We compare methods only within a family so teacher capacity is controlled. Scores across the two families are reported separately because their frozen features have different capacity and geometry.
Training and Evaluation Details. The K = 64 codebook is initialized from training-image embeddings. We train for 100 epochs with AdamW at a learning rate of and a batch size of 128. We set and initialize the learned to 0.07. The loss weights are , , and . Results average five seeds before averaging subjects; standard deviations appear in the supplement. Table 4 averages all ten THINGS-EEG2 subjects. Reconstruction uses a frozen SDXL IP-Adapter conditioned on .
Baselines. We compare with recent EEG visual decoding methods. NICE (Song et al. 2023) aligns EEG with CLIP via noise-contrastive estimation. ATM (Li et al. 2024) uses an adaptive teacher module with diffusion-based reconstruction. AVDE (Dai et al. 2026) employs autoregressive visual decoding. NeuroBridge (Zhang et al. 2026) applies cognitive alignment for cross-subject transfer. All baselines use dense instance-level alignment without explicit prototype decomposition.
| Method | Metric | Sub-01 | Sub-02 | Sub-03 | Sub-04 | Sub-05 | Sub-06 | Sub-07 | Sub-08 | Avg |
|---|---|---|---|---|---|---|---|---|---|---|
| ATM | Top-1 | 30.6 | 24.5 | 21.3 | 15.1 | 20.5 | 18.7 | 14.6 | 9.1 | 19.3 |
| Top-5 | 63.3 | 62.4 | 64.1 | 42.8 | 55.7 | 69.9 | 67.6 | 35.3 | 57.6 | |
| AVDE | Top-1 | 30.8 | 27.0 | 22.7 | 15.4 | 21.8 | 32.9 | 30.1 | 14.4 | 24.4 |
| Top-5 | 63.4 | 62.8 | 64.3 | 43.5 | 56.6 | 70.3 | 69.5 | 38.8 | 58.7 | |
| ProtoEEG | Top-1 | 50.2 | 16.9 | 56.5 | 25.3 | 17.7 | 57.4 | 57.3 | 77.1 | 44.8 |
| Top-5 | 88.6 | 51.2 | 82.3 | 48.6 | 41.4 | 93.6 | 85.5 | 98.8 | 73.8 |
Table 2: EEG-ImageNet 80-way accuracy (%). ProtoEEG reports five-seed means.
Retrieval Performance
Retrieval on THINGS-EEG2. Table 1 presents 200-way retrieval results for intra-subject evaluation, in which training and testing use one subject, and inter-subject evaluation, in which one subject is left out for test.
In intra-subject evaluation, ProtoEEG reaches 37.7/68.9 Top-1/Top-5 with CLIP, exceeding AVDE by +7.7/+10.7 percentage points, and 64.0/91.5 with RN50, exceeding NeuroBridge by +0.8/+1.6 pp. The smaller RN50 margin reflects its stronger baseline. Subject rows reveal complementary patterns: CLIP improves over AVDE for all ten subjects, whereas RN50 gains occur for six of ten, making the CLIP improvement more broadly distributed.
In inter-subject evaluation, ProtoEEG reaches 15.5/39.8 with CLIP, improving on AVDE by +1.3/+6.9 pp. With RN50, it reaches 22.0/48.4 and improves on NeuroBridge by +3.0/+2.5 pp. The fall from 64.0% to 22.0% RN50 Top-1 shows that cross-subject shift remains substantial, although the codebook preserves its within-family advantage without subject-specific calibration. For CLIP, the larger Top-5 gain suggests that the correct concept is retained in the shortlist more often than it is ranked first.
The per-subject rows qualify the averages. CLIP gains are consistent across participants, while the RN50 advantage is concentrated rather than uniform. Under inter-subject evaluation, both families retain a large spread across held-out subjects. Prototype alignment improves the target representation, but it does not remove differences in signal quality or neural response across people.
Retrieval on EEG-ImageNet. Table 2 reports the 80-way results after retraining ProtoEEG on EEG-ImageNet. ProtoEEG averages 44.8/73.8 Top-1/Top-5, exceeding AVDE by +20.4/+15.1 pp and winning on six of eight subjects. Top-1 ranges from 16.9% to 77.1%, exposing strong individual variation. Excluding the best subject still gives 40.2% versus AVDE's 25.8%, so one outlier does not explain the gain. Failures on Sub-02 and Sub-05 show that participant-specific difficulty persists.
Image Reconstruction Quality
Table 3 separates low-level structure from high-level semantic identification. ProtoEEG leads all seven evaluators: over AVDE, it gains +0.007 PixCorr, +0.024 SSIM, +0.013 AlexNet(2), +0.020 AlexNet(5), +0.019 Inception, and +0.021 CLIP, while reducing SwAV distance by 0.080. The agreement across metric families shows that the bottleneck retains both appearance and category information. Fig-
| Method | Low-level | High-level | |||||
|---|---|---|---|---|---|---|---|
| PixCorr↑ | SSIM↑ | AlexNet(2)↑ | AlexNet(5)↑ | Inception↑ | CLIP↑ | SwAV↓ | |
| ATM | 0.130 | 0.339 | 0.740 | 0.822 | 0.685 | 0.716 | 0.599 |
| AVDE | 0.147 | 0.366 | 0.766 | 0.835 | 0.724 | 0.747 | 0.586 |
| ProtoEEG | 0.154 | 0.390 | 0.779 | 0.855 | 0.743 | 0.768 | 0.506 |
Table 3: Reconstruction performance on THINGS-EEG2. ProtoEEG reports five-seed means over ten subjects.
| Configuration | Top-1 | Top-5 | T1 |
|---|---|---|---|
| Loss ablation | |||
| Full Loss | 64.0 | 91.5 | — |
| w/o | 7.1 | 17.7 | -56.9 |
| w/o | 33.7 | 58.5 | -30.3 |
| w/o | 45.5 | 65.4 | -18.5 |
| w/o | 51.6 | 77.1 | -12.4 |
| Assignment perturbation | |||
| Full prototypes, | 64.0 | 91.5 | — |
| Raw , no prototypes | 29.4 | 49.0 | -34.6 |
| Top-, | 34.5 | 60.3 | -29.5 |
| Top-, | 3.7 | 7.3 | -60.3 |
| Random-, | 1.8 | 4.5 | -62.2 |
| Shuffled , | 0.5 | 2.0 | -63.5 |
Table 4: ProtoEEG diagnostics: five-seed means over all ten THINGS-EEG2 subjects.
ure 3 demonstrates that ProtoEEG reconstructions preserve semantic content and pixel-level details better than baselines. Dominant object categories are correctly identified, and visual attributes such as color, texture, and coarse shape are more faithfully reproduced compared to ATM and AVDE.
Analysis of Prototype Mechanism
Table 4 presents loss ablations and assignment perturbations, averaged over all ten THINGS-EEG2 subjects under the intra-subject protocol.
Dominant Role of Prototype Contrastive Loss. Removing causes the largest Top-1 drop of pp. Removing , , and reduces Top-1 by , , and pp, respectively. Prototype contrast is the primary signal, while the remaining terms regularize it.
Necessity of Learned Prototype Structure. Bypassing prototypes drops Top-1 from to . Retaining the top 48 or 16 assignments gives or ; selecting 16

Figure 3: Qualitative reconstruction comparison on twelve THINGS-EEG2 test concepts.

(d) Top-4 Prototype image grid
(e) Top-k Prototype
(f) Brain Region Importance
Figure 4: Prototype diagnostics over five seeds and ten subjects. Panels a–f show prototype coverage, assignment entropy, temporal windows, activating images, top-k retention, and channel groups.
at random gives 1.8%. Shuffling weights across prototype identities reduces accuracy to 0.5%, despite preserving their magnitudes. Retrieval therefore depends on both distributed weights and learned prototype identities.
Prototype Coverage and Assignment Entropy. Panel (a) of Figure 4 shows coverage across several t-SNE regions. The learned prototypes distribute across the visual space rather than clustering in a small region. Mean assignment entropy is 5.96 bits, near the six-bit maximum for a 64-prototype codebook. The assignments are distributed rather than winner-take-all, meaning each EEG trial activates multiple prototypes with graded weights. The activating images for each prototype show semantic consistency within clusters but vary in viewpoint and background, characterizing prototypes as reusable visual factors rather than one-to-one class representatives.
Top-k Retention and Temporal/Spatial EEG Evidence. For a separate checkpoint, we test which subset of assignments is necessary. Retention peaks at and declines at and 256. This suggests that increasing codebook size beyond 64 does not improve retrieval when all assignments are used, but retaining the top 64 from a larger set performs comparably to using all 64 from a smaller codebook. Panel (c) shows that the 100–200 ms post-stimulus window provides the strongest temporal evidence, consistent with visual processing latencies. Panel (f) shows that posterior and occipital channels contribute most strongly, reflecting their proximity to visual cortex.
Interpreting Assignment Structure. High entropy and top-k retention describe different properties. The assignments avoid one-prototype collapse, showing that the model uses the full codebook capacity. The intervention shows that not every component is equally necessary: 64 prototypes capture most of the discriminative structure. Shuffling reduces performance to near chance, demonstrating that accuracy depends on which prototype receives each weight, not only on weight magnitude. The learned prototype identities therefore encode visual structure that the assignment mechanism exploits.
Conclusion
We presented ProtoEEG, a framework that reformulates dense EEG–image alignment as soft composition over a shared visual codebook. A trainable EEG encoder and frozen visual teacher produce assignment profiles over the same prototypes, and the reconstructed EEG representation supports retrieval and conditions a fixed image generator. Prototype contrast provides the main cross-modal signal, while distribution alignment, instance anchoring, and diversity regularization coordinate codebook use and prevent collapse. Across five seeds, ProtoEEG reaches 64.0% Top-1 and 91.5% Top-5 on THINGS-EEG2, obtains 44.8% and 73.8% after retraining on EEG-ImageNet, and leads seven reconstruction metrics. Retention and shuffling experiments further show that decoding depends on distributed weights and learned prototype identities. ProtoEEG makes target structure an explicit design choice for EEG visual decoding. Future work should improve cross-subject calibration and retain finer instance details without losing the inspectable prototype interface.
References
Bai, Y.; Wang, X.; Cao, Y.-P.; Ge, Y.; Yuan, C.; and Shan, Y. 2024. DreamDiffusion: High-quality EEG-to-image generation with temporal masked signal modeling and CLIP alignment. In European Conference on Computer Vision, 472–488. Springer.
Benchetrit, Y.; Banville, H.; and King, J.-R. 2024. Brain decoding: toward real-time reconstruction of visual perception. In International Conference on Learning Representations, volume 2024, 7846–7858.
Caron, M.; Bojanowski, P.; Joulin, A.; and Douze, M. 2018. Deep clustering for unsupervised learning of visual features. In Proceedings of the European conference on computer vision (ECCV), 132–149.
Caron, M.; Misra, I.; Mairal, J.; Goyal, P.; Bojanowski, P.; and Joulin, A. 2020. Unsupervised Learning of Visual Features by Contrasting Cluster Assignments. In Advances in Neural Information Processing Systems (NeurIPS).
Chen, C.; Li, O.; Tao, C.; Barnett, A. J.; Su, J.; and Rudin, C. 2019. This Looks Like That: Deep Learning for Interpretable Image Recognition. In Advances in Neural Information Processing Systems (NeurIPS), 8930–8941.
Cheng, P.; Lin, L.; Lyu, J.; Huang, Y.; Luo, W.; and Tang, X. 2023. Prior: Prototype representation joint learning from medical images and reports. In Proceedings of the IEEE/CVF international conference on computer vision, 21361–21371.
Dai, S.; Xiao, H.; Yu, S.; and Ye, Q. 2026. Autoregressive Visual Decoding from EEG Signals. In International Conference on Learning Representations (ICLR).
El Ouahidi, Y.; Lys, J.; Thölke, P.; Farrugia, N.; Pasdeloup, B.; Gripon, V.; Jerbi, K.; and Lioi, G. 2026. REVE: A foundation model for EEG-adapting to any setup with large-scale pretraining on 25,000 subjects. Advances in Neural Information Processing Systems, 38: 22541–22577.
Fu, H.; Wang, H.; Chin, J. J.; and Shen, Z. 2025. Brainvis: Exploring the bridge between brain and visual signals via image reconstruction. In ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 1–5. IEEE.
Gifford, A. T.; Dwivedi, K.; Roig, G.; and Cichy, R. M. 2022. A large and rich EEG dataset for modeling human visual object recognition. NeuroImage, 264: 119754.
Jiang, W.-B.; Zhao, L.; and Lu, B.-L. 2024. Large brain model for learning generic representations with tremendous EEG data in BCI. In International Conference on Learning Representations, volume 2024, 16405–16426.
Li, D.; Qin, H.; Wu, M.; Wei, C.; and Liu, Q. 2025. BrainFLORA: Uncovering Brain Concept Representation via Multimodal Neural Embeddings. In Proceedings of the 33rd ACM International Conference on Multimedia (ACM MM).
Li, D.; Wei, C.; Li, S.; Zou, J.; Qin, H.; and Liu, Q. 2024. Visual decoding and reconstruction via eeg embeddings with guided diffusion.
Li, J.; Zhou, P.; Xiong, C.; and Hoi, S. C. 2020. Prototypical contrastive learning of unsupervised representations.
Liang, W.; Zhang, Y.; Kwon, Y.; Yeung, S.; and Zou, J. 2022. Mind the gap: Understanding the modality gap in multi-modal contrastive representation learning.
Liu, M.; Guan, D.; Zheng, C.; Tian, C.; Wen, J.; and Zhu, Q. 2025. ViEEG: Hierarchical Visual Neural Representation for EEG Brain Decoding. arXiv preprint arXiv:2505.12408.
Liu, Y.; Hu, T.; Zhang, H.; Wu, H.; Wang, S.; Ma, L.; and Long, M. 2024. iTransformer: Inverted Transformers Are Effective for Time Series Forecasting. In International Conference on Learning Representations (ICLR).
Oord, A. v. d.; Li, Y.; and Vinyals, O. 2018. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748.
Ozcelik, F.; and VanRullen, R. 2023. Natural scene reconstruction from fMRI signals using generative latent diffusion. Scientific Reports, 13(1): 15666.
Palazzo, S.; Spampinato, C.; Kavasidis, I.; Giordano, D.; Schmidt, J.; and Shah, M. 2020. Decoding brain representations by multimodal learning of neural activity and visual features. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43(11): 3833–3849.
Podell, D.; English, Z.; Lacey, K.; Blattmann, A.; Dockhorn, T.; Müller, J.; Penna, J.; and Rombach, R. 2023. SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis. arXiv preprint arXiv:2307.01952.
Qin, Y.; Chen, X.; Shen, Y.; Fu, C.; Gu, Y.; Li, K.; Sun, X.; and Ji, R. 2023. Capro: webly supervised learning with cross-modality aligned prototypes. Advances in Neural Information Processing Systems, 36: 53565–53592.
Radford, A.; Kim, J. W.; Hallacy, C.; Ramesh, A.; Goh, G.; Agarwal, S.; Sastry, G.; Askell, A.; Mishkin, P.; Clark, J.; Krueger, G.; and Sutskever, I. 2021. Learning Transferable Visual Models From Natural Language Supervision. In Proceedings of the 38th International Conference on Machine Learning (ICML), 8748–8763.
Rajabi, N.; Ribeiro, A. H.; Vasco, M.; Taleb, F.; Björkman, M.; and Kragic, D. 2025. Human-aligned image models improve visual decoding from the brain. In Forty-second International Conference on Machine Learning.
Scotti, P.; Banerjee, A.; Goode, J.; Shabalin, S.; Nguyen, A.; Dempster, A.; Verlinde, N.; Yundler, E.; Weisberg, D.; Norman, K.; et al. 2023. Reconstructing the mind's eye: fmri-to-image with contrastive learning and diffusion priors. volume 36, 24705–24728.
Scotti, P. S.; Tripathy, M.; Villanueva, C. K. T.; Kneeland, R.; Chen, T.; Narang, A.; Santhirasegaran, C.; Xu, J.; Naselaris, T.; Norman, K. A.; et al. 2024. Mindeye2: Shared-subject models enable fmri-to-image with 1 hour of data. arXiv preprint arXiv:2403.11207.
Singh, P.; Dalal, D.; Vashishtha, G.; Miyapuram, K.; and Raman, S. 2024. Learning robust deep visual representations from EEG brain recordings. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, 7553–7562.
Snell, J.; Swersky, K.; and Zemel, R. 2017. Prototypical networks for few-shot learning. Advances in neural information processing systems, 30.
Song, Y.; Liu, B.; Li, X.; Shi, N.; Wang, Y.; and Gao, X. 2023. Decoding natural images from eeg for object recognition.
Spampinato, C.; Palazzo, S.; Kavasidis, I.; Giordano, D.; Souly, N.; and Shah, M. 2017. Deep learning human mind for automated visual classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 6809–6817.
Wang, J.; Zhao, S.; Luo, Z.; Zhou, Y.; Jiang, H.; Li, S.; Li, T.; and Pan, G. 2025. Cbramod: A criss-cross brain foundation model for eeg decoding. In International conference on learning representations, volume 2025, 75310–75346.
Wu, H.; Li, Q.; Zhang, C.; He, Z.; and Ying, X. 2025. Bridging the vision-brain gap with an uncertainty-aware blur prior. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2246–2257.
Wu, L.; Li, J.; Ren, Z.; Zhang, K.; and Gao, X. 2026. Shrinking the teacher: An adaptive teaching paradigm for asymmetric eeg-vision alignment. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, 17859–17867.
Ye, H.; Zhang, J.; Liu, S.; Han, X.; and Yang, W. 2023. IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models. arXiv preprint arXiv:2308.06721.
Yu, K.; Liu, Z.; Huang, C.; and Wu, K. 2026. PATCH-CODE: Discrete Latent Predictive Learning for EEG Foundation Model. In Forty-third International Conference on Machine Learning.
Zhang, K.; He, L.; Jiang, X.; Lu, W.; Wang, D.; and Gao, X. 2025. Cognitioncapturer: Decoding visual stimuli from human eeg signal with multimodal information. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, 14486–14493.
Zhang, W.; Wang, S.; Su, Y.; Li, X.; Zhang, C.; and Zhong, S. 2026. Neurobridge: Bio-inspired self-supervised eeg-to-image decoding via cognitive priors and bidirectional semantic alignment. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, 18028–18036.
Zhou, Y.; Wu, J.; Ren, Z.; Yao, Z.; Lu, W.; Peng, K.; Zheng, Q.; Song, C.; Ouyang, W.; and Gou, C. 2026. Csbrain: A cross-scale spatiotemporal brain foundation model for eeg decoding. Advances in Neural Information Processing Systems, 38: 87150–87195.
Supplementary Material Overview
This supplementary document provides the full experimental and evaluation protocol, subject-wise reconstruction results for ATM, AVDE, and ProtoEEG on THINGS-EEG2 in Table S1, the mapping between the archived ProtoEEG subject export and the matched main-paper aggregate, and the efficiency measurements together with their scope.
A Experimental Setup and Evaluation Protocol
A.1 Datasets and evaluation splits
THINGS-EEG2 (Gifford et al. 2022) contains EEG from 10 participants viewing images drawn from 1,654 object concepts. We use the standard held-out set for 200-way retrieval, with one gallery image per test concept. Subject-dependent (SD) models are trained and evaluated within subject; subject-independent (SI) evaluation follows leave-one-subject-out (LOSO) training. EEG-ImageNet (Spampinato et al. 2017) contains 8 subjects and 80 ImageNet classes. Its primary measure is class-averaged Top-1/Top-5 accuracy; trial-level assignment is reported separately and is not compared with class-level baseline scores.
A.2 Random seeds and aggregation
All ProtoEEG quantitative results in the main paper are arithmetic means over five independently initialised runs. We first average the five runs separately for each subject and metric; Avg/Mean values then average the underlying subject means before display rounding. Tables 1 and 2 report the displayed subject rows, while Table 4 and the quantitative panels of Figure 4 additionally average all ten THINGS-EEG2 subjects. No best-seed selection is used.
A.3 Model configuration and training
The EEG encoder is an iTransformer (Liu et al. 2024) operating on input tensors and projecting to a shared space through a two-layer MLP. ProtoEEG-CLIP uses a frozen CLIP ViT-L/14 visual teacher (Radford et al. 2021); ProtoEEG-RN50 uses a frozen compressed RN50 teacher matching the bandwidth-adapted baseline family. The shared codebook contains L2-normalised prototypes with temperature .
We train with AdamW ( , , weight decay ), learning rate with cosine decay and 20-epoch warm-up, batch size 1024, and 300 epochs. Loss weights are , , and . Training uses four A100 80GB GPUs, FP16 forward passes, FP32 gradient accumulation, Gaussian-noise augmentation with , and channel dropout of 0.05.
A.4 Baselines, metrics, and fairness
Comparisons are separated by visual teacher. The CLIP family contains NICE (Song et al. 2023), ATM (Li et al. 2024), and AVDE (Dai et al. 2026); the RN50/compressed-teacher family contains UBP (Wu et al. 2025), ATS (Wu et al. 2026), and NeuroBridge (Zhang et al. 2026). All claimed improvements are within family.
Retrieval reports Top-1 and Top-5 accuracy in the fixed 200-image gallery. Reconstruction reports Pixel Correlation and SSIM for low-level fidelity; CLIP, AlexNet-2, AlexNet-5, and Inception identification for semantic correspondence; and SwAV distance, for which lower is better. The prototype-reconstructed embedding conditions a frozen SDXL IP-Adapter (Ye et al. 2023; Podell et al. 2023) using 50 DDIM steps, guidance 7.5, an empty text prompt, and evaluation seed 42.
A.5 Gallery, LOSO, and diagnostic protocols
Each THINGS-EEG2 gallery image is first mapped to by the frozen visual backbone and trainable projection head, assigned through the shared codebook as , and reconstructed as . The prototype-reconstructed EEG query is ranked against these gallery representations by cosine similarity. In LOSO evaluation, the model is trained on nine subjects and evaluated on the remaining subject without fine-tuning or subject-specific test-time adaptation. Loss ablations, assignment perturbations, temporal-window masking, channel-group masking, and the quantitative prototype diagnostics follow the same five-seed protocol and are averaged over all ten THINGS-EEG2 subjects. Figure 4(e) alone uses a separate checkpoint family, as stated in the main text.
B Reconstruction Details on THINGS-EEG2
Table S1 preserves all available subject-wise reconstruction results. The ATM and AVDE rows are paper-reported values from the AVDE supplementary material (Dai et al. 2026), while the ProtoEEG subject rows reproduce the archived per-subject export. Because that export used CLIPScore and SwAV identification, panel (c) separately reproduces the matched five-seed, ten-subject ProtoEEG aggregate from main-paper Table 3 under CLIP identification and SwAV distance. Panel (c), rather than an arithmetic combination across incompatible evaluator definitions, is the reference for main-paper comparisons.
(a) ATM and AVDE: paper-reported evaluation
| Method | Subject | PixCorr ↑ | SSIM ↑ | AlexNet(2) ↑ | AlexNet(5) ↑ | Inception ↑ | CLIP-ID ↑ | SwAV ↓ |
|---|---|---|---|---|---|---|---|---|
| ATM | Sub-01 | 0.136 | 0.354 | 0.720 | 0.831 | 0.710 | 0.728 | 0.589 |
| Sub-02 | 0.108 | 0.301 | 0.688 | 0.775 | 0.657 | 0.705 | 0.618 | |
| Sub-03 | 0.145 | 0.340 | 0.747 | 0.858 | 0.751 | 0.759 | 0.590 | |
| Sub-04 | 0.075 | 0.305 | 0.729 | 0.782 | 0.694 | 0.688 | 0.623 | |
| Sub-05 | 0.133 | 0.352 | 0.738 | 0.791 | 0.637 | 0.707 | 0.612 | |
| Sub-06 | 0.140 | 0.363 | 0.753 | 0.834 | 0.686 | 0.742 | 0.595 | |
| Sub-07 | 0.155 | 0.360 | 0.769 | 0.851 | 0.684 | 0.697 | 0.608 | |
| Sub-08 | 0.163 | 0.345 | 0.786 | 0.868 | 0.730 | 0.770 | 0.575 | |
| Sub-09 | 0.134 | 0.338 | 0.736 | 0.788 | 0.626 | 0.652 | 0.606 | |
| Sub-10 | 0.112 | 0.329 | 0.735 | 0.843 | 0.674 | 0.708 | 0.570 | |
| Mean | 0.130 | 0.339 | 0.740 | 0.822 | 0.685 | 0.716 | 0.599 | |
| AVDE | Sub-01 | 0.138 | 0.362 | 0.750 | 0.837 | 0.725 | 0.721 | 0.609 |
| Sub-02 | 0.120 | 0.388 | 0.754 | 0.811 | 0.710 | 0.737 | 0.604 | |
| Sub-03 | 0.168 | 0.379 | 0.763 | 0.827 | 0.704 | 0.746 | 0.603 | |
| Sub-04 | 0.126 | 0.361 | 0.748 | 0.835 | 0.731 | 0.765 | 0.593 | |
| Sub-05 | 0.145 | 0.373 | 0.743 | 0.814 | 0.691 | 0.732 | 0.586 | |
| Sub-06 | 0.128 | 0.364 | 0.768 | 0.832 | 0.707 | 0.717 | 0.584 | |
| Sub-07 | 0.126 | 0.351 | 0.760 | 0.827 | 0.733 | 0.731 | 0.588 | |
| Sub-08 | 0.188 | 0.396 | 0.817 | 0.889 | 0.765 | 0.795 | 0.557 | |
| Sub-09 | 0.156 | 0.339 | 0.753 | 0.810 | 0.713 | 0.726 | 0.600 | |
| Sub-10 | 0.173 | 0.349 | 0.807 | 0.871 | 0.764 | 0.800 | 0.543 | |
| Mean | 0.147 | 0.366 | 0.766 | 0.835 | 0.724 | 0.747 | 0.586 |
(b) ProtoEEG: archived subject-wise export
| Subject | PixCorr ↑ | SSIM ↑ | AlexNet(2) ↑ | AlexNet(5) ↑ | Inception ↑ | CLIPScore ↑ | SwAV-ID ↑ |
|---|---|---|---|---|---|---|---|
| Sub-01 | 0.149 | 0.255 | 0.769 | 0.848 | 0.758 | 23.62 | 0.826 |
| Sub-02 | 0.140 | 0.265 | 0.782 | 0.858 | 0.749 | 22.70 | 0.829 |
| Sub-03 | 0.157 | 0.246 | 0.777 | 0.867 | 0.742 | 22.09 | 0.823 |
| Sub-04 | 0.137 | 0.261 | 0.779 | 0.857 | 0.731 | 22.65 | 0.842 |
| Sub-05 | 0.122 | 0.252 | 0.749 | 0.803 | 0.684 | 19.48 | 0.759 |
| Sub-06 | 0.148 | 0.254 | 0.773 | 0.846 | 0.700 | 21.95 | 0.803 |
| Sub-07 | 0.134 | 0.267 | 0.795 | 0.857 | 0.763 | 22.46 | 0.836 |
| Sub-08 | 0.145 | 0.259 | 0.819 | 0.897 | 0.764 | 23.41 | 0.864 |
| Sub-09 | 0.149 | 0.269 | 0.743 | 0.827 | 0.706 | 20.03 | 0.804 |
| Sub-10 | 0.156 | 0.273 | 0.806 | 0.894 | 0.832 | 25.39 | 0.892 |
| Mean | 0.144 | 0.260 | 0.779 | 0.855 | 0.743 | 22.38 | 0.828 |
(c) ProtoEEG: matched main-paper aggregate
| Subject | PixCorr ↑ | SSIM ↑ | AlexNet(2) ↑ | AlexNet(5) ↑ | Inception ↑ | CLIP ↑ | SwAV ↓ |
|---|---|---|---|---|---|---|---|
| Mean | 0.154 | 0.390 | 0.779 | 0.855 | 0.743 | 0.768 | 0.506 |
Table S1: Subject-wise reconstruction details on THINGS-EEG2. Panel (a) reports ATM and AVDE under their paper-reported evaluators. Panel (b) preserves the archived ProtoEEG subject export, whose final two columns are CLIPScore and SwAV identification. Panel (c) gives the five-seed, ten-subject ProtoEEG aggregate used in main-paper Table 3 under the matched CLIP-identification and SwAV-distance protocol.
Reconstruction analysis. The ATM and AVDE profiles show that AVDE's average gain is distributed across subjects, although its size varies by metric and participant. Sub-08 is AVDE's strongest overall row, whereas the best SwAV distance occurs for Sub-10. In the archived ProtoEEG export, AlexNet(2/5) and Inception remain high across participants, with Sub-08 and Sub-10 among the strongest semantic rows.
Under the matched main-paper protocol, the ProtoEEG aggregate improves on the AVDE mean by 0.007 PixCorr, 0.024 SSIM, 0.013 AlexNet(2), 0.020 AlexNet(5), 0.019 Inception, and 0.021 CLIP, while reducing SwAV distance by 0.080.
B.1 Additional Reconstruction Observations
Low-level variation. For ATM, PixCorr ranges from 0.075 to 0.163 and SSIM from 0.301 to 0.363; AVDE reaches 0.188/0.396 on Sub-08. The archived ProtoEEG subject rows range from 0.122 to 0.157 in PixCorr and from 0.246 to 0.273 in SSIM. These values describe participant variation in that export, while panel (c) remains the matched basis for the aggregate comparison in the main paper.
Semantic consistency. The archived ProtoEEG rows show comparatively limited variation in AlexNet(2/5) and Inception, although Sub-05 is consistently weaker and Sub-10 is strongest on Inception and CLIPScore. The matched aggregate gains in panel (c) are positive for AlexNet(2), AlexNet(5), Inception, and CLIP, supporting the main-paper conclusion that the prototype code preserves semantic information without claiming a metric-by-metric subject comparison across different evaluator implementations.
Evaluator boundary. Panels (a) and (b) retain their original evaluator definitions and are included for subject-level transparency. Panel (c) uses the same seven metric names, directions, formatting, and ProtoEEG aggregate values as main-paper Table 3. In particular, CLIPScore/SwAV-ID in panel (b) must not be read as CLIP identification/SwAV distance in panel (c).
C Efficiency and Scope
ProtoEEG has 9.72M trainable parameters, a latency of 0.75 ms per sample, and a throughput of 92k samples/s on a single A100 (batch size 256, FP16). The EEG encoder accounts for approximately 80% of latency, prototype assignment and reconstruction for 10%, and gallery retrieval for the remaining 10%; the codebook is therefore not a computational bottleneck. Matched latency measurements for the baselines remain incomplete, so Table S2 reports them as TBD rather than making a comparative speed claim. The EEG-ImageNet experiment is within-dataset retraining rather than cross-dataset transfer, and SI decoding remains substantially harder than SD decoding. Reconstruction conclusions are also tied to the frozen SDXL IP-Adapter and may change with a different generator.
Table S2: Inference efficiency. ProtoEEG is measured on a single NVIDIA A100 80 GB, batch size 256, FP16, averaged over 1000 warm-up and 5000 measurement iterations.
| Method | Parameters | Latency (ms) | Throughput (s/s) |
|---|---|---|---|
| ProtoEEG | 9.72M | 0.75 | 92,000 |
| ATM | ~15M | TBD | TBD |
| NeuroBridge | ~20M | TBD | TBD |