STST-JEPA neural network learns to estimate biological age from EEG

Researchers have published STST-JEPA, a self-supervised transformer for analyzing EEG. The model was trained on 47,703 electroencephalography recordings from people aged 5 to 81. When predicting biological age (brain age), it makes an average error of 3.06 years, far better than random guessing (10 years). "Brain age" is an age computed from the brain's physiological activity. Its deviation from chronological age points to possible neurological or psychiatric disorders. The STST-JEPA foundation model could serve as a basis for medical diagnostics and screening for central nervous system diseases.

AI-processed from arXiv cs.LG; edited by Hamidun News
STST-JEPA neural network learns to estimate biological age from EEG
Source: arXiv cs.LG. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourcearXiv cs.LG ↗
Editor-in-Chief
Sex classificationbalanced accuracy 0.911
Age predictionr = 0.749
Psychopathology composite regressionr = 0.215

Researchers have introduced STST-JEPA (Shallow-Target Spatio-Temporal Joint Embedding Prediction Architecture), a transformer based on self-supervised learning that processes electroencephalography (EEG) both at rest and during cognitive tasks.

How the model works

The model uses latent prediction: it predicts masked token representations against a target updated by an exponential moving average. An auxiliary reconstruction signal is added for 30-second windows of multichannel EEG with spatio-temporal block masking. The transformer-based architecture lets the model capture long-range dependencies in brain signals.

Training used two large EEG corpora, brain.space and the Healthy Brain Network (HBN), totaling 47,703 sessions.

Results: biological age prediction

Brain age (biological age) prediction is one of the key applications. On 3,367 test sessions, the model reached a mean absolute error (MAE) of 3.06 years with a correlation of r = 0.924. For comparison, the baseline approach (guessing the mean value) gives an error of about 10 years.

Lightweight fine-tuning of the final layers put the model in first place on the public NeuralBench leaderboard for these tasks:

  • Sex classification: balanced accuracy 0.911
  • Age prediction: r = 0.749
  • Psychopathology composite regression: r = 0.215

Interestingly, the residual error in the model's age prediction correlates negatively with cognitive performance on several of the tasks tested.

Why it matters for medicine

The gap between biological and chronological age is a biomarker that can point to neurological and psychiatric disorders, accelerated brain aging, or, conversely, exceptional health. EEG is attractive for this kind of screening because it is cheap, portable and rich in temporal information.

However, EEG models face several problems: montage heterogeneity between labs (different electrode configurations), small labeled cohorts, and dominant subject-level nonstationarity (signal instability over time). STST-JEPA addresses these problems by training on a large corpus in a self-supervised regime.

What this means

Robotics and neuroimaging are honest tests for AI. If a model can predict biological age from EEG to within ±3 years across the full range from children to older adults, it shows the real value of foundation models in medical use. The next step is to use STST-JEPA to diagnose specific conditions (depression, autism, dementia) based on how far brain age deviates from the norm.

Key Questions Answered

How the model works?

The model uses latent prediction: it predicts masked token representations against a target updated by an exponential moving average. An auxiliary reconstruction signal is added for 30-second windows of multichannel EEG with spatio-temporal block masking. The transformer-based architecture lets the model capture long-range dependencies in brain signals. Training used two large EEG corpora, brain.space and the Healthy Brain Network (HBN), totaling 47,703 sessions.

What are the key details on Results: biological age prediction?

Brain age (biological age) prediction is one of the key applications. On 3,367 test sessions, the model reached a mean absolute error (MAE) of 3.06 years with a correlation of r = 0.924. For comparison, the baseline approach (guessing the mean value) gives an error of about 10 years. Lightweight fine-tuning of the final layers put the model in first place on the public NeuralBench leaderboard for these tasks: Sex classification: balanced accuracy 0.911 Age prediction: r = 0.749 Psychopathology composite regression: r = 0.215 Interestingly, the residual error in the model's

Why it matters for medicine?

The gap between biological and chronological age is a biomarker that can point to neurological and psychiatric disorders, accelerated brain aging, or, conversely, exceptional health. EEG is attractive for this kind of screening because it is cheap, portable and rich in temporal information. However, EEG models face several problems: montage heterogeneity between labs (different electrode configurations), small labeled cohorts, and dominant subject-level nonstationarity (signal instability over time). STST-JEPA addresses these problems by training on a large corpus in a self

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Hands-On AI Engineering · Hamidun Academy

Build & Ship Production AI Agents Without Boilerplate Code

Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.

Start 72h Free Trial →Vibe-Coding Intensive
What do you think?
Loading comments…