Abstract
The visual interpretation of intracranial EEG (iEEG) is the standard method used in complex epilepsy surgery cases to map the regions of seizure onset targeted for resection. Still, visual iEEG analysis is labor-intensive and biased due to interpreter dependency. Multivariate parametric functional connectivity measures using adaptive autoregressive (AR) modeling of the iEEG signals based on the Kalman filter algorithm have been used successfully to localize the electrographic seizure onsets. Due to their high computational cost, these methods have been applied to a limited number of iEEG time-series (<60). The aim of this study was to test two Kalman filter implementations, a well-known multivariate adaptive AR model (Arnold et al. 1998) and a simplified, computationally efficient derivation of it, for their potential application to connectivity analysis of high-dimensional (up to 192 channels) iEEG data. When used on simulated seizures together with a multivariate connectivity estimator, the partial directed coherence, the two AR models were compared for their ability to reconstitute the designed seizure signal connections from noisy data. Next, focal seizures from iEEG recordings (73–113 channels) in three patients rendered seizure-free after surgery were mapped with the outdegree, a graph-theory index of outward directed connectivity. Simulation results indicated high levels of mapping accuracy for the two models in the presence of low-to-moderate noise cross-correlation. Accordingly, both AR models correctly mapped the real seizure onset to the resection volume. This study supports the possibility of conducting fully data-driven multivariate connectivity estimations on high-dimensional iEEG datasets using the Kalman filter approach.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
For patients with focal epilepsy resistant to medical therapy, epilepsy surgery can lead to a life free of seizures. In planning for resection, one must correctly identify the brain region(s) where seizures arise (Rosenow and Lüders 2001). To this end, a presurgical evaluation routine is applied, initially consisting of noninvasive studies (structural MRI, scalp EEG, and functional neuroimaging studies). In complex surgical cases, these noninvasive studies inform where electrodes are placed on the cortex or inside the brain parenchyma to record intracranial EEG (iEEG). Despite the use of visual iEEG analysis, the current gold standard for mapping the seizure onset, only 33–68 % of the patients undergoing resective surgery become seizure-free (Bulacio et al. 2012; Carrette et al. 2010). For the rest, approximately half of the poor seizure outcomes are thought to be due to incorrect preoperative seizure-onset localization (Bulacio et al. 2012).
A growing body of research has applied quantitative methods studying connectivity among brain regions in order to complement the standard iEEG analysis of epileptic activity (Andrzejak et al. 2015; van Mierlo et al. 2014). These efforts have contributed to a better understanding of epilepsy as a network-based disorder (Wilke et al. 2011; Yaffe et al. 2015), and have driven new research fields such as virtual epilepsy surgery (Sinha et al. 2014). Methods based on functional connectivity model the statistical dependencies among time-series in the time or frequency domain into spatially resolved connectivity matrices. If analyzed over time to characterize seizures, these matrices reflect the dynamic interactions among the iEEG time-series during the course of the seizure, and are used to derive network graphs mapping the seizure onset and propagation. Among an extensive array of functional connectivity measures, multivariate, linear, frequency-domain measures based on the concept of Granger causality (Granger 1969) have shown promising results in localizing the regions of seizure onset (Korzeniewska et al. 2014; van Mierlo et al. 2011, 2013; Varotto et al. 2010, 2012; Wilke et al. 2008, 2010, 2011). Briefly, it is said that one time-series Granger-causes a second if its past values help predict the second better than the past values of the second alone. Accordingly, Granger-causality measures use autoregressive (AR) models to denoise and parametrize the iEEG ‘seizure signal’ with a set of AR coefficients encoding the linear contribution of its recent past (Schlögl 2000).
To address signal nonstationarities in the time domain typical of seizures, two basic AR modeling approaches have been used. In the segmentation approach, the iEEG data is divided in short windows of relative signal stationarity shifting in time, and the AR coefficients are estimated for each segment (Ding et al. 2000; Korzeniewska et al. 2014; Wilke et al. 2010, 2011). In an alternative approach, AR coefficients are allowed to vary in time and can be estimated adaptively (Wilke et al. 2008, 2009). Among several adaptive AR algorithms tested, linear random-walk models based on Kalman filter (Kalman 1960; Kalman and Bucy 1961) have performed well when analyzed with model error and adaptation speed criteria (Arnold et al. 1998; Schlögl 2000), and have been used successfully to map the regions of seizure activity (van Mierlo et al. 2011, 2013; Wilke et al. 2008).
The application of the Kalman-filter AR models to high-dimensional data requires a significant computational effort (Arnold et al. 1998; Blinowska 2011). As a result, these models have been applied thus far to a limited number of iEEG channels/time-series (up to 60, Toppi et al. 2012), often handpicked based on preferential involvement in the process under study (‘signal-enriched’ channels) or other data reduction criteria (Milde et al. 2010). This approach suffers from a hidden-source problem since multivariate connectivity methods assume that all relevant signals are analyzed (Schlögl and Supp 2006). Moreover, data reduction amplifies the inherent limitation of iEEG recordings in sampling cerebral activity when used for mapping certain neurophysiological events. For example, seizure-onset localization by iEEG requires at times an extensive implantation of hundreds of intracranial electrode contacts due to the narrow, near-field view of intracranial recordings.
The aim of this study is to evaluate a well-published multivariate adaptive AR model based on Kalman filter (Arnold et al. 1998), and a computationally efficient AR model derived from it, for their potential application to high-dimensional (up to 192) time-series. The two AR models differ in how they account for the measurement or observational noise that may contaminate the recordings. This paper is organized as follows: (1) The theoretical framework of the two models is exposed. (2) The AR coefficients resulting from the application of each model to simulated seizures are used to estimate the underlying connectivity structures in the presences of various degrees of correlated noise. Thereby, the relative performance of the two models in characterizing the ground-truth seizure networks is evaluated. (3) The onset of iEEG seizures recorded in three surgical patients is identified by mapping the time-variant connections based on the two AR models. The resulting seizure-onset estimates are compared based on colocalization with the resection volume, and the correlation of the dynamic connectivity maps based on the two models is determined. Next, the effect of AR modeling of lower- and higher-density seizure datasets is analyzed. (4) The computational cost of the two models is evaluated. (5) Finally, the results and significance of the Kalman filter approach herein are discussed.
Materials and Methods
Autoregressive Modeling
In its scalar form, an AR model of order p is given by.
where y(n) is the nth observation of a signal or time-series, \(a_{1} \ldots a_{p}\) are AR coefficients specifying the linear contribution of the previous p signal observations, and e(n) is assumed a series of independent, normally distributed variables uncorrelated over time (zero autocorrelation at lag \(i, i > 0\)), with zero mean and variance \(\sigma^{2}\)(i.d. \(\sim N(0,\sigma^{2} )\). In effect, e(n) is a white-noise process reflecting the uncertainty in predicting the signal of interest recursively (prediction error).
For a multivariate time-series, the vector representation of a time-variant AR process is.
where \({\mathbf{y}}(n) = \left( {y_{1} (n), y_{2} (n) \ldots y_{s} (n)} \right)^{T}\) for s signals/channels, A k is the s × s coefficient matrix at delay k, and \({\mathbf{e}}\left( n \right) = \left( {e_{1} \left( n \right), e_{2} \left( n \right) \ldots e_{s} \left( n \right)} \right)^{T}\).
The application of the Kalman algorithm to estimate the AR coefficients makes use of the state-space model of the AR process, which consists of a system or state equation,
and an observation or measurement equation,
Equation (3) relates the state vector x(n) of AR coefficients,
to the state at time n + 1 by defining the state transition matrix, F(n + 1, n), and the system white-noise process v 1(n) = N(0, Q 1(n)). In Eq. (4), H(n) is called the measurement matrix, and relates the current system state to the current observation of the system. H(n) contains the past system observations Y(n) = (y T(n − 1), y T(n − 2)…y T(n − p)):
where \(\otimes\) denotes the Kronecker product of matrices. v 2(n) represents the measurement noise, v 2(n) = N(0, Q 2(n)).
The state vector x(n) can be estimated using the Kalman recursion. Modeling state transitions as a white-noise process (random walk) with a diagonal system noise covariance matrix Q 1(n) leads to a simplified representation of the Kalman filter equations:
Here, \({\hat{\text{x}}}\) denotes the estimate of the true system state x, R(n) = E[e(n)e T(n)] is the one-step prediction error covariance matrix, K(n, n) is the a posteriori (filtered) state error covariance matrix, and G(n) is the Kalman gain matrix, which in effect weighs the information in the measurements against the a priori knowledge of the system state.
When applying the Kalman algorithm to real data, the structure and update processes of the Q 1 and Q 2 covariance matrices are not known. Previous work has evaluated various Q 1 and Q 2 estimates under different noise statistics assumptions (Kasess 2002; Schlögl 2000). Here, we define the AR model m1 by the following two noise covariance equations:
where L = s 2 × p, and.
UC is the update coefficient (0 < UC < 1) encoding the speed of adaptation of the AR model. The m1 model (Arnold et al. 1998) was shown to generate reliable estimates for various time-series data types and suggested to perform better than several adaptive and segmentation-based AR models. m1 performance was robust when compared with several Kalman-filter implementations using alternative Q 1 and Q 2 formulations (Kasess 2002). In addition, several successful applications of m1 in modeling seizure propagation have been reported (van Mierlo et al. 2011, 2013; Wilke et al. 2008).
In the multivariate case, a more stringent assumption is that the measurement noise is instantaneously uncorrelated across time-series (Kasess 2002). That is, for i, j time-series, the zero-lag measurement-noise cross-correlation corr i,j (n, 0) = E(v 2i (n)v 2j (n)) and its normalization with the zero-lag auto-correlation values for i, j (Z i,j (n, 0)) are negligible:
In this case, off-diagonal elements of Q 2(n) can be ignored, and the measurement noise update equation becomes.
Here, Eqs. (8), (11) define the AR model m2. Since Q 2(n) is diagonal,
and the initial values of the state error covariance matrix K are assumed to be diagonal or block diagonal,
Kalman equations can be separated into i = 1…s distinct Kalman filters:
As such, model m2 offers significant computational advantages, in part due to matrix size operations reduced by the order of s. At the same time, it is expected that m1 models highly correlated time-series more accurately.
Time-Variant Functional Connectivity
In order to evaluate the causal information flow between time-series, the signal represented by the AR coefficients can be used to derive Granger-causality measures of connectivity. To estimate functional connections in the frequency-domain, the Fourier transform of AR coefficients is first applied, as follows:
where
e f , y f and A f are spectral transforms of the residuals, measured signal and AR coefficient matrices, respectively, and A 0(n) is the s × s identity matrix.
Within the class of frequency-based connectivity measures, the partial directed coherence (PDC, Baccala and Sameshima 2001) has been extensively used to model causal information flow in multivariate time-series. Both time-invariant and adaptive PDC representations have been applied to EEG-recorded seizures in order to characterize the seizures-onset regions and map the epileptic networks (Moeller et al. 2013; Omidvarnia et al. 2011; Varotto et al. 2010, 2012). PDC estimates the direct connections between time-series and their generators from indirect, or cascade, flows, within a functional network (Astolfi et al. 2008; Baccala and Sameshima 2001; Blinowska 2011). These connections are also directed, expressing the information flow between channels in source-sink terms. The adaptive PDC formulation used here estimates the spectral information from channel j to channel \(i,\) as follows:
where S j denotes the power-spectral density of channel j (Plomp et al. 2014). iAWPDC represents the spectrally-weighted squared PDC, which emphasizes the information flow at spectral peaks within a frequency band of interest (f 1:f 2). iAWPDC has been applied recently to EEG data from surgical epilepsy patients and generated robust connectivity estimates when compared with other PDC formulations (Plomp et al. 2014, 2015). Here, iAWPDC is used to evaluate the ability of m1 and m2 to model simulated iEEG seizures in the presence of noise with various cross-correlation structures.
Simulations
30-sec, 10-channel seizure epochs were generated at a sampling frequency of 250 Hz. Each epoch consisted of baseline or background activity modeled as 1/f multivariate random noise, and a seizure signal modeled as a sinusoid with a frequency evolving from 12 Hz at the seizure onset to 8 Hz at the seizure end (van Mierlo et al. 2011). The seizure began after a 10-sec preseizure baseline, and propagated successively from one channel to a maximum of three other channels chosen randomly for a total of 6 ‘ictal’ channels, after a delay between channels varying from 4 to 16 ms and a sample or phase delay of 4–12 ms. The sinusoid signal was added to the background noise at a signal-to-noise ratio (SNR) of −5, 0, or 5 dB. SNR was defined as.
An example of a simulated seizure and its corresponding network graph is shown in Fig. 1.
Several measurement-noise correlation structures were used to generate random, fully correlated, and focally correlated noise types. To this end, the noise covariance matrix entries for the (i, j) channel pairs were controlled using the normalized cross-correlation index Z i,j . Random noise allowed only momentary instantaneous (zero-lag) correlations among times-series, thereby it was decorrelated over time (expected \(\mathop \sum \limits_{{n_{1} }}^{{n_{t} }} Z_{ij} (n,0) = 0\) for all i, j pairs and t observations). Fully correlated noise, i.e. identical noise time-series, was obtained by setting Z i,j (n, 0) to 1 for all (i, j) at each time point. Focally correlated noise was generated by setting Z i,j (n, 0) to 1 for three and five channel pairs (i, j) at all t time points, corresponding to instances when up to half of all channels/time-series are fully cross-correlated over time. These limit noise structures allow a ‘stress test’ of the ability of the m1 and m2 models to estimate the seizure signal connections encoded by the AR coefficients and iAWPDC, and by extension, the direct connections characterizing the seizure network.
Combining various SNR values and noise types resulted in 12 seizure epoch groups, each consisting of 50 individual seizure epochs. Within a group, each epoch was characterized by a unique noise time-series created with a random number generator. In addition, seizure epochs grouped based on focally correlated noise contained distinct channel-pair combinations with identical noise time-series chosen randomly from the range of possible spatial configurations of such combinations within the seizure connectivity matrix.
AR Model Evaluation Based on Simulations
The functional connectivity profiles of the seizures in each of the 12 seizure groups were estimated with the m1 and m2 AR models in combination with iAWPDC. Each iEEG time-series was z-scored by subtracting its mean and dividing by standard deviation. m1 and m2 were applied using a model order p of 5, and an update coefficient UC of 10−4 selected by minimizing a model error index (REV, Schlögl 2000). iAWPDC values were calculated for a frequency window ranging from 2 to 50 Hz with a frequency resolution of 0.3 Hz. The analysis resulted in 24 connectivity data groups containing m1- and m2-derived connectivity matrices.
Next, these matrices were thresholded in order to separate significant connections from noise and recover the functional networks of interest. Selecting the optimal threshold is problematic when analyzing real data of unknown structure (Wang et al. 2014). With simulated data, the designed signal connections (Fig. 1b) constitute the ground truth against which various connectivity estimates can be evaluated and compared. Here, for each seizure, the network imposed by the propagated seizure signal served as the ground truth. In turn, this was used to calculate the number of true/false-positive and true/false-negative direct connections present in the m1- and m2-based connectivity matrices as a function of threshold. A receiver operating characteristic (ROC) curve was built for each connectivity matrix by varying the applied threshold from 0 to 1 in 0.01 steps, and the corresponding area under the curve (AUC) was calculated. The larger the AUC, the better an AR model was considered in identifying the underlying connectivity structure of the simulated seizure. Here, AUC values were adjusted so that AUC = 1 in case a threshold existed for which a model fully identified the ground-truth network of a simulated seizure (Wang et al. 2014). To assess the relative performance of the m1 and m2 AR models, the mean AUC values were first compared among connectivity data groups with repeated-measures analysis of variance (rANOVA). Between-group comparisons were then performed by applying the Tukey–Kramer correction for multiple testing at a significance level of 0.05.
Real Data
Individual iEEG seizures were analyzed from three patients who had undergone intracranial monitoring followed by curative epilepsy surgery (tailored resections) at the University of Texas Health Science Center at San Antonio (Table 1).
iEEG was recorded with subdural grids and strips (± depth electrodes) at a 500-Hz sampling frequency. The implantation scheme (patient 1) is depicted for illustration in Fig. 2.
For analysis, seizure epochs consisted of 10-sec preseizure and 30-sec seizure segments identified by visual inspection of a clinical electroencephalographer. For each seizure, two iEEG datasets were generated to examine whether using a large number of unselected channels in multivariate connectivity analyses of the seizure networks is feasible. First, a dataset comprised the 50 channels with the most prominent involvement in the electrographic seizure discharge based on visual analysis of the tracings. This reduced dataset was presumed to contain the seizure signal at a relatively high SNR. Second, a dataset consisting of all recorded time-series was selected. Next, the m1 and m2 AR models were applied to the z-scored 50-channel dataset. The full channel set was analyzed with the m2 model exclusively, because the memory cost associated with m1 application would be prohibitive (see Computational cost section below). The AR parameters (\(p, UC\)) used to calculate iAWPDC estimates were selected for each dataset to minimize the model error (Schlögl 2000). iAWPDC values calculated for the reduced and full seizure datasets were then thresholded at the 95 % percentile of a range of iAWPDC values modeling the corresponding channel subsets of carefully chosen baseline iEEG segments of 55-70-sec duration (van Mierlo et al. 2011, 2013). This study was approved by the local institutional ethics research board.
AR Model Evaluation Based on Real Data
While there is no ground-truth network graph for real datasets, in the case of seizures, the ability of a functional connectivity method to identify the channels driving the seizure, i.e. map the seizure onset, can inform of the method’s ability to estimate correctly the causal information flow among time-series. As such, localizing the onset of a seizure to the resection volume in a patient free of seizures after surgery is supportive of a method’s mapping accuracy.
In this study, the number of outgoing direct connections weighted based on the matrix of thresholded iAWPDC values from a channel or node to all other nodes was calculated at each time point, in order to estimate the prominence of that node within the seizure network. This number represents the outdegree, a time-dependent graph theoretical measure expressed as.
where \(C_{kj} (n) = 1\) if iAPDC kj (n) is at or above the threshold applied, and C kj (n) = 0 otherwise (van Mierlo et al. 2013). Next, the resection volume was reconstructed as in Lie et al. (2015), and the electrode channels colocalizing with the resection were determined.
The ability to identify the seizure onsets by connectivity analysis was probed by superimposing maps of the outdegree values calculated over time and the contacts within the resection volume. In addition, the dynamic correlation between the outdegree-over-time maps resulting from the application of the m1 and m2 models (50-channel dataset), and between the restricted and full datasets processed with m2, were estimated with the Pearson correlation coefficient. Briefly, a sliding time-window approach was used, with step/window lengths of 0.002 s/0.002 s (one time sample) and 0.25 s/0.5 s (Leonardi and Van De Ville 2015). For each time window, mean channel-specific outdegree values were ranked, transformed to normal scores and compared between datasets with the Pearson correlation coefficient (Bishara and Hittner 2012).
Computational Cost
The memory and time costs of modeling times-series with m1 and m2 using graphics processing unit (GPU)-optimized code in MATLAB were estimated on 1-sec iEEG epochs of progressively larger datasets (16–192 channels) on a workstation PC with an 8-core Intel Xeon Processor E5-2667 v3 and a NVIDIA Quadro K6000 GPU with 12 GB memory.
Results
Simulated Data
The relative performance of the m1 and m2 AR models when estimating direct connectedness in simulated networks with known structures was assessed using a workflow exemplified in Fig. 3.
In addition to the SNR used, seizure simulations differed based on their noise structure. The mean (standard deviation, stdev) values of the correlation index \(Z\) were 0.002 (0.01) for the pooled random noise structures, 0.06 (0.01) and 0.22 (0.02) for the focally correlated noise (three and five channel pairs, respectively), and 1(0) for the fully correlated noise. rANOVA of the AUC values resulting from ROC analyses used the AR model type as within-subject factor (Fig. 4). Statistically significant differences between the m1 and m2 model performance were obtained for the noise type used, \(F(3,588) = 184.62, p_{value} < 0.001\), and for a combined SNR-noise variable, \(F(11,588) = 54.55, p_{value} < 0.001\). In the latter case, between-group comparisons disclosed small, yet statistically significant differences between m1- and m2-derived mean AUC values for seizure groups containing fully correlated noise (Fig. 4).
Real Data
The seizure onsets were mapped by estimating the dynamic changes in the strength of direct functional connections encoded by the outdegree, for channel datasets processed with m1 (50-channel set only) and m2 in conjunction with iAWPDC. The channels driving the functional connectivity outflow during the course of the seizures colocalized with the reconstructed resection volume for both m1 and m2 model analyses and the reduced and full datasets for all seizures analyzed. Patient 1, 2 and 3 data are displayed in Fig. 5, Online Resource 1 and 3, respectively.
Next, the correlation over time between outdegree estimates based on the two AR models (50-channel data) and for the restricted and full channel datasets (m2) was calculated. Outdegree value ranks were highly, if variably, correlated over time, whether results from the two AR model analyses (50 channels) or m2-processed reduced and full channel data were compared (Fig. 6, and Online Resource 2 and 4).
Computational Cost
The Kalman filter-based analysis is computationally expensive due to a rather large number of iterations, matrix operations, and matrix sizes. The current GPU code implementation of the m1 AR model is inspired by functions from the BioSig library (Vidaurre et al. 2011) and aims to reduce the run time of such analysis. m2 code replaces large 2D matrices with 3D arrays that shift the inputs of the s Kalman filters Eq. (14) to the 3rd dimension, thereby reducing the size of filter-specific matrix operations (multiplication and inversion).
The memory cost of GPU-based operations is often limiting given the relatively small GPU memory sizes (≤ 24 GB) of currently available units. In the case of m1, the memory cost per iteration is O(s 4 × p 2), representing the size of the state error covariance matrix K (linear fit f(x) = 1.01s 4 p 2 + 17.97, root-mean-square error 3.37), whereas for m2 it is O(s 3 × p 2) (f(x) = 1.01s 3 p 2 + 14.93, root-mean-square error 0.61). Table 2 lists the empirical memory and time costs attained when processing 1-sec iEEG segments with the m1 and m2 models using two model order values spanning a range commonly used in the literature:
At this time, up to 100-channel time-series can be modeled with m1 (at low model order values). m2 accommodates high-density recordings of up to 192 channels, and is comparatively more time efficient (> 100 fold faster at high channel numbers). The connectivity analysis of a 30-sec seizure simulated in 192 electrodes at 250 Hz and processed with m2 (p = 5) over a frequency band of 2:50 Hz took 30 min to complete and was able to reconstitute the true network structure represented by designed signal matrix (Online Resource 5).
Discussion
This study demonstrates that adaptive, multivariate functional-connectivity analyses can be conducted on high-dimensional time-series using Kalman filter-based AR models. These models are advantageous when applied to iEEG data, in that they allow the estimation of observational or measurement noise in the recordings and can accommodate signal nonstationarities (Sommerlade et al. 2012) without requiring data partition into epochs of quasi-stationarity. Unlike segmentation-based approaches (Wilke et al. 2010, 2011) however, Kalman-filter based models have been applied until now to a small number of iEEG channels/time-series (up to 60, Toppi et al. 2012), due to their significant computational effort (Arnold et al. 1998; Blinowska 2011). Here, GPU-accelerated implementations of m1, a well-studied random-walk vector AR model introduced by Arnold et al. (1998), and m2, a computationally efficient sequential derivation of m1, were developed and used to process up to 100 and 192 time-series, respectively. Since this range applies to electrode numbers used in many complex iEEG evaluations in epilepsy surgery candidates, results support the possibility of routine large-scale, fully data-driven and quasi-automated multivariate functional-connectivity analyses of seizure dynamics. The current approach ameliorates the hidden-source problem of iEEG recordings, obviating the hitherto need for time-series preselection before high-dimensional adaptive connectivity calculations are conducted (Milde et al. 2010). A more granular iEEG connectivity estimation may also facilitate cross-modality comparisons, especially when large-scale global connectivity studies using dense-array (scalp) EEG, magnetoencephalography, resting-state functional MRI, or diffusion-weighted imaging are planned. In addition, high-dimensional Kalman-based modeling has general applicability to data acquired with imaging techniques other than iEEG (Molenaar et al. 2016). These are all avenues to advance the view on how epileptic networks operate (Stufflebeam et al. 2011; van Dellen et al. 2009).
Whether including all available iEEG data for seizure-onset localization is beneficial in all cases needs further exploration. In practice, the number and location of electrode implants is determined based on more or less accurate localization hypotheses drawn noninvasively, and eloquent (i.e. functionally relevant) cortex mapping needs. In addition, long-range functional changes at the scale of the fully sampled space have been noted during the seizures in both iEEG (Jiménez-Jiménez et al. 2015) and functional MRI (Englot et al. 2009) recordings. These changes may not reflect the seizure discharge proper or affect the seizure outcome after resective surgery (Jiménez-Jiménez et al. 2015) but may contribute significant connections in an analysis including a larger number of sampling contacts.
While such analysis may, in some cases, add ‘noise’ to localization estimates, it is independent of an often biased and laborious visual iEEG interpretation, in contrast to data preselection approaches. High-dimensional connectivity estimations may also change the relative connection weights for ‘signal-enriched’ time-series that would usually be preselected. As Fig. 6, Online Resource 2 and 4 show, the time-variant ranking of the outdegree values for several channels common to the reduced (50) and full channel sets changed as a result of the number of channels analyzed, leading to a variable, if overall high, degree of correlation between the analyses of the two datasets. Future studies including patients rendered seizure-free by surgery and those with continued seizures despite undergoing resection will expand our understanding of the relative localization accuracy of high-density connectivity analysis.
Here, a computationally efficient method based on thresholds determined on a preseizure baseline was used (van Mierlo et al. 2011, 2013). Of the more computationally demanding surrogate statistics alternatives (Florin et al. 2011; He et al. 2011), thresholding based on random permutations uses a large number of AR model repetitions or runs to generate the distribution of a connectivity measure (e.g. iAWPDC) under the null hypothesis. Since an individual run is processed efficiently on the GPU of a workstation PC with the present AR model coding strategy, the significant workload imposed by random permutations can be handled by the parallel distribution of runs to individual GPUs on a GPU supercomputer with fairly straightforward code adaptations. These thresholding techniques, and analytical approaches when available, merit further evaluation in simulation and real seizure studies.
Previously unreported, the analysis of simulated data suggests that the m1 AR model performs best in the presence of decorrelated noise. The m1 and m2 model accuracy decreases as the degree of noise correlation increases, with further modest reductions in m2 performance when the simulated noise is highly and globally cross-correlated (Fig. 4). Checking and correcting for correlated noise in real EEG recordings is problematic, because the artefactual and biological noise sources are difficult to separate, the boundaries between the seizure proper and seizure-related ictal electrographic changes are uncertain, and the presence of epileptiform patterns during baseline and volume conduction is confounding. One gross approximation of the ictal noise cross-correlation is to calculate the mean Z index on a baseline recording as done herein, assuming that the seizure epoch consists of a ‘seizure signal’ linearly added to noise with a correlation structure similar to that of the baseline used. A low Z value may increase the confidence in the estimated connectivity maps. Another approach is to compare the connectivity estimates for serial seizures in the same patient, among which the measurement noise correlation may vary. Since repeated seizures in individual patients often produce rather similar iEEG signals, they may be seen as realizations of the same stochastic process (Jouny et al. 2007; Korzeniewska et al. 2014). Finding conserved spatial motifs for the direct connections characterizing each of these seizures may improve seizure-onset mapping accuracy of the methods analyzed in this study. In addition, noise reduction techniques can be used to account for highly correlated noise. These include processing the raw recordings with methods such as independent-component analysis prior to the AR modeling step (Mullen et al. 2011), and excluding the frequency bands (main and harmonics) corresponding to the peak power of the line noise when conducting broadband frequency-domain connectivity estimations (Korzeniewska et al. 2014).
Future Directions
Several lines of research may be pursued to evaluate high-dimensional connectivity methods based on Kalman filtering in the context of epilepsy surgery. First, future simulation studies are needed to compare the performance of the linear AR models herein (m1, m2) with extended Kalman-filter methods (Omidvarnia et al. 2011; Sommerlade et al. 2012) in conjunction with a broader range of direct (Baccalá et al. 2013; Korzeniewska et al. 2003) and indirect (van Mierlo et al. 2011, 2013) adaptive multivariate connectivity measures. Such tests can be conducted within a systematic framework using generative linear and nonlinear models, and various system and measurement noise types and frequency bands of interest (Wang et al. 2014). Second, comparative real-data studies of the degree of overlap between the estimated seizure networks, interictal epileptic and resting-state networks, and those revealed by controlled interventions such as cortico-cortical evoked potentials (Enatsu et al. 2012) may help better understand the process of ictal propagation in epilepsy. Third, any localization estimates based on dynamic functional connectivity need validation against seizure-altering treatments targeting network nodes focally. Colocalization of the seizure connectivity maps (here; van Mierlo et al. 2013) or virtual resections derived from connectivity data (Sinha et al. 2014) with the actual resection volume reconstructions or electrode contacts used for electrical stimulation therapy (Morrell et al. 2011), can help validate a particular connectivity approach when considering the postoperative (or post-stimulation) seizure control in individual patients (Brodbeck et al. 2011).
Steps such as these will help assess the potential for integration of high-density connectivity analysis methods based on Kalman filtering into the formal presurgical evaluation of epilepsy surgery candidates.
References
Andrzejak RG, David O, Gnatkovsky V et al (2015) Localization of epileptogenic zone on pre-surgical intracranial EEG recordings: toward a validation of quantitative signal analysis approaches. Brain Topogr 28:832–837
Arnold M, Miltner WH, Witte H, Bauer R, Braun C (1998) Adaptive AR modeling of nonstationary time series by means of Kalman filtering. IEEE Trans Biomed Eng 45:553–562
Astolfi L, Cincotti F, Mattia D et al (2008) Tracking the time-varying cortical connectivity patterns by adaptive multivariate estimators. IEEE Trans Biomed Eng 55:902–913
Baccalá LA, Sameshima K (2001) Partial directed coherence: a new concept in neural structure determination. Biol Cybern 84:463–474
Baccalá LA, de Brito CS, Takahashi DY, Sameshima K (2013) Unified asymptotic theory for all partial directed coherence forms. Philos Trans A Math Phys Eng Sci 371:20120158
Bishara AJ, Hittner JB (2012) Testing the significance of a correlation with nonnormal data: comparison of pearson, spearman, transformation, and resampling approaches. Psychol Methods 17:399–417
Blinowska KJ (2011) Review of the methods of determination of directed connectivity from multichannel data. Med Biol Eng Comput 49:521–529
Brodbeck V, Spinelli L, Lascano AM et al (2011) Electroencephalographic source imaging: a prospective study of 152 operated epileptic patients. Brain 134:2887–2897
Bulacio JC, Jehi L, Wong C et al (2012) Long-term seizure outcome after resective surgery in patients evaluated with intracranial electrodes. Epilepsia 53:1722–1730
Carrette E, Vonck K, De Herdt V et al (2010) Predictive factors for outcome of invasive video-EEG monitoring and subsequent resective surgery in patients with refractory epilepsy. Clin Neurol Neurosurg 112:118–126
Ding M, Bressler SL, Yang W, Liang H (2000) Short-window spectral analysis of cortical event-related potentials by adaptive multivariate autoregressive modeling: data preprocessing, model validation, and variability assessment. Biol Cybern 83:35–45
Enatsu R, Jin K, Elwan S, Kubota Y et al (2012) Correlations between ictal propagation and response to electrical cortical stimulation: a cortico-cortical evoked potential study. Epilepsy Res 101:76–87
Englot DJ, Modi B, Mishra AM, DeSalvo M, Hyder F, Blumenfeld H (2009) Cortical deactivation induced by subcortical network dysfunction in limbic seizures. J Neurosci 29:13006–13018
Florin E, Gross J, Pfeifer J, Fink GR, Timmermann L (2011) Reliability of multivariate causality measures for neural data. J Neurosci Methods 198:344–358
Granger CWJ (1969) Investigating causal relations by econometric models and crossspectral methods. Econometrica 37:424–438
He B, Dai Y, Astolfi L, Babiloni F, Yuan H, Yang L (2011) eConnectome: a MATLAB toolbox for mapping and imaging of brain functional connectivity. J Neurosci Methods 195:261–269
Jiménez-Jiménez D, Nekkare R, Flores L et al (2015) Prognostic value of intracranial seizure onset patterns for surgical outcome of the treatment of epilepsy. Clin Neurophysiol 126:257–267
Jouny CC, Adamolekun B, Franaszczuk PJ, Bergey GK (2007) Intrinsic ictal dynamics at the seizure focus: effects of secondary generalization revealed by complexity measures. Epilepsia 48:297–304
Kalman RE (1960) A new approach to linear filtering and prediction theory. J Basic Eng 82:34–45
Kalman RE, Bucy RS (1961) New results on linear filtering and prediction theory. J Basic Eng 83:95–108
Kasess CH (2002) Estimation of time-variant multivariate autoregressive models using Kalman filtering, dissertation, Graz University of Technology, Graz
Korzeniewska A, Mańczak M, Kamiński M, Blinowska KJ, Kasicki S (2003) Determination of information flow direction among brain structures by a modified directed transfer function (dDTF) method. J Neurosci Methods 125:195–207
Korzeniewska A, Cervenka MC, Jouny CC et al (2014) Ictal propagation of high frequency activity is recapitulated in interictal recordings: effective connectivity of epileptogenic networks recorded with intracranial EEG. Neuroimage 101:96–113
Leonardi N, Van De Ville D (2015) On spurious and real fluctuations of dynamic functional connectivity during rest. Neuroimage 104:430–436
Lie OV, Papanastassiou AM, Cavazos JE, Szabó ÁC (2015) Influence of intracranial electrode density and spatial configuration on interictal spike localization: a case study. J Clin Neurophysiol 32:e30–e40
Milde T, Leistritz L, Astolfi L et al (2010) A new Kalman filter approach for the estimation of high-dimensional time-variant multivariate AR models and its application in analysis of laser-evoked brain potentials. Neuroimage 50:960–969
Moeller F, Muthuraman M, Stephani U, Deuschl G, Raethjen J, Siniatchkin M (2013) Representation and propagation of epileptic activity in absences and generalized photoparoxysmal responses. Hum Brain Mapp 34:1896–1909
Molenaar PC, Beltz AM, Gates KM, Wilson SJ (2016) State space modeling of time-varying contemporaneous and lagged relations in connectivity maps. Neuroimage 125:791–802
Morrell MJ, RNS System in Epilepsy Study Group (2011) Responsive cortical stimulation for the treatment of medically intractable partial epilepsy. Neurology 77:1295–1304
Mullen T, Acar ZA, Worrell G, Makeig S (2011) Modeling cortical source dynamics and interactions during seizure. Conf Proc IEEE Eng Med Biol Soc 2011:1411–1414
Omidvarnia AH, Mesbah M, Khlif MS, O’Toole JM, Colditz PB, Boashash B (2011) Kalman filter-based time-varying cortical connectivity analysis of newborn EEG. Conf Proc IEEE Eng Med Biol Soc 2011:1423–1426
Plomp G, Quairiaux C, Michel CM, Astolfi L (2014) The physiological plausibility of time-varying Granger-causal modeling: normalization and weighting by spectral power. Neuroimage 97:16–206
Plomp G, Astolfi L, Coito A, Michel CM (2015) Spectrally weighted Granger-causal modeling: motivation and applications to data from animal models and epileptic patients. Conf Proc IEEE Eng Med Biol Soc 2015:5392–5395
Rosenow F, Lüders H (2001) Presurgical evaluation of epilepsy. Brain 124:1683–1700
Schlögl A (2000) The electroencephalogram and the adaptive autoregressive model: theory and applications. Shaker Verlag, Aachen
Schlögl A, Supp G (2006) Analyzing event-related EEG data with multivariate autoregressive parameters. Prog Brain Res 159:135–147
Sinha N, Dauwels J, Wang Y, Cash SS, Taylor PN (2014) An in silico approach for pre-surgical evaluation of an epileptic cortex. Conf Proc IEEE Eng Med Biol Soc 2014:4884–4887
Sommerlade L, Thiel M, Platt B et al (2012) Inference of Granger causal time-dependent influences in noisy multivariate time series. J Neurosci Methods 203:173–185
Stufflebeam SM, Liu H, Sepulcre J, Tanaka N, Buckner RL, Madsen JR (2011) Localization of focal epileptic discharges using functional connectivity magnetic resonance imaging. J Neurosurg 114:1693–1697
Toppi J, Babiloni F, Vecchiato G et al (2012) Towards the time varying estimation of complex brain connectivity networks by means of a General Linear Kalman Filter approach. Conf Proc IEEE Eng Med Biol Soc 2012:6192–6195
van Dellen E, Douw L, Baayen JC et al (2009) Long-term effects of temporal lobe epilepsy on local neural networks: a graph theoretical analysis of corticography recordings. PLoS One 4:e8081
van Mierlo P, Carrette E, Hallez H et al (2011) Accurate epileptogenic focus localization through time-variant functional connectivity analysis of intracranial electroencephalographic signals. Neuroimage 56:1122–1133
van Mierlo P, Carrette E, Hallez H et al (2013) Ictal-onset localization through connectivity analysis of intracranial EEG signals in patients with refractory epilepsy. Epilepsia 54:1409–1418
van Mierlo P, Papadopoulou M, Carrette E et al (2014) Functional brain connectivity from EEG in epilepsy: seizure prediction and epileptogenic focus localization. Prog Neurobiol 121:19–35
Varotto G, Franceschetti S, Spreafico R, Tassi L, Panzica F (2010) Partial directed coherence estimated on stereo-EEG signals in patients with Taylor’s type focal cortical dysplasia. Conf Proc IEEE Eng Med Biol Soc 2010:4646–4649
Varotto G, Tassi L, Franceschetti S, Spreafico R, Panzica F (2012) Epileptogenic networks of type II focal cortical dysplasia: a stereo-EEG study. Neuroimage 61:591–598
Vidaurre C, Sander TH, Schlögl A (2011) BioSig: the free and open source software library for biomedical signal processing. Comput Intell Neurosci 2011:935364
Wang HE, Bénar CG, Quilichini PP, Friston KJ, Jirsa VK, Bernard C (2014) A systematic framework for functional connectivity measures. Front Neurosci 8:405
Wilke C, Ding L, He B (2008) Estimation of time-varying connectivity patterns through the use of an adaptive directed transfer function. IEEE Trans Biomed Eng 55:2557–2564
Wilke C, van Drongelen W, Kohrman M, He B (2009) Identification of epileptogenic foci from causal analysis of ECoG interictal spike activity. Clin Neurophysiol 120(8):1449–1456
Wilke C, van Drongelen W, Kohrman M, He B (2010) Neocortical seizure foci localization by means of a directed transfer function method. Epilepsia 51(4):564–572
Wilke C, Worrell G, He B (2011) Graph analysis of epileptogenic networks in human partial epilepsy. Epilepsia 52(1):84–93
Yaffe RB, Borger P, Megevand P et al (2015) Physiology of functional and effective networks in epilepsy. Clin Neurophysiol 126:227–236
Acknowledgments
This project has received Funding from the University of Texas Health Science Center at San Antonio School of Medicine/Institute for Integration of Medicine and Science Grant No. 158580 (O.L.); and the European Union’s Horizon 2020 research and innovation program under the Marie Sklodowska-Curie Grant Agreement No. 660230 (P.vM.).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of Interest
The authors declare that they have no conflict of interest.
Additional information
Octavian V. Lie and Pieter van Mierlo have contributed equally to this work.
Electronic Supplementary Material
Below is the link to the electronic supplementary material.
10548_2016_527_MOESM1_ESM.eps
Supplementary material 1 (EPS 43840 kb). Colocalization of the seizure-onset estimates based on outdegree and the resection volume (patient 2). a. preictal baseline and EEG seizure onset (arrow) in the 50-channel dataset (upper), and the corresponding outdegree-over-time maps derived from connectivity analyses using m1/iAWPDC (middle) and m2/iAWPDC (lower). Boxed channels fall within the resection volume; b. EEG recording of the same seizure in the full (n=73) channel dataset (upper), and the corresponding outdegree-over-time map using m2/iAWPDC (lower)
10548_2016_527_MOESM2_ESM.eps
Supplementary material 2 (EPS 2370 kb). Dynamic correlation of the outdegree maps estimated based on m1 and m2 (patient 2). Time-matched Pearson correlation of the outdegree values resulting from m1 or m2 application. c- channel, rho- mean Pearson correlation coefficient
10548_2016_527_MOESM3_ESM.eps
Supplementary material 3 (EPS 47184 kb). Colocalization of the seizure-onset estimates based on outdegree and the resection volume (patient 3). a. preictal baseline and EEG seizure onset (arrow) in the 50-channel dataset (upper), and the corresponding outdegree-over-time maps derived from connectivity analyses using m1/iAWPDC (middle) and m2/iAWPDC (lower). Boxed channels fall within the resection volume; b. EEG recording of the same seizure in the full (n=91) channel dataset (upper), and the corresponding outdegree-over-time map using m2/iAWPDC (lower)
10548_2016_527_MOESM4_ESM.eps
Supplementary material 4 (EPS 2585 kb). Dynamic correlation of the outdegree maps estimated based on m1 and m2 (patient 3). Time-matched Pearson correlation of the outdegree values resulting from m1 or m2 application. c- channel, rho- mean Pearson correlation coefficient
10548_2016_527_MOESM5_ESM.eps
Supplementary material 5 (EPS 1675 kb). Functional connectivity analysis of a seizure recorded with high-density iEEG. a. designed signal matrix for a seizure signal involving 80 ictal channels added to random background noise; b. The connectivity matrix of the 192-channel seizure
Rights and permissions
About this article
Cite this article
Lie, O.V., van Mierlo, P. Seizure-Onset Mapping Based on Time-Variant Multivariate Functional Connectivity Analysis of High-Dimensional Intracranial EEG: A Kalman Filter Approach. Brain Topogr 30, 46–59 (2017). https://doi.org/10.1007/s10548-016-0527-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10548-016-0527-x