Next Article in Journal
Comparing the Immune Response to PEEK as an Implant Material with and without P-15 Peptide as Bone Graft Material in a Rabbit Long Bone Model
Previous Article in Journal
Beyond Inverse Dynamics: Methods for Assessment of Individual Muscle Function during Gait
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improved Dipole Source Localization from Simultaneous MEG-EEG Data by Combining a Global Optimization Algorithm with a Local Parameter Search: A Brain Phantom Study

by
Subrat Bastola
1,*,
Saeed Jahromi
1,2,
Rupesh Chikara
1,2,
Steven M. Stufflebeam
3,
Mark P. Ottensmeyer
4,
Gianluca De Novi
4,
Christos Papadelis
1,2 and
George Alexandrakis
1
1
Bioengineering Department, The University of Texas at Arlington, Arlington, TX 76019, USA
2
Neuroscience Research Center, Jane and John Justin Institute for Mind Health, Cook Children’s Health Care System, Fort Worth, TX 76104, USA
3
Athinoula A. Martinos Center for Biomedical Imaging, Massachusetts General Hospital, Harvard Medical School, Boston, MA 02129, USA
4
Medical Device & Simulation Laboratory, Massachusetts General Hospital, Harvard Medical School, Cambridge, MA 02139, USA
*
Author to whom correspondence should be addressed.
Bioengineering 2024, 11(9), 897; https://doi.org/10.3390/bioengineering11090897
Submission received: 18 August 2024 / Revised: 3 September 2024 / Accepted: 4 September 2024 / Published: 6 September 2024
(This article belongs to the Section Biosignal Processing)

Abstract

:
Dipole localization, a fundamental challenge in electromagnetic source imaging, inherently constitutes an optimization problem aimed at solving the inverse problem of electric current source estimation within the human brain. The accuracy of dipole localization algorithms is contingent upon the complexity of the forward model, often referred to as the head model, and the signal-to-noise ratio (SNR) of measurements. In scenarios characterized by low SNR, often corresponding to deep-seated sources, existing optimization techniques struggle to converge to global minima, thereby leading to the localization of dipoles at erroneous positions, far from their true locations. This study presents a novel hybrid algorithm that combines simulated annealing with the traditional quasi-Newton optimization method, tailored to address the inherent limitations of dipole localization under low-SNR conditions. Using a realistic head model for both electroencephalography (EEG) and magnetoencephalography (MEG), it is demonstrated that this novel hybrid algorithm enables significant improvements of up to 45% in dipole localization accuracy compared to the often-used dipole scanning and gradient descent techniques. Localization improvements are not only found for single dipoles but also in two-dipole-source scenarios, where sources are proximal to each other. The novel methodology presented in this work could be useful in various applications of clinical neuroimaging, particularly in cases where recordings are noisy or sources are located deep within the brain.

Graphical Abstract

1. Introduction

The problem of localizing electrical dipole sources as an approximation to localizing true neural activity in the brain plays a crucial role in neuroscience and has many applications in clinical research. Dipole localization techniques based on electroencephalography (EEG) and magnetoencephalography (MEG) use the electrical potentials and magnetic fields generated by underlying neural activity and reaching the scalp to infer the dipole locations in the brain that most likely created the observed data [1,2]. Modeling time-varying scalp-recorded evoked potentials and/or fields emanating from intracranial electrical dipole sources is a complicated problem that relies on three major steps: (a) specification of an accurate volume conduction model of the head and the number and types of intracranial electrical sources, (b) the forward problem of computing electrical and magnetic field intensities over the sensors, given a current source within the brain, and (c) the inverse problem of approximating the current source using the EEG and MEG measurements [3]. Generally, given a suitable source and head model, this inverse problem can be cast as a nonlinear optimization problem of computing the location and moment parameters of the set of dipoles whose projections to the scalp surface matches the EEG and MEG measurements in a least squares sense [4]. In practice, the nonlinear optimization problem can be challenging because its objective function can have many local minima [5], especially at a low signal-to-noise ratio (SNR) [6], which can result from measurement noise or from cases where electrical sources are deep in the brain [7].
To solve the nonlinear optimization problem for dipole localization, current popular optimization techniques can be loosely classified into groups, namely local optimization, grid searches, and global optimization methods [8]. Local search methods include downhill descent methods, such as the quasi-Newton-based gradient descent (GD) and gradient-free search methods, including the Nelder–Mead downhill simplex method [9]. However, these methods are known to be sensitive to the choice of starting parameters, which results in convergence to suboptimal local minima [10]. Dipole scanning (DS) is another widely utilized technique for electrical dipole source estimation that operates on a predetermined grid of precomputed dipole projections [11]. DS systematically identifies the most significant dipole strength at selected time points, determining a dipole’s amplitude, position, and orientation. The accuracy of this approach is heavily contingent upon the sophistication of the head model employed [12], particularly in EEG analysis. Despite its utility, the DS method faces challenges under certain conditions. Particularly in low-SNR environments or scenarios where multiple forward solutions are plausible explanations of the observed data, this technique may lead to dipole localization inaccuracies. In recent years, several different global optimization methods have been proposed for solving the nonlinear optimization problem while being less prone to terminating at local minima. These computational methods include simulated annealing (SA) [13], genetic algorithms (GAs) [14], and the Tabu Search (TS) method [15]. These algorithms avoid local minima by allowing stochastic searches of parameter space but at significantly increased computational cost relative to the local search methods, such as GD and DS.
The issue of GD and DS algorithms giving suboptimal localization results for deep sources, and the use of stochastic search methods to improve upon those results, has been examined by several groups in the past [15,16,17,18]. These prior studies showed that the dipole localization accuracy was significantly improved when using a realistic head model geometry, as compared with single or concentric sphere approximations [19,20,21,22]. Additionally, enhanced localization accuracy by SA and GA was demonstrated when applied to simulated data using a spherical head model, albeit at a high computational cost [6,23]. Several studies have explored the performance of global optimization algorithms, like genetic algorithms (GAs) for electric current source dipole localization [24,25]. For instance, GA has been applied in simultaneous EEG-MEG studies [26] and in analyzing deep sources with low signal-to-noise ratios (SNRs) in the brain [27]. One study compared GA with SA and found that GA was more computationally intensive than SA [28]. Another investigation demonstrated the effectiveness of dipole estimation using SA [18]. Moreover, these prior studies indicated that the combination of concurrently acquired EEG-MEG data achieves superior localization accuracy compared with each modality alone [29] and showed improved source connectivity estimation in EEG and MEG when using realistic head models [30]. Additionally, combined EEG-MEG data were shown to offer complementary information between the two modalities to improve source reconstruction accuracy early in epileptic spike onset, i.e., at time points with a low SNR [31]. Moreover, prior studies [32,33,34,35,36] have highlighted the involvement of deep brain locations in epilepsy generation, emphasizing the importance of accurately identifying the epileptogenic zone and seizure onset zone. However, noninvasive studies often face limitations in achieving precise localization [37]. Recent research has attempted to implement deep learning (DL) methods [8,38] for accurate dipole source localization in EEG and MEG. Despite some progress, these studies are typically constrained to concentric sphere approximations of head models and rely heavily on simulation data. Additionally, they involve computationally intensive calculations [39] and often struggle with low-SNR conditions or when dataset sizes are limited [4,40,41].
To mitigate the computational cost of stochastic parameter searches while maintaining the advantage of avoiding local minima, in this work, we propose a novel hybrid SA algorithm, henceforth called hybrid-SA, which uses SA in the initial, broad parameter search, followed by the GD method [26] when SA has converged in the vicinity of a possible global minimum. The performance of the hybrid-SA algorithm was then compared against the commonly used GD and DS [42] algorithms. The dipole localization accuracy of each of these algorithms was tested with simultaneously acquired EEG and MEG data on a realistic pediatric head phantom with embedded dipole sources at different locations and depths from the surface, as has been described previously [43,44]. EEG and MEG dipole data were also simulated using the exact same phantom geometry and different levels of added noise to match the SNR of the physical dipole sources as a function of depth in the head phantom [45]. The virtual phantom simulations enabled studying a wider range of dipole source locations than those available in the physical phantom. For each of the GD, DS, and hybrid-SA algorithms, dipoles were localized, and their orientations were estimated using EEG data alone, MEG data alone, and simultaneously acquired EEG-MEG data that were either physically measured or simulated. The superiority of the hybrid-SA method in low-SNR scenarios was verified for all data types for single and two-dipole source localization scenarios, demonstrating the promise of this approach for future in vivo investigations.

2. Methods

2.1. Physical Head Phantom

A pediatric human head phantom model based on magnetic resonance imaging (MRI) data of a 3-year-old male child was used. The phantom was molded in successive layers of a conductive polymer, which were cured sequentially, with conductivity values and layer thicknesses that mimicked those of their corresponding head tissues (Table 1) [46,47]. This phantom approximated the human head in that the conductive material simulating the brain tissue was spatially homogeneous, did not differentiate between brain tissue and ventricular spaces, and did not differentiate between dura mater and grey and white matter.
Twisted pairs of electrical wires were installed in hollow cavities that extended from the base of the phantom into the brain volume, reaching different depths from the scalp surface. In total, 12 locations were available for inserting dipole sources, with six sources in each phantom hemisphere. The electrical wires inserted in those 12 locations each ended with tips that had gaps in the 0.8–1.7 mm range, so that artificial electromagnetic dipoles were generated when time-varying voltages were applied, simulating neuronal pulse sources at the distal ends. Each source location, in Cartesian (x, y, z) coordinates, and dipole source orientation, represented by the azimuthal angle Theta (θ) and the polar angle Phi (φ) in the spherical coordinate system, was determined using a 3D computed tomography (CT) image volume of the head phantom. Each dipole vector d was defined from one wire tip to the other as x 2 x 1 , y 2 y 1 , z 2 z 1 . The azimuthal angle θ, representing the angle in the xy-plane from the positive X-axis, was calculated using the arctangent function, specifically θ = a t a n 2 ( y 2 y 1 , x 2 x 1 ) . The polar angle φ, measured from the positive Z-axis towards the x-y plane, was derived using the arccosine of the ratio of the z-component of the dipole vector to its magnitude = a c o s z 2 z 1 ( x 2 x 1 ) 2 + ( y 2 y 1 ) 2 + ( z 2 z 1 ) 2 . These calculations provided the necessary spherical coordinates to accurately model the orientation of each dipole in relation to the head phantom’s coordinate system. Specifically, the spatial coordinates designating the true dipole locations were determined by computing the midpoint along the x-, y-, and z-axes of the two exposed wire tip-ends, creating a dipole at the end of each wire, as derived from the head phantom CT scan (Table 2).
A voltage generator (RIGOL DG1032z, China) was used to play back signals through one dipole at a time. The waveforms were based on epileptic spikes of an actual human pediatric subject, as previously classified by an expert. These signals were recorded simultaneously using a combined EEG-MEG setup. Simultaneous MEG and HD-EEG recordings were performed at the MEG facility of Cook Children’s Medical Center (Fort Worth, TX, USA). The recordings were performed in a one-layer magnetically shielded room (Imedco, Hägendorf, Switzerland) with a whole-head Neuromag® Triux 306-sensor system (MEGIN, Helsinki, Finland). HD-EEG was recorded using a MEG-compatible 256-channel Geodesic HD-EEG system (Magstim-EGI, OR, USA). Standard co-registration procedures were followed for MEG and HD-EEG according to the manufacturer’s instructions. SNR was defined as the proportion of the desired neural signal relative to background noise, indicating the clarity with which brain’s electromagnetic activity of interest is distinguishable from other interfering signals [48]. The SNR of each of the EEG and MEG recorded signals was determined as the ratio of the maximum activation to the baseline standard deviation. The baseline period, defined as the interval from −250 ms to −10 ms prior to the onset of each spike event [49], served as a reference for pre-stimulus neural activity. The exclusion of interval from −10 ms to 0 ms in the baseline period eliminated any potential pre-spike activity that could bias the baseline measurement, ensuring a more reliable comparison between the desired neural signal and background noise.

2.2. Computational Head Phantom

Based on the T1-weighted MRI of the same pediatric subject, a computational model of the virtual head was created in Fieldtrip [50]. The MRI voxels were segmented into the three different tissue types, using the ft_volumesegment function: scalp, skull, and brain [51]. Following segmentation, triangulated meshes were constructed that described the tissue surface boundaries using ft_prepare_mesh [52]. The tissues from which the surfaces were created and the number of vertices for each tissue were specified (3000, 2000, 1000, for scalp, skull, and brain, respectively). Since the brain tissue was assumed to be homogeneous, most of the attention on setting up the boundary element solution for dipole sources focused on the density of surface meshes. To that end, the commonly used ratio of 3/2/1 for scalp/skull/brain was implemented.
Once the scalp, skull, and brain had been segmented and surface descriptions were constructed for each, the ft_prepare_headmodel function was used to create the volume conduction model for the head phantom. Then, the OpenMEEG [53] method was used to generate a 3-layer BEM-based head model for electromagnetic wave propagation. The relative conductivity values, normalized to scalp conductivity using the values in Table 1, were then specified in OpenMEEG as [1, 0.0125, 1] for scalp (=head), skull (=outer skull), and brain (=inner skull), respectively.
In addition to the physical phantom recordings for EEG and MEG data for activated sources, as shown in Figure 1, several other intracranial dipoles were simulated at various locations and depths of a virtual phantom of identical geometry, as shown in Figure 2, to increase the density of the data to be analyzed by each algorithm (Table 3). The locations were carefully chosen to span source depths ranging from 0.5 cm to 4.5 cm beneath the scalp, ensuring coverage of both superficial and deep-seated brain regions that are typically capable of generating spike activity [32,34,54].

2.3. EEG and MEG Data Analyses

For the physical phantom measurements, the simultaneous EEG-MEG data were first pre-processed. The acquired EEG and MEG for the same source data were merged into a single fif file using MATLAB. To remove noise from the signals, the channels that exhibited artifacts or high-amplitude noise (≥5x the mean value of the signal strength of all the channels) were marked as bad channels and were excluded from the analyses. Filtering was then performed on the data (band-pass filter: 1–70 Hz, notch filters: 60 Hz and multiples up to the fourth harmonic) [55]. Given that this study utilized a human head phantom, spatial filtering techniques such as SSP or ICA [56], generally employed to identify and mitigate sensor topographies associated with specific artifacts such as heartbeats and eyeblinks, were not necessary. The spikes observed in the EEG and MEG recordings were identified as spike events, and the potentials/fields epoched around these spikes [42] were used to model the electrical dipoles for EEG, MEG, and simultaneous EEG-MEG data.
For the computationally generated measurements, the noise model for simulating varying SNR conditions in relation to source depths was developed using real EEG-MEG measurement data. The SNR values for EEG-MEG measurements for source activations at different depths were first computed from experimentally measured phantom data. To determine the rate at which noise increases with depth, the SNR values were converted to a logarithmic scale, allowing for a linear relationship to be established. The log-transformed SNR values were fitted to depth using linear regression, yielding a slope. The positive constant, which governed the rate of exponential increase in noise with depth, was then derived from the slope using the following relation:
β = s l o p e 2
Gaussian noise was added to the simulated sources in such a manner that deep-seated sources had lower SNR values compared to the superficial sources, to match the SNR of the experimentally measured phantom data as a function of dipole depth.
N o i s e d = N ( 0 , σ β d )
where σ is the baseline standard deviation of the noise and β is a positive constant determining the rate at which the standard deviation of the noise increases with depth d.
For this study, the baseline level of noise, determined by the ratio of sigma to signal amplitude, was set to 0.1.
For both physical and computationally generated measurements, the SA algorithm (starting temperature: 150, cooling rate: 0.95) was run until its termination criteria were met (optimality tolerance < 1.0 × 10−5, or 10,000 iterations were reached). The final output parameters then served as the starting point for the GD algorithm to further optimize the final local search. For our hybrid-SA algorithm, the relative weight assigned to the EEG and MEG data in the penalty function was defined by:
P = λ   ×   SNR EEG   ×   i = 1 N E E G ( O E E G , i M E E G , i ( p ) ) 2 + ( 1 λ )   ×   SNR MEG   ×   j = 1 N M E G ( O M E G , j M M E G , j ( p ) ) 2
where λ = G O F E E G G O F E E G + G O F M E G .
The λ parameter served as a weighting factor to balance the relative contributions of EEG and MEG data in the penalty function. NEEG and NMEG represented the total number of EEG and MEG data points, respectively. OEEG,i and OMEG,j were the observed data points for EEG and MEG. MEEG,i(p) and MMEG,j(p) were the predicted values from the model for EEG and MEG data points, based on the set of parameters p, which included dipole positions and orientations. The sums calculated the squared differences between the observed and predicted values for each modality and provided the value of the metric to be minimized to achieve the best possible model fit to the combined EEG-MEG data. For the cases where EEG-only or MEG-only data were being fitted, the value of λ was set to 1 and 0, respectively.
The goodness of fit (GOF) was computed as 1-residual variance, where residual variance is as follows:
Σ ( d 1 d 2 ) 2 Σ d 1 2
with d1 representing the actual EEG/MEG recording and d2 representing the simulated recording for a given dipole location and orientation when dipole placement occurs during dipole fitting. The sum over the squared differences between the actual EEG/MEG recordings (d1) and the simulated recordings (d2) across all channels, as expressed by Σ ( d 1 d 2 ) 2 , gave the cumulative measure of model’s error. This total squared discrepancy was then normalized by the sum of the squares of the actual recordings for each EEG/MEG channel, providing a relative measure of the model’s error compared to the inherent variance in the data. This formulation quantified the fidelity of the fitted data to the actual recordings by presenting the unexplained variance as a fraction of the total variance in the observed data, thereby directly assessing the model’s accuracy.

2.4. Statistical Analyses of Dipole Localization Algorithm Parameter Estimates

Lastly, the performance of each algorithm was quantified by the Euclidean distance [57] between the actual (CT-derived and simulated) source and the fitted dipole locations and correspondingly for the dipole azimuthal and polar angle differences [58]. For the case of two-dipole localization measurements, the data were created synthetically by adding two datasets from the corresponding single-dipole data obtained experimentally or computationally. The two-dipole localization performance was then evaluated based on the averages of the Euclidian distance errors for the two sources.
For the statistical analyses of dipole localization and orientation errors, a total of 260 spikes were generated from each source, which were organized into 13 groups of 20 spikes each. These spikes were recorded over a period of just over 3.5 min at a sampling rate of 2000 Hz. For each group, the dipole error was computed by fitting dipoles to the averaged peak values of the 20 spikes. Given the non-normal distribution of the resulting dipole error data, a robust statistical approach was employed involving the Friedman test [59], a non-parametric alternative to repeated measures ANOVA. This test was utilized to evaluate the statistical significance of variations among the dipole errors associated with three algorithms—GD, DS, and hybrid-SA. When the Friedman test showed a statistically significant difference among algorithms (p < 0.05), we then tested all pairwise comparisons between algorithms while addressing non-normality and potential Type I errors, using the Tukey–Kramer post hoc test.

3. Results

An intuitive explanation of the superior dipole localization results arrived at by the hybrid-SA algorithm is depicted in Figure 3. Figure 3a shows a cross-section of the GOF space along the x-y plane for the z location of source Right 6, which was deeper than most other sources and had an EEG SNR of 3.6. The figure shows that the global minimum arrived at by the hybrid-SA algorithm was in a significantly different location from the GD algorithm. In contrast, Figure 3b shows corresponding results for the more superficial source Right 4, which had an EEG SNR of 7.1. In this case, the local minimum found by the GD algorithm was within a few mm from the global minimum found by the hybrid-SA algorithm, so an improvement was still attained by using the latter algorithm, but it was smaller. For completeness, it should be mentioned that all dipole localization searches were conducted in three spatial dimensions (x, y, z) and two angle dimensions (θ, φ), but only a 2D example of the GOF space is shown here for visualization purposes.
Single-dipole source localization error results for the three optimizations algorithms, compiling both the physical and simulated phantom EEG data, are shown in Figure 4.
Figure 4a shows that the hybrid-SA algorithm outperforms the DS and GD algorithms consistently, with a statistically significant localization improvement starting from an SNR value ~6.1 but more so at lower SNRs. In the latter case, the localization improvement was up to 20 mm, though the remaining error was still large, in the 20–25 mm range. It appears that the maximum benefit obtained from the hybrid-SA algorithm for accurate localization of dipoles, i.e., within 10–15 mm of their true location, from EEG data was for measurements in the 4–6 SNR range. In this medium SNR range, the goodness-of-fit (GoF) space is characterized by multiple peaks, making it likely for the GD and DS algorithms to become stuck in local minima. The hybrid-SA algorithm, however, can escape these local minima, leading to more accurate localization. This highlights the algorithm’s robustness in challenging conditions with low SNRs, a critical advantage for practical applications. Figure 4b shows results from the same data analyses but plotting localization errors as a function of dipole source depth. While the average performance of the DS method demonstrated a trend for better results than the GD method for most depths, no statistically significant differences (p < 0.05) were observed between the two methods at any source depth. In contrast, the hybrid-SA algorithm consistently demonstrated lower errors compared to the other two techniques, with a statistically significant localization improvement over the other algorithms at depths exceeding 14 mm from the surface of the cortex. These findings suggest that the hybrid-SA algorithm is particularly effective for deeper sources, providing a reliable solution where other methods fall short. Additionally, none of the algorithms converged for SNR < 2.5, underscoring the limitations in extremely low-SNR scenarios.
Figure 5 shows the corresponding localization error results when using MEG data alone, which were qualitatively similar to those found above for EEG data. Figure 5a shows increasingly improved localization for the hybrid-SA algorithm with lower SNR down to ~3, beyond which point no algorithm converged. Interestingly, improvements in localization error for the lowest SNR values were higher for MEG (error < 20 mm) than EEG (error < 25 mm) data. However, SNR values in the 4–6 range were still required for accurate localization, defined as errors < 15 mm. Figure 5b shows corresponding localization errors as a function of dipole depth. Interestingly, there was a statistically significant improvement with the hybrid-SA method over the DS and GD methods at depths exceeding 10 mm from the scalp surface, corresponding to relatively high SNR values (<~7). There was also a statistically significant difference between the DS and GD methods, with the DS method outperforming GD at depths exceeding 30 mm from the surface of the head, corresponding to SNR < ~4. Furthermore, it was observed for the same source in the phantom that the MEG SNR was higher than the EEG SNR at greater depths, which likely contributed to the observed differences in localization accuracy between the two modalities. Like the EEG modality, here too, the hybrid-SA algorithm demonstrated the best performance within an SNR range of 4 to 6.
In the next step of these analyses, synchronized EEG and MEG data were used simultaneously for dipole localization (Figure 6). Figure 6a shows that all three algorithms performed better compared to their own corresponding performances for EEG data alone and MEG data alone. There was up to a 25% improvement in source localization accuracy for the hybrid-SA algorithm for simultaneous EEG-MEG compared to EEG or MEG data alone. Importantly, even for the lowest usable SNR of ~3, the localization error did not exceed ~18 mm, demonstrating the potential of this approach for improved deep-source localization. Similarly, there was up to a 35% improvement in the localization accuracies with GD and DS using the combined EEG-MEG data compared to their own performance when using EEG or MEG data alone. Importantly though, the hybrid-SA algorithm significantly outperformed the other methods at a lower SNR, by up to 50% in localization accuracy. Figure 6b shows the corresponding localization error results as a function of dipole depth. For depths exceeding 10 mm, there was a statistically significant difference between the localization errors for the hybrid-SA algorithm and GD. Similarly, for depths exceeding 17 mm, the hybrid-SA algorithm outperformed the DS method. Although DS showed a trend that hinted that its performance was a little better than GD, no statistically significant differences were found between DS and GD in pairwise comparisons at any source depth.
Subsequently, comparative analyses of mean squared localization errors were performed for all possible pairwise combinations of two simultaneously activated dipole sources for both simulated and physical source data. Figure 7 shows that, when compared to the GD and DS methods, the hybrid-SA algorithm had up to a ~50% improvement in localization accuracy for EEG data alone (Figure 7a), up to a ~40% improvement for MEG data alone (Figure 7b), and up to a ~45% improvement when using combined EEG-MEG data (Figure 7c). Interestingly, when localizing two dipoles, the total error decreased for all data analyses, especially at lower SNRs, relative to single-dipole localization. For example, at SNR ~3, the EEG-only error was reduced from 26 mm (Figure 4a) to 22 mm (Figure 7a), the MEG-only data error was reduced from 20 mm (Figure 5a) to 17 mm (Figure 7b), and the combined EEG-MEG data error was reduced from 18 mm (Figure 6a) to 14 mm (Figure 7c).
Lastly, it should be noted that although the azimuthal and polar angles of each dipole in all analyses were varied freely in addition to their three-dimensional coordinates, the improvements brought about by the hybrid-SA algorithm versus GD algorithm were significantly better at all SNRs; however, the improvements versus DS were not as significant as they were for dipole localization. Figure 8a shows that for combined EEG-MEG data, the relative improvement in azimuthal-angle determination was about 5 degrees for all SNR values, even though the absolute error was as little as 5 degrees at high SNRs. Similarly, Figure 5b shows that the relative improvement in polar-angle errors was about 10 degrees for all SNR values, and the absolute error was as little 5 degrees in absolute terms, also for the highest SNRs. Qualitatively similar results were also obtained for EEG data alone and MEG data alone, with MEG data performing slightly better than EEG at all SNR values (Figures S1 and S2).

4. Discussion

Conventional GD algorithms used in dipole fitting rely on the gradient (first-order derivative) function to navigate through the error landscape [60], which can lead to trapping at local minima. DS is another popular technique for electrical dipole-source estimation that operates on a predetermined grid of precomputed dipoles. The accuracy of this approach is heavily contingent upon the complexity of the head model employed, particularly in EEG analysis. The inherent limitation of working within a fixed grid of dipoles is that it can sometimes hinder the ability to accurately capture dipole localization in fine-enough detail due to the excessive computational cost that this would entail. In contrast, the SA method offers a probabilistic approach for approximating the global optimum of a function, which is computationally parsimonious [61]. Initially, the SA method may accept suboptimal solutions, but as the iterations progress, the likelihood of selecting inferior solutions diminishes [13,17,62]. As a result, at lower annealing temperatures, the SA search is constrained to a local minimum, although this search remains stochastic in nature. To expedite the global optimization process, once the annealing temperature is likely to have led the search near a local minimum, we implemented a hybrid-SA method. Once an empirically determined iteration number criterion was met, the SA algorithm was stopped and an accelerated search towards the nearest minimum was completed by the GD algorithm.
The overall results of this work show that the hybrid-SA method was significantly more robust in converging to the global minima compared to the GD and DS methods, especially at lower SNRs (~3–6) for all three modalities. Figure 3b illustrates that the optimization landscape is more rugged at lower SNRs, which increased the susceptibility of GD and DS methods to being stuck at local minima. Interestingly, even at higher SNRs (~7–9), the hybrid-SA method retained an advantage, albeit smaller, because the error landscape remained somewhat rugged, making local and global searches land at nearby, but not identical, minima (Figure 3a). Although Figure 3 shows an example of the two-dimensional dipole-source localization error, qualitatively similar landscapes were created for all three spatial dimensions and the two angle dimensions (Figures S1 and S2).
Source localization errors were compared for EEG or MEG data alone and for combined EEG-MEG data. The purpose of this analysis was to test whether the hybrid-SA algorithm (1) achieved more accurate source localization for EEG-only data than MEG-only data for deeper source locations, as magnetic fields are known to decay faster than electric fields as a function distance from their dipole source [63], (2) achieved more accurate source localization for MEG-only data than EEG-only data for more superficial source locations for similar physical reasons [64], and (3) improved source localization when using the combined MEG-EEG data due to the complementary strengths of the two modalities [29,53,54].
For EEG-only data, in scenarios with a high SNR (>7), all three algorithms demonstrated localization errors under 5 mm. However, as the source depth increased and SNR decreased (Figure 4b), the dependence of localization error on SNR could be approximated by a negative exponential trend, as evidenced by an exponential trendline fitted across all data points in Figure 4a. The SNR decrease resulted in an ever-increasing advantage for the hybrid-SA algorithm, resulting in a notable ~45% improvement in dipole localization accuracy compared to the other two methods. However, at the lowest measurable SNR of ~3, the absolute localization error was ~26 mm, which was still large.
For MEG-only data, a slightly higher SNR than EEG was required to not exceed a source localization error of 5 mm (SNR ~ 7.7). However, the hybrid-SA algorithm attained significantly improved localization for all source depths (depth > 10 mm, Figure 5b), which was comparable to that of EEG-only data (depth > 14 mm, Figure 3b). At low SNR values, on the other hand, source localization was superior for the same sources localized by EEG data alone, by all three algorithms. At the lowest usable SNR of ~3, the hybrid-SA localization error for MEG-only data was ~20 mm (Figure 5a) versus ~26 mm for EEG-only data (Figure 4a). This finding was surprising given that detected MEG signals are known to decay faster with increasing tissue depth [55,56]. However, our phantom lacked background electrical activity from other neuronal sources, as is typical for in vivo measurements, and this likely biased results in favor of the MEG measurements.
The combination of MEG-EEG data (Figure 6) resulted in a higher SNR and, thus, better localization accuracy, compared to the individual EEG or MEG modalities alone, for all three algorithms. The localization error followed a negative exponential trend, as before, but the exponent value was steeper for the combined data (Figure 6a) versus the MEG-only (Figure 5a) or the EEG-only (Figure 4a) data, the latter having the smallest negative exponent. As a result, the MEG-EEG data attained a localization error of ~18 mm, even at the lowest usable SNR of ~3. Interestingly, the improved SNR for the combined MEG-EEG data resulted in the hybrid-SA algorithm starting to outperform the DS algorithms at slightly greater depths (depth > 17.1 mm; Figure 6b) compared to MEG and EEG data alone (Figure 4b and Figure 5b, respectively). Given that the phantom used in this study was a pediatric one, these data suggest that when combing MEG with EEG data, local optimization algorithms like GD and DS can still localize sources as well as the more computationally expensive hybrid-SA algorithm within the first ~2 mm in the child brain, i.e., near the cortical surface, but the increased computational cost of the hybrid-SA algorithm pays dividends at greater depths.
In the last part of this study, the three algorithms were tested for MEG and EEG data generated by two simultaneously activated dipole sources (Figure 7). Consistent with expectations, the highest localization accuracy was observed for the combined MEG-EEG data. Our findings revealed a notable improvement in the performance of all three algorithms when using the two-dipole models as a function of SNR for EEG-only (Figure 7a), MEG-only (Figure 7b), and combined MEG-EEG data (Figure 7c). This accuracy enhancement compared to fitting single-dipole sources can be attributed to the more constrained parameter search space for a two-dipole model when searching for specific dipole orientations and amplitudes [65]. Although all algorithms showed improved localization when fitting the two sources with coincident activation, the hybrid-SA algorithm showed the most impressive performance, attaining a ~14 mm localization error, even at SNR ~3.
Lastly, in addition to spatial localization errors, comparisons were performed for all the above-discussed scenarios for dipole-angle errors in theta and phi. These analyses demonstrated similar patterns in angle errors (Figure 8) across all three modalities (EEG, MEG, and combined EEG-MEG). The improvements made by the hybrid-SA algorithm for the dipole angles were statistically significant versus GD at all SNRs, and while the improvement over DS was not as dramatic as it was for the spatial localization, the overall picture was that the combined EEG data reduced the absolute error for both theta and phi to ~5° for the highest SNR values of 8–9. Even for a moderate SNR of 4–5, the errors in both angles barely exceeded ~10°.

