Interpretable Transformer Models for rs-fMRI Epilepsy Classification and Biomarker Discovery
Jeyabose Sundar, A.; Boerwinkle, V. L.; Robinson Vimala, B.; Leggio, O.; Kazemi, M.
Show abstract
BackgroundAutomated interpretation of resting-state fMRI (rs-fMRI) for epilepsy diagnosis remains a challenge. We developed a regularized transformer that models parcel-wise spatial patterns and long-range temporal dynamics to classify epilepsy and generate interpretable, network-level candidate biomarkers. MethodsInputs were Schaefer-200 parcel time series extracted after standardized preprocessing (fMRIPrep). The Regularized Transformer is an attention-based sequence model with learned positional encoding and multi-head self-attention, combined with fMRI-specific regularization (dropout, weight decay, gradient clipping) and augmentation to improve robustness on modest clinical cohorts. Training used stratified group 4-fold cross-validation on n=65 (30 epilepsy, 35 controls) with fMRI-specific augmentation (time-warping, adaptive noise, structured masking). We compared the transformer to seven baselines (MLP, 1D-CNN, LSTM, CNN-LSTM, GCN, GAT, Attention-Only). External validation used an independent set (10 UNC epilepsy cohort, 10 controls). Biomarker discovery combined gradient-based attributions with parcelwise statistics and connectivity contrasts. ResultsOn an illustrative best-performing fold, the transformer attained Accuracy 0.77, Sensitivity 0.83, Specificity 0.88, F1-Score 0.77, and AUC 0.76. Averaged cross-validation performance was lower but consistent with these findings. External testing yielded Accuracy 0.60, AUC 0.64, Specificity 0.80, Sensitivity 0.40. Attribution-guided analysis identified distributed, network-level candidate biomarkers concentrated in limbic, somatomotor, default-mode and salience systems. ConclusionsA regularized transformer on parcel-level rs-fMRI can achieve strong within-fold discrimination and produce interpretable candidate biomarkers. Results are encouraging but preliminary larger multi-site validation, stability testing and multiple-comparison control are required prior to clinical translation.
Matching journals
The top 10 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- WMH-DualTasker: A weakly-supervised deep learning model for automated white matter hyperintensities segmentation and visual rating prediction 95%
- OpenMAP-T1: A Rapid Deep Learning Approach to Parcellate 280 Anatomical Regions to Cover the Whole Brain 95%
- Comparison between EEG and MEG of static and dynamic resting-state networks 94%
Similar papers in this journal
- Searching through functional space reveals distributed visual, auditory, and semantic coding in the human brain 94%
- A novel classification framework for genome-wide association study of whole brain MRI images using deep learning 94%
- Multidimensional analysis and detection of informative features in diffusion MRI measurements of human white matter 93%
Similar papers in this journal
- Electrocorticography and Stereo EEG provide distinct measures of brain connectivity: Implications for network models 94%
- Neighbourhood topology unveils pathological hubs in the brain networks of epilepsy-surgery patients 93%
- Ground-truth validation of uni- and multivariate lesion inference approaches 93%
Similar papers in this journal
- Resting State Functional Connectivity Demonstrates Increased Segregation in Bilateral Temporal Lobe Epilepsy 95%
- Individual-specific resting-state networks predict language dominance in drug-resistant epilepsy 94%
- iEEG-recon: A Fast and Scalable Pipeline for Accurate Reconstruction of Intracranial Electrodes and Implantable Devices 94%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.