同济大学 Tongji University

UniNeuro: A Unified EEG Foundation Model
for Heterogeneous EEG Task Learning

Haiyang Lu¹   Lianghua He¹˒²*   Hongzhou Chen¹   Xiao Chen¹   Wenqi Zhang¹

¹ School of Computer Science and Technology, Tongji University, China
² Shanghai Eye Disease Prevention and Treatment Center, China

10–14 November

Introduction

EEG tasks in human-centered multimedia differ in temporal scales, neural patterns and label semantics. Most foundation models require task-specific fine-tuning. Can we jointly learn heterogeneous EEG tasks in a unified discriminative framework?

EEG acquisition and six heterogeneous task datasets connected to a single UniNeuro encoder
>10,000 h pretraining6 downstream tasks11M / 27M / 86M model scales

Challenges & Contributions

Unified learning faces two key challenges: balancing feature sharing and task specialization inside a shared backbone, and organizing the latent space under heterogeneous joint training.

  • Unified discriminative framework. Heterogeneous-task pretraining and joint downstream adaptation share a single learning pipeline.
  • Gradient-reversal task-conditional MoE. Shared experts capture task-invariant EEG structure; routed experts preserve task-specific patterns.
  • Hierarchical prototype learning. Task and task-conditioned label prototypes organize coarse task semantics and within-task class structure.
  • Six-task joint evaluation. UniNeuro improves unified discrimination and narrows the gap to task-specific fine-tuning.

Method Unified EEG Foundation Model · Task-conditional MoE · HPGCL

Complete original UniNeuro online-target pretraining and downstream adaptation framework

Online–target pretraining

  • Online–target networks. Align latent predictions with EMA targets to reduce overfitting to EEG noise.
  • Reconstructor. Reconstruct EEG in temporal, spatial (channel-level) and frequency domains.
  • Task discriminator. Task prediction and gradient reversal decouple shared and task-specific features.

Unified downstream adaptation

  • Task-level projector. Align features with task prototypes to form task-level clusters.
  • Label-level projector. Align features with task-conditioned label prototypes.
  • Unified classifier. Predict dataset-conditioned labels from encoder features.

Unified Downstream Multi-task Evaluation Balanced accuracy (%) ↑

UniNeuro-Large improves BA over NeuroLM on all six benchmarks.

Gain over NeuroLM+12.53 pp TUEV+13.06 pp SEED+11.47 pp BCICIV2a
ModelMulti-taskTUABAbnormalityTUEVEventsSEEDEmotionHMCSleepPhysioP300ERPBCICIV2aMotor imagery
BIOT—79.59 ± 0.5752.81 ± 2.2570.97 ± 0.2468.62 ± 0.4154.85 ± 3.2545.90 ± 1.96
LaBraM—81.40 ± 0.1964.09 ± 0.6573.18 ± 0.1972.86 ± 1.0164.77 ± 1.1056.13 ± 0.58
EEGPT—79.83 ± 0.3062.32 ± 1.1472.28 ± 0.6873.44 ± 1.2065.02 ± 0.6358.46 ± 0.70
NeuroLM✓78.26 ± 0.6545.60 ± 0.4855.54 ± 0.7567.37 ± 0.5052.92 ± 1.4343.14 ± 1.33
Ours-Tiny✓77.23 ± 0.7555.84 ± 0.9666.26 ± 0.1666.52 ± 1.2055.17 ± 0.9052.49 ± 0.15
Ours-Base✓79.12 ± 0.3557.39 ± 0.2568.35 ± 0.4766.73 ± 1.3856.20 ± 0.6754.15 ± 0.22
Ours-Large✓79.64 ± 0.6758.13 ± 0.6168.60 ± 0.1367.50 ± 1.1257.46 ± 0.1354.61 ± 0.67
256 Hz sampling · 4 s windows · Three seeds · Mean ± SDTiny → Large: BA increases on all six tasksBest overall   Best multi-task

Ablation & Representation Analysis

Task-aware MoE

Redrawn Figure 3: recovered task-aware MoE ablation values
Gradient reversal adds +1.4 pp
to task-aware MoE (mean BA).

HPGCL objectives

Redrawn Figure 5: recovered HPGCL ablation values
Mean BA: CE 46.98% · Flat 47.96%
Full HPGCL 64.02% (+17.04 pp vs CE).

Task and label representations

Task-level structure

Vector reconstruction of Figure 6a: task-level CE-onlyCE only
Vector reconstruction of Figure 6b: task-level HPGCLHPGCL

Silhouette 0.5431 → 0.6788

SEED label separation

Vector reconstruction of Figure 6c: SEED label-level CE-onlyCE only
Vector reconstruction of Figure 6d: SEED label-level HPGCLHPGCL

Silhouette 0.0824 → 0.2779

HPGCL improves both inter-task organization and within-task class structure.