DCSENets: Interpretable deep learning for patient-independent seizure classification using enhanced EEG-based spectrogram visualization

Comput Biol Med. 2024 Dec 20:185:109558. doi: 10.1016/j.compbiomed.2024.109558. Online ahead of print.

Abstract

Neurologists often face challenges in identifying epileptic activities within multichannel EEG recordings, requiring extensive hours of analysis. Computer-aided diagnosis systems have been proposed to reduce manual inspection of EEG signals by neurologists. However, direct analysis of EEG signals is difficult due to their complex and dynamic nature, with variation across multiple patients. Therefore, researchers have proposed the short-time Fourier transform (STFT) to capture dynamic events indicative of seizures through time-varying frequency representation of EEG signals. However, tradeoffs between time and frequency resolution limited the spectrogram's interpretability and affected clinical deployment. Hence, this study proposes extracting high-resolution channels via a novel STFT spectrogram construction algorithm encompassing taper functions for seizure diagnosis. Initially, we extracted seizure and non-seizure segments from each channel of selected patients in the CHB-MIT dataset. Next, we systematically apply taper functions like Hann and Gaussian windows to minimize the edge effect during the construction of spectrogram images. Finally, we employ Dilated Convolutional Squeeze and Excitation Networks (DCSENets) through leave-one-patient-out cross-validation (LOPOCV) to perform patient-independent seizure classification. The proposed DCSENets achieve an average accuracy of 87.20±11.48% and 87.29±10.48% with Hann and Gaussian taper functions, respectively, and 86.85±11.56% without the taper function. Most patients with high performances indicate similarity in train-test sample distribution using the Kolmogorov-Smirnov test at 0.01<p≤0.05 or p>0.05. Furthermore, the Grad CAM deep visual explainer integration enhances the interpretability of the deep learning model's decision-making process. Consequently, neurologists are provided not only with enhanced visualized spectrograms but also a transparent model for improved seizure diagnosis.

Keywords: Dilated convolutional squeeze and excitation networks; EEG; Enhanced spectrograms visualization; Epileptic seizure; Kolmogorov–Smirnov test; Taper functions.