Elsevier

Journal of Neuroscience Methods

Volume 266, 15 June 2016, Pages 107-125
Journal of Neuroscience Methods

Regularity and Matching Pursuit feature extraction for the detection of epileptic seizures

https://doi.org/10.1016/j.jneumeth.2016.03.024Get rights and content

Highlights

  • Epilepsy detection by EEG analysis is done with state-of-the-art results.

  • Hölder regularity and Matching Pursuit are used to extract EEG features.

  • The method is simple and can be used in other domains of EEG analysis.

Abstract

Background

The neurological disorder known as epilepsy is characterized by involuntary recurrent seizures that diminish a patient's quality of life. Automatic seizure detection can help improve a patient's interaction with her/his environment, and while many approaches have been proposed the problem is still not trivially solved.

Methods

In this work, we present a novel methodology for feature extraction on EEG signals that allows us to perform a highly accurate classification of epileptic states. Specifically, Hölderian regularity and the Matching Pursuit algorithm are used as the main feature extraction techniques, and are combined with basic statistical features to construct the final feature sets. These sets are then delivered to a Random Forests classification algorithm to differentiate between epileptic and non-epileptic readings.

Results

Several versions of the basic problem are tested and statistically validated producing perfect accuracy in most problems and 97.6% accuracy on the most difficult case. Comparison with existing methods: A comparison with recent literature, using a well known database, reveals that our proposal achieves state-of-the-art performance.

Conclusions

The experimental results show that epileptic states can be accurately detected by combining features extracted through regularity analysis, the Matching Pursuit algorithm and simple time-domain statistical analysis. Therefore, the proposed method should be considered as a promising approach for automatic EEG analysis.

Introduction

Epilepsy is a type of neurological disorder that it is characterized by an enduring predisposition to generate unprovoked seizures, each occurring more than 24 h apart (Fisher et al., 2014). Normal brain activity is considered to be non-synchronous, but during epileptic seizures a group of neurons begins firing in an abnormal, excessive and synchronized manner. This is opposed to what normally happens, when an excitatory neuron fires it becomes resilient to firing again for a short period of time (Else and Hammer, 2013). There are approximately 65 million people worldwide living with epilepsy (Thurman et al., 2011). It varies from region to region, for instance in the United States the annual incidence of epilepsy is 48 per 100,000 inhabitants, whereas the prevalence approximates 710 per 100,000 (Hirtz et al., 2007). Diagnosing epilepsy after a single unprovoked seizure, when there is a high risk for recurrence, may or may not lead to a decision to initiate treatment by the epileptologist. Nonetheless, the diagnosis helps the physician assess the balance between the possible avoidance of a second seizure and the associated risks of actually occurring. According to Eadie (2012) about 70% of the cases can be controlled by medication, but even then the patient might suffer negative side effects.

Automated systems can help develop an appropriate therapy plan that could eventually improve the balance of the associated risks and potentially enhance the patient's quality of life (Fisher et al., 2014). Such systems would be able to detect a bodily response that matches the epileptic symptoms, and distinguish them from signals present during a patient's regular activity. There are non-invasive methods that can sense epileptic states before they manifest, as well as to detect the seizure physiologic state, which is also known as the Ictal state. One such method is the Electroencephalogram (EEG), which records electrical brain activity along the scalp. Other methods are also available, such as the Electrocorticogram (ECoG) that is recorded by electrodes that are inserted trough the skull (Sotelo et al., 2013, Sotelo et al., 2015). ECoG provides more localized readings but can be undesirable for the patient since it is invasive (Ball et al., 2009).

EEGs are very popular because they have several advantages compared to other methods (Tzallas et al., 2009, Übeyli and Güler, 2007, Güler and Ubeyli, 2005, Rajendra Acharya et al., 2012, Acharya et al., 2012a, Guler et al., 2005, Ahammad et al., 2014, Orhan et al., 2011, Guo et al., 2010, Kamath, 2015, Lima et al., 2010), these are: (1) hardware costs are relatively low; (2) electrodes can be positioned based on application needs; (3) it does not expose the patient to high-intensity magnetic fields like magnetoencephalography; and (4) it is non-invasive, relative with other methods. There are some drawbacks as well, like the inherent presence of noise in the signals. Nevertheless, the present work focuses on the use of EEG recordings for automatic epilepsy analysis.

Epileptic seizures can be identified in EEG signals by experienced physicians, but automatic recognition is still not a trivial task. Research for the development of computational systems that perform these tasks usually focuses on three fronts. Either by exploiting the morphology of the signals recorded during the epileptic crisis (Yadav et al., 2012), by applying analytic or numerical methods (Ramgopal et al., 2014), or a combination of the two (Tzallas et al., 2009, Übeyli and Güler, 2007, Güler and Ubeyli, 2005, Rajendra Acharya et al., 2012, Acharya et al., 2012a, Guler et al., 2005, Ahammad et al., 2014, Orhan et al., 2011, Guo et al., 2010, Kamath, 2015, Lima et al., 2010, Murugavel and Ramakrishnan, 2014, Divya, 2015, Kumar et al., 2014).

We propose a new methodology for feature extraction, which incorporates two powerful signal analysis tools to construct specialized domain features, namely Hölderian regularity (Mallat and Hwang, 1992) and the Matching Pursuit (MP) algorithm (Mallat, 1993). Each of these tools tackles the posed problem from different perspectives. The former incorporates a local signal regularity measure while the latter employs a time-frequency analysis. These two methods are related, since MP can be seen as a global regularity measure. Both of these techniques are considered to be highly nonlinear in their core design, thus the proposed methodology is well suited to analyze a nonlinear process, like the one that produces an epileptic seizure. Moreover, we combine these nonlinear features with much simpler features computed as statistics of the raw signals in time domain, which have been shown to be useful in related tasks (Sotelo et al., 2013).

After the proposed feature extraction process, a classifier is used to solve the automatic detection problem. Experimental results achieve a perfect performance for three of the four tested problem instances. Moreover, on the fourth test case, the most complex, classification accuracy is 97.6%, competitive with the state-of-the-art (Tzallas et al., 2009, Tzallas et al., 2007, Übeyli and Güler, 2007, Güler and Ubeyli, 2005, Rajendra Acharya et al., 2012, Acharya et al., 2012a, Guler et al., 2005, Ahammad et al., 2014, Orhan et al., 2011, Guo et al., 2010, Kamath, 2015, Lima et al., 2010, Guler and Ubeyli, 2007). All of these conclusions are derived from a rigorous experimental validation and comprehensive statistical tests.

In the following sections a brief description of epileptic states is presented, as well as a short review of previous works related to techniques employed for EEG analysis.

Epileptic seizures are unintentional and disruptive events of mental activity that impair a patient's motor, sensorial and autonomic functions. Seizures develop over several states (Franaszczuk et al., 1998): (1) the Basal state; (2) the Pre-Ictal state; (3) the Ictal state; (4) the Post-Ictal state; and (5) the Inter-Ictal state. These states can be identified by the symptoms exhibited by the patient and the morphology of the EEG signals. The Basal state corresponds to normal brain functions, in this state brain signals are characterized by a low amplitude and a relatively high frequency. The Pre-Ictal state refers to the time period before the seizure symptomatology is evident. Here, the signal amplitude is higher than in the Basal state, with the presence of spikes and transitory activity, also called recruiting rhythms (Kohsaka et al., 2002). The Ictal state is the prominent period where the symptomatology is evident. The EEG signal magnitude is higher than in any other state and displays a dominant low frequency rhythm. The Post-Ictal state refers to the span of time when an altered state of consciousness exists after the active portion of the seizure ended. This period is variable and depends of the seizure duration. The overall amplitude of the signal decreases and the frequency increases. Several symptoms appear during this state, like migraines, depression and a loss of motor functions (Fisher and Schachter, 2000). Finally, the Inter-Ictal state refers to the period of time between seizures.

The problem of automatically detecting the states of epileptic seizures can be posed in different ways (Sotelo et al., 2013, Sotelo et al., 2015). Here, we recognize that the identification of Ictal states is an important task, as a way to prevent or prepare for a seizure. Moreover, the effects on the patient are most severe in this state. Consequentially, this work focuses on the automatic recognition of Ictal activity among other EEG readings. For this work, we use the Bonn data set (Andrzejak et al., 2001), a public database that contains several types of EEG recordings, to test the proposed approach.

The automatic classification of epileptic seizures has received much attention over recent years. The problem has been handled from many perspectives, focusing on different aspects of the problem, while using a variety of signal processing and pattern recognition paradigms. Since the number of reported studies is large, here we review the most recent and relevant examples. Moreover, for comparative reasons, we mostly limit to works based on the Bonn data set (Andrzejak et al., 2001). Acharya et al. (2013) present an extensive survey that summarizes a variety of different methods on how this problem has been addressed. In that survey, the authors also summarize the classification accuracy from each reviewed work, comparing their quality and experimental work. Even though some works achieve strong performance, there is still room for developing new domain-specific patterns recognition methods. Moreover, the insights gathered in epileptic states detection might be extended to other areas of EEG analysis or application domains (Vezard et al., 2014).

Before attempting to solve the classification task, feature extraction must be performed. The simplest features are extracted in the time domain. For instance, Xie and Krishnan (2014) proposed an improved Dynamic Principal Component Analysis (DPCA) by means of a non-overlapping moving window. Because they show a highly effective feature extraction, a simple nearest neighbor classifier produces good results. This shows that one of the most difficult tasks is deriving an optimum feature extraction method. Recently, Kamath (2015) uses the Hilbert Transform (HT) as a method for a time to time-domain transformation, where the frequency is expressed as a rate of phase change, a dispersion entropy measure, dispersion complexity and forbidden count. These features are then used to distinguish between the Ictal and Inter-Ictal states.

A more common approach is to use time-frequency analysis for epilepsy detection, such as wavelet analysis (Acharya et al., 2012a, Ahammad et al., 2014, Orhan et al., 2011, Tzallas et al., 2009, Guo et al., 2010, Chen et al., 2014, Nunes et al., 2014, Kumar et al., 2014, Gandhi et al., 2012, Zainuddin et al., 2013, Murugavel and Ramakrishnan, 2014, Kumari and Prabin, 2011). A related technique is used by Kovacs et al. (2014), the Short Time Fourier Transform (STFT), achieving good results and confirming that well established methods are still relevant in this domain. Packet Wavelet Decomposition is also used in this domain, since it is a variant of the same underlying concept (Rajendra Acharya et al., 2012). Faust et al. (2015) present a recent comprehensive review of wavelet-based methods used to solve the problem of automatic seizure detection. It is clear that the robust time-frequency analysis provided by the wavelet decomposition is a popular technique among the reviewed literature, because its properties are useful in many areas of signal processing.

Other nonlinear methods not directly related to time-frequency analysis are also used in this domain, Acharya et al. (2013) suggests that given the nonlinearity of EEG signals these techniques might yield better results, although simpler methods sometimes can outperform them. For example, some works (Bajaj and Pachori, 2012, Alam and Bhuiyan, 2013, Divya, 2015) use the Empirical Mode Decomposition (EMD) to decompose EEG signals into a set of intrinsic mode functions, a method that performs well with highly non-stationary and nonlinear signals, while using a variety of classifiers. Guler et al. (2005) make use of another nonlinear approach, the Lyapunov exponent approximation as a measure of signal chaosity, with promising results. The use of different type of entropies like Kolmogorov-Sinai Entropy (KSE), Approximate Entropy (ApEn), Sample Entropy (SampEn), Spectral Entropy (SE) among others have been the subject of study in this domain (Acharya et al., 2012a, Acharya et al., 2012b, Nicolaou and Georgiou, 2012, Martis et al., 2013). Acharya et al. (2015) survey recent works that apply entropy methods for epilepsy detection. Other related methods include works that use the High Order Spectra (HOS), employing the third order cumulant as a feature (Acharya et al., 2012b), Recurrence Quantification Analysis (RQA), an analysis based on the topologies derived from recurrence plots in dynamical systems (Niknazar et al., 2013), and the Higuchi Fractal Dimension for measuring signal complexity through fractal concepts (Martis et al., 2013).

The above cited works recognize that a critical step in identifying a brain-related phenomenon using EEG recordings is the feature extraction phase, the main emphasis of the current work. In the following section we present our proposed feature extraction approach and afterwards we evaluate our classification results. Moreover, we will compare our results with those previously reported in the literature, showing that our proposal achieves state-of-the-art performance.

The reminder of this paper is organized as follows. In Section 2 the employed EEG data set is described, the proposed feature extraction methods are presented and the classification task is posed. In Section 3 we discuss the experimental details and its results are presented in Section 4. Finally, in Section 6 we present our conclusions and outline future work.

Section snippets

Epilepsy EEG data set

The data set used in this work was published by the Bonn University (Andrzejak et al., 2001). The data set includes five subsets of signals (denoted as Z, O, N, F and S), each containing 100 single-channel EEG segments with a duration of 23.6 s. All segments were recorded using an amplifier system, digitized with a sampling rate of 173.61 Hz and 12-bit A/D resolution, and filtered using a 0.53–40 Hz (12 dB/octave) band pass filter. The normal (Basal) segments (Sets Z and O) were taken from five

Experimental work

This section presents our experimental validation of the proposed feature extraction methods and classification scheme, evaluating each of the proposed feature sets, the effect of signal normalization and considering several problem formulations, using standard performance measures and statistical tests. Moreover, our results are compared with state-of-the-art works from recent literature. In all of the following work, the reported algorithms and tests were implemented in MATLAB (2014).

Results

The experimental results are organized as follows. Firstly, we perform a statistical analysis on the complete feature set to detect any significant differences among the five classes. For this, the One-way Analysis of Variance (ANOVA) is employed over the feature matrix. These results are presented in Table 6.

Secondly, Table 7 summarize the performance of our classification system for each problem (1–4) using each feature set (4, 9 and 10). This table shows results obtained on the raw and

Discussion

The main contribution of the proposed methodology is the proposed feature set, with Table 6 providing some interesting insights. Among all features only the mean of the epoch μ(E) suffers from poor discrimination properties. Indeed, the variance of the average amplitude of the raw signals is quite similar between epochs, thus it is hard to determine a statistically significant difference between the classes. Although the median is related to the mean, the latter is quite sensitive to outliers

Summary and conclusions

This paper proposes a new feature extraction approach for the classification of EEG signals and the detection of epileptic seizures. The detection depends on the ability of the system to recognize seizures among other EEG recordings. The proposed system performs feature extraction using the MP algorithm and Hölderian regularity analysis. This paper is the first to combine both methods to effectively extract meaningful traits from epileptic events that are captured by EEG recordings.

Results show

Acknowledgements

First author supported by CONACYT (México) scholarships No. 294213. Funding for this work was provided by CONACYT Basic Science Research Project No. 178323, TecNM (México) Research Projects 5414.14-P and 5621.15-P, and by the FP7-Marie Curie-IRSES 2013 European Commission program through project ACoBSEC with contract No. 612689.

References (95)

  • R.S. Fisher et al.

    The postictal state: a neglected entity in the management of epilepsy.

    Epilepsy Behav.

    (2000)
  • P.J. Franaszczuk et al.

    Timefrequency analysis using the matching pursuit algorithm applied to seizures originating from the mesial temporal lobe

    Electroencephalogr. Clin. Neurophysiol.

    (1998)
  • T.K. Gandhi et al.

    Discrete harmony search based expert model for epileptic seizure detection in electroencephalography

    Expert Syst. Appl.

    (2012)
  • I. Güler et al.

    Adaptive neuro-fuzzy inference system for classification of EEG signals using wavelet coefficients

    J. Neurosci. Methods

    (2005)
  • N. Guler et al.

    Recurrent neural networks employing Lyapunov exponents for EEG signals classification

    Expert Syst. Appl.

    (2005)
  • L. Guo et al.

    Epileptic seizure detection using multiwavelet transform based approximate entropy and artificial neural networks

    J. Neurosci. Methods

    (2010)
  • J.W. Kantelhardt et al.

    Multifractal detrended fluctuation analysis of nonstationary time series

    Phys. A: Stat. Mech. Appl.

    (2002)
  • S. Kohsaka et al.

    Widespread activation of the brainstem preceding the recruiting rhythm in human epilepsies

    Neuroscience

    (2002)
  • M.Z. Koubeissi et al.

    Analysis of dynamics and propagation of parietal cingulate seizures with secondary mesial temporal involvement

    Epilepsy Behav.

    (2009)
  • Y. Kumar et al.

    Epileptic seizure detection using DWT based fuzzy approximate entropy and support vector machine

    Neurocomputing

    (2014)
  • C.A.M. Lima et al.

    Tackling EEG signal classification with least squares support vector machines: a sensitivity analysis study

    Comput. Biol. Med.

    (2010)
  • C.H. Lin et al.

    Study of image retrieval and classification based on adaptive features using genetic algorithm feature selection

    Expert Syst. Appl.

    (2014)
  • N. Nicolaou et al.

    Detection of epileptic electroencephalogram based on Permutation Entropy and Support Vector Machines

    Expert Syst. Appl.

    (2012)
  • T.M. Nunes et al.

    EEG signal classification for epilepsy diagnosis via optimum path forest. A systematic assessment

    Neurocomputing

    (2014)
  • U. Orhan et al.

    EEG signals classification using the K-means clustering and a multilayer perceptron neural network model

    Expert Syst. Appl.

    (2011)
  • U. Rajendra Acharya et al.

    Use of principal component analysis for automatic classification of epileptic EEG activities in wavelet framework

    Expert Syst. Appl.

    (2012)
  • S. Ramgopal et al.

    Seizure detection, seizure prediction, and closed-loop warning systems in epilepsy

    Epilepsy Behav.

    (2014)
  • A. Sotelo et al.

    Identification of epilepsy stages from ECoG using genetic programming classifiers

    Comput. Biol. Med.

    (2013)
  • A. Sotelo et al.

    Seizure states identification in experimental epilepsy using Gabor atom analysis

    J. Neurosci. Methods

    (2015)
  • Z. Sun et al.

    Object detection using feature subset selection

    Pattern Recognit.

    (2004)
  • E.D. Übeyli et al.

    Features extracted by eigenvector methods for detecting variability of EEG signals

    Pattern Recognit. Lett.

    (2007)
  • L. Vézard et al.

    EEG classification for the detection of mental states

    Appl. Soft Comput.

    (2015)
  • U.R. Acharya et al.

    Application of non-linear and wavelet based features for the automated identification of epileptic EEG signals

    Int. J. Neural Syst.

    (2012)
  • N. Ahammad et al.

    Detection of epileptic seizure event and onset using EEG

    BioMed Res. Int.

    (2014)
  • S.M.S. Alam et al.

    Detection of seizure and epilepsy using higher order statistics in the EMD domain

    IEEE J. Biomed. Health Inf.

    (2013)
  • E. Alpaydin

    Introduction to Machine Learning

    (2010)
  • R.G. Andrzejak et al.

    Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: dependence on recording region and brain state

    Phys. Rev. E

    (2001)
  • V. Bajaj et al.

    EEG signal classification using empirical mode decomposition and support vector machine

  • L. Breiman

    Random forests

    Mach. Learn.

    (2001)
  • S. Chen et al.

    Atomic decomposition by basis pursuit

    SIAM J. Sci. Comput.

    (1998)
  • W. Chen et al.

    A random forest model based classification scheme for neonatal amplitude-integrated EEG

    BioMed. Eng. Online

    (2014)
  • D. Chuckravanen

    Approximate entropy as a measure of cognitive fatigue: an EEG pilot study

    Int. J. Emerg. Trends Sci. Technol.

    (2014)
  • S. Divya

    Classification of EEG signal for epileptic seizure detection using EMD and ELM

    Int. J. Trends Eng. Technol.

    (2015)
  • R.O. Duda et al.

    Pattern Classification

    (2000)
  • P. Durka

    Adaptive time-frequency parametrization of epileptic spikes

    Phys. Rev. E

    (2004)
  • P. Durka et al.

    Analysis of EEG transients by means of matching pursuit

    Ann. Biomed. Eng.

    (1995)
  • P. Durka et al.

    Stochastic time-frequency dictionaries for matching pursuit

    IEEE Trans. Signal Process.

    (2001)
  • Cited by (19)

    • International Federation of Clinical Neurophysiology (IFCN) – EEG research workgroup: Recommendations on frequency and topographic analysis of resting state EEG rhythms. Part 1: Applications in clinical research studies

      2020, Clinical Neurophysiology
      Citation Excerpt :

      Usually, Gabor functions are used since they provide the best time-frequency resolution. The resulting time-frequency features (amplitude, frequency, time occurrence and time span) can be used as inputs to the mathematical classifiers for research applications in epilepsy (Durka et al., 2005; Khlif et al., 2013; Z-Flores et al., 2016) and sleep (Malinowska et al., 2009; Durka et al., 2015). Furthermore, matching pursuit decomposition has been adapted for multivariate datasets and EEG source estimation (Durka et al., 2005; Bénar et al., 2009).

    • Electroencephalogram-based brain-computer interface systems for controlling rehabilitative devices

      2019, Bioelectronics and Medical Devices: From Materials to Devices - Fabrication, Applications and Reliability
    View all citing articles on Scopus
    View full text