DualBranchEEG: A Dual-Branch CNN BiLSTM Network with Temporal Attention and Spectral Features for Three Class EEG Seizure Classification

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.

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-11-27
DOI
https://doi.org/10.64898/2026.11.25.768266
Primary Topic
EEG and Brain-Computer Interfaces
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

DualBranchEEG: A Dual-Branch CNN BiLSTM Network with Temporal Attention and Spectral Features for Three Class EEG Seizure Classification

Aryan Somanna, Ranveer Singh, Jaideep Varma Cherukuri, Shrey Jauhari
bioRxiv (Cold Spring Harbor Laboratory)
EEG and Brain-Computer Interfaces
preprint

DualBranchEEG: A Dual-Branch CNN BiLSTM Network with Temporal Attention and Spectral Features for Three Class EEG Seizure Classification

Aryan Somanna, Ranveer Singh, Jaideep Varma Cherukuri, Shrey Jauhari
preprint en

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.

bioRxiv (Cold Spring Harbor Laboratory)
SRM Institute of Science and Technology (IN), Tata Consultancy Services (India) (IN)
EEG and Brain-Computer Interfaces
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.

Laika access coming soon