Next Article in Journal
Diagnosis of Forme Fruste Keratoconus Using Corvis ST Sequences with Digital Image Correlation and Machine Learning
Previous Article in Journal
A Novel Mis-Seg-Focus Loss Function Based on a Two-Stage nnU-Net Framework for Accurate Brain Tissue Segmentation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automatic Estimation of the Interference Subspace Dimension Threshold in the Subspace Projection Algorithms of Magnetoencephalography Based on Evoked State Data

1
Institute of Large-Scale Scientific Facility and Centre for Zero Magnetic Field Science, Beihang University, Beijing 100191, China
2
School of Instrumentation Science and Optoelectronic Engineering, Beihang University, Hangzhou 310051, China
3
National Institute of Extremely-Weak Magnetic Field Infrastructure, Hangzhou 310051, China
4
Shandong Key Laboratory for Magnetic Field-Free Medicine and Functional Imaging, Shandong University, Jinan 310051, China
*
Author to whom correspondence should be addressed.
Bioengineering 2024, 11(5), 428; https://doi.org/10.3390/bioengineering11050428
Submission received: 8 April 2024 / Revised: 24 April 2024 / Accepted: 25 April 2024 / Published: 26 April 2024
(This article belongs to the Special Issue 10th Anniversary of Bioengineering: Biosignal Processing)

Abstract

:
A class of algorithms based on subspace projection is widely used in the denoising of magnetoencephalography (MEG) signals. Setting the dimension of the interference (external) subspace matrix of these algorithms is the key to balancing the denoising effect and the degree of signal distortion. However, most current methods for estimating the dimension threshold rely on experience, such as observing the signal waveforms and spectrum, which may render the results too subjective and lacking in quantitative accuracy. Therefore, this study proposes a method to automatically estimate a suitable threshold. Time–frequency transformations are performed on the evoked state data to obtain the neural signal of interest and the noise signal in a specific time–frequency band, which are then used to construct the objective function describing the degree of noise suppression and signal distortion. The optimal value of the threshold in the selected range is obtained using the weighted-sum method. Our method was tested on two classical subspace projection algorithms using simulation and two sensory stimulation experiments. The thresholds estimated by the proposed method enabled the algorithms to achieve the best waveform recovery and source location error. Therefore, the threshold selected in this method enables subspace projection algorithms to achieve the best balance between noise removal and neural signal preservation in subsequent MEG analyses.

1. Introduction

Magnetoencephalography (MEG) is a neuroimaging technique with a high spatiotemporal resolution [1], which has been applied in the localization of epilepsy and early diagnosis research on psychiatric diseases [2,3]. With the development of optically pumped magnetometers (OPMs) in recent years, wearable OPM-MEG systems [4,5] have not only overcome the disadvantages of traditional MEG devices [6] that need to operate at low temperatures and sensors that are fixed and far away from the subject’s body but have also acquired an improved level of signal sensitivity [7]. Therefore, OPM-MEG systems have broad prospects in neuroscience research and clinical applications [8,9]. However, because MEG signals are very weak, even if the measurements are performed in a magnetically shielded room (MSR) [10,11], environmental noise interference is significantly stronger than neural signals [12]. Therefore, noise suppression algorithms are crucial for MEG signal processing [13].
Widely used MEG interference suppression algorithms can be divided into two categories: regression methods [14,15] based on reference sensors, and subspace projection algorithms. Although the principle of the regression algorithm is simple and easy to implement, it cannot eliminate interference that is not recorded by the reference sensors, and the complexity of the background magnetic field makes accurate modeling difficult [13]. Hence, in this study, we focus on optimizing subspace projection algorithms. These algorithms divide internal neural signals and external interference signals by projecting MEG signals onto internal and external subspaces [16]. The interference subspace is usually defined by the eigenvectors corresponding to the top x largest singular values in the noise singular value matrix. Therefore, the dimension of the interference subspace, which is the value of x, is an important threshold in subspace projection algorithms. If the threshold is set too low, the interference subspace will not be able to capture sufficient noise, and the noise suppression effect will not be adequate; however, if the threshold is set too high, some internal neural signals will be falsely projected into the interference subspace, resulting in signal distortion [16]. Algorithms based on subspace projection can be implemented in various signal domains, such as signal space projection (SSP) [17] and signal space separation (SSS) [18] in the space domain; common temporal subspace projection (CTSP) [19], spatiotemporal signal space separation (tSSS) [20], and dual-signal subspace projection (DSSP) [21] in the time domain; and spectral signal space projection (S3P) in the frequency domain [22]. Although the performance of these algorithms has been widely verified, it is necessary to select appropriate thresholds according to the noise levels of different data to achieve a balance between the denoising effect and signal distortion.
Some studies have estimated the thresholds of the subspace projection algorithms. The S3P algorithm removes noise peaks (spectral spikes) by expressing the noise dimension through the eigenvalues of the signal cross-spectral density matrix; however, this may ignore noise that is broadly distributed over the full frequency band [22]. Refs. [23,24] estimated the appropriate truncation values of the spherical harmonic functions for the SSS algorithm in OPM-MEG by simulation and iterative computation. However, these methods are only applicable to estimating the parameters of the SSS; they are difficult to apply to all subspace projection algorithms. In addition, because the actual value of the neural signal is not available from the measurement data, Ref. [25] investigated the effects of different thresholds in the CTSP algorithm on the denoising effect and signal distortion using the standard deviation of the signal to represent the noise level and the neural signal represented by the alpha rhythm frequency band. However, because there is an unknown proportion of noise in the frequency band in addition to the neural signal, a more accurate method for describing the neural signal is needed. In other studies, suitable thresholds were estimated only by manual experience, such as observing the variation of the waveform and spectrum between different thresholds. Thus, to the best of our knowledge, there is no automatic estimation method for the interference subspace dimension threshold that applies to most subspace projection algorithms. The threshold selected by the method proposed in this paper enables the subspace projection algorithm to achieve the best balance between noise suppression and signal distortion reduction.
Therefore, we propose a method to automatically estimate suitable thresholds for the subspace projection algorithms using MEG evoked state data, so that the subspace projection algorithms can accurately and quickly find suitable thresholds to process data with different noise levels. The degrees of noise suppression and signal distortion are designed as two objective functions, and the optimal threshold within the selected range is solved using the weighted-sum method. The effectiveness of the proposed method is verified through simulation, somatosensory-evoked and auditory-evoked experimental data using the classical subspace projection algorithm. The threshold selected by the method proposed in this paper enables the subspace projection algorithm to achieve the best balance between noise suppression and signal distortion reduction.
This paper is structured as follows. In Section 2, we present the principle of the proposed threshold estimation method, and we describe the design scheme and parameter settings of the experiment. Section 3 presents the specific experimental results, and a detailed discussion is presented in Section 4. Finally, we conclude the paper in Section 5.

2. Materials and Methods

In this section, we first define the signal model and illustrate the importance of the external subspace dimension in the algorithm using the principles of the SSP algorithm. Then, we describe how the method proposed in this study selects the appropriate dimension threshold. Finally, we describe our experimental design.

2.1. Subspace Projection Algorithm

We denote the total signal Y obtained from the measurement as the sum of the neural signal B inside the brain and the external interference signal N, which, after denoising, corresponds to Y ^ , B ^ , and N ^ :
Y = B + N ,
Y ^ = B ^ + N ^ ,
Subspace projection algorithms focus on removing external environmental noise and mostly ignore sensor noise.
The SSP algorithm is a classical subspace projection algorithm in the space domain [17], where N is estimated using empty-room noise data. We apply singular value decomposition to the empty-room data matrix N:
N = f 1 , , f n λ 1 0 0 0 λ 2 0 0 0 λ n g 1 T g n T ,
where λ 1 , λ 2 λ n are singular values and f 1 , , f n are the corresponding spatial singular vectors. Among the n singular values, we choose the vector of the top-x singular values that are considerably larger than the other singular values. These vectors form the orthogonal bases of the interference subspace. We define the matrix F x = f 1 , , f x and extract the projection operator of the interference subspace F x F x T . After removing the interference, the internal neural signal B ^ is obtained by projecting Y onto the internal subspace orthogonal to the external subspace:
B ^ = Y I F x F x T ,
where x is the dimension of the interference subspace, which is an important factor for determining the denoising effect and the degree of signal distortion of the SSP. Similar thresholds are also present in other subspace projection algorithms [19,21,22]. However, it is usually set based on manual experience by observing singular values; therefore, in the next subsection, we design a method to estimate this threshold automatically.

2.2. Threshold Estimation Algorithm

A suitable threshold should enable the subspace projection algorithm to remove most of the noise while retaining as much of the neural signal as possible and reducing signal distortion. The threshold estimation problem can be modeled as a multi-objective optimization problem using the degree of noise suppression and the degree of distortion of the neural signal as the two objective functions [26]. In addition, according to previous studies, the scope of the parameter should not be too wide (less than 10); therefore, it is sufficient to use a simple traversal method. The key is to design the two objective functions in a reasonable manner.
First, the degree of neural signal distortion can be defined as the ratio of the neural signals before and after denoising using Equations (1) and (2), respectively:
B ^ B = Y ^ N ^ Y N ,
The exact neural signal is not known for the MEG signal; hence, we adopt the definitions of noise and neural signals of interest from the time–frequency analysis of the evoked state data [27]. In event-related evoked data, we typically have time segments (e.g., the 100 ms post-stimulus component) and frequency bands (e.g., alpha rhythms) of interest; thus, the total signal Y can be defined as the total power value of that part of the signal. Noise N is defined as the average power in the pre-stimulus time segment (normally called the baseline period) that does not contain any significant neural signals as expressed by Equations (6) and (7):
Y ( f , t ) = 1 n k = 1 n y k ( f , t ) 2 ,
N ( f ) = 1 n m k = 1 n t = a 0 y k ( f , t ) 2 ,
Here, f and t denote the specific frequency band and time segment of interest, respectively; n denotes the total number of trials; and m is the number of sampling points in the baseline segment. We define the neural signal as the absolute value of the difference in the multichannel MEG data [27]. According to Equation (5), the objective function F B of the degree of distortion of the neural signal is thus defined as:
F B = B ^ B = 1 l i = 1 l Y ^ i N ^ i 1 l i = 1 l Y i N i ,
where l is the number of channels. Conversely, the degree of noise suppression can be expressed as the proportion of noise in the signal before and after denoising. Usually, the magnitude of the total signal is very large, even after bandpass filtering, and is ten times larger than the evoked MEG signal, which is only approximately hundreds of fT and contains considerably more noise than the neural signal. Therefore, we simplify the noise to the total signal power:
f N = N t = 1 T y ( t ) 2 ,
In practice, each channel exhibits a different noise level. A small amount of random noise can usually be eliminated by the superposed average; therefore, we add channel weights w i to the objective function F N for the degree of noise suppression to focus on channels with relatively high noise:
F N = N N ^ = i = 1 l w i f N ( i ) i = 1 l w i f ^ N ( i ) ,
w i = σ i i = 1 l σ i ,
where σ is the standard deviation of each channel signal, and the weight is positively correlated with the noise level [28].
After normalizing F B and F N for all thresholds to [0, 1], we obtain the total objective function, F a l l using the weighted-sum method, which is a commonly used multi-objective optimization method [29]:
F a l l ( x ) = α F B ( x ) + ( 1 α ) F N ( x ) ,
where x is a threshold of the subspace projection algorithm, and α is the weight used to balance the two objective functions. However, in practice, when x is larger, F B is considerably smaller than F N , and although the signal distortion is already sizeable, F a l l will still be large because of its linear relationship with F N . To render F a l l more sensitive to serious signal distortion and reduce the impact of larger F N variations on F a l l , we adopt the idea of an activation function, normalize F N to [0, 2], and substitute it into the hyperbolic tangent function for the solution [30]:
F a l l ( x ) = α F B ( x ) + ( 1 α ) tanh ( F N ( x ) ) ,
The threshold that gives the maximum value of F a l l in the selected range is the optimal solution estimated by the method described in this study. The process and details of this method are depicted in Figure 1. Except the time–frequency transform, the time complexity of the program implementing the proposed method is O ( l + N ) , where l is the number of channels and N is the selected threshold range.

2.3. Experiments

To verify the effectiveness of our proposed threshold estimation method, we tested it using two classical subspace projection algorithms in simulation, somatosensory-evoked and auditory-evoked experimental data.

2.3.1. Simulation Experiment

A schematic diagram of the simulation system used in this study is presented in Figure 2a. It comprises the internal space of the brain, an array of sensors, and external noise.
The internal brain space was obtained by segmenting the T1-MRI files from a 26-year-old male participant. Thirty-one OPM sensors installed on an 85-channel rigid helmet were simulated as the sensor array [31]. The locations of the sensors on the helmet were optimized for the somatosensory-evoked experiment. A three-dimensional laser scanner (HSCAN Prince 775, Scantech Inc., Hangzhou, China) was used to scan the participant wearing the helmet. Co-registration was performed using the OMMR Toolbox [32] to obtain the position (Figure 2b) of the sensor relative to the brain space.
The total signal is composed of an internal simulation signal and the measured empty-room noise data. To simulate the neural signals of the brain, the source of the internal simulation signal was defined as the current dipole in the internal space of the brain (Figure 2d). The source with a peak amplitude of 50 nA·m and a frequency of 10 Hz was activated in the first 500 ms in a period of 1 s; a total of 300 trials were conducted. To validate the results of the somatosensory evoked experiment, the location of the source was set near the center of the postcentral gyrus (somatosensory cortex) [33]. To avoid random errors in the data processing of a single dipole, 30 points were randomly selected on the cortical surface (yellow area in Figure 2c) with a radius of 3 mm from the center as the origin. We calculated the average value of all points as the final result. The position of the sensor on the helmet was unchanged when measuring the empty-room noise data, and two empty-room noise datasets were measured; one dataset was used with the internal simulation signal to form the raw total signal, and another for the subspace projection algorithms to estimate the noise matrix.

2.3.2. Stimulus-Evoked Experiments

To further verify the validity of the method proposed in this study, we tested the data with different noise levels and stimulation modalities, and conducted somatosensory- and auditory-evoked experiments in two MSRs. The experimental system is shown in Figure 3a. No magnetic field compensation coils were present in the MSRs (ambient field amplitude below 13 nT). Our OPM-MEG research protocol was approved by the Ethics Committee of Beihang University, and written informed consent was obtained from all participants.
Somatosensory-evoked experiment: The number and location of the sensors used in the somatosensory-evoked experiment were the same as those used in the simulation experiments (Figure 3b). The subject was the same as that in the simulation experiment. The sensor type is the second-generation OPM sensor (QZFM, QuSpin Inc., Louisville, CO, USA). A commercial electrical stimulator (DS7A, Digitimer Ltd., Welwyn Garden City, UK) was used to stimulate the median nerve of the left hand. The stimulation threshold was set to the current amplitude at which small thumb movements were visible. The stimulation duration was 200 μ s, with the interval being 1 s. In total, 300 epochs were performed; 300 s of empty-room data were recorded before the experiment.
Auditory-evoked experiment: In the auditory-evoked experiment, 26 sensors of the same type as for the somatosensory-evoked experiment were used; their positions are shown in Figure 3c. The subject was a 26-year-old right-handed healthy male. In the experiment, we played a pure tone stimulus at 1000 Hz to the left ear of the subject using plastic earphones. The stimulation duration was 20 ms, with the interval being 1 s. In total, 480 epochs were performed; 300 s of empty-room data were recorded before the experiment.

2.3.3. Data Processing

All signal generation and processing codes were executed using the MNE-Python platform [34]. The data sampling rate was 1000 Hz, and the bandpass filter was used to cover the range 1–40 Hz.
In the simulation data, the dipole activation moment was used as the stimulus moment (0 ms), segmenting the −200 to 800 ms data into one epoch. The time segment of the signal of interest was set to 0–500ms, the frequency band was 9–11 Hz, and the noise time segment was −200–0 ms. In the somatosensory-evoked data, the M35 component was used as the signal of interest based on the findings in [35,36], where the electrical stimulation moment was used as the stimulus moment (0 ms), segmenting the −100 to 200 ms data into one epoch. The time segment of M35 was set to 30–50 ms, the frequency band was 5–15 Hz, and the noise time segment was −100–0 ms. In the auditory-evoked data, the M100 component was used as the signal of interest based on the findings in [37], where the pure tone stimulation moment was used as the stimulus moment (0 ms), and the −100 to 300 ms data were segmented into one epoch. The time segment of M100 was set to 90–120 ms, the frequency band was 5–20 Hz, and the noise time segment was −100–0 ms. The bad-epoch rejection threshold was 2000 fT.
We tested the proposed method by selecting two subspace projection algorithms, SSP and S3P. We adjusted the threshold ranges and value intervals for different data and algorithms based on the empty-room noise data. The threshold ranges of the SSP and S3P algorithms were set from 1 to 10 in the simulation and somatosensory-evoked data, and from 1 to 8 in the auditory-evoked experimental data; the value intervals were 1. The balance parameter α in F a l l was set to 0.5.

2.3.4. Evaluation Metrics

We calculated three quantitative evaluation metrics to assess the results of the experiment: (1) peak error (PE); (2) mean absolute error (MAE); and (3) location error (LE). All calculations were performed on the superimposed average waveforms. B s i m and B r e c o n are the simulated neural signal and the reconstructed signal after denoising, respectively. PE (Equation (14)) is used to measure the degree of distortion of the neural signal, and P is the number of peak moments of the sine wave of the neural signal. The MAE reflects the degree of deviation of B r e c o n compared to B s i m (Equation (15)), where N represents the number of time sampling points:
PE = 1 P i = 1 P B r e c o n ( t i ) B s i m ( t i ) ,
MAE = 1 N t = 1 N B r e c o n ( t ) B s i m ( t ) ,
In the simulation data, LE was defined as the Euclidean distance between the real simulated dipole position and the dipole position of B r e c o n obtained at the peak moment of the signal using the equivalent current dipole (ECD) method [38]. Since somatosensory-evoked and auditory-evoked experiments do not have exact information on the coordinates and magnitude of the neural source, we used minimum norm estimation (MNE) [39] to analyze the localization of sources. In addition, each experiment was performed to compare the results of the average waveforms and time–frequency analyses based on the wavelet transform.

3. Results

3.1. Simulation Experiment

For the simulation experiment, Figure 4 shows the results of the thresholds of the two subspace projection algorithms calculated using the method developed in this study. The red line is the sub-objective function F B representing the degree of signal distortion, the blue line is the sub-objective function F N representing the degree of noise suppression, and the green line is the objective function F a l l representing the overall effect. It can be seen that x = 4 is the best solution for the SSP and S3P algorithms. The optimal solutions selected by the proposed method are collectively referred to as the “optimal threshold”, and the fifth-ranked thresholds are collectively called the “inferior threshold”.
Table 1 shows the results of PE, MAE, and LE for the SSP and S3P algorithms with different thresholds, sorted by the results of F a l l . Owing to space limitations, only the results of the top five thresholds are shown. The optimal threshold selected by the proposed method achieves the best results in all metrics.
The average waveforms of the signals from each algorithm after denoising using different thresholds in the simulation experiment are shown in Figure 5. Owing to space limitations and to observe the difference easily, we only show the waveform comparison between the optimal and inferior thresholds; all subsequent results are shown in the same way. SSP and S3P exhibited significantly less signal distortion when using the optimal threshold x = 4 (Figure 5c,e) compared to the respective inferior thresholds x = 7 and x = 6 (Figure 5d,f).
The results of the time–frequency analysis are shown in Figure 6 and Figure 7; here, we only show the results of the SSP algorithm. Figure 6 shows the average values of the data from all sensor channels. Figure 6c shows that the optimal threshold not only removes most of the noise but also produces less distortion compared with the inferior threshold, and is more similar to the internal simulated signal.
We also tested the method on two channels with different signal amplitudes. The channel information of “17” and “21” is shown in Figure 7a. Similar to the results in Figure 6, the results in Figure 7 show that the optimal threshold results are closer to the internal simulated signal regardless of the amplitude.

3.2. Somatosensory-Evoked Experiment

Figure 8 shows the results of the thresholds of the three subspace projection algorithms calculated using the method proposed in this study in a somatosensory-evoked experiment. The optimal thresholds for SSP, and S3P are x = 6 and x = 3, respectively.
As shown in Figure 9, because of space limitations, we consider SSP as an example to compare the results of the average waveforms, time–frequency analysis, and source localization between the optimal threshold (x = 6) and the inferior threshold (x = 3). Referring to the findings of [33,36], the results of the average waveforms show that the SSP algorithm using the optimal threshold makes the M35 component more obvious (35 ms wave peak). The time–frequency analysis results clearly demonstrate that utilizing the optimal threshold with the SSP algorithm preserves the most M35 signal power while removing additional noise, achieving a better balance between noise suppression and signal distortion. The source activation area of M35 is concentrated in the postcentral gyrus. However, in the source localization result of the inferior threshold, other brain areas (blue circle) are incorrectly activated, which could be caused by noise. In contrast, the source localization result of the optimal threshold is more concentrated and is almost the same as that of the reference.

3.3. Auditory-Evoked Experiment

Figure 10 shows the results of the thresholds of the three subspace projection algorithms calculated using the method proposed in this study in a auditory-evoked experiment. The optimal thresholds for SSP and S3P are x = 3, respectively.
Similar to the somatosensory-evoked experiment, we use the SSP as an example to compare the results between the optimal threshold (x = 3) and inferior threshold (x = 6). Referring to the findings of [37] as shown in Figure 11, the averaged waveforms and time–frequency analyses demonstrate that the optimal threshold substantially preserves both the waveform and power of M100 with minimal noise interference, contrasting with the inferior threshold, resulting in more pronounced signal distortion. The source activation area of M100 is concentrated in the temporal lobe. Compared with the source localization obtained using the optimal threshold, the results from the inferior threshold exhibit errors in activating additional brain regions (indicated by the blue circle), likely attributable to heightened signal distortion.

4. Discussion

Before analyzing MEG signals, it is necessary to remove a large amount of environmental noise interference from the data. The denoising capability of the subspace projection algorithm, one class of classical denoising algorithms, has been widely verified. However, such algorithms typically need to adjust the thresholds to determine the dimensions of the external subspace in different data, and unsuitable thresholds may lead to poor denoising or excessive signal distortion. To the best of our knowledge, most current studies tend to select this threshold subjectively, such as by observing the amplitude and number of noise spikes in the spectrum, or observing the results of averaged waveforms after processing using different threshold, all of which require repeated tests to find the optimal results, making it difficult to automatically select the appropriate threshold for different data. Therefore, the significance of this study lies in the design of a method that can automatically estimate suitable threshold for subspace projection algorithms based on MEG evoked-state data. Our method constructs sub-objective functions to describe the degree of noise rejection and signal distortion, and then obtains the optimal threshold within the selected threshold range using the weighted-sum method. We did not find similar methods of automatically estimating thresholds applicable for multiple subspace projection algorithms, so we did not compare different threshold estimation methods, and our focus was on whether we could find the optimal parameters using the method proposed in this paper. The primary focus of this study is to determine the parameter threshold enabling the subspace projection algorithm to achieve its optimal performance. It does not entail enhancements to the subspace projection algorithms themselves. The proposed method applies to most subspace projection algorithms in principle. In addition to the SSP and S3P algorithms tested in this paper, the time-related thresholds used for signal separation in algorithms such as CTSP and tSSS can also be estimated using our method [19,20].
The SSS series algorithms are also a class of classical subspace projection algorithms; however, they were not tested in this study because the SSS usually requires a large amount of sensor data (greater than 150 channels) to construct an accurate model of the spherical harmonic functions. There are some SSS algorithm optimization methods for OPM-MEG with fewer sensors, which also rely on multi-axis sensors to increase the number of channels and are only applicable to SSS [23,24]. Limited by our experimental conditions, using the SSS algorithm on a system with only thirty pure radial OPM sensors was not effective. In future work, we will increase the number of sensors or use multi-axis sensors to test our method. However, unlike other algorithms that have only one parameter, more parameters can affect the performance of the SSS algorithm, including the position of the origin, truncation values of the spherical harmonic functions. Because the approach in this study uses a traversal method to find the threshold of the parameter, the time cost of finding the optimal thresholds in the SSS algorithm is high. In the future, we will investigate more efficient threshold optimization methods to solve this problem. Homogeneous field correction [40] is a newly proposed denoising algorithm for OPM-MEG systems that can remove most of the homogeneous noise interference. However, we did not test it because it does not require setup thresholds. Moreover, the ability of the method to suppress nonhomogeneous interference needs to be further investigated; it may be possible to extend the space-temporal domain similar to that in eSSS [41,42], which is a worthwhile line of future work.
For the objective function, we designed a weight value α to balance the degree of noise suppression and signal distortion, and in the practical test, we chose 0.5, which is equivalent to ignoring this weight, although better results were achieved. This is because we considered the effect of the two sub-objective functions on the waveform results and source localization to be a complex issue. Thus, further research is needed in our subsequent work to clarify how to automatically and reasonably set this balanced weight value for different studies (brain network analysis, signal classification, etc.). On this basis, we also need to investigate whether an objective optimization method that is more effective than the weighted sum method exists. In addition, the threshold range in this study must be set manually, although the results prove that when the threshold range contains all reasonable thresholds, the threshold selected by our method is the optimal threshold within the range. However, this method can only be considered semi-automatic in terms of threshold selection. Therefore, it is necessary to investigate the automatic selection of an appropriate threshold range for different types of data.
Owing to the limitations of the experimental conditions, we mainly tested the OPM-MEG system with only a few sensors. Other systems that need to apply the subspace projection algorithm (e.g., SQUID) can also use the method proposed in this paper to determine the threshold; however, it is necessary to set up a suitable threshold range. In addition, the signals of interest in the objective function can be set in the appropriate time–frequency bands according to different studies. The method in this study is concerned with the signal power in the time–frequency band; subsequently, we will also investigate the phase response and other aspects.
Overall, our threshold estimation method enables us to select an optimal threshold for the subspace projection algorithm that can suppress the most noise interference without causing significant distortion of the neural signal.

5. Conclusions

In this paper, we proposed a method for automatically estimating the interference subspace dimension threshold in the subspace projection algorithm, by selecting the threshold that enables the subspace projection algorithm to best balance noise suppression and signal distortion when denoising MEG data. Our method obtains the neural signals of interest and noise signals in specific time–frequency bands by performing time–frequency transformations on evoked state data, and uses them to construct the objective functions for the degree of noise suppression and signal distortion. By summing them with weights, the optimal threshold within the given range was obtained by traversal. Finally, the validity of our method was verified with three classical subspace projection algorithms using simulation, somatosensory-evoked, and auditory-evoked experimental data.

Author Contributions

Conceptualization, R.Z. and X.N.; methodology, R.Z.; software, R.Z. and R.W.; validation, R.Z. and R.W.; formal analysis, R.Z.; investigation, R.Z. and R.W.; resources, X.N.; data curation, R.Z.; writing—original draft preparation, R.Z.; writing—review and editing, Y.G. and X.N.; visualization, R.Z.; supervision, X.N.; project administration, X.N.; funding acquisition, X.N. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by the National Natural Science Foundation of China (No. 42388101) and Beijing Municipal Natural Science Foundation (Grant No. 4212012).

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and OPM-MEG research protocol was approved by the Ethics Committee of Beihang University (protocol number BM2020175).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to the privacy policies of the Ethics Committee of Beihang University.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Fred, A.L.; Kumar, S.N.; Kumar Haridhas, A.; Ghosh, S.; Purushothaman Bhuvana, H.; Sim, W.K.J.; Vimalan, V.; Givo, F.A.S.; Jousmäki, V.; Padmanabhan, P.; et al. A brief introduction to magnetoencephalography (MEG) and its clinical applications. Brain Sci. 2022, 12, 788. [Google Scholar] [CrossRef]
  2. Geller, A.S.; Teale, P.; Kronberg, E.; Ebersole, J.S. Magnetoencephalography for Epilepsy Presurgical Evaluation. Curr. Neurol. Neurosci. Rep. 2024, 24, 35–46. [Google Scholar] [CrossRef]
  3. Marco, E.J.; Khatibi, K.; Hill, S.S.; Siegel, B.; Arroyo, M.S.; Dowling, A.F.; Neuhaus, J.M.; Sherr, E.H.; Hinkley, L.N.; Nagarajan, S.S. Children with autism show reduced somatosensory response: An MEG study. Autism Res. 2012, 5, 340–351. [Google Scholar] [CrossRef]
  4. Boto, E.; Holmes, N.; Leggett, J.; Roberts, G.; Shah, V.; Meyer, S.S.; Muñoz, L.D.; Mullinger, K.J.; Tierney, T.M.; Bestmann, S.; et al. Moving magnetoencephalography towards real-world applications with a wearable system. Nature 2018, 555, 657–661. [Google Scholar] [CrossRef] [PubMed]
  5. Tierney, T.M.; Holmes, N.; Mellor, S.; López, J.D.; Roberts, G.; Hill, R.M.; Boto, E.; Leggett, J.; Shah, V.; Brookes, M.J.; et al. Optically pumped magnetometers: From quantum origins to multi-channel magnetoencephalography. NeuroImage 2019, 199, 598–608. [Google Scholar] [CrossRef] [PubMed]
  6. Gross, J. Magnetoencephalography in cognitive neuroscience: A primer. Neuron 2019, 104, 189–204. [Google Scholar] [CrossRef] [PubMed]
  7. Iivanainen, J.; Stenroos, M.; Parkkonen, L. Measuring MEG closer to the brain: Performance of on-scalp sensor arrays. NeuroImage 2017, 147, 542–553. [Google Scholar] [CrossRef]
  8. Brookes, M.J.; Leggett, J.; Rea, M.; Hill, R.M.; Holmes, N.; Boto, E.; Bowtell, R. Magnetoencephalography with optically pumped magnetometers (OPM-MEG): The next generation of functional neuroimaging. Trends Neurosci. 2022, 45, 621–634. [Google Scholar] [CrossRef] [PubMed]
  9. Bruña, R.; Vaghari, D.; Greve, A.; Cooper, E.; Mada, M.O.; Henson, R.N. Modified MRI anonymization (de-facing) for improved MEG coregistration. Bioengineering 2022, 9, 591. [Google Scholar] [CrossRef]
  10. Iivanainen, J.; Zetter, R.; Grön, M.; Hakkarainen, K.; Parkkonen, L. On-scalp MEG system utilizing an actively shielded array of optically-pumped magnetometers. Neuroimage 2019, 194, 244–258. [Google Scholar] [CrossRef]
  11. Holmes, N.; Tierney, T.M.; Leggett, J.; Boto, E.; Mellor, S.; Roberts, G.; Hill, R.M.; Shah, V.; Barnes, G.R.; Brookes, M.J.; et al. Balanced, bi-planar magnetic field and field gradient coils for field compensation in wearable magnetoencephalography. Sci. Rep. 2019, 9, 14196. [Google Scholar] [CrossRef]
  12. Burgess, R.C. Recognizing and correcting MEG artifacts. J. Clin. Neurophysiol. 2020, 37, 508–517. [Google Scholar] [CrossRef]
  13. Seymour, R.A.; Alexander, N.; Mellor, S.; O’Neill, G.C.; Tierney, T.M.; Barnes, G.R.; Maguire, E.A. Interference suppression techniques for OPM-based MEG: Opportunities and challenges. NeuroImage 2022, 247, 118834. [Google Scholar] [CrossRef]
  14. Hanna, J.; Kim, C.; Müller-Voggel, N. External noise removed from magnetoencephalographic signal using independent component analyses of reference channels. J. Neurosci. Methods 2020, 335, 108592. [Google Scholar] [CrossRef]
  15. Boto, E.; Meyer, S.S.; Shah, V.; Alem, O.; Knappe, S.; Kruger, P.; Fromhold, T.M.; Lim, M.; Glover, P.M.; Morris, P.G.; et al. A new generation of magnetoencephalography: Room temperature measurements using optically-pumped magnetometers. NeuroImage 2017, 149, 404–414. [Google Scholar] [CrossRef]
  16. Sekihara, K.; Nagarajan, S.S. Subspace-based interference removal methods for a multichannel biomagnetic sensor array. J. Neural Eng. 2017, 14, 051001. [Google Scholar] [CrossRef] [PubMed]
  17. Uusitalo, M.A.; Ilmoniemi, R.J. Signal-space projection method for separating MEG or EEG into components. Med. Biol. Eng. Comput. 1997, 35, 135–140. [Google Scholar] [CrossRef] [PubMed]
  18. Taulu, S.; Simola, J.; Kajola, M. Applications of the signal space separation method. IEEE Trans. Signal Process. 2005, 53, 3359–3372. [Google Scholar] [CrossRef]
  19. Watanabe, T.; Kawabata, Y.; Ukegawa, D.; Kawabata, S.; Adachi, Y.; Sekihara, K. Removal of stimulus-induced artifacts in functional spinal cord imaging. In Proceedings of the 2013 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Osaka, Japan, 3–7 July 2013; pp. 3391–3394. [Google Scholar] [CrossRef]
  20. Taulu, S.; Simola, J. Spatiotemporal signal space separation method for rejecting nearby interference in MEG measurements. Phys. Med. Biol. 2006, 51, 1759. [Google Scholar] [CrossRef] [PubMed]
  21. Sekihara, K.; Kawabata, Y.; Ushio, S.; Sumiya, S.; Kawabata, S.; Adachi, Y.; Nagarajan, S.S. Dual signal subspace projection (DSSP): A novel algorithm for removing large interference in biomagnetic measurements. J. Neural Eng. 2016, 13, 036007. [Google Scholar] [CrossRef]
  22. Ramírez, R.R.; Kopell, B.H.; Butson, C.R.; Hiner, B.C.; Baillet, S. Spectral signal space projection algorithm for frequency domain MEG and EEG denoising, whitening, and source imaging. NeuroImage 2011, 56, 78–92. [Google Scholar] [CrossRef] [PubMed]
  23. Wang, R.; Wu, H.; Liang, X.; Cao, F.; Xiang, M.; Gao, Y.; Ning, X. Optimization of Signal Space Separation for Optically Pumped Magnetometer in Magnetoencephalography. Brain Topogr. 2023, 36, 350–370. [Google Scholar] [CrossRef]
  24. Holmes, N.; Bowtell, R.; Brookes, M.J.; Taulu, S. An Iterative Implementation of the Signal Space Separation Method for Magnetoencephalography Systems with Low Channel Counts. Sensors 2023, 23, 6537. [Google Scholar] [CrossRef]
  25. Medvedovsky, M.; Taulu, S.; Bikmullina, R.; Ahonen, A.; Paetau, R. Fine tuning the correlation limit of spatio-temporal signal space separation for magnetoencephalography. J. Neurosci. Methods 2009, 177, 203–211. [Google Scholar] [CrossRef] [PubMed]
  26. Vieira, D.A.; Travassos, L.; Saldanha, R.R.; Palade, V. Signal denoising in engineering problems through the minimum gradient method. Neurocomputing 2009, 72, 2270–2275. [Google Scholar] [CrossRef]
  27. Hu, L.; Xiao, P.; Zhang, Z.; Mouraux, A.; Iannetti, G.D. Single-trial time–frequency analysis of electrocortical signals: Baseline correction and beyond. Neuroimage 2014, 84, 876–887. [Google Scholar] [CrossRef] [PubMed]
  28. Schaefferkoetter, J.; Nai, Y.H.; Reilhac, A.; Townsend, D.W.; Eriksson, L.; Conti, M. Low dose positron emission tomography emulation from decimated high statistics: A clinical validation study. Med. Phys. 2019, 46, 2638–2645. [Google Scholar] [CrossRef] [PubMed]
  29. Marler, R.T.; Arora, J.S. Survey of multi-objective optimization methods for engineering. Struct. Multidiscip. Optim. 2004, 26, 369–395. [Google Scholar] [CrossRef]
  30. Yong, P.C.; Nordholm, S.; Dam, H.H. Optimization and evaluation of sigmoid function with a priori SNR estimate for real-time speech enhancement. Speech Commun. 2013, 55, 358–376. [Google Scholar] [CrossRef]
  31. An, N.; Cao, F.; Li, W.; Wang, W.; Xu, W.; Wang, C.; Gao, Y.; Xiang, M.; Ning, X. Multiple source detection based on spatial clustering and its applications on wearable OPM-MEG. IEEE Trans. Biomed. Eng. 2022, 69, 3131–3141. [Google Scholar] [CrossRef]
  32. Cao, F.; An, N.; Xu, W.; Wang, W.; Li, W.; Wang, C.; Yang, Y.; Xiang, M.; Gao, Y.; Ning, X. OMMR: Co-registration toolbox of OPM-MEG and MRI. Front. Neurosci. 2022, 16, 984036. [Google Scholar] [CrossRef]
  33. Del Gratta, C.; Della Penna, S.; Ferretti, A.; Franciotti, R.; Pizzella, V.; Tartaro, A.; Torquati, K.; Bonomo, L.; Romani, G.L.; Rossini, P.M. Topographic organization of the human primary and secondary somatosensory cortices: Comparison of fMRI and MEG findings. Neuroimage 2002, 17, 1373–1383. [Google Scholar] [CrossRef]
  34. Gramfort, A.; Luessi, M.; Larson, E.; Engemann, D.A.; Strohmeier, D.; Brodbeck, C.; Goj, R.; Jas, M.; Brooks, T.; Parkkonen, L.; et al. MEG and EEG data analysis with MNE-Python. Front. Neurosci. 2013, 7, 267. [Google Scholar] [CrossRef]
  35. An, N.; Cao, F.; Li, W.; Wang, W.; Xu, W.; Wang, C.; Xiang, M.; Gao, Y.; Sui, B.; Liang, A.; et al. Imaging somatosensory cortex responses measured by OPM-MEG: Variational free energy-based spatial smoothing estimation approach. Iscience 2022, 25, 103752. [Google Scholar] [CrossRef]
  36. Cheng, C.H.; Liu, C.Y.; Hsu, S.C.; Tseng, Y.J. Reduced coupling of somatosensory gating and gamma oscillation in panic disorder. Psychiatry Res. Neuroimaging 2021, 307, 111227. [Google Scholar] [CrossRef]
  37. Falet, J.P.R.; Côté, J.; Tarka, V.; Martínez-Moreno, Z.E.; Voss, P.; de Villers-Sidani, E. Mapping the human auditory cortex using spectrotemporal receptive fields generated with magnetoencephalography. Neuroimage 2021, 238, 118222. [Google Scholar] [CrossRef]
  38. Hämäläinen, M.; Hari, R.; Ilmoniemi, R.J.; Knuutila, J.; Lounasmaa, O.V. Magnetoencephalography-theory, instrumentation, and applications to noninvasive studies of the working human brain. Rev. Mod. Phys. 1993, 65, 413. [Google Scholar] [CrossRef]
  39. Hämäläinen, M.S.; Ilmoniemi, R.J. Interpreting magnetic fields of the brain: Minimum norm estimates. Med. Biol. Eng. Comput. 1994, 32, 35–42. [Google Scholar] [CrossRef]
  40. Tierney, T.M.; Alexander, N.; Mellor, S.; Holmes, N.; Seymour, R.; O’Neill, G.C.; Maguire, E.A.; Barnes, G.R. Modelling optically pumped magnetometer interference in MEG as a spatially homogeneous magnetic field. NeuroImage 2021, 244, 118484. [Google Scholar] [CrossRef]
  41. Helle, L.; Nenonen, J.; Larson, E.; Simola, J.; Parkkonen, L.; Taulu, S. Extended signal-space separation method for improved interference suppression in MEG. IEEE Trans. Biomed. Eng. 2020, 68, 2211–2221. [Google Scholar] [CrossRef]
  42. Zhao, R.; Wang, R.; Gao, Y.; Ning, X. Spatiotemporal extended homogeneous field correction method for reducing complex interference in OPM-MEG. Biomed. Signal Process. Control 2024, 94, 106236. [Google Scholar] [CrossRef]
Figure 1. Flowchart of the threshold estimation method.
Figure 1. Flowchart of the threshold estimation method.
Bioengineering 11 00428 g001
Figure 2. (a) Simulation experiment system. (b) Top view of the 31 channel sensors relative to the head position. (c) Location of simulation neural source. (d) Amplitude of the simulation neural source.
Figure 2. (a) Simulation experiment system. (b) Top view of the 31 channel sensors relative to the head position. (c) Location of simulation neural source. (d) Amplitude of the simulation neural source.
Bioengineering 11 00428 g002
Figure 3. (a) System for somatosensory- and auditory-evoked experiments. (b) Sensor locations for somatosensory-evoked experiment. (c) Sensor locations for auditory-evoked experiment.
Figure 3. (a) System for somatosensory- and auditory-evoked experiments. (b) Sensor locations for somatosensory-evoked experiment. (c) Sensor locations for auditory-evoked experiment.
Bioengineering 11 00428 g003
Figure 4. Threshold results in the simulation experiment. (a) SSP. (b) S3P.
Figure 4. Threshold results in the simulation experiment. (a) SSP. (b) S3P.
Bioengineering 11 00428 g004
Figure 5. Average waveforms in the simulation experiment with different thresholds. (a) Internal simulated signal. (b) Bandpass filtering only. (c) SSP, x = 4. (d) SSP, x = 7. (e) S3P, x = 4. (f) S3P, x = 6.
Figure 5. Average waveforms in the simulation experiment with different thresholds. (a) Internal simulated signal. (b) Bandpass filtering only. (c) SSP, x = 4. (d) SSP, x = 7. (e) S3P, x = 4. (f) S3P, x = 6.
Bioengineering 11 00428 g005
Figure 6. Average results of all channels of time–frequency analysis in the simulation experiment. (a) Internal simulated signal. (b) Bandpass filtering only. (c) SSP, x = 4. (d) SSP, x = 7.
Figure 6. Average results of all channels of time–frequency analysis in the simulation experiment. (a) Internal simulated signal. (b) Bandpass filtering only. (c) SSP, x = 4. (d) SSP, x = 7.
Bioengineering 11 00428 g006
Figure 7. (a) Time–frequency analysis results of different channels in the simulation experiment. (be): “17” Channel results. (b) Internal simulated signal. (c) Bandpass filtering only. (d) SSP, x = 4. (e) SSP, x = 7. (fi): “21” Channel results. (f) Internal simulated signal. (g) Bandpass filtering only. (h) SSP, x = 4. (i) SSP, x = 7.
Figure 7. (a) Time–frequency analysis results of different channels in the simulation experiment. (be): “17” Channel results. (b) Internal simulated signal. (c) Bandpass filtering only. (d) SSP, x = 4. (e) SSP, x = 7. (fi): “21” Channel results. (f) Internal simulated signal. (g) Bandpass filtering only. (h) SSP, x = 4. (i) SSP, x = 7.
Bioengineering 11 00428 g007
Figure 8. Threshold results in somatosensory-evoked experiment. (a) SSP. (b) S3P.
Figure 8. Threshold results in somatosensory-evoked experiment. (a) SSP. (b) S3P.
Bioengineering 11 00428 g008
Figure 9. Comparison of results with different thresholds in somatosensory-evoked experiment. (a) Results for the inferior threshold, x = 3. (b) Results for the optimal threshold, x = 6. The left row is the result of averaging the superimposed waveforms, the middle row is the result of time–frequency analysis, and the right row is the result of source localization.
Figure 9. Comparison of results with different thresholds in somatosensory-evoked experiment. (a) Results for the inferior threshold, x = 3. (b) Results for the optimal threshold, x = 6. The left row is the result of averaging the superimposed waveforms, the middle row is the result of time–frequency analysis, and the right row is the result of source localization.
Bioengineering 11 00428 g009
Figure 10. Threshold results in auditory-evoked experiment. (a) SSP. (b) S3P.
Figure 10. Threshold results in auditory-evoked experiment. (a) SSP. (b) S3P.
Bioengineering 11 00428 g010
Figure 11. Comparison of results with different thresholds in auditory-evoked experiment. (a) Results for the inferior threshold, x = 6. (b) Results for the optimal threshold, x = 3. The left row is the result of averaging the superimposed waveforms, the middle row is the result of time–frequency analysis, and the right row is the result of source localization.
Figure 11. Comparison of results with different thresholds in auditory-evoked experiment. (a) Results for the inferior threshold, x = 6. (b) Results for the optimal threshold, x = 3. The left row is the result of averaging the superimposed waveforms, the middle row is the result of time–frequency analysis, and the right row is the result of source localization.
Bioengineering 11 00428 g011
Table 1. Performance of subspace projection algorithms with different thresholds in simulation experiment.
Table 1. Performance of subspace projection algorithms with different thresholds in simulation experiment.
MethodThreshold F all PE (fT)MAE (fT)LE (mm)
SSPx = 41.369137.0347.252.80
x = 51.365138.5449.563.57
x = 31.295149.7551.253.32
x = 61.264155.0552.114.93
x = 71.175159.0454.775.48
S3Px = 41.403152.1555.112.93
x = 31.380177.2956.004.47
x = 51.363188.2659.293.05
x = 21.337212.7759.205.15
x = 61.302201.8959.715.57
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

Zhao, R.; Wang, R.; Gao, Y.; Ning, X. Automatic Estimation of the Interference Subspace Dimension Threshold in the Subspace Projection Algorithms of Magnetoencephalography Based on Evoked State Data. Bioengineering 2024, 11, 428. https://doi.org/10.3390/bioengineering11050428

AMA Style

Zhao R, Wang R, Gao Y, Ning X. Automatic Estimation of the Interference Subspace Dimension Threshold in the Subspace Projection Algorithms of Magnetoencephalography Based on Evoked State Data. Bioengineering. 2024; 11(5):428. https://doi.org/10.3390/bioengineering11050428

Chicago/Turabian Style

Zhao, Ruochen, Ruonan Wang, Yang Gao, and Xiaolin Ning. 2024. "Automatic Estimation of the Interference Subspace Dimension Threshold in the Subspace Projection Algorithms of Magnetoencephalography Based on Evoked State Data" Bioengineering 11, no. 5: 428. https://doi.org/10.3390/bioengineering11050428

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