TransformEEG: Towards improving model generalizability in deep learning-based EEG Parkinson’s disease detection

Electroencephalography (EEG) is establishing itself as an important, low-cost, noninvasive diagnostic tool for the early detection of Parkinson’s Disease (PD). In this context, EEG-based Deep Learning (DL) models have shown promising results due to their ability to discover highly nonlinear patterns within the signal. However, current state-of-the-art DL models suffer from poor generalizability caused by high inter-subject variability. This high variability underscores the need for enhancing model generalizability by developing new architectures better tailored to EEG data. This paper introduces TransformEEG, a hybrid Convolutional-Transformer designed for Parkinson’s disease detection using EEG data. Unlike transformer models based on the EEGNet structure, TransformEEG incorporates a depthwise convolutional tokenizer. This tokenizer is specialized in generating tokens composed by channel-specific features, which enables more effective feature mixing within the self-attention layers of the transformer encoder. To evaluate the proposed model, four public datasets comprising 290 subjects (140 PD patients, 150 healthy controls) were harmonized and aggregated. A 10-outer, 10-inner Nested-Leave-N-Subjects-Out (N-LNSO) cross-validation was performed to provide an unbiased comparison against seven other consolidated EEG deep learning models. TransformEEG achieved the highest balanced accuracy’s median (78.45 %) as well as the lowest interquartile range (6.37 %) across all the N-LNSO partitions. When combined with data augmentation and threshold correction, median accuracy increased to 80.10 %, with an interquartile range of 5.74 %. In conclusion, TransformEEG produces more consistent and less skewed results. It demonstrates a substantial reduction in variability and more reliable PD detection using EEG data compared to the other investigated models. • This work presents TransformEEG, a novel hybrid convolutional-transformer model. • TransformEEG reduces performance variability in Parkinson’s Disease detection. • TransformEEG was evaluated on four public datasets comprising 290 subjects. • Data augmentation further enhance TransformEEG performance. • Classification threshold correction further enhance TransformEEG performance.

Authors

Institutions

Publication Details

Journal
Neurocomputing
Published
2025-11-11
DOI
https://doi.org/10.1016/j.neucom.2025.132075
Citations
1
Primary Topic
EEG and Brain-Computer Interfaces
Type
article
Field-Weighted Citation Impact
1.43
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TransformEEG: Towards improving model generalizability in deep learning-based EEG Parkinson’s disease detection

R. Brun, Federico Del Pup, Filippo Iotti, Henning Müller et al.
1 citations
Neurocomputing
EEG and Brain-Computer Interfaces
1.43
article

TransformEEG: Towards improving model generalizability in deep learning-based EEG Parkinson’s disease detection

R. Brun, Federico Del Pup, Filippo Iotti, Henning Müller, Manfredo Atzori, Andrea Zanola, Louis Fabrice Tshimanga, Mattia Pezzato, Edoardo Paccagnella, Sabrina Bertozzo
article en
1 citations

Abstract

Electroencephalography (EEG) is establishing itself as an important, low-cost, noninvasive diagnostic tool for the early detection of Parkinson’s Disease (PD). In this context, EEG-based Deep Learning (DL) models have shown promising results due to their ability to discover highly nonlinear patterns within the signal. However, current state-of-the-art DL models suffer from poor generalizability caused by high inter-subject variability. This high variability underscores the need for enhancing model generalizability by developing new architectures better tailored to EEG data. This paper introduces TransformEEG, a hybrid Convolutional-Transformer designed for Parkinson’s disease detection using EEG data. Unlike transformer models based on the EEGNet structure, TransformEEG incorporates a depthwise convolutional tokenizer. This tokenizer is specialized in generating tokens composed by channel-specific features, which enables more effective feature mixing within the self-attention layers of the transformer encoder. To evaluate the proposed model, four public datasets comprising 290 subjects (140 PD patients, 150 healthy controls) were harmonized and aggregated. A 10-outer, 10-inner Nested-Leave-N-Subjects-Out (N-LNSO) cross-validation was performed to provide an unbiased comparison against seven other consolidated EEG deep learning models. TransformEEG achieved the highest balanced accuracy’s median (78.45 %) as well as the lowest interquartile range (6.37 %) across all the N-LNSO partitions. When combined with data augmentation and threshold correction, median accuracy increased to 80.10 %, with an interquartile range of 5.74 %. In conclusion, TransformEEG produces more consistent and less skewed results. It demonstrates a substantial reduction in variability and more reliable PD detection using EEG data compared to the other investigated models. • This work presents TransformEEG, a novel hybrid convolutional-transformer model. • TransformEEG reduces performance variability in Parkinson’s Disease detection. • TransformEEG was evaluated on four public datasets comprising 290 subjects. • Data augmentation further enhance TransformEEG performance. • Classification threshold correction further enhance TransformEEG performance.

NeurocomputingVol. 664
University of Padua (IT), HES-SO University of Applied Sciences and Arts Western Switzerland (CH), HES-SO Valais-Wallis (CH)
Openalex Percentile: Top 14%
EEG and Brain-Computer Interfaces
1.43
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.