DualBranchEEG: A Dual-Branch CNN BiLSTM Network with Temporal Attention and Spectral Features for Three Class EEG Seizure Classification
R. Singh, J. V. Cherukuri, A. Somanna, S. Jauhari
Key points
From the paper's conclusion- We present DualBranchEEG, a dual-branch network that fuses (i) a temporal branch--a three-block 1-D convolutional encoder, a two-layer bidirectional LSTM and an additive attention layer--operating on the raw z-scored waveform, with (ii) a spectral branch--an MLP on log-power spectral density (PSD) features from Welch's method.
Abstract
Automated seizure detection from electroencephalography (EEG) is a key step toward closed-loop brain-computer interface (BCI) systems and clinical decision support. We present DualBranchEEG, a dual-branch network that fuses (i) a temporal branch--a three-block 1-D convolutional encoder, a two-layer bidirectional LSTM and an additive attention layer--operating on the raw z-scored waveform, with (ii) a spectral branch--an MLP on log-power spectral density (PSD) features from Welch's method. We evaluate three-class classification (normal, interictal, ictal) on the Bonn University EEG dataset (500 single-channel recordings, 173.61 Hz) using a single stratified 70/15/15 split (seed 42). We position this work as a transparent reference implementation and exploratory comparison, not as evidence of superiority. A CNN-BiLSTM baseline (728,387 parameters; last-time-step readout, no attention, no augmentation) attains 96.00% test accuracy (72/75) and a macro AUC-ROC of 0.9795; five-fold stratified cross-validation of this baseline gives 98.40 {+/-} 1.52% accuracy and 0.9952 {+/-} 0.0071 AUC-ROC. The full DualBranchEEG (823,556 parameters) attains the same 96.00% test accuracy, macro F1 of 0.9543 and macro AUC-ROC of 0.9952. In the ablation, CNN-only, BiLSTM-only and CNN+BiLSTM+attention variants each reach 94.67%, and the full model is one test recording better; with only 75 test recordings these differences lie within sampling uncertainty (95% Wilson interval for 96.00%: 88.9-98.6%). Band-power differences between all class pairs are significant in all five canonical EEG bands. Grad-CAM, t-SNE and attention visualisations are reported as qualitative diagnostics only. We document all known methodological limitations, including PSD standardisation fitted on all 500 recordings and Welch's default 50% segment overlap.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Dual-Path CNN-GRU Framework with Seizure Activity Scorebased Channel Attention for Multichannel EEG Seizure DetectionEngineering Research Express · 2026
- Learning discriminative time-frequency representations for EEG segment-level seizure-state classification with channel selection.Biomedical physics & engineering express · 2026
- Patient-independent EEG seizure detection using channel attention and dual-branch time–frequency featuresNeural Computing and Applications · 2026
- Motif-informed hypergraph spectral learning for recording-level EEG seizure classificationJournal of Engineering and Applied Science · 2026
- BiXCA-DualFormer: A time-frequency fusion model for epileptic seizure prediction.Proceedings of the Institution of Mechanical Engineers. Part H, Journal of engineering in medicine · 2026
- DARF-P1DNet: A Dual-View Attention-Guided Residual Fusion Pyramidal 1D Network for EEG-Based Epileptic Seizure DetectionApplied and Computational Engineering · 2026