Next Article in Journal
An Objective Prior from a Scoring Rule
Previous Article in Journal
Machine Learning for Communications
Previous Article in Special Issue
Knowledge Discovery from Medical Data and Development of an Expert System in Immunology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multiscale Permutation Lempel–Ziv Complexity Measure for Biomedical Signal Analysis: Interpretation and Application to Focal EEG Signals

Faculty of Mechanical Engineering, Bialystok University of Technology, 45C Wiejska St., 15-351 Białystok, Poland
Submission received: 15 May 2021 / Revised: 23 June 2021 / Accepted: 25 June 2021 / Published: 29 June 2021
(This article belongs to the Special Issue Information Theory in Biomedical Data Mining)

Abstract

:
This paper analyses the complexity of electroencephalogram (EEG) signals in different temporal scales for the analysis and classification of focal and non-focal EEG signals. Futures from an original multiscale permutation Lempel–Ziv complexity measure (MPLZC) were obtained. MPLZC measure combines a multiscale structure, ordinal analysis, and permutation Lempel–Ziv complexity for quantifying the dynamic changes of an electroencephalogram (EEG). We also show the dependency of MPLZC on several straight-forward signal processing concepts, which appear in biomedical EEG activity via a set of synthetic signals. The main material of the study consists of EEG signals, which were obtained from the Bern-Barcelona EEG database. The signals were divided into two groups: focal EEG signals (n = 100) and non-focal EEG signals (n = 100); statistical analysis was performed by means of non-parametric Mann–Whitney test. The mean value of MPLZC results in the non-focal group are significantly higher than those in the focal group for scales above 1 (p < 0.05). The result indicates that the non-focal EEG signals are more complex. MPLZC feature sets are used for the least squares support vector machine (LS-SVM) classifier to classify into the focal and non-focal EEG signals. Our experimental results confirmed the usefulness of the MPLZC method for distinguishing focal and non-focal EEG signals with a classification accuracy of 86%.

1. Introduction

Electroencephalography (EEG) is a non-invasive procedure to measure the bioelectric activity of the brain. The analysis of EEG signals contributes to a better understanding of brain functions and malfunctions. Electroencephalographic signals from epilepsy patients are of interest to researchers in particular.
Epilepsy is one of the most common chronic neurological diseases, characterized by recurrent seizures that can be single or complex in nature and are manifested by disturbances in consciousness, behavior, perception, movement, or sensation. According to WHO data [1], over 50 million people suffer from epilepsy, and every year, an average of 2.4 million patients are diagnosed with epilepsy. If an appropriate diagnosis and treatment are made, 70% of the patients with disease can live without seizures. The clinical picture of the seizure is a result of a discharge of improperly synchronized neurons, and it is influenced by the size of the abnormally stimulated area and its location. In 2017, the current seizure classification was published [2], which includes the division into focal seizures, generalized seizures, and seizures with unknown onset. In the focal-onset seizures category, there are seizures with and without the state of consciousness, with the coexistence of motor symptoms and the development of focal seizures to bilateral tonic-clonic seizures. Among generalized seizures, there are motor seizures and non-motor seizures (absences). In the case of seizures with unknown onset, there are seizures with or without the coexistence of motor symptoms as well as unclassified seizures. The new classification noted that some tonic and flexion seizures may also have a focal onset. International League Against Epilepsy (ILAE) also presented a new classification of epilepsy and epilepsy syndromes that takes into account the following diagnostic criteria: seizure type, epilepsy types, and epilepsy syndromes [2].
The diagnosis of epilepsy patients sometimes requires EEG recording directly from the brain surface or from deeper brain structures [3]. Intracranial records can be used to locate the areas of the brain where seizures begin and to evaluate the benefits of neurosurgical resection of these parts of the brain. It turns out that the recordings show variable dynamics not only during acute epileptic seizures but also in the non-seizure period. There is a need to develop new methods for analyzing signals from epilepsy patients in the seizure-free period to identify them at an early stage of diagnosis to implement the appropriate treatment method as soon as possible.
Nonlinear analysis of EEG signals includes many measures that allow for extraction of useful information from dynamical systems. There are many methods of detecting dynamic changes in physiological systems; some complexity indexes in particular, such as Lempel–Ziv complexity [4], permutation Lempel–Ziv complexity [5], approximate entropy [6], sample entropy [7], fuzzy entropy [8], permutation entropy [9], multi-scale entropy [10,11,12,13], recurrence quantification analysis [14], detrended fluctuation analysis [15], and fractal dimension [16] are used as effective features of EEG signals [17,18,19,20,21,22,23,24].
Related researches have indicated that LZC [4] is powerful in analysing biomedical signals, especially in EEG analysis [25,26,27,28,29]. LZC based on a coarse-graining process is a nonlinear measure of signal complexity and irregularity for short and nonstationary time series. Higher value of LZC implies a more complex structure of the signal. The original Lempel–Ziv complexity algorithm consists of transformation of the signal into a binary sequence by comparing it with the threshold (e.g., mean or median) and calculating the unique subsequence in a sequence. However, the LZC measure is artifact sensitive and cannot distinguish between deterministic chaos and noise [5,30,31]. The binary coarse-graining process is associated with loss of signal dynamics and important system information. Ordinal patterns [9] have been used to quantify dynamical information of signals as an improvement of binary coarse-graining process. Bai et al. [5] developed permutation Lempel–Ziv complexity measures (PLZC) to quantify dynamic changes in EEG signals. However, the existing PLZC methods have one common problem when analyzing EEG signals: EEG information is embedded in different scale domains. PLZC algorithm is a single-scale analysis, and therefore, it fails to account for multiple electrical activities that are inherent in the brain. Using the multiscale approach to measure the complexity of EEG recordings over multiple time scales of signals instead of using a single scale [10] is a solution to this problem. Therefore, we proposed the multiscale permutation Lempel–Ziv complexity measure (MPLZC) that combines permutation Lempel–Ziv complexity methods and a multiscale approach. The concept of multiscale Lempel–Ziv measure has already been introduced in the analysis of short, non-stationary, and noisy EEG signals [32]. However, this method uses multiple thresholds for binarization, which is obtained by comparing each element of EEG signals with its smoothed versions in the window.
The purpose of the research presented in this article is to evaluate MPLZC measure in identification of focal signals.
The structure of the paper is organized as follows: Section 2 presents the description of simulated and empirical data, methods of Lempel–Ziv complexity, permutation Lempel–Ziv complexity, multiscale permutation Lempel–Ziv complexity, and the classification. The results are summarized in Section 3. Finally, Section 4 presents the discussion of the obtained results with corresponding analysis.