5. Conclusions

This work has demonstrated the promise of hybrid-SA, a global optimization algorithm combined with an accelerated local GD search, to outperform the often-used GD and DS algorithms for dipole localization, especially at a low SNR. Future work could involve more sophisticated phantom studies that model interference from background dipole sources competing with the target dipole source, to help these measurements approximate in vivo conditions more closely. Additionally, an advantage of combining MEG with EEG data is that the latter can see both radial and tangential sources, whereas the former only sees tangential ones [66]. However, this distinction could not be tested with the phantom used in this study, as none of the dipole sources used were purely radial. In future work, phantoms, including some purely tangential and some purely radial sources, will be tested. With more simulated sources in the phantom at different depths with different SNRs, the hybrid-SA-algorithm-optimized deep learning method for dipole estimation can also be studied [67]. Finally, more work is needed in the future to test the hybrid-SA algorithm performance for different two-dipole scenarios in phantom-based measurements and for in vivo data. Possible scenarios may include the coincident activation of two sources that do not have large spatial separation in a subject’s brain, e.g., they are on the same hemisphere or brain sub-region. Another scenario where the hybrid-SA algorithm could help could involve its use with a responsive neurostimulation (RNS) device in a phantom-based, or an in vivo, study, where it could potentially compensate for the RNS device-induced distortions to improve localization of the epileptic area in the brain.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/bioengineering11090897/s1, Figure S1: Angle errors versus SNR for EEG; Figure S2: Angle errors versus SNR for MEG.

Author Contributions

Conceptualization, S.B., G.A., S.J. and C.P.; methodology, S.B. and G.A.; validation, S.J., R.C. and G.A.; formal analysis, S.B. and G.A.; resources, S.M.S., M.P.O., G.D.N. and C.P.; data curation, R.C. and S.J.; writing—original draft preparation, S.B.; writing—review and editing, S.B., G.A., M.P.O. and S.J.; supervision G.A.; project administration, C.P.; funding acquisition, C.P. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Institute of Neurological Disorders & Stroke (R01NS104116-01A1, PI: Christos Papadelis).

Institutional Review Board Statement

The Institutional Review Board of Boston Children Hospital approved this study (IRB117 P00022114).

Informed Consent Statement

IRB approved this study protocol without informed consent due to the retrospective nature of the study.

Data Availability Statement

Data supporting the results of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mégevand, P.; Seeck, M. Electroencephalography, magnetoencephalography and source localization: Their value in epilepsy. Curr. Opin. Neurol. 2018, 31, 176–183. [Google Scholar] [CrossRef]
  2. He, B.; Sohrabpour, A.; Brown, E.; Liu, Z. Electrophysiological Source Imaging: A Noninvasive Window to Brain Dynamics. Annu. Rev. Biomed. Eng. 2018, 20, 171–196. [Google Scholar] [CrossRef]
  3. Escalona-Vargas, D.I.; Lopez-Arevalo, I.; Gutiérrez, D. Multicompare Tests of the Performance of Different Metaheuristics in EEG Dipole Source Localization. Sci. World J. 2014, 2014, 524367. [Google Scholar] [CrossRef] [PubMed]
  4. Pantazis, D.; Adler, A. MEG Source Localization via Deep Learning. Sensors 2021, 21, 4278. [Google Scholar] [CrossRef] [PubMed]
  5. Grech, R.; Cassar, T.; Muscat, J.; Camilleri, K.P.; Fabri, S.G.; Zervakis, M.; Xanthopoulos, P.; Sakkalis, V.; Vanrumste, B. Review on solving the inverse problem in EEG source analysis. J. NeuroEng. Rehabil. 2008, 5, 25. [Google Scholar] [CrossRef]
  6. Khosla, D.; Singh, M.; Don, M. Spatio-temporal EEG source localization using simulated annealing. IEEE Trans. Biomed. Eng. 1997, 44, 1075–1091. [Google Scholar] [CrossRef] [PubMed]
  7. Acar, Z.A.; Makeig, S. Effects of Forward Model Errors on EEG Source Localization. Brain Topogr. 2013, 26, 378–396. [Google Scholar] [CrossRef]
  8. Hui, Z.; Ying, L.; Lingyue, W.; Ning, Y.; Shuo, Y. EEG Dipole Source Localization using Deep Neural Network. Int. J. Circuits Syst. Signal Process. 2022, 16, 132–140. [Google Scholar] [CrossRef]
  9. Abdulkadirov, R.; Lyakhov, P.; Nagornov, N. Survey of Optimization Algorithms in Modern Neural Networks. Mathematics 2023, 11, 2466. [Google Scholar] [CrossRef]
  10. Gavin, H.P. The Levenberg-Marquardt Method for Nonlinear Least Squares Curve-Fitting Problems. 2013. Available online: https://api.semanticscholar.org/CorpusID:5708656 (accessed on 11 August 2024).
  11. Coffman, B.A.; Salisbury, D.F. MEG Methods: A Primer of Basic MEG Analysis. In Neuroimaging in Schizophrenia; Kubicki, M., Shenton, M.E., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 191–210. [Google Scholar] [CrossRef]
  12. Medani, T.; Garcia-Prieto, J.; Tadel, F.; Antonakakis, M.; Erdbrügger, T.; Höltershinken, M.; Mead, W.; Schrader, S.; Joshi, A.; Engwer, C.; et al. Brainstorm-DUNEuro: An integrated and user-friendly Finite Element Method for modeling electromagnetic brain activity. Neuroimage 2023, 267, 119851. [Google Scholar] [CrossRef]
  13. Delahaye, D.; Chaimatanan, S.; Mongeau, M. Simulated annealing: From basics to applications. In Handbook of Metaheuristics; Springer: Berlin/Heidelberg, Germany, 2019; pp. 1–35. [Google Scholar]
  14. Baldominos, A.; Ramón-Lozano, C. Optimizing EEG energy-based seizure detection using genetic algorithms. In Proceedings of the 2017 IEEE Congress on Evolutionary Computation (CEC), Donostia, Spain, 5–8 June 2017; pp. 2338–2345. [Google Scholar] [CrossRef]
  15. Jiang, T.; Luo, A.; Li, X.; Kruggel, F. A comparative study of global optimization approaches to MEG source localization. Int. J. Comput. Math. 2003, 80, 305–324. [Google Scholar] [CrossRef]
  16. Qiu, L.; Li, Y.; Yao, D. A feasibility study of EEG dipole source localization using particle swarm optimization. In Proceedings of the 2005 IEEE Congress on Evolutionary Computation, Edinburgh, Scotland, UK, 2–5 September 2005; Volume 1, pp. 720–726. [Google Scholar] [CrossRef]
  17. Sekihara, K.; Haneishi, H.; Ohyama, N. Details of simulated annealing algorithm to estimate parameters of multiple current dipoles using biomagnetic data. IEEE Trans. Med. Imaging 1992, 11, 293–299. [Google Scholar] [CrossRef]
  18. Gerson, J.; Cardenas, V.A.; Fein, G. Equivalent dipole parameter estimation using simulated annealing. Electroencephalogr. Clin. Neurophysiol. Potentials Sect. 1994, 92, 161–168. [Google Scholar] [CrossRef]
  19. Van Uitert, R.; Johnson, C. Can a spherical model substitute for a realistic head model in forward and inverse MEG simulations? Proc. BIOMAG 2002, 25, 52–68. [Google Scholar]
  20. Muravchik, C.H.; Nehorai, A. EEG/MEC error bounds for a static dipole source with a realistic head model. IEEE Trans. Signal Process. 2001, 49, 470–484. [Google Scholar] [CrossRef]
  21. Cuffin, B.N.; Schomer, D.L.; Ives, J.R.; Blume, H. Experimental tests of EEG source localization accuracy in realistically shaped head models. Clin. Neurophysiol. 2001, 112, 2288–2292. [Google Scholar] [CrossRef] [PubMed]
  22. Bolander, H.; Moran, J.E.; Nagesh, V.; Mason, K.M.; Bowyer, S.M.; Barkley, G.L.; Tepley, N. MEG localization errors associated with a realistic cortical model. In Proceedings of the Biomag 2002: Proceedings of the 13th International Conference on Biomagnetism, Jena, Germany, 10–14 August 2002; pp. 743–745. [Google Scholar]
  23. McNay, D.; Michielssen, E.; Rogers, R.; Taylor, S.; Akhtari, M.; Sutherling, W. Multiple source localization using genetic algorithms. J. Neurosci. Methods 1996, 64, 163–172. [Google Scholar] [CrossRef]
  24. Escalona-Vargas, D.; Murphy, P.; Lowery, C.L.; Eswaran, H. Genetic algorithms for dipole location of fetal magnetocardiography. 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; IEEE: Piscataway, NJ, USA, 2016; pp. 904–907. [Google Scholar]
  25. Lewis, P.S.; Mosher, J.C. Genetic algorithms for minimal source reconstructions. In Proceedings of the 27th Asilomar Conference on Signals, Systems and Computers, Pacific Grove, CA, USA, 1–3 November 1993; IEEE: Piscataway, NJ, USA, 1993; pp. 335–338. [Google Scholar]
  26. Scherg, M.; Bast, T.; Berg, P. Multiple source analysis of interictal spikes: Goals, requirements, and clinical value. J. Clin. Neurophysiol. 1999, 16, 214–224. [Google Scholar] [CrossRef]
  27. Sequeira, C.; Sanchez-Quesada, F.; Sancho, M.; Hidalgo, I.; Ortiz, T. A genetic algorithm approach for localization of deep sources in MEG. Phys. Scr. 2005, 2005, 140. [Google Scholar] [CrossRef]
  28. Rytsar, R.; Pun, T. EEG source reconstruction using global optimization approaches: Genetic algorithms versus simulated annealing. Int. J. Tomogr. Stat. 2010, 14, 83–94. [Google Scholar]
  29. Aydin, Ü.; Vorwerk, J.; Dümpelmann, M.; Küpper, P.; Kugel, H.; Heers, M.; Wellmer, J.; Kellinghaus, C.; Haueisen, J.; Rampp, S.; et al. Combined EEG/MEG can outperform single modality EEG or MEG source reconstruction in presurgical epilepsy diagnosis. PLoS ONE 2015, 10, e0118753. [Google Scholar] [CrossRef] [PubMed]
  30. Cho, J.-H.; Vorwerk, J.; Wolters, C.H.; Knösche, T.R. Influence of the head model on EEG and MEG source connectivity analyses. Neuroimage 2015, 110, 60–77. [Google Scholar] [CrossRef]
  31. Mahmutoglu, M.A.; Rupp, A.; Baumgärtner, U. Simultaneous EEG/MEG yields complementary information of nociceptive evoked responses. Clin. Neurophysiol. 2022, 143, 21–35. [Google Scholar] [CrossRef] [PubMed]
  32. Pittau, F.; Grova, C.; Moeller, F.; Dubeau, F.; Gotman, J. Patterns of altered functional connectivity in mesial temporal lobe epilepsy. Epilepsia 2012, 53, 1013–1023. [Google Scholar] [CrossRef] [PubMed]
  33. Haneef, Z.; Lenartowicz, A.; Yeh, H.J.; Levin, H.S.; Engel, J., Jr.; Stern, J.M. Functional connectivity of hippocampal networks in temporal lobe epilepsy. Epilepsia 2014, 55, 137–145. [Google Scholar] [CrossRef]
  34. Wu, D.; Chang, F.; Peng, D.; Xie, S.; Li, X.; Zheng, W. The morphological characteristics of hippocampus and thalamus in mesial temporal lobe epilepsy. BMC Neurol. 2020, 20, 235. [Google Scholar] [CrossRef]
  35. Ostergard, T.A.; Miller, J.P. Surgery for epilepsy in the primary motor cortex: A critical review. Epilepsy Behav. 2019, 91, 13–19. [Google Scholar] [CrossRef]
  36. Karunakaran, S.; Rollo, M.J.; Kim, K.; Johnson, J.A.; Kalamangalam, G.P.; Aazhang, B.; Tandon, N. The interictal mesial temporal lobe epilepsy network. Epilepsia 2018, 59, 244–258. [Google Scholar] [CrossRef] [PubMed]
  37. Sohrabpour, A.; He, B. Exploring the extent of source imaging: Recent advances in noninvasive electromagnetic brain imaging. Curr. Opin. Biomed. Eng. 2021, 18, 100277. [Google Scholar] [CrossRef]
  38. Hirano, R.; Emura, T.; Nakata, O.; Nakashima, T.; Asai, M.; Kagitani-Shimono, K.; Kishima, H.; Hirata, M. Fully-automated spike detection and dipole analysis of epileptic MEG using deep learning. IEEE Trans. Med. Imaging 2022, 41, 2879–2890. [Google Scholar] [CrossRef]
  39. Razorenova, A.; Yavich, N.; Malovichko, M.; Fedorov, M.; Koshev, N.; Dylov, D.V. Deep learning for non-invasive cortical potential imaging. In Proceedings of the International Workshop on Machine Learning in Clinical Neuroimaging, Vancouver, BC, Canada, 8–12 October 2022; Springer: Berlin/Heidelberg, Germany, 2020; pp. 45–55. [Google Scholar]
  40. Pathak, D.; Kashyap, R.; Rahamatkar, S. Chapter 10—A study of deep learning approach for the classification of electroencephalogram (EEG) brain signals. In Artificial Intelligence and Machine Learning for EDGE Computing; Pandey, R., Khatri, S.K., Singh, N.K., Verma, P., Eds.; Academic Press: Cambridge, MA, USA, 2022; pp. 133–144. [Google Scholar] [CrossRef]
  41. Fuchs, M.; Wagner, M.; Wischmann, H.-A.; Köhler, T.; Theißen, A.; Drenckhahn, R.; Buchner, H. Improving source reconstructions by combining bioelectric and biomagnetic data. Electroencephalogr. Clin. Neurophysiol. 1998, 107, 93–111. [Google Scholar] [CrossRef] [PubMed]
  42. Hnazaee, M.F.; Wittevrongel, B.; Khachatryan, E.; Libert, A.; Carrette, E.; Dauwe, I.; Meurs, A.; Boon, P.; Van Roost, D.; Van Hulle, M.M. Localization of deep brain activity with scalp and subdural EEG. NeuroImage 2020, 223, 117344. [Google Scholar] [CrossRef] [PubMed]
  43. Collier, T.J.; Kynor, D.B.; Bieszczad, J.; Audette, W.E.; Kobylarz, E.J.; Diamond, S.G. Creation of a human head phantom for testing of electroencephalography equipment and techniques. IEEE Trans. Biomed. Eng. 2012, 59, 2628–2634. [Google Scholar] [CrossRef]
  44. Mobashsher, A.; Abbosh, A. Three-dimensional human head phantom with realistic electrical properties and anatomy. IEEE Antennas Wirel. Propag. Lett. 2014, 13, 1401–1404. [Google Scholar] [CrossRef]
  45. Hunold, A.; Funke, M.; Eichardt, R.; Stenroos, M.; Haueisen, J. EEG and MEG: Sensitivity to epileptic spike activity as function of source orientation and depth. Physiol. Meas. 2016, 37, 1146. [Google Scholar] [CrossRef]
  46. Wolters, C.H.; Köstler, H.; Möller, C.; Härdtlein, J.; Grasedyck, L.; Hackbusch, W. Numerical mathematics of the subtraction method for the modeling of a current dipole in EEG source reconstruction using finite element head models. SIAM J. Sci. Comput. 2008, 30, 24–45. [Google Scholar] [CrossRef]
  47. Li, Z.; Park, B.-K.; Liu, W.; Zhang, J.; Reed, M.P.; Rupp, J.D.; Hoff, C.N.; Hu, J. A statistical skull geometry model for children 0–3 years old. PLoS ONE 2015, 10, e0127322. [Google Scholar] [CrossRef]
  48. Thigpen, N.N.; Kappenman, E.S.; Keil, A. Assessing the internal consistency of the event-related potential: An example analysis. Psychophysiology 2017, 54, 123–138. [Google Scholar] [CrossRef]
  49. Hu, L.; Mouraux, A.; Hu, Y.; Iannetti, G.D. A novel approach for enhancing the signal-to-noise ratio and detecting automatically event-related potentials (ERPs) in single trials. Neuroimage 2010, 50, 99–111. [Google Scholar] [CrossRef]
  50. FieldTrip Toolbox. Creating a BEM Volume Conduction Model of the Head for Source Reconstruction of EEG Data—FieldTrip Toolbox. Available online: https://www.fieldtriptoolbox.org/tutorial/headmodel_eeg_bem/ (accessed on 14 February 2024).
  51. Vorwerk, J.; Oostenveld, R.; Piastra, M.C.; Magyari, L.; Wolters, C.H. The FieldTrip-SimBio pipeline for EEG forward solutions. Biomed. Eng. Online 2018, 17, 37. [Google Scholar] [CrossRef]
  52. Jatoi, M.A.; Kamel, N.; Faye, I.; Malik, A.S.; Bornot, J.M.; Begum, T. BEM based solution of forward problem for brain source estimation. In Proceedings of the 2015 IEEE International Conference on Signal and Image Processing Applications (ICSIPA), Kuala Lumpur, Malaysia, 19–21 October 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 180–185. [Google Scholar]
  53. Gramfort, A.; Papadopoulo, T.; Olivi, E.; Clerc, M. Forward field computation with OpenMEEG. Comput. Intell. Neurosci. 2011, 2011, 923703. [Google Scholar] [CrossRef]
  54. Pizzo, F.; Roehri, N.; Giusiano, B.; Lagarde, S.; Carron, R.; Scavarda, D.; Bartolomei, F. The ictal signature of thalamus and basal ganglia in focal epilepsy: A SEEG study. Neurology 2021, 96, e280–e293. [Google Scholar] [CrossRef] [PubMed]
  55. Chikara, R.K.; Jahromi, S.; Tamilia, E.; Madsen, J.R.; Stufflebeam, S.M.; Pearl, P.L.; Papadelis, C. Electromagnetic source imaging predicts surgical outcome in children with focal cortical dysplasia. Clin. Neurophysiol. 2023, 153, 88–101. [Google Scholar] [CrossRef]
  56. Gonzalez-Moreno, A.; Aurtenetxe, S.; Lopez-Garcia, M.-E.; del Pozo, F.; Maestu, F.; Nevado, A. Signal-to-noise ratio of the MEG signal after preprocessing. J. Neurosci. Methods 2014, 222, 56–61. [Google Scholar] [CrossRef]
  57. Song, J.; Davey, C.; Poulsen, C.; Luu, P.; Turovets, S.; Anderson, E.; Li, K.; Tucker, D. EEG source localization: Sensor density and head surface coverage. J. Neurosci. Methods 2015, 256, 9–21. [Google Scholar] [CrossRef]
  58. Ward, D.; Jones, R.; Bones, P.J.; Carroll, G. Enhancement of deep epileptiform activity in the EEG via 3-D adaptive spatial filtering. IEEE Trans. Biomed. Eng. 1999, 46, 707–716. [Google Scholar] [CrossRef] [PubMed]
  59. Cleophas, T.; Zwinderman, A. Non-parametric Tests for Three or More Samples (Friedman and Kruskal-Wallis). In Clinical Data Analysis on a Pocket Calculator; Springer: Berlin/Heidelberg, Germany, 2016; pp. 193–197. [Google Scholar] [CrossRef]
  60. Tan, H.H.; Lim, K.H. Review of second-order optimization techniques in artificial neural networks backpropagation. In IOP Conference Series: Materials Science and Engineering; IOP Publishing: Bristol, UK, 2019; p. 012003. [Google Scholar]
  61. Escalona-Vargas, D.I.; López-Arévalo, I.; Gutiérrez, D. On the performance of metahuristic algorithms in the solution of the EEG inverse problem. In Proceedings of the 2011 Third World Congress on Nature and Biologically Inspired Computing, Salamanca, Spain, 19–21 October 2021; IEEE: Piscataway, NJ, USA, 2011; pp. 69–74. [Google Scholar]
  62. Venkateswaran, C.; Ramachandran, M.; Ramu, K.; Prasanth, V.; Mathivanan, G. Application of simulated annealing in various field. Mater. Charact. 2022, 1, 1–8. [Google Scholar] [CrossRef]
  63. Hillebrand, A.; Barnes, G.R. A quantitative assessment of the sensitivity of Whole-Head MEG to activity in the adult human cortex. NeuroImage 2002, 16, 638–650. [Google Scholar] [CrossRef]
  64. Huizenga, H.; Van Zuijen, T.; Heslenfeld, D.J.; Molenaar, P. Simultaneous MEG and EEG source analysis. Phys. Med. Biol. 2001, 46, 1737. [Google Scholar] [CrossRef]
  65. Im, C.-H.; Jung, H.-K.; Fujimaki, N. Anatomically constrained dipole adjustment (ANACONDA) for accurate MEG/EEG focal source localizations. Phys. Med. Biol. 2005, 50, 4931. [Google Scholar] [CrossRef]
  66. Ramantani, G.; Boor, R.; Paetau, R.; Ille, N.; Feneberg, R.; Rupp, A.; Boppel, T.; Scherg, M.; Rating, D.; Bast, T. MEG versus EEG: Influence of background activity on interictal spike detection. J. Clin. Neurophysiol. 2006, 23, 498–508. [Google Scholar] [CrossRef] [PubMed]
  67. Rere, L.M.R.; Fanany, M.I.; Arymurthy, A.M. Simulated Annealing Algorithm for Deep Learning. Procedia Comput. Sci. 2015, 72, 137–144. [Google Scholar] [CrossRef]
Figure 1. (ac) Coronal, sagittal, axial views, respectively, of the dipole sources inside the phantom model. Green represents the sources on the left hemisphere and red represents the sources in the right hemisphere, six per hemisphere. (d,e) EEG and MEG sensor arrangements, respectively, for the phantom measurements. (f) A realistic BEM-based head model for projecting the dipole sources onto the scalp surface.
Figure 1. (ac) Coronal, sagittal, axial views, respectively, of the dipole sources inside the phantom model. Green represents the sources on the left hemisphere and red represents the sources in the right hemisphere, six per hemisphere. (d,e) EEG and MEG sensor arrangements, respectively, for the phantom measurements. (f) A realistic BEM-based head model for projecting the dipole sources onto the scalp surface.
Bioengineering 11 00897 g001
Figure 2. (ac) Coronal, sagittal, axial views, respectively, of the simulated sources inside the phantom model with blue spheres representing the locations of the simulated sources.
Figure 2. (ac) Coronal, sagittal, axial views, respectively, of the simulated sources inside the phantom model with blue spheres representing the locations of the simulated sources.
Bioengineering 11 00897 g002
Figure 3. Goodness of fit (GOF) for the localization of an EEG dipole source as a function of source location across an axial plane of the phantom ((a) z1 = 33 mm, (b) z2 = 29 mm).
Figure 3. Goodness of fit (GOF) for the localization of an EEG dipole source as a function of source location across an axial plane of the phantom ((a) z1 = 33 mm, (b) z2 = 29 mm).
Bioengineering 11 00897 g003
Figure 4. Comparison of the three localization techniques, hybrid-SA, DS, and GD, for (a) localization error versus SNR, and (b) localization errors versus dipole depth, when using EEG data only. Simulated and experimental data are plotted together, but with different symbols. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, for p < 0.05).
Figure 4. Comparison of the three localization techniques, hybrid-SA, DS, and GD, for (a) localization error versus SNR, and (b) localization errors versus dipole depth, when using EEG data only. Simulated and experimental data are plotted together, but with different symbols. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, for p < 0.05).
Bioengineering 11 00897 g004
Figure 5. Comparison of the three localization techniques, hybrid-SA, DS, and GD, for (a) localization error versus SNR, and (b) localization errors versus dipole depth, when using MEG data only. Simulated and experimental data are plotted together, but with different symbols. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, * representing statistically significant difference between GD and DS for p < 0.05).
Figure 5. Comparison of the three localization techniques, hybrid-SA, DS, and GD, for (a) localization error versus SNR, and (b) localization errors versus dipole depth, when using MEG data only. Simulated and experimental data are plotted together, but with different symbols. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, * representing statistically significant difference between GD and DS for p < 0.05).
Bioengineering 11 00897 g005
Figure 6. Comparison of the three localization techniques, hybrid-SA, DS, and GD, for (a) localization error versus SNR, and (b) localization errors versus dipole depth, when using the combined MEG-EEG data. Simulated and experimental data are plotted together, but with different symbols. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, for p < 0.05).
Figure 6. Comparison of the three localization techniques, hybrid-SA, DS, and GD, for (a) localization error versus SNR, and (b) localization errors versus dipole depth, when using the combined MEG-EEG data. Simulated and experimental data are plotted together, but with different symbols. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, for p < 0.05).
Bioengineering 11 00897 g006
Figure 7. Comparison between the three localization techniques, hybrid-SA, DS, and GD for the simultaneous localization two dipoles for (a) EEG-only, (b) MEG-only, and (c) combined EEG-MEG data, versus SNR. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, for p < 0.05).
Figure 7. Comparison between the three localization techniques, hybrid-SA, DS, and GD for the simultaneous localization two dipoles for (a) EEG-only, (b) MEG-only, and (c) combined EEG-MEG data, versus SNR. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, for p < 0.05).
Bioengineering 11 00897 g007
Figure 8. Comparison between the three algorithms, hybrid-SA, DS, and GD for (a) dipole phi (azimuthal) angle error, and (b) dipole theta (polar) angle error versus SNR. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, for p < 0.05).
Figure 8. Comparison between the three algorithms, hybrid-SA, DS, and GD for (a) dipole phi (azimuthal) angle error, and (b) dipole theta (polar) angle error versus SNR. (* representing statistically significant difference between hybrid-SA and GD, * representing statistically significant difference between hybrid-SA and DS, for p < 0.05).
Bioengineering 11 00897 g008
Table 1. Thickness and conductivities of the layers of the pediatric MRI-based pediatric phantom model.
Table 1. Thickness and conductivities of the layers of the pediatric MRI-based pediatric phantom model.
Tissue TypeTissue Layer Thickness in mmConductivity in S/m
Brain2.76 mm 0.330
Skull4.16 mm0.004
Scalp3.90 mm0.330
Table 2. Locations and orientations of each dipole source in the head phantom as determined by CT.
Table 2. Locations and orientations of each dipole source in the head phantom as determined by CT.
Source[x y z] Location in mm in SCS System Theta (θ) Value in DegreesPhi (φ) Value in Degrees
Right 1[8.62, −21.4, 0.63]11236
Right 2[−36.76, −5.14, 45.82]68186
Right 3[−0.27, −18.41, 12.01]31107
Right 4[10.66, −5.30, 28.83]4778
Right 5[56.09, −16.60, 33.42]48112
Right 6[47.54, −23.29, 27.32]13584
Left 1[13.39, 27.66, 53.16]11226
Left 2[7.68, 18.73, 35.37]32121
Left 3[16.92, 4.60, 59.22]3648
Left 4[15.76, 44.49, 33.32]6853
Left 5[40.31, 11.13, 44.68]73191
Left 6[52.03, 10.55, 27.39]116118
Table 3. Locations and orientations of the dipole sources simulated at various depths in the virtual head phantom.
Table 3. Locations and orientations of the dipole sources simulated at various depths in the virtual head phantom.
Source[x, y, z] Location in mm in SCS SystemTheta (θ) Value in DegreesPhi (φ) Value in Degrees
S1[50.68, 26.54, 65.3]10878
S2[55.24, 20.18, 82.11]56113
S3[53.44, 41.38, 63.12]2457
S4[−15.87, 51.26, 69.33]12463
S5[5.30, −43.02, 78.15]146119
S6[12.60, −14.18, 85.23]171138
S7[7.65, −29.41, 71.78]2154
S8[57.01, −33.96, 54.12]5978
S9[14.14, 21.36, 62.13]11291
S10[1.21, 34.98, 21.68]74162
S11[4.41, 41.26, 44.73]8249
S12[−11.27, −25.57, 58.12]6136
S13[29.12, −23.44, 45.47]3887
S14[7.77, −2.51, 70.69]4576
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bastola, S.; Jahromi, S.; Chikara, R.; Stufflebeam, S.M.; Ottensmeyer, M.P.; De Novi, G.; Papadelis, C.; Alexandrakis, G. Improved Dipole Source Localization from Simultaneous MEG-EEG Data by Combining a Global Optimization Algorithm with a Local Parameter Search: A Brain Phantom Study. Bioengineering 2024, 11, 897. https://doi.org/10.3390/bioengineering11090897

AMA Style

Bastola S, Jahromi S, Chikara R, Stufflebeam SM, Ottensmeyer MP, De Novi G, Papadelis C, Alexandrakis G. Improved Dipole Source Localization from Simultaneous MEG-EEG Data by Combining a Global Optimization Algorithm with a Local Parameter Search: A Brain Phantom Study. Bioengineering. 2024; 11(9):897. https://doi.org/10.3390/bioengineering11090897

Chicago/Turabian Style

Bastola, Subrat, Saeed Jahromi, Rupesh Chikara, Steven M. Stufflebeam, Mark P. Ottensmeyer, Gianluca De Novi, Christos Papadelis, and George Alexandrakis. 2024. "Improved Dipole Source Localization from Simultaneous MEG-EEG Data by Combining a Global Optimization Algorithm with a Local Parameter Search: A Brain Phantom Study" Bioengineering 11, no. 9: 897. https://doi.org/10.3390/bioengineering11090897

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