Research Article

DARF-P1DNet: A Dual-View Attention-Guided Residual Fusion Pyramidal 1D Network for EEG-Based Epileptic Seizure Detection

Yuexi Xiang*
International Education College, Beijing University of Chemical Technology, Beijing, China

* Corresponding author: [email protected]

Abstract

Seizures cause noticeable abnormal changes in EEG signals. Relying on manual reading of long-term EEG recordings not only costs plenty of time, but it is also easily affected by the doctor's experience and fatigue. To improve the automation and stability of EEG seizure detection, this paper proposes a Dual-view Attention Residual Fusion Pyramidal 1D Network (DARF-P1DNet). First, this method normalizes the single-channel signals from the Bonn EEG dataset. It then constructs the original view and an augmented view for the training phase. Next, two P-1D-CNN encoders are used. They have the same structure, but their parameters are independent. These encoders extract complementary features from the two views. Then, Feature-wise Attention and Residual Fusion are used to filter and keep important information from the dual views. Finally, the model uses a lightweight classification head to perform binary classification between Non-seizure and Seizure. It is trained using weighted cross-entropy loss. In the experiments, we evaluate the model using common classification metrics, ablation studies, and comparison experiments. The overall method has a clear structure. It can fully use the complementary information from the original and augmented signals while keeping the model relatively lightweight. This provides a workable solution for seizure detection in EEG data with small sample sizes.

Keywords: Electroencephalogram (EEG); Epilepsy; Seizure detection; Dual-view learning; Attention mechanism; Deep learning
Published: October 20, 2026
DOI: 10.54254/2755-2721/2026.LD37868
Volume: ACE Vol.263
pp. 243-251
Download PDF

References

  1. Alotaiby, T., Alshebeili, S., Alotaibi, F., et al. (2021). A review of epileptic seizure detection from EEG signals: Traditional and deep learning methods.IEEE Access, 9, 140522–140543.
  2. Wang, Y. F., Pang, Y., Zhou, Q. N., et al. (2023). Automatic epileptic seizure detection method based on multi-class SVM algorithm.Journal of Chongqing University of Posts and Telecommunications (Natural Science Edition), 35(3), 536–544.
  3. Kang, T. Z. (2022). Automatic epileptic seizure detection algorithm based on dual density dual tree complex wavelet transform.West China Medical Journal, 37(5), 721–728.
  4. Yang, S. H., Li, B., & Zhou, F. F. (2021). Cross-patient automatic epileptic seizure detection algorithm based on machine learning.Journal of Jilin University (Science Edition), 59(1), 101–106.
  5. Wang, X., Wang, X., Liu, W., et al. (2021). One dimensional convolutional neural networks for seizure onset detection using long-term scalp and intracranial EEG.Neurocomputing, 463, 372–387.
  6. Singh, A., Kaur, M., & Singh, D. (2023). Novel deep learning framework for detection of epileptic seizures using EEG signals.Computational Biology and Medicine, 155, 106432.
  7. Kumar, S., & Srivastava, A. (2023). Automatic epileptic seizure detection based on EEG using a moth-flame optimization of one-dimensional convolutional neural networks.Sensors, 23(15), 6872.
  8. Omar, M., El-Sayed, A., & Abdel-Raouf, M. (2022). Effects of data augmentation with the BNNSMOTE algorithm in seizure detection using 1D-MobileNet.Bioengineering, 9(12), 781.
  9. Tian, X., Deng, Z., Choi, K., et al. (2021). Deep multi-view feature learning for EEG-based epileptic seizure detection.IEEE Transactions on Neural Systems and Rehabilitation Engineering, 29, 2478-2489.
  10. Lv, H., Zhang, Y., Xiao, T., et al. (2023). Seizure detection based on lightweight inverted residual attention network.International Journal of Neural Systems, 33(7), 2350032.
  11. Sahani, M., Rout, S. K., & Dash, P. K. (2021). FPGA implementation of epileptic seizure detection using semisupervised reduced deep convolutional neural network.Applied Soft Computing, 113, 107922.
  12. Zhang, Y., Liu, X., Wang, Y., et al. (2022). 1D-CNN based seizure detection in EEG signals with optimal channel selection.Biomedical Signal Processing and Control, 75, 103565.
  13. Tuncer, E., & Doğru Bolat, E. (2022). Classification of epileptic seizures from electroencephalogram (EEG) data using bidirectional short-term memory (Bi-LSTM) network architecture.Biomedical Signal Processing and Control, 71, 103130.
  14. Sharma, S., & Pachori, R. B. (2022). Epileptic seizure detection based on wavelet entropy features and support vector machine.Biomedical Signal Processing and Control, 77, 103794.
  15. Ullah, I., Hussain, M., Qazi, E.-u.-H., et al. (2021). An automated system for epileptic seizure detection using pyramidal one-dimensional convolutional neural network from EEG signals.IEEE Access, 9, 39928-39941.