Abstract
Meditation practice as a non-pharmacological intervention to provide health related benefits has generated much neuroscientific interest in its effects on brain activity. Electroencephalogram (EEG), an imaging modality known for its inexpensive procedure and excellent temporal resolution, is often utilized to investigate the neuroplastic effects of meditation under various experimental conditions. In these studies, EEG signals are routinely mapped on a topographic layout of channels to visualize variations in spectral powers within certain frequency ranges. Topological data analysis (TDA) of the topographic power maps modeled as graphs can provide different insight to EEG signals than standard statistical methods. A highly effective TDA technique is persistent homology, which reveals topological characteristics of a power map by tracking feature changes throughout a filtration process on the graph structure of the map. In this paper, we propose a novel inference procedure based on filtrations induced by sublevel sets of the power maps of high-density EEG signals. We apply the pipeline to simulated and real data, where we compare the persistent homological features of topographic maps of spectral powers in high-frequency bands of EEG signals recorded on long-term meditators and meditation-naive practitioners.
1 Introduction
Meditation is a set of mental training regimes widely practiced for its claimed benefits to physical and mental health. Over the past decade, neuroscientific research has been accumulating evidence of meditation practice shaping up neuroplasticity, and the investigation of spontaneous brain activity, at rest or during practice, is a sensitive approach to identify neuroplastic changes [3].
Electroencephalogram (EEG) is an important imaging modality for exploring spontaneous human brain activity. EEG signals can be recorded in high temporal resolution on animal or human subjects as a response to an external or internal stimuli. The signals are typically decomposed into frequency components by Fourier transform, and the strengths of the frequency components within a certain range are measured by integrating the power spectral density (PSD) [11]. In practice, PSDs integrated over a frequency range are summarized on a topographic power map of EEG channels to visualize significant changes in spatial patterns of brain activity within the range [10,5]. A practical approach to compare two groups of EEG topographic power maps is to conduct two-sample t-tests at each channel and solve the multiple testing problem by the maximum t-statistic (single-threshold) or cluster-based inference (multi-threshold) methods [9]. These methods depend on the amplitudes of power maps, which do not necessarily correspond to topological difference between the maps. We are thus motivated to develop an inference procedure invariant to continuous amplitude transformations. A promising approach is topological data analysis (TDA) that exploits the robustness of topology [1]. A key TDA technique is persistent homology - an online algorithm tracking topological features through a dynamic thresholding scheme.
In this paper, we develop an inference framework for comparing the persistent homological features of two groups of EEG topographic power maps. Each EEG power map is first modeled as an undirected graph with weights defined from frequency powers on its vertices. We filter through the weights to obtain a sequence of combinatorial structures of vertices, edges and triangles on a triangulation of the graph. The persistent homological features of the filtering process are then incorporated in a permutation test for group difference between the maps. Simulation studies show evidence that the proposed framework is robust to scaling and translation and sensitive to tearing of amplitudes in a power map. The proposed framework is also applied to compare the topographic power maps of long-term meditators and meditation naive practitioners.
2 Background
Suppose v1,…,vp are p affinely independent points forming a graph in the Euclidean space ℝ3. Then each of the vertices vi,i = 1,…, p, is a 0-simplex. A (s − 1)-simplex Δ is the convex hull of a subset of the p vertices, e.g. an edge joining two vertices is a 1-simplex, and a triangle formed by three edges is a 2-simplex, and a tetrahedron formed by four triangles is a 3-simplex. A face of Δ is the convex hull of a nonempty subset of , e.g. the faces of a tetrahedron are its vertices, edges and triangles. A simplicial complex on {v1,…,vp} is built by attaching its simplices in a certain way: a simplex joins when all of its faces have joined and the intersection of two simplices in the complex must be a face to each of the simplices. A subcomplex of consists of a subcollection of its simplices attached in the same way.
Suppose we have a real-valued monotone function . The monotonicity of g means that g(τ1) ≤ g(τ2) when τ1 is a face of τ2. It implies that the sublevel set for an arbitrary λ ∈ ℝ is a subcomplex of . So the sublevel sets with respect to form a nested sequence of subcomplexes of , which is called a filtration of and the λi are filtration values. The filtration induces a homomorphism chain for each dimension , where each arrow indicates a homomorphism between the respective k-dimensional homology groups and of and . The k-dimensional persistent homology group is the image of the homomorphism for 1 ≤ i ≤ j ≤ m. If a kth homological feature or hole (k = 0: cluster; k =1: loop; k = 2: tunnel, etc.) is born at and dies at , then λj − λi is called the persistence of the feature. A feature that is born at a finite time and never dies is said to have infinite persistence. Longer persistence indicates a more prominent feature and shorter persistence likely corresponds to noise. The k-dimensional Betti number is defined as , which counts the number of distinct k-dimensional holes that are born before or at and die after [6]. In this paper we define the kth Betti function at as the sequence of k-dimensional Betti numbers .
3 Methods
We first compute the power spectral density (PSD) estimation procedure on signals at each EEG channel. The estimated PSDs at all EEG channels are summarized on a spatial map of the channel layout. We denoise the power map with the discrete version of a heat kernel estimator derived from a graph Laplacian L on , and then obtain PH features of a filtration constructed on the denoised power map.
Power spectral density estimation
The PSD of an EEG signal can be estimated by the periodogram through discrete Fourier transform of the signal. We estimate the PSD of the EEG signal at each channel by Welch’s method of modified periodogram: divide a signal into overlapping segments and then average the modified periodograms computed on all the segments to obtain a PSD estimate with reduced variance than the usual periodogram [11].
Denoising procedure via graph Laplacian
We then spatially filter out noise in the topographic power map f = (f1,…, fc) of each subject at a particular frequency band, where c is the number of EEG channels. Each power map is modeled as a graph with the edge set from the Delaunay triangulation built on the vertex set of EEG channels. We denote the vertex set as Two vertices vi and vj joined by an edge is denoted vi ~ vj. Here we use the most common form of graph Laplacian [2]:
with edge weights taken from the adjacency matrix W = (wij). There are up to c unique eigenvectors satisfying
(1) |
with 0 ≤ γ1 ≤ γ2 ≤ … ≤ γc. The eigenvectors are orthonormal, i.e., - the Kroneker’s delta. The first eigenvector is trivial: . All other eigenvalues and eigenvectors are analytically unknown and need to be numerically computed. Once we obtain eigenvectors ψj satisfying (1) on the Delaunay triangulation , the heat kernel estimate for the power map f is given by
(2) |
where is the discrete heat kernel and are the Fourier coefficients with respect to the basis {ψ1,…, ψ}. The parameter σ is the heat kernel bandwidth and it modulates the extent of denoising. In this paper, we use σ = 0.5 for denoising power maps.
Building a sublevel-set filtration on a denoised power map
We now characterize the topology of the denoised power map by filtering a simplicial complex defined on the Delaunay triangulation of the vertex set . The weights on are defined through an extension of : each vertex vi on has the weight , an edge connecting two adjacent vertices on in is assigned the weight max , and a triangle in determined by three pairwise adjacent vertices on takes the weight max . It follows that the function g is monotone, i.e. g(τ1) ≤ g(τ2) whenever τ1 is a face of τ2.
Now we filter through the ordered vertex weights of g:
An arbitrary λ < λ1 induces an empty subcomplex of We then hit the λi, i = 1,…, c, in sequence from the minimum λ1 up to the maximum λc. When we hit a λi, the subcomplex of is updated to
(3) |
which contains all vertices with g(v) ≤ λi, all edges whose vertices are in and all triangles whose edges are in We thus obtain the following filtration of :
(4) |
which we call the sublevel-set filtration. Homological features or holes emerge and merge in the filtration by the Elder Rule: older features live on at a merging junction [6].
We illustrate the filtration (4) on a 6-channel EEG layout in the international 10–20 system (Figure 1). We first build up the Delaunay triangulation over the 6-channel layout (Figure 1 (a)). Then a simplicial complex is built on the triangulation and weights of the simplices are defined via vertex values. We then filter the simplicial complex with respect to the filtration values λ = −1, 0, 0.5, 1, 2, 3 (Figure 1 (b)). The connectedness of clusters change as λ increases. The 0th Betti function corresponding to the λ values is (1,1,2,1,1,1).
Inference on two groups of sublevel-set filtrations
Utilizing topological information in the data, we test the the null hypothesis that there is no difference between the respective mean 0th Betti functions and of the sublevel-set filtrations of denoised power maps in Group 1 and Group 2:
(5) |
at fixed m filtration values . To test the null hypothesis (5), we first compute the ℓ2 distance
(6) |
between the respective means
of the 0th Betti functions of the sublevel-set filtrations characterizing the denoised power maps in Group 1 and 2. Then the labels of the two groups undergo repeated random exchanges. At each label exchange, the ℓ2 distance between the respective mean Betti functions
of the relabeled power maps is calculated at the same fixed m filtration values:
(7) |
We take the proportion of the distances exceeding that of the observed distance is taken as the p-value for the permutation test.
4 Simulations
Topology is stable under continuous deformations [7]. It motivates us to test the robustness of the proposed topological inference procedure on a topographic power map undergoing continuous transformations on the amplitude. We are also interested in the sensitivity of the proposed procedure to topology-altering transformations on the amplitude. In other words, we want to control the rate of ’topological false positives’ while maintaining the rate of ’topological true positives’.
We define the power map
(8) |
with (x1,y1),…, (x100,y100) evenly simulated from the four quadrants of the [−3,3] × [−3,3] grid. We then add independent Gaussian noises N(0, 0.1) to create 5 noisy samples {z1,…, z5: zj = (zj1,…, zj100)} of the map (8) and 5 noisy samples of each of the following transformation of (8):
(scaling) , scaling preserves the map topology;
(translation) , translation preserves the map topology;
(tearing) (+ for 1 ≤ i ≤ 50 and − for 51 ≤ i ≤ 100), which translates two halves of the map in opposite directions, causing discontinuities or topological tears on the map.
Under each setting, this simulation procedure is repeated 100 times; for each simulation, the null hypothesis (5) is tested on the 2 groups of 5 samples through the proposed inference method with 5000 permutations. We reject the null when a p-value falls below 0.05. The rejection rates are 5%, 4% and 100% in each setting. The results provide numerical evidence that the proposed procedure for testing the difference between topographic maps stays robust under some topology-preserving transformations (scaling and translation) and meanwhile is sensitive to some topology-altering transformations (tearing).
5 Real data application
The aim of this application is to compare topological difference between frequency variations in the EEG signals of 24 meditation-naïve participatns (MNPs) and 24 long-term meditators (LTMs) of Buddhist meditation practices (approximately 8700 mean hours of life practice) during whole-night non-rapid eye movement (NREM) sleep. The EEG signals were recorded with a 256-channel hdEEG system (Electrical Geodesics Inc., Eugene, OR). Data were bandpass filtered (1–50 Hz), and independent component analysis was used to remove ocular and muscle artifacts in the signals. Channels with most of the recording affected by artifacts were removed and spherically interpolated. Data was downsampled to 128Hz and split into six-second epochs with each epoch divided into 8 segments with 50% overlapping for the method of Welch’s averaged modified periodogram with a Hamming window function for PSD estimation at each channel. The participants under 3 sessions of recording: a baseline session, and one session each after two days of Vipassana (mindfulness) and Metta (compassion) meditations. We focused on analyzing the baseline session for unconfounded effect of long-term meditation practice. Also, since existing studies suggested increased parietal-occipital gamma activity during sleep in the LTMs compared to MNPs [4], we only focused on the high-frequency bands of the EEGs.
After heat kernel denoising, we normalized each power map by a z-score transformation across all channels. We then compared the normalized denoised power maps of the LTMs and MNPs in the high-frequency β (15–25 Hz) and γ (25–40 Hz) bands by the proposed permutation test. The sublevel-set filtrations of the average normalized maps in both groups are shown in Figure 2; note the faster closure of clusters in the LTM map as λ increases. The table of p-values in Figure 2 provides comparison between results of the proposed and maximum t-statistic permutation test. The only place where the proposed test shows significant topological difference is the β band in sleep cycle 1, whereas the maximum t-statistic test shows significant difference between LTM and MNP in four out of six categories. It is possible that the maximum t-statistic approach is too sensitive to non-topological differences between two groups of power maps.
6 Discussion
In this paper, EEG topographic power maps are modeled as graphs with weights defined through the spectral powers on their vertices. The topology of these graphs is studied through persistent homology. A related approach is graph filtration devised to capture the shape of a brain network modeled as graph by filtering a dissimilarity measure between its vertices [8]. The purpose of the two filtration approaches differ in that the former reveals the functional connectivity between channels, whereas the latter aims to reveal the underlying geometric pattern of the power map through topological changes in its sublevel sets.
Acknowledgments
This work was supported by the National Center for Complementary and Alternative Medicine (NCCAM) P01AT004952. We also acknowledge the support of NIH grants UL1TR000427 and EB02285.
References
- 1.Carlsson G. Topology and data. Bulletin of the American, Mathematical Society. 2009 [Google Scholar]
- 2.Chung MK, Qiu A, Seo S, Vorperian HK. Unified heat kernel regression for diffusion, kernel smoothing and wavelets on manifolds and its application to mandible growth modeling in CT images. Medical Image Analysis. 2015;22:63–76. doi: 10.1016/j.media.2015.02.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Davidson RJ, Lutz A. Buddha’s brain: neuroplasticity and meditation. IEEE Signal Processing Magazine. 2008;25(1):176–174. doi: 10.1109/msp.2008.4431873. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Dentico D, Ferrarelli F, Riedner BA, Smith R, Zennig C, Lutz A, Tononi G, Davidson RJ. Short meditation trainings enhance non-REM sleep low-frequency oscillations. PLoS ONE. 2016;11(2) doi: 10.1371/journal.pone.0148961. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Duffy FH. Topographic mapping of brain electrical activity Butterworth-Heinemann. 2013 [Google Scholar]
- 6.Edelsbrunner H, Harer J. Computational Topology American Mathematical Society. 2010 [Google Scholar]
- 7.Hatcher A. Algebraic Topology Cambridge University Press, Cambridge. 2002 [Google Scholar]
- 8.Lee H, Chung MK, Kang H, Kim BN, Lee DS. Computing the shape of brain networks using graph filtration and Gromov-Hausdorff metric. MICCAI International Conference on Medical Image Computing and Computer-Assisted Intervention. 2011 Jan;14:302–9. doi: 10.1007/978-3-642-23629-7_37. [DOI] [PubMed] [Google Scholar]
- 9.Maris E. Statistical testing in electrophysiological studies. Psychophysiology. 2012;49(4):549–565. doi: 10.1111/j.1469-8986.2011.01320.x. [DOI] [PubMed] [Google Scholar]
- 10.Nuwer MR. Quantitative EEG: II. Frequency analysis and topographic mapping in clinical settings. Journal of Clinical Neurophysiology. 1988;5(1):45–86. [PubMed] [Google Scholar]
- 11.Welch P. The use of fast Fourier transform for the estimation of power spectra: A method based on time averaging over short, modified periodograms. IEEE Transactions on Audio and Electroacoustics. 1967;15(2):70–73. [Google Scholar]