2. Materials and Methods

The Python language, an interpreted high-level performance programming language, was used for the analysis of the synthetic signals and EEG signals.

2.1. Simulated Data

In this subsection, the simulated signals used to evaluate the MPLZC measure in terms of classical signal-processing concept (frequency, amplitude, noisy power, signal bandwidth) are described. Some of them have been used to evaluate the Lempel–Ziv complexity measure [26], auto-mutual information function [33], and composite multiscale permutation entropy [34]. These generated signals have a sampling frequency ( f s ) of 100 Hz and a length of 100 s. Additionally, white Gaussian noise (WGN) and 1 / f noise were used to verify the performance of MPLZC measures. The simulated signals used are listed as follows:
  • Gaussian noise
White Gaussian noise is a random signal having equal intensity at different frequencies, giving it a constant power spectral density S ( f ) :
S ( f ) = c w | f | 0
where c w is constant. It is a discrete signal whose samples are regarded as a sequence of serially uncorrelated random variables with zero mean and finite variance (Figure 1a).
Pink noise, or 1 / f noise, is a signal or a process with such a frequency spectrum that the power spectral density S ( f ) (power-per-frequency interval) is inversely proportional to the frequency of the signal:
S ( f ) = c f | f | α
where c f is constant, and 0 < α < 2 . The complexity of pink noise is greater than that of white noise, with pink noise being more regular and predictable than white noise [35] (Figure 1b).
Each type of noise was generated 50 times.
  • Sinusoidal signals with variable amplitude and frequency
Sinusoidal signals with variable amplitude and frequency were generated in order to explain how the MPLZC change when the amplitude and frequency of sinusoidal signals are changed. The first signal consists of constant amplitude of the chirp signal, with a logarithmically variable frequency in the range of 0.1 Hz to 20 Hz in 100 s (Figure 2). In the second signal, the frequency changes logarithmically from 0.25 Hz to 5 Hz in 100 s with chirp amplitude modulation of the signal (Figure 2). The signal analysis was performed using a window.
  • Amplitude modulated quasi-periodic signal with the addition of WGN of diverse power
Amplitude modulated quasi-periodic signals with the addition of WGN of diverse power were used to verify how the MPLZC change with the level of noise. Amplitude modulated quasi-periodic signals were generated as a sum of two sinusoidal waveforms with the frequencies of 0.5 Hz and 1 Hz. The first 20 s of the resulting signal do not contain noise. After that time, white noise was added to the signal with increasing power every 10 s (Figure 2).
  • Bandwidth of coloured Gaussian noise signal
The bandwidth of coloured Gaussian noise signal was generated in order to determine the relationship between MPLZC and the noise bandwidth. The signal consists of five segments of coloured noise in different bands. The color noise frequency spectra are centered at fs/4, and their bandwidth increases from fs/15 to fs/3 in five equal steps (Figure 2).
  • Signal with spectral colour noise content
The signals are generated to investigate the relationship of the MPLZC and the spectral content of the colour noise using an autoregressive process of order 1 for the time table t with the parameter going from +0.9 to −0.9 linearly (Figure 2).
  • Periodic deterministic process
The MIX process is defined as:
M I X = ( 1 z ) x + z y
where z is a random variable equal to 1 for probability p and equal to 0 for probability 1−p, x is a periodic time series made of x k = 2 sin ( 2 π k 12 ) , and y is a random variable with a distribution in the range 3 , 3 . A synthetic time series is based on the MIX process for parameters between 0.01 and 0.99 (Figure 2).

2.2. Data Collection

In the present work, we used Bern-Barcelona EEG database (https://www.upf.edu/web/ntsa/downloads, accessed on 1 March 2021) [3] to verify the usefulness of MPLZC measure for long-term intracranial electroencephalographic recordings (EEG) from patients suffering from pharmaco-resistant, focal-onset epilepsy. The clinical purpose of those recordings was to determine the brain areas to be surgically removed in each individual patient in order to achieve seizure control. The EEG data contains 3750 pairs of signals recorded from the areas of the brain where the first ictal EEG signal changes were detected (focal signals) and 3750 pairs of signals recorded from the areas of the brain that were not involved at seizure onset (non-focal signals) obtained from five temporal-lobe epilepsy patients. Multichannel EEG signals were recorded with intracranial strip and depth electrodes manufactured by AD-TECH (Racine, WI, USA). All EEG signals were digitally band-pass filtered between 0.5 and 150 Hz using a fourth-order Butterworth filter. The sampling frequency was 512 Hz. The length of each signal was 10,240 samples. The recordings of seizure activity and recordings made three hours after the last seizure were excluded. Each individual signal pair was selected randomly from the pool of all signals measured at focal EEG channels. This random sample was drawn without replacement and using a uniform random number generator. In the same way, non-focal signals measured at non-focal EEG channels were randomly selected. Focal and non-focal signals came from independent areas of the brain. The first 50 pairs of records were used for that analysis and were made to form 100 signals in the focal and non-focal group.

2.3. Lempel–Ziv Complexity

The Lempel–Ziv complexity measure can characterize the degree of order or disorder and development of spatiotemporal patterns [4]. The signal x ( n ) = { x 1 , x 2 , , x n } must be converted by a coarse-graining process into a finite sequence { s ( n ) } whose elements contain zeros and ones. The coarse-graining process is very important because it determines how much information can be preserved from the original signal. A commonly used coarse-graining method is to select threshold T d as the mean value of the window time series and transform the original signal into a 0 1 sequence by comparing the signal with T d . Another way is to adopt a method using the Hilbert transform approach to generate a 0 1 sequence [16,17]. The Lempel–Ziv algorithm counts all distinct patterns in a sequence { s ( n ) } . The complexity counter c ( n ) increments by one when a new pattern is found. The LZC measure has a range from 0 to 1 after normalization, where 0 means order, and 1 means random pattern. The calculation of c ( n ) can be represented as follows:
Step 1: Transform the signal into a finite sequence { s ( n ) } that contains zeros and ones.
Step 2: Let A and B denote a subsequence of the sequence { s ( n ) } .
Step 3: Connect A and B into A B . Sequence A B c is derived from A B and c ( c means that the last digit has to be deleted). Suppose that A = s ( 1 ) , s ( 2 ) , s ( k ) , B = s ( k + 1 ) ; then A B c = s ( 1 ) , s ( 2 ) , s ( k ) . Let f ( A B c ) express the vocabulary of all different subsequences of A B c .
Step 4: The rule if B belongs to f ( A B c ) or not. If B f ( A B c ) , then B is not a new sequence, and A does not change. Update B as s ( k + 1 ) , s ( k + 2 ) . If B = s ( k + 1 ) , s ( k + 2 ) , s ( k + i ) and is not a subsequence of A B c = s ( 1 ) , s ( 2 ) , , s ( k ) , s ( k + 1 ) , s ( k + i 1 ) , then B is a new sequence, and A is changed. Update B as B = s ( k + i + 1 ) and A as A = s ( 1 ) , s ( 2 ) , s ( k ) , s ( k + 1 ) , s ( k + i ) . The complexity counter c ( n ) is incremented by one. Go to step 3.
Step 5: c ( n ) means the number of distinct patterns of sequence { s ( n ) } . Normalized Lempel–Ziv complexity can be defined as:
C ( n ) = ( c ( n )   log 2 n ) n

2.4. Permutation Lempel–Ziv Complexity

The permutation Lempel–Ziv complexity measure combines the permutation scheme and Lempel–Ziv complexity [5]. In the first step of PLZC, a finite sequence of symbols { s ( n ) } was generated that included a total of m ! types of symbols, where m is the number of data points in each motif. The permutation Lempel–Ziv complexity measure depends on an order m and time delay τ . Given a scalar time series x ( n ) = { x 1 , x 2 , , x n   } , a vector y m ( N ) = [ y N , y N + τ , , y N + τ ( m 1 ) ] composed of the m -th subsequent values is constructed, where m is the number of samples belonging to the subsequence, and τ represents the distance between the samples spanned by each section of the motif. Then, the permutation s = ( s 0 , s 1 , , s τ ( m 1 ) ) is defined as an ordinal pattern associated with the vector y m ( N ) , which is arranged in increasing order: y N + s 0 y N + s 1 y N + s τ ( m 1 ) . These symbols are used in the procedure of calculation of the Lempel–Ziv complexity measure, which is normalized as follows:
P L Z C = ( c ( n ) l o g m ! n ) n

2.5. Multiscale Permutation Lempel–Ziv Complexity

MPLZC combine two topics. First, a coarse-graining procedure is applied to the original time series x ( n ) = { x 1 , x 2 , , x n } . The coarse-grained time series are constructed in non-overlapping windows of increasing length s (called scale factors) for which the number of data points is averaged. Each element of the coarse-grained time series is calculated as follows:
y j s = 1 s i = ( j 1 ) s + 1 j s x i 1 j N s
where a denotes the largest integer not greater than a . The length of each coarse-grained time series is s times shorter than x ( n ) ( s = 1 t h e   o r i g i n a l   t i m e   s e r i e s ). Next, PLZC is calculated for each scaled series and plotted as a function of the scale factor s . The coarse-grained process uses a procedure similar to sub-sampling.

2.6. Classfication

The support vector machine (SVM) algorithm can be used for both classification and regression [19]. The SVM method transforms the original space in which the problem of classification has been defined to n-dimensional space (n-the number of features). The transformation is made in such a way that after it is made in the new space, objects are separable by means of a hyperplane (this separation is usually impossible in the original space). The hyperplane can be found using the least squares support vector machine (LS-SVM). The main element of the transformation is the selection of the kernel function responsible for mapping the points to the new space. The SVM algorithm works very well in practical applications, such as biomedical data analysis.
LS-SVM classification was applied to confirm the usefulness of the obtained twenty MPLZC features. Scikit-Learn tool [36] implemented in Python was used to measure the accuracy performance of a LS-SVM classifier, and traditional C-support vector classification (C-SVC) was used as the support vector classifier. The final classification accuracy is the mean result of the ten-fold cross-validation procedure. The radial basis function (RBF kernel) was used as a kernel function. The performance of the LS-SVM classifier was evaluated using sensitivity (SEN), specificity (SPF), and accuracy (ACC). The mathematical expressions of the classification parameters are presented as follows [32,37,38]:
S E N = ( TP / ( TP + FN ) ) × 100 %
S P F = ( TN / ( TN + FP ) ) × 100 %
A C C = ( ( TP + TN ) / ( TP + TN + FP + FN ) ) × 100 %

3. Results

3.1. Parameter Selection

The unity delay ( τ = 1 ) is used to calculate the PLZC of the coarse-grained time series for all scales. There are several methods for determining the optimal time delay for a single channel. Future developments should test time delay selection for different scales, but these are not yet available.
The order m is the number of data points contained in the motif. In the permutation process, m can be given a value of 3, 4, 5, 6, or 7 [5,9]. When m < 3 , there would be too few possible patterns, and for m > 7 , the PLZC algorithm generates m ! possible motifs, causing a large computational cost. The condition m ! N ( m 1 ) must hold so that every possible order occurs in the signal. Based on our experience, we recommend m = 4 for N     1000 or m = 5 for N     2000 , as the value is usually less than m ! . Additionally, the condition of multi-scale analysis ( m + 1 ) ! N s should be kept.

3.2. Synthetic Signals

Firstly, MPLZC analysis was applied to simulated signals: white Gaussian noise, 1/f noise signal (Figure 3), chirp signal with constant amplitude, signal with logarithmic chirp and AM modulation, amplitude-modulated quasi-periodic signal with additive WGN of diverse power, and coloured Gaussian noise that is appended one after the other, with different bandwidth, autoregressive of order 1; MIX signal ( 1 z ) x + z y includes a periodic and a stochastic process [34] (Figure 4). WGN and 1/f noise, as two commonly used signals in multiscale analysis, were used. As it can be seen in Figure 3 for WGN, MPLZC values increased monotonically with scale factor s. That tendency was maintained at different lengths of the analyzed signal except for the signal with a length of 256 samples (=2.5 s). It could result from an incorrectly selected parameter m. In our study, we choose a low dimension m = 4 and N = 1000 when calculating MPLZC. MPLZC values for WGN signal and 1 / f noise decrease with increasing signal length on all scales, and the standard deviation of the average of 50 signals results decreases. MPLZC values for 1/f noise increase and become constant for higher scales.
In Figure 4, the results of MPLZC measure on synthetic signals are shown. A sliding window moving for 10 s with 80% overlap with the objective of testing was used to understand the relationship between MPLZC and frequency, amplitude, noise power, or signal bandwidth.
The result of MPLZC show that values increase for chirp signals with constant amplitude as the frequency of signal increases, and amplitude modulation of this signal has no significant effect on the results compared to constant amplitude signal, as it can be observed in Figure 4a,b, respectively.
Figure 4c shows the relationship between MPLZC and changes in additive noise power in quasi-periodic signals. MPLZC values increase as the power of the noise increases. MPLZC is sensitive to changes in noise power. MPLZC values are lower for higher scales; a multiscale process causes signal filtering.
Figure 4d shows MPLZC results in reference to increasing the noise bandwidth. The signal consists of four segments of coloured noise with increasing spectral bandwidth. MPLZC is sensitive to signal bandwidth changes, especially when scale factor s < 5 . MPLZC values increase along the signal. When scale factor s 5 , MPLZC takes similar high values.
Figure 4e shows the relationship between MPLZC and an autoregressive process. MPLZC for small scale increases along the signal and, for higher scale, takes higher values.
Figure 4f shows the results of MPLZC for MIX process, which evolves from randomness to periodic oscillations. MPLZC values decrease along the signals for all scales s, especially when scale factor s = 1 , s = 2 , and s = 3 .

3.3. Neurological Focal—Non-Focal Dataset

In this study, the MPLZC method was applied to analyze the EEG signals. Figure 5 shows an example of the bivariate signals from the focal and non-focal group.
Permutation Lempel–Ziv complexity was evaluated for 20 scale factors with the dimension m = 4. Mann–Whitney rank test (the non-parametric equivalent of t-student statistics for the independent samples) was used to find significant differences between the groups, and results were considered statistically significant for p-values < 0.05. The result of the MPLZC analysis on the averaged EEG signals is shown in Figure 6. For scale 1, which is regarded as a single-scaled base method, and for other scales, the mean PLZC values of groups are presented in Table 1. The permutation Lempel–Ziv complexity values in the focal group are significantly lower than those in non-focal group for scales above 1 (p < 0.05), which indicates that non-focal signals are more complex/irregular. The permutation Lempel–Ziv measures increase for all scales. Standard deviation values for both groups are large, but the non-focal group shows higher values of them, as can be seen in the Figure 6. The strongest separation between the focal group and non-focal group occurs for higher scales, which can improve proper identification of the focal area.
Comparing the signals shown in Figure 7, it can be seen that the signal dynamics of focal and non-focal areas are different. Focal signals include a certain repetition of patterns, while the non-focal signals are more irregular. In this work, differences in the complexity of both signals are shown by the MPLZC method. The lower values of MPLZC obtained for focal group indicate that the dynamics of focal signals are more regular than for non-focal signals. This seems typical because focal signals are more periodic and less random.
The result of the SVM classification is presented in Table 2. The MPLZC features achieve accuracy of classification up to 86% (confidence intervals ±5%).

4. Discussion

The evolution of computational techniques has enabled the development of non-linear methods of analysis. These methods are derived from chaos theory and are often used in the study of complex biological systems. Chaos means some kind of disorder/irregularity in which there are both deterministic and stochastic elements. Lempel–Ziv complexity measure borrowed its useful approach for estimating randomness of finite symbolic sequence from chaos theory. Higher LZ values indicate the presence of new sequence patterns and thus a more complex dynamic behavior. The Lempel–Ziv measure shows the rate at which new patterns appear with respect to the underlying system regardless of whether the system is deterministic or stochastic.
The study of dynamic systems in medicine characterized by high sensitivity to initial conditions suggests that the human body shows the highest degree of complexity. Living organisms are affected by changing internal and external factors. In order to maintain an actively changing body balance, it needs regulatory mechanisms (homeodynamics) based, inter alia, on the feedback loop. These dynamic systems, in a healthy person, contain oscillations of physiological parameters in acceptable ranges. The normal EEG signal consists of disorganized fluctuations, but during epileptic seizure, the EEG signals are more rhythmic. The change of such states is reflected by complexity. The LZ algorithm describes the EEG signal in the time domain, but there are studies showing the sensitivity of the method to changing the power spectrum and amplitude distribution in the time domain. Therefore, it seems justified to use LZ in the analysis of EEG signals. The Lempel–Ziv measure is based on the procedure of converting a signal into a binary signal using differently determined threshold values (e.g., mean, median). Unfortunately, during such conversion, information from the original signal is lost. The study [32] showed that classic LZC has low sensitivity in the assessment of changes of small amplitude. Bai et al. [5] proposed a new PLZC algorithm that combines the permutation with the Lempel–Ziv complexity. They showed the ability to differentiate clinical conditions in EEG recordings. The PLZC reflects the relationship of signal points (described as motifs) to one another, and the variability of these motifs indicates a change in the signal itself. The changes will be visible in both high and low frequency. However, PLZC is limited to assessing the values for only one temporal scale. This technique fails to account for multiple time scales inherent in biomedical signals. To deal with this limitation, a multiscale approach [10] was used to construct the new procedure of multiscale permutation Lempel–Ziv complexity measure.
MPLZC values for noisy signals are higher than for periodic signals. As the length of the analyzed signal increases, the variability of the results (the standard deviation) decreases. The results were more stable. For both constant and amplitude-modulated chirp signal, the MPLZC values were increased along the windowing signal until the highest values were reached. The transitions between the windows were quite smooth. The analysis showed that there were no significant differences in slow change in amplitude. In the case of a quasi-periodic synthetic signal, the MPLZC values generally increased in successive time windows. For a scale factor of 1, the amount of noise power was not recognizable from the PLZC values because they were saturated. However, given the higher scale factors, the importance of the multiscale concept can be seen. Different noise power levels saturated a different number of temporal scales. For coloured noise, MPLZC was sensitive to signal bandwidth changes with increasing bandwidth. The analysis in AR(1) process showed that a part of the signal with wider spectra has higher values. Mix process showed that values of MPLZC decrease from randomness to periodic oscillations.
By using the MPLZC measure, the EEG signal analysis is focused on the possibility of differentiation of focal from non-focal signals. Lower PLZC values of focal signals suggest that the arrangement of brain EEG signals increases during focal epilepsy. This is consistent with the general hypothesis that reduction in the permutation Lempel–Ziv complexity of biological signals is associated with disease [10]. Moreover, the t-student test has shown that the MPLZC values of focal signals are statistically higher than that of non-focal signals for scales above 1 (s > 1). In this study, nonlinear MPLZC features were extracted from EEG signals. Using 20 MPLZC features, a maximum accuracy of up to 86% was obtained. The published algorithms based on the entropy features for detection of focal signals are summarized in Table 2. Most studies employed various decomposition techniques prior to the extraction of entropy features. Some of them used entropy combination and other nonlinear features to characterize focal and non-focal signals. During the analysis, the measure of LZC was calculated, but it did not show any significant differences in mean values between the groups in any study. The use of a multiscale approach allowed for achieving a satisfactory result.
Related studies have indicated that complexity indexes are powerful in analyzing focal versus non-focal signals within the Bern-Barcelona EEG database (Table 3). The presented results seem to suggest that the main classification method is the support vector machine (SVM). Sharma et al. [19] used various entropy measures, such as Shannon entropy, Renyi’s entropy, approximate entropy, sample entropy, and phase entropy, from the decomposed EEG signals using empirical mode decomposition [19], discrete wavelet transform [18], and the tunable-Q wavelet transform [20]. Their group achieved accuracy of classification at the level of 84%, 87%, and 95%, respectively. Das et al. [39] proposed combined EMD and DWT methods to decompose EEG signals and used entropy measures from the decomposed coefficients, achieving the classification accuracy of 89%. Bhattacharyya et al. [40] adopted multivariate fuzzy entropy of the sub-band signals obtained using TQWT. The proposed method achieves the highest classification accuracy of 84.67%. Acharya et al. [24] presented a literature review on the classification of focal signals and achieved a classification of 87.93% using 23 nonlinear features. Gupta et al. [41] used EMD along with Sharma–Mittal entropy feature computed on Euclidean distance values from K-nearest neighbors (KNN). This new methodology allows for achieving the classification accuracy of 83.18%. The results obtained show a similar accuracy of the classification.
The main highlights of this study are as follows:
  • This is the first study to introduce a new methodology of complex systems analysis;
  • The features obtained from MPLZC analysis allow for distinguishing two classes of EEG signals;
  • We used only one measure, so it can be useful in building a real system supporting identification of a epileptogenic activity in an area of the brain.
In the feature, the proposed solution should be applied with reconstructed source-space data from surface EEG, EMG (electromyography), or EHG (electrohysterography).

Funding

The research was carried out as part of WI/WM-IIB/2/2021 projects and was financed with the funds for research from the Polish Ministry of Science and Higher Education.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. World Health Organization. Available online: https://www.who.int/news-room/fact-sheets/detail/epilepsy (accessed on 1 June 2021).
  2. International League Against Epilepsy. Available online: https://www.ilae.org/guidelines/definition-and-classification (accessed on 1 June 2021).
  3. Andrzejak, R.G.; Schindler, K.; Rummel, C. Nonrandomness, nonlinear dependence, and nonstationarity of electroencephalographic recordings from epilepsy patients. Phys. Rev. E 2012, 86, 046206. [Google Scholar] [CrossRef] [Green Version]
  4. Lempel, A.; Ziv, J. On the complexity of finite sequences. IEEE Trans. Inf. Theory 1976, 22, 75–81. [Google Scholar] [CrossRef]
  5. Bai, Y.; Liang, Z.; Li, X. A permutation Lempel-Ziv complexity measure for EEG analysis. Biomed. Signal Process. Control. 2015, 19, 102–114. [Google Scholar] [CrossRef]
  6. Pincus, S.M. Approximate entropy as a measure of system complexity. Proc. Natl. Acad. Sci. USA 1991, 88, 2297–2301. [Google Scholar] [CrossRef] [Green Version]
  7. Richman, J.S.; Moorman, J.R. Physiological time-series analysis using approximate entropy and sample entropy. Am. J. Physiol. Heart Circ. Physiol. 2000, 278, H2039–H2049. [Google Scholar] [CrossRef] [Green Version]
  8. Chen, W.; Zhuang, J.; Yu, W.; Wang, Z. Measuring complexity using fuzzyen, apen, and sampen. Med. Eng. Phys. 2009, 31, 61–68. [Google Scholar] [CrossRef]
  9. Bandt, C.; Pompe, B. Permutation entropy: A natural complexity measure for time series. Phys. Rev. Lett. 2002, 88, 174102. [Google Scholar] [CrossRef]
  10. Costa, M.; Goldberger, A.L.; Peng, C.-K. Multiscale entropy analysis of complex physiologic time series. Phys. Rev. Lett. 2002, 89, 068102. [Google Scholar] [CrossRef] [Green Version]
  11. Ahmed, M.U.; Mandic, D.P. Multivariate multiscale entropy: A tool for complexity analysis of multichannel data. Phys. Rev. E 2011, 84, 061918. [Google Scholar] [CrossRef] [Green Version]
  12. Ouyang, G.; Dang, C.; Li, X. Complexity analysis of EEG data with multiscale permutation entropy. In Advances in Cognitive Neurodynamics (II); Springer: Berlin/Heidelberg, Germany, 2011; pp. 741–745. [Google Scholar]
  13. Zheng, J.-D.; Chen, M.; Cheng, J.-S.; Yang, Y. Multiscale fuzzy entropy and its application in rolling bearing fault diagnosis. J. Vib. Eng. 2014, 27, 145–151. [Google Scholar]
  14. Marwan, N.; Romano, M.C.; Thiel, M.; Kurths, J. Recurrence plots for the analysis of complex systems. Phys. Rep. 2007, 438, 237–329. [Google Scholar] [CrossRef]
  15. Peng, C.-K.; Buldyrev, S.V.; Havlin, S.; Simons, M.; Stanley, H.E.; Goldberger, A.L. Mosaic organization of DNA nucleotides. Phys. Rev. E 1994, 49, 1685. [Google Scholar] [CrossRef] [Green Version]
  16. Mandelbrot, B.B.; Mandelbrot, B.B. The Fractal Geometry of Nature; WH Freeman: New York, NY, USA, 1982; Volume 1. [Google Scholar]
  17. Gruszczyńska, I.; Mosdorf, R.; Sobaniec, P.; Żochowska-Sobaniec, M.; Borowska, M. Epilepsy identification based on EEG signal using RQA method. Adv. Med. Sci. 2019, 64, 58–64. [Google Scholar] [CrossRef]
  18. Sharma, R.; Pachori, R.B.; Acharya, U.R. An integrated index for the identification of focal electroencephalogram signals using discrete wavelet transform and entropy measures. Entropy 2015, 17, 5218–5240. [Google Scholar] [CrossRef] [Green Version]
  19. Sharma, R.; Pachori, R.B.; Acharya, U.R. Application of entropy measures on intrinsic mode functions for the automated identification of focal electroencephalogram signals. Entropy 2015, 17, 669–691. [Google Scholar] [CrossRef]
  20. Sharma, M.; Dhere, A.; Pachori, R.B.; Acharya, U.R. An automatic detection of focal EEG signals using new class of time–frequency localized orthogonal wavelet filter banks. Knowl. Based Syst. 2017, 118, 217–227. [Google Scholar] [CrossRef]
  21. Chatterjee, S.; Pratiher, S.; Bose, R. Multifractal detrended fluctuation analysis based novel feature extraction technique for automated detection of focal and non-focal electroencephalogram signals. IET Sci. Meas. Technol. 2017, 11, 1014–1021. [Google Scholar] [CrossRef]
  22. Diykh, M.; Abdulla, S.; Saleh, K.; Deo, R.C. Fractal dimension undirected correlation graph-based support vector machine model for identification of focal and non-focal electroencephalography signals. Biomed. Signal Process. Control. 2019, 54, 101611. [Google Scholar] [CrossRef]
  23. Artan, N.S. EEG analysis via multiscale Lempel-Ziv complexity for seizure detection. In Proceedings of the 2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Orlando, FL, USA, 16–20 August 2016; pp. 4535–4538. [Google Scholar]
  24. Acharya, U.R.; Hagiwara, Y.; Deshpande, S.N.; Suren, S.; Koh, J.E.W.; Oh, S.L.; Arunkumar, N.; Ciaccio, E.J.; Lim, C.M. Characterization of focal EEG signals: A review. Future Gener. Comput. Syst. 2019, 91, 290–299. [Google Scholar] [CrossRef]
  25. Abásolo, D.; Hornero, R.; Gómez, C.; García, M.; López, M. Analysis of EEG background activity in Alzheimer’s disease patients with Lempel–Ziv complexity and central tendency measure. Med. Eng. Phys. 2006, 28, 315–322. [Google Scholar] [CrossRef] [Green Version]
  26. Aboy, M.; Hornero, R.; Abásolo, D.; Álvarez, D. Interpretation of the Lempel-Ziv complexity measure in the context of biomedical signal analysis. IEEE Trans. Biomed. Eng. 2006, 53, 2282–2288. [Google Scholar] [CrossRef] [Green Version]
  27. Yakovleva, T.V.; Kutepov, I.E.; Karas, A.Y.; Yakovlev, N.M.; Dobriyan, V.V.; Papkova, I.V.; Zhigalov, M.V.; Saltykova, O.A.; Krysko, A.V.; Yaroshenko, T.Y. EEG Analysis in Structural Focal Epilepsy Using the Methods of Nonlinear Dynamics (Lyapunov Exponents, Lempel–Ziv Complexity, and Multiscale Entropy). Sci. World J. 2020, 2020. [Google Scholar] [CrossRef]
  28. Yeh, C.-H.; Shi, W. Generalized multiscale Lempel–Ziv complexity of cyclic alternating pattern during sleep. Nonlinear Dyn. 2018, 93, 1899–1910. [Google Scholar] [CrossRef]
  29. Pregowska, A.; Proniewska, K.; van Dam, P.; Szczepanski, J. Using Lempel-Ziv complexity as effective classification tool of the sleep-related breathing disorders. Comput. Methods Programs Biomed. 2019, 182, 105052. [Google Scholar] [CrossRef] [PubMed]
  30. Sabeti, M.; Katebi, S.; Boostani, R. Entropy and complexity measures for EEG signal classification of schizophrenic and control participants. Artif. Intell. Med. 2009, 47, 263–274. [Google Scholar] [CrossRef]
  31. Abásolo, D.; James, C.J.; Hornero, R. Non-linear analysis of intracranial electroencephalogram recordings with approximate entropy and Lempel-Ziv complexity for epileptic seizure detection. In Proceedings of the 2007 29th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Lyon, France, 22–26 August 2007; pp. 1953–1956. [Google Scholar]
  32. Ibáñez-Molina, A.J.; Iglesias-Parro, S.; Soriano, M.F.; Aznarte, J.I. Multiscale Lempel–Ziv complexity for EEG measures. Clin. Neurophysiol. 2015, 126, 541–548. [Google Scholar] [CrossRef] [PubMed]
  33. Escudero, J.; Hornero, R.; Abásolo, D. Interpretation of the auto-mutual information rate of decrease in the context of biomedical signal analysis. Application to electroencephalogram recordings. Physiol. Meas. 2009, 30, 187. [Google Scholar] [CrossRef] [PubMed]
  34. Azami, H.; Escudero, J. Improved multiscale permutation entropy for biomedical signal analysis: Interpretation and application to electroencephalogram recordings. Biomed. Signal Process. Control. 2016, 23, 28–41. [Google Scholar] [CrossRef] [Green Version]
  35. Sejdić, E.; Lipsitz, L.A. Necessity of noise in physiology and medicine. Comput. Methods Programs Biomed. 2013, 111, 459–470. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  37. Azar, A.T.; El-Said, S.A. Performance analysis of support vector machines classifiers in breast cancer mammography recognition. Neural Comput. Appl. 2014, 24, 1163–1177. [Google Scholar] [CrossRef]
  38. Yuan, Q.; Cai, C.; Xiao, H.; Liu, X.; Wen, Y. Diagnosis of breast tumours and evaluation of prognostic risk by using machine learning approaches. Adv. Intell. Comput. Theor. Appl. Asp. Contemp. Intell. Comput. Tech. 2007, 1250–1260. [Google Scholar]
  39. Das, A.B.; Bhuiyan, M.I.H. Discrimination and classification of focal and non-focal EEG signals using entropy-based features in the EMD-DWT domain. Biomed. signal Process. Control. 2016, 29, 11–21. [Google Scholar] [CrossRef]
  40. Bhattacharyya, A.; Pachori, R.B.; Acharya, U.R. Tunable-Q wavelet transform based multivariate sub-band fuzzy entropy with application to focal EEG signal analysis. Entropy 2017, 19, 99. [Google Scholar] [CrossRef] [Green Version]
  41. Gupta, V.; Pachori, R.B. A new method for classification of focal and non-focal EEG signals. In Machine Intelligence and Signal Analysis; Springer: Berlin/Heidelberg, Germany, 2019; pp. 235–246. [Google Scholar]
Figure 1. Example of simulated signals: (a) white Gaussian noise; (b) 1/f noise.
Figure 1. Example of simulated signals: (a) white Gaussian noise; (b) 1/f noise.
Entropy 23 00832 g001
Figure 2. Examples of simulated signals: chirp signal with constant amplitude, signal with chirp amplitude modulation of the signal, quasi-periodic signal with additive WGN of diverse power, and coloured Gaussian noise with different bandwidth, spectral content of the colour noise using an autoregressive process of order 1; MIX signal ( 1 z )   x + z y includes a periodic and a stochastic process [34].
Figure 2. Examples of simulated signals: chirp signal with constant amplitude, signal with chirp amplitude modulation of the signal, quasi-periodic signal with additive WGN of diverse power, and coloured Gaussian noise with different bandwidth, spectral content of the colour noise using an autoregressive process of order 1; MIX signal ( 1 z )   x + z y includes a periodic and a stochastic process [34].
Entropy 23 00832 g002
Figure 3. The result of MPLZC analysis for: (a) WGN noise; (b) 1/f noise.
Figure 3. The result of MPLZC analysis for: (a) WGN noise; (b) 1/f noise.
Entropy 23 00832 g003aEntropy 23 00832 g003b
Figure 4. The results of the MPLZC measure on synthetic signals. The relationships between: (a) MPLZC and chirp signal with constant amplitude, (b) MPLZC and amplitude-modulated chirp signal, (c) MPLZC and quasi-periodic signal with increasing additive noise power, (d) MPLZC and a signal including five segments of coloured noise with increasing bandwidth, (e) MPLZC and AR(1) process with variable parameter, and (f) MPLZC and a MIX process which evolves from randomness to periodic oscillations.
Figure 4. The results of the MPLZC measure on synthetic signals. The relationships between: (a) MPLZC and chirp signal with constant amplitude, (b) MPLZC and amplitude-modulated chirp signal, (c) MPLZC and quasi-periodic signal with increasing additive noise power, (d) MPLZC and a signal including five segments of coloured noise with increasing bandwidth, (e) MPLZC and AR(1) process with variable parameter, and (f) MPLZC and a MIX process which evolves from randomness to periodic oscillations.
Entropy 23 00832 g004aEntropy 23 00832 g004b
Figure 5. The example of bivariate signals: (a) focal signal from channel ch1, (b) focal signal from channel ch2, (c) non-focal signal from channel ch1, and (d) non-focal signal from channel ch2.
Figure 5. The example of bivariate signals: (a) focal signal from channel ch1, (b) focal signal from channel ch2, (c) non-focal signal from channel ch1, and (d) non-focal signal from channel ch2.
Entropy 23 00832 g005
Figure 6. MPLZC analysis of EEG signals. The mean values of permutation Lempel–Ziv complexity measures for each group over 20 scales; m = 5.
Figure 6. MPLZC analysis of EEG signals. The mean values of permutation Lempel–Ziv complexity measures for each group over 20 scales; m = 5.
Entropy 23 00832 g006
Figure 7. Results of the MPLZC measure on EEG signals. Relationships between: (a) MPLZC and focal signal from channel ch1, (b) MPLZC and focal signal from channel ch2, (c) MPLZC and non-focal signal from channel ch1, and (d) MPLZC and non-focal signal from channel ch2.
Figure 7. Results of the MPLZC measure on EEG signals. Relationships between: (a) MPLZC and focal signal from channel ch1, (b) MPLZC and focal signal from channel ch2, (c) MPLZC and non-focal signal from channel ch1, and (d) MPLZC and non-focal signal from channel ch2.
Entropy 23 00832 g007
Table 1. The MPLZC results (mean ± standard deviation) of the non-parametric Mann–Whitney U test for 20 scales in studied EEG groups (* p < 0.05).
Table 1. The MPLZC results (mean ± standard deviation) of the non-parametric Mann–Whitney U test for 20 scales in studied EEG groups (* p < 0.05).
MeasuremFocal Group
(Mean ± std)
N = 100
Non-Focal Group
(Mean ± std)
N = 100
p
PLZC_0130.390 ± 0.0390.387 ± 0.0422.23E-01
40.299 ± 0.0280.296 ± 0.0313.22E-01
50.251 ± 0.0260.248 ± 0.0282.65E-01
PLZC_0230.501 ± 0.0460.503 ± 0.0613.09E-02 *
40.385 ± 0.03640.388 ± 0.0461.92E-02 *
50.340 ± 0.0360.344 ± 0.0441.54E-02 *
PLZC_0330.526 ± 0.0460.533 ± 0.0646.96E-03 *
40.404 ± 0.0350.415 ± 0.0493.62E-04 *
50.364 ± 0.0360.375 ± 0.0483.11E-04 *
PLZC_0430.533 ± 0.0460.551 ± 0.0634.80E-05 *
40.413 ± 0.0330.429 ± 0.0482.42E-06 *
50.373 ± 0.0340.393 ± 0.0491.22E-06 *
PLZC_0530.537 ± 0.0440.559 ± 0.0591.69E-06 *
40.418 ± 0.0330.441 ± 0.0455.91E-09 *
50.379 ± 0.0340.406 ± 0.0489.22E-10 *
PLZC_0630.541 ± 0.0410.569 ± 0.0571.90E-08 *
40.424 ± 0.0320.451 ± 0.0441.24E-10 *
50.386 ± 0.0330.418 ± 0.0461.45E-11 *
PLZC_0730.547 ± 0.0390.577 ± 0.0554.26E-10 *
40.429 ± 0.0310.461 ± 0.0442.43E-12 *
50.393 ± 0.0330.431 ± 0.0472.52E-13 *
PLZC_0830.552 ± 0.0410.588 ± 0.0525.36E-11 *
40.434 ± 0.0310.470 ± 0.0412.07E-13 *
50.400 ± 0.0330.441 ± 0.0468.31E-14 *
PLZC_0930.555 ± 0.0390.596 ± 0.0529.69E-12 *
40.441 ± 0.0310.478 ± 0.0407.13E-14 *
50.406 ± 0.0330.453 ± 0.0451.79E-15 *
PLZC_1030.559 ± 0.0420.601 ± 0.0505.07E-12 *
40.447 ± 0.0320.486 ± 0.0391.62E-14 *
50.413 ± 0.0350.463 ± 0.0455.78E-16 *
PLZC_1130.567 ± 0.0420.609 ± 0.0493.83E-12 *
40.452 ± 0.0330.493 ± 0.0392.50E-15 *
50.420 ± 0.0390.472 ± 0.0421.73E-16 *
PLZC_1230.569 ± 0.0400.616 ± 0.0481.05E-14 *
40.456 ± 0.0330.500 ± 0.0361.06E-16 *
50.424 ± 0.0380.482 ± 0.0408.91E-19 *
PLZC_1330.576 ± 0.0420.621 ± 0.0491.90E-12 *
40.464 ± 0.0350.507 ± 0.0375.55E-15 *
50.432 ± 0.0400.488 ± 0.0431.04E-17 *
PLZC_1430.579 ± 0.0410.629 ± 0.0503.84E-15 *
40.470 ± 0.0340.514 ± 0.0362.92E-16 *
50.438 ± 0.0400.498 ± 0.0412.23E-18 *
PLZC_1530.585 ± 0.0420.631 ± 0.0476.95E-14 *
40.473 ± 0.0350.518 ± 0.0359.75E-16 *
50.445 ± 0.0420.506 ± 0.0411.05E-18 *
PLZC_1630.591 ± 0.0420.634 ± 0.0473.78E-13 *
40.479 ± 0.0360.523 ± 0.0361.12E-15 *
50.451 ± 0.0410.512 ± 0.0394.04E-19 *
PLZC_1730.596 ± 0.0400.641 ± 0.0451.31E-13 *
40.485 ± 0.0370.528 ± 0.0343.60E-14 *
50.457 ± 0.0410.515 ± 0.0406.80E-18 *
PLZC_1830.600 ± 0.0430.645 ± 0.0464.02E-12 *
40.490 ± 0.0350.533 ± 0.0357.88E-15 *
50.463 ± 0.0420.522 ± 0.0401.36E-17 *
PLZC_1930.607 ± 0.0410.651 ± 0.0431.47E-13 *
40.493 ± 0.0340.537 ± 0.0323.95E-17 *
50.467 ± 0.0410.526 ± 0.0388.48E-19 *
PLZC_2030.610 ± 0.0430.651 ± 0.0438.29E-12 *
40.497 ± 0.0350.540 ± 0.0342.67E-16 *
50.472 ± 0.0410.528 ± 0.0383.74E-18 *
Table 2. Performance of the LS-SVM classifier.
Table 2. Performance of the LS-SVM classifier.
mACC
(±Confidence Intervals)
SENSPF
MPLZC30.82 (8%)0.810.84
40.85 (4%)0.850.84
50.86 (5%)0.880.83
Table 3. The comparison of studies performed on the Bern-Barcelona database for focal and non-focal classification.
Table 3. The comparison of studies performed on the Bern-Barcelona database for focal and non-focal classification.
Authors (Years)Number of SignalsTechniques ProposedK-FoldAccuracy
Sharma et al. (2015) [19]50EMD, entropy, LS-SVMYes87
Sharma et al. (2015) [18]50DWT, entropy, Student t-test, LS-SVMYes84
Sharma et al. (2017) [20]3750WFB, entropy, Student t-test, LS-SVMYes94.25
Bhattacharyya et al. (2017) [40]3750TQWT, entropy, LS-SVMYes84.67
Acharya et al. (2019) [24]375023 features, p-value, LS-SVMYes87.93
Gupta et al. (2019) [41]3750EMD, KNN entropy features, LS-SVMYes83.18
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Borowska, M. Multiscale Permutation Lempel–Ziv Complexity Measure for Biomedical Signal Analysis: Interpretation and Application to Focal EEG Signals. Entropy 2021, 23, 832. https://0-doi-org.brum.beds.ac.uk/10.3390/e23070832

AMA Style

Borowska M. Multiscale Permutation Lempel–Ziv Complexity Measure for Biomedical Signal Analysis: Interpretation and Application to Focal EEG Signals. Entropy. 2021; 23(7):832. https://0-doi-org.brum.beds.ac.uk/10.3390/e23070832

Chicago/Turabian Style

Borowska, Marta. 2021. "Multiscale Permutation Lempel–Ziv Complexity Measure for Biomedical Signal Analysis: Interpretation and Application to Focal EEG Signals" Entropy 23, no. 7: 832. https://0-doi-org.brum.beds.ac.uk/10.3390/e23070832

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop