Submitted:
24 September 2026
Posted:
12 October 2026
You are already at the latest version
Abstract
Electroencephalography (EEG) records cortical activity with high temporal resolution without radiation and at low cost, which makes it a practical signal for automated screening of neurological disorders. Deep learning classifies EEG with high accuracy, but most models distinguish only two conditions and give no account of their decisions, which limits their use in screening and decision support. This paper presents SpectraXAI, an interpretable frequency-aware deep learning model that assigns resting-state EEG to four diagnostic categories: Alzheimer’s disease, Parkinson’s disease, schizophrenia, and healthy control. The model filters each EEG window into the delta, theta, alpha, beta, and gamma bands and processes every band in a separate convolutional branch with squeeze-and-excitation recalibration. Softmax-weighted band attention and temporal attention then combine the spectral and temporal evidence, and the same attention weights are intrinsic explanations of each prediction. Under a subject-disjoint evaluation protocol that prevents window leakage, the model reached 94.43% accuracy, 96.74% balanced accuracy, and 93.82% macro-F1 on 20,760 windows from 173 unseen subjects while using only 0.10 million parameters. An ablation study confirmed that the attention modules account for most of the improvement over a plain convolutional baseline. Attention weights, feature-attention heatmaps, Grad-CAM, and t-SNE embeddings trace each decision to specific frequency bands, time segments, and learned features, therefore the frequency structure that drives the accuracy also makes the predictions inspectable.
Keywords:
explainable artificial intelligence
; deep learning
; EEG
; neurological disorders
; frequency-band decomposition
; attention mechanism
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.