A Method for Explainable Epileptic Seizure Detection Through Wavelet Transforms Obtained by Electroencephalogram-Based Audio Recordings

Sensors (Basel). 2025 Dec 30;26(1):237. doi: 10.3390/s26010237.

Abstract

Accurate classification of brain activity from electroencephalogram signals is essential for diagnosing neurological disorders such as epilepsy. In this paper, we propose an explainable deep learning method for epileptic seizure detection. The proposed approach converts electroencephalogram signals into audio waveforms, which are then transformed into time-frequency representations using two distinct continuous wavelet transforms, i.e., the Morlet and the Mexican Hat. These wavelet-based spectrograms effectively capture both temporal and spectral characteristics of the electroencephalogram signal data and serve as inputs to a set of convolutional neural network models with the aim to detect seizure activity. To improve model transparency, the proposed method integrates three class activation mapping techniques aimed to visualize the salient regions in the wavelet images that influence each prediction. Experimental evaluation on a real-world dataset emphasizes the efficacy of wavelet-based preprocessing in electroencephalogram signal analysis in prompt epileptic seizure detection, showing an accuracy equal to 0.922.

Keywords: convolutional neural network; deep learning; epilepsy; explainability; wavelet.

MeSH terms

  • Algorithms
  • Deep Learning
  • Electroencephalography* / methods
  • Epilepsy* / diagnosis
  • Epilepsy* / physiopathology
  • Humans
  • Neural Networks, Computer
  • Seizures* / diagnosis
  • Seizures* / physiopathology
  • Signal Processing, Computer-Assisted
  • Wavelet Analysis*