Preprint
Article

Real-Time Classification of Motor Imagery using Dynamic Window-level Granger Causality Analysis of fMRI Data

Altmetrics

Downloads

69

Views

33

Comments

0

A peer-reviewed article of this preprint also exists.

Submitted:

29 August 2023

Posted:

31 August 2023

You are already at the latest version

Alerts
Abstract
This article presents a method for extracting neural signal features to identify the imagination of left and right hand grasping movements. A functional magnetic resonance imaging (fMRI) experiment is employed to identify four brain regions with significant activations during motor imagery(MI) and the effective connections between these regions of interest (ROIs) were calculated using Dynamic Window-level Granger Causality (DWGC). Then, a real-time fMRI(rt-fMRI) classification system for left and right hand MI is developed using the Open-NFT platform. The experimental results show that incorporating effective connections can enhance the average accuracy of real-time three-class classification (rest, left hand and right hand) by 3% in comparison to traditional multivoxel pattern classification analysis(MVPA). Moreover, it significantly improves classification accuracy during the initial stage of MI tasks while reducing the latency effects in real-time decoding. The study suggests that the effective connections obtained through the DWGC method serve as valuable features for real-time decoding of MI using fMRI. Moreover, they exhibit higher sensitivity to changes in brain states. This research offers theoretical support and technical guidance for extracting neural signal features in the context of fMRI-based studies.
Keywords: 
Subject: Biology and Life Sciences  -   Neuroscience and Neurology

1. Introduction

The neural control system of brain-computer interaction (BCI) investigates the perception and neural decoding of multi-modal fusion across different time scales. Optimizing automatic recognition of neural states from feature models at three levels can enhance the overall performance of recognition algorithms in terms of accuracy, specificity, and model flexibility [1,2,3,4]. In BCI rehabilitation therapy, a therapeutic approach that identifies the stroke patient's grasping motor intentions on both hands and provides feedback to the patient is effective [5]. At present, the limited availability of unilateral motor imagery (MI) rehabilitation actions [6] and the poor recognition ability [7] hinder the development of MI-BCI rehabilitation, posing an unresolved challenge [8].
Researchers often prioritize task variety over considering the impact of response sensitivity on training outcomes. MI, as a very important active brain-computer interface paradigm, is used to recognize the brain's motor intention for limbs [9]. It can induce specific responses in the sensorimotor cortex without requiring external stimulation or obvious motor output. Significant changes in blood oxygen concentrations occur in different regions of the brain when patients perform tasks related to motor execution (ME) or MI, which can be recorded by fMRI. However, this approach is subject to decoding delay due to the delay effect of blood oxygen concentration changes. Improving response speed and classification accuracy can provide better feedback training effects for patients.
Several studies have shown that rt-fMRI MI training has the potential to induce changes in the functional connectivity between various brain regions. Thus, investigating functional connectivity as a characteristic of MI presents promising research opportunities. Currently, the analysis of neural signals in multiple brain regions extensively employs effective connectivity analysis based on Granger causality. Traditional Granger causality methods primarily rely on linear autoregressive models to process long-term time series [10]. In contrast, the establishment of a Dynamic Window-level Granger Causality (DWGC) model enables the extraction of features at the local brain network level, while also considering the real-time requirements of brain-computer interface (BCI) systems, thereby achieving faster response speed [11].
In this study, we utilized a combination of MI preparation and MI experiments to identify the brain regions implicated in left and right hand MI. Subsequently, relevant seed nodes were extracted, and DWGC analysis was employed to determine the short-term effective connectivity between these seed nodes. Furthermore, we developed MI features based on the average Bold activation values within the corresponding brain regions. To enable real-time classification of left and right hand MI, the Open-NFT open-source package [12] and SVM algorithm were integrated. As a result, we successfully achieved real-time decoding of the MI for both hands. Notably, this method demonstrated an average classification accuracy of 62% in the three-classification task, surpassing the performance of traditional Bold activation values. Additionally, it significantly improved the speed of decoding response.

2. Materials and Methods

2.1. Ethics Statement

All experimental protocols were approved by the Ethics Committee of the Henan Provincial People's Hospital. All research was performed in accordance with relevant guidelines and regulations. Informed written consent was obtained from all subjects.

2.2. Subject

The subjects of this study were six right-handed adult males aged 20-25 years without any neurological disorders. All subjects had Chinese as their native language and had normal or corrected-to-normal vision. All subjects were familiar with the experimental procedures in advance and had abundant experience with fMRI experiments.

2.3. Apparatust

All computer-controlled stimuli are programmed in Open-NFT and presented through a BOLDscreen monitor with 4K resolution (1920 × 1080, 120 Hz); size 89 cm × 50 cm; viewing distance 168 cm. The stimuli are presented using a monitor positioned above the subjects' heads. Subjects observe the content of the monitor through a head coil-mounted 45-degree mirror.

2.4. Experimental procedures

This section provides a detailed description of the experimental design. The study is divided into four distinct steps. The initial step involves collecting brain data during left and right hand MI tasks. The second step involves processing the data to identify the brain regions associated with motor imagery activity. In the third step, features are extracted using DWGC. Finally, the extracted features are input into the classifier for training purposes. This process is described briefly,referring to Figure 1.

2.5. Stimuli and Experiment

In order to make the subjects complete the experimental tasks according to the requirements, a vision stimuli was devised. The stimuli consisted of three types of cues: left hand motion imagination cue, right hand motion imagination cue, and rest cue. These cues corresponded to the subjects' motion state during the experiment.
The pre-experiment was designed to locate the regions of interest (ROIs) in the subjects' brains. The ROIs were crucial for identifying the activated brain areas during left and right hand preparation, as well as motor imagery. The experimental paradigm was designed as follows: each subject performed four tasks in sequence: left-hand grasping motor imagination (MIL), right-hand grasping motor imagination (MIR), left-hand grasping motor preparation (MPL) and right-hand grasping motor preparation (MPR) (Figure 2C). Each task is completed under the stimuli symbol which lasted for 10 seconds. The tasks alternated continuously throughout the experiment, with a 20-second rest period in between. The total duration of the experiment was 300 seconds (Figure 2A).
The test-experiment is to gather brain data during left and right hand motor imagination, process the data in real-time, and classify the corresponding motor imagination states. The subjects initially rested for 20s, and then prompted to randomly imagine left and right hand movements, with each motor imagination lasting for 10 seconds, and the time of each motorwas 10s, followed by another 20-second rest period (Figure 2B).

2.6. Data Acquisition

All experimental data were collected using SIEMENS MAGNETOM Pria 3.0 T magnetic resonance scanner and 64-channel head coil. See Table 1 for specific scanning parameters.

2.7. Data Preprocessing

SPM12 software was adopted to analyze the data [13]. Besides, the DPABI toolbox was used to display the results [14].The first 10 time points of the fMRI images were discarded due to the unstable magnetization in the early stage of the BOLD sequence. BOLD images were calibrated with slice time and motor function. The high-resolution images of the structure scan were co-registered with the functional data and then standardized by applying the Montreal Neurological Institute (MNI) T1 template. The BOLD images were then standardized using the parameters gained from the standardization of the structure images. Finally, images were smoothed with a Gaussian FWHM kernel of 6 mm.

2.8. General Linear Modeling

Model fit was determined by statistical time-series analysis in the general linear model (GLM). Across each run, within-subject contrasts of two MI preparation and rest and two MI and rest were calculated with a fixed-effects (first-level) analysis. The maps were thresholded using an initial threshold of p < 0.001 (uncalibrated). Only clusters at a significance threshold of p < 0.05 corrected for family-wise error (FEW) were reported. Anatomical locations, Brodmann regions were determined by utilizing the anatomy toolbox of DPABI.

2.9. Definition of regions of interest

Motor areas were the primary consideration as the most relevant brain areas for ME and MI tasks. It mainly contains the basic motor functions precentral gyrus (PreCG) and the advanced motor functions supplementary motor area (SMA). At the same time, the prefrontal cortex and supramarginal gyrus are associated with cognitive functions, including information recall and somatic stimuli [15]. We first focus on these brain regions and perform statistical analysis on the validated clusters, retaining the top 5 clusters with most voxels for each task condition as ROIs. We compare each motor task condition to its corresponding resting state to distinguish different movements. See Table 2 for activation area.
The results indicated that motor imaginations of the left and right hand activated the Precentral gyrus (anterior gyrus) and Paracentral lobule (the center of the left and right hand network connection). Additionally, the dorsolateral superior frontal gyrus, dorsolateral part(SFGdl), which includes different lateral auxiliary motor regions, was also activated. Figure 3 shows activation in the somatosensory cortex of the Postcentral gyrus and frontal cortex. These findings support the notion that, apart from the primary motor and premotor areas of the frontal lobe, the prefrontal lobe, responsible for cognitive thought processes, is also activated during motor imagination. These ROIs will be utilized for feature extraction.

2.10. Extraction of the Motor Image features

In real-time data processing, SPM is used to individually register the localized ROIs with each subject. Thereby enabling the extraction of distinct brain signals. To counterbalance the global variations in the blood oxygen level dependence, the subsequent formula is employed, which calculates the average activation value within the ROI region. The activation value size is determined as the disparity between the average BOLD value in the target ROI and the average BOLD value in the resting ROI. This value is periodically updated once per volume acquisition time:
A C T I V E = ( B O L D t e s t - B O L D r e s t ) t a r g e t R O I
B O L D t e s t refers to the average value of ROI brain collected at the present time. B O L D r e s t refers to the average value of ROI brain at rest.
Because fMRI reflects the change of blood oxygen concentration and has hemodynamic delay, which causes a delay in the detection of brain states. After approximately 2~6s of active stimulation, the blood oxygen level in the brain functional area reaches its peak and transitions into a corresponding stable state. Therefore, during the screening of training data, the voxel activation level removes the transitional sequence between different functional states. According to statistical results, the activation level remains relatively stable after removing four volumes.

2.11. Dynamic Window-level Granger Causality Model

Research has shown that GCM is an effective method for studying functional connectivity based on fMRI data. But this method of fMRI data processing is sensitive to the ROIs, so we selected seed nodes from the ROIs for Granger causality analysis. Based on the brainnetome atlas of 246 brain regions published by the Chinese Academy of Sciences [16], we extracted four seed nodes with the highest correlation after T-test from the ROIs: A1_2_3ulhf_l, A9_46v_l, A1_2_3ulhf_r, and A9_46v_r (Figure 4).
Then, we determined the coordinates of these seed nodes' ROIs. The ROI radius for A9_46v_l and A9_46v_r was set to 5mm, while the ROI radius for A1_2_3ulhf_l and A1_2_3ulhf_r was set to 10mm. Taking Sub1 as an example, the Talairach coordinates (x, y, z in mm) for A1_2_3ulhf_l, A9_46v_l, A1_2_3ulhf_r, and A9_46v_r are (-29, -7, 64), (-48, 63, 28), (18, -3, 64), and (35, 67, 32) respectively.
The brain regions to which these nodes belong, in the Brainnetome atlas, are associated with motor execution, finger movement, cognition, and memory functions. Then, based on temporal invariance, the extracted mean BOLD sequences from the seed nodes were subjected to DWGC analysis.
The basic principle of Granger causality model is to assume that there are two stationary time series:
( Y i 1 , Y i 2 , Y i 3 , ... , Y i t , ... ) ( Y j 1 , Y j 2 , Y j 3 , ... , Y j t , ... )
Granger causality defines Y i as the cause of Y j , if the series i provides useful information when predicting the future values of series j :
E t ( g t ( Y j , t + 1 | Y j , < t , Y i , < t ) ) E t ( g t ( Y j , t + 1 | Y j , < t ) )
Then we think that there may be a causal relationship between time series Y i and time series Y j . Where E t is the accuracy expectation of the prediction function g on time series. It is important to note that Granger causality is still a statistical correlation, as it lacks the necessary causal identification.
It is necessary to determine the optimal range for the maximum window length for time-varying causal relationship values between brain regions. Aiming at finding the dynamic causality at the window level, we consider two forms of time-series fitting on each sliding window ( t , t + k - 1 ) . After undergoing statistical analysis and iterative optimization, a window length of k = 4 is ultimately determined. This window length establishes the most significant correlation between the causal relationship of brain intervals and the experimental paradigm.
Finally, the nonlinear auto regressive model of time series is modeled on the dynamic window scale of k = 4, and the mean square error (MSE) is used as the E t measurement accuracy:
L 1 = E ( M S E ( Y i , t ~ t + k 1 , Y i , t ~ t + k 1 | Y i , < t ) )
L 2 = E ( M S E ( Y i , t ~ t + k 1 , Y i , t ~ t + k 1 | Y i , < t , Y j , < t ) )
L 1 refers to the estimation accuracy of prediction using the sequence Y i , and L 2 refers to the estimation accuracy of joint prediction using the sequences Y i and Y j . Where Y ^ i , t ~ t + k 1 means prediction on the sliding window ( t , t + k - 1 ) . We determined the existence of causality by setting a reasonable threshold ω based on the value of F s t a t i s t i c :
F s t a t i s t i c = L 1 L 2
Finally, set a reasonable threshold to further constrain the causal relationship:
F = { F s t a t i s t i c F s t a t i s t i c ω 0 F s t a t i s t i c , < ω
The final F values between each nodes will serve as the input features.

3. Prediction Model

In order to accurately and efficiently identify the state changes in rest and MI, as well as classify left and right hand motion imagination, we conducted experiments using four different algorithms. To ensure comprehensive testing, we also modified certain parameters of the algorithms. The specific algorithms used are GaussianNB, SVM, XGBoost, and lightGBM. For more details on the parameter changes, refer to Table 3.
GaussianNB is a classical machine learning algorithm and one of the few classification algorithms based on probability theory. Its fundamental principle involves computing the conditional probability of each feature for different classes using a known sample dataset. It then calculates the posterior probability of the samples to be classified by applying Bayesian theorem. The class with the highest posterior probability is considered the class to which the samples belong [17].
SVM, on the other hand, performs non-linear mapping of the data to higher dimensional spaces. It constructs a hyperplane to effectively separate the different classes. The choice of the boundary function is often adjusted to determine the most suitable fit for the given dataset [18].
XGBoost, an implementation of the boosting algorithm, employs multiple base learners to learn the differences between model values and actual values. It boasts excellent performance, simplicity, and high speed, making it well-suited for real-time classification needs [19].
LightGBM takes inspiration from the gradient boosting machine (GBM) model and can be seen as an evolutionary version of Gradient Boosting Decision Tree. Its primary concept involves iteratively training an optimal model using weak classifiers. This approach yields good training effects without the risk of overfitting [20].
To acquire statistical results, each classifier has undergone multiple training sessions. To assess the classifier's performance, we evaluate the accuracy and Kappa statistic by utilizing the confusion matrix. Accuracy measures the percentage of correctly classified instances, while Kappa statistics represent coefficients of consistency. These statistics gauge the correlation between the expected and achieved results. The confusion matrix, on the other hand, offers insights into the rates of false positives, false negatives, true positives, and true negatives.
All tests utilize K-fold cross-validation as the testing method. In this approach, the algorithm partitions the dataset into K subgroups. The classifiers are subsequently trained individually, while the remaining subgroups are employed to construct a test set. The overall performance is then calculated as the average of K tests.

4. Related works

To provide a more accurate and straightforward demonstration of the effectiveness of the dynamic Granger causal model in extracting brain interval connections, the results are presented independently. After optimizing the algorithm, the bold values of the four extracted nodes are computed using DWGC with a window length of 4. The dynamic relationships of effective connections between the target seed nodes are depicted in Figure 5.
The results demonstrate significant changes in the effective connections between the ROIs when calculated with DWGC (k=4). Moreover, the causal values of the two prefrontal nodes to the anterior gyrus differ noticeably in simultaneous measurements. The results show that there are significant disparities in motor imagination between the left and right hand, specifically between resting state and task state. Such distinctive features present promising results for real-time classification of left-hand and right-hand motion imaginations.

5. Results and Discussion

5.1. Group analysis

Selecting the subjects: Firstly, subjects who did not exhibit any finger or hand movements throughout the entire research process were chosen. During the experiment, eye-tracking data was continuously monitored using an Eyelink S1000 system. EyeLink log files provide horizontal position, vertical gaze position, pupil size measures for each timepoint and tags corresponding to blink onset and offset. We believe that the subjects who had missing or abnormal eye-tracking data, indicating incomplete completion of the experiment. And based on the interviews conducted after the experiment, we excluded subjects who exhibited signs of fatigue during the experiment. Finally, three subjects who meet the experimental requirements were selected.
Baseline conditions were established before the experiment. To confirm the establishment of similar activation levels before the MI task in rtfMRI experienment, we examined any differences in activation among the subjects. Analysis (based on paired T-tests) revealed no significant differences in brain activity before the experiment. The threshold range of 0.01 < p< 0.05 did not alter our observation results.

5.2. Results of the classification

Table 4 shows the performance of classifiers with different parameters in the left-right hand binary classification task. The best and worst configurations are visually distinguished in red and green, respectively.
Statistical results indicate that all the classification algorithms exhibit high classification accuracy and Kappa value. Among them, the RBF kernel SVM classifier achieves the highest classification accuracy and kappa coefficient. Overall, this outcome aligns with our expectations as the cortical mapping distance indicates significant spatial separation of motion-related brain activation areas [21], and the activation patterns also exhibit noticeable differences, making them easy to distinguish.
And we compared the effectiveness of feature extraction based on DWGC and found that the effective connection features improved the classification accuracy across various classifiers(Figure 6).
In the experimental task, we also studied the timing of information acquisition during motion imagination. During rt-fMRI experiment, the bolck of a MI task lasted for 10s. The decoding accuracy rate is calculated separately for each TR, representing the information decoding time. Specifically, the trained models are inputted to the sample features individually at each moment in the bolck. This process is repeated for all samples to generate a decoding accuracy (DA) curve (Figure 7).
Each DA curve consists of 5 data points. The figure displays the DA curves for the effective connection features extracted by DWGC model and those without them. Each data point on the DA curve represents the average DA value, expressed as a percentage, across all three subjects during the task. The red dotted line represents the theoretical estimate of the random decoding accuracy level (50%). The DA values for all MI tasks were slightly higher than the random level (50%) in volume 1, gradually increased, peaked at volume 3 or 4, and then stabilized. After statistical analysis, the average accuracy of DA time curve with DWGC effective connection is higher than that of DA value time curve without DWGC feature.
Figure 8 shows the accuracy of three classifications among three different subjects including left hand(LH) imagery, right hand(RH) imagery and rest. The average accuracy of classification of three subjects is 65.6%.
The results showed that the classification accuracy of subjects' right-hand MI was higher. One possible reason is that all subjects are right-handed, so when they perform the task of imagining right hand movements, there is a more noticeable active stimulation of the brain area, resulting in a higher level of activation in the relevant brain regions. From the above analysis, it can be seen that there are certain differences in the network measures of the motor imagination brain network among different subjects under the same experimental environment and process. This indicates that different subjects will have differences in their ability to perform MI tasks.
The workstation utilized in this paper is equipped with an i7-10750H CPU clocked at 2.6 GHz. Based on Open-NFT platform, the average processing time of each TR is 1.15 s, which is less than the real-time classification requirements of a brain-computer interface, given a TR scanning time of 2 s.

6. Conclusion

This study proposes a method that combines dynamic Granger causality analysis to improve real-time classification of left and right hand motor imagery. Based on the analysis of brain region activation, effective connectivity features between Frontal_Sup_Medial and Postcentral gyrus are incorporated, resulting in a 3% increase in accuracy compared to traditional methods based solely on brain region activation values. The results demonstrate a strong correlation between the extracted effective connectivity features and the MI task, with the classification accuracy peaking within the third TR value after the start of the task. To our knowledge, this study is the first to propose and apply DWGC in the field of rt-fMRI-based BCI. Compared to brain region classification based on bold activation values, this method effectively improves the accuracy of state detection.
This paper provides theoretical support for the brain-computer interface field to regard effective connections as brain features, providing a new training methodology for MI-BCI rehabilitation training.
Our future research will focus on decoding complex motion imagination within a larger brain network, which will have broader practical applications.

Funding

This research was supported by the National Natural Science Foundation of China under grant 62106285.

Acknowledgments

We thanks Li Tong, Penghui Ding and Minchen Xu for helping to complete the experiment and providing valuable experimental feedback. Thanks Information Engineering VCT laboratory provide support for this research.

References

  1. YONG FAN, DINGGANG SHEN, DAVATZIKOS C. Detecting Cognitive States from fMRI Images by Machine Learning and Multivariate Classification[J/OL]. 2006 Conference on Computer Vision and Pattern Recognition Workshop (CVPRW’06), 2006: 89-89. [CrossRef]
  2. NORMAN K A, POLYN S M, DETRE G J, et al. Beyond mind-reading: multi-voxel pattern analysis of fMRI data[J/OL]. Trends in Cognitive Sciences, 2006, 10(9): 424-430. [CrossRef]
  3. NASELARIS T, KAY K N, NISHIMOTO S, et al. Encoding and decoding in fMRI[J/OL]. NeuroImage, 2011, 56(2): 400-410. [CrossRef]
  4. KRIEGESKORTE N, BANDETTINI P. Analyzing for information, not activation, to exploit high-resolution fMRI[J/OL]. NeuroImage, 2007, 38(4): 649-662. [CrossRef]
  5. MANE R, CHOUHAN T, GUAN C. BCI for stroke rehabilitation: motor and beyond[J/OL]. Journal of Neural Engineering, 2020, 17(4): 041001. [CrossRef]
  6. LEE J H, KYEONG S, KANG H, et al. Structural and functional connectivity correlates with motor impairment in chronic supratentorial stroke: a multimodal magnetic resonance imaging study[J/OL]. NeuroReport, 2019, 30(7): 526-531. [CrossRef]
  7. JEONG J H, CHO J H, SHIM K H, et al. Multimodal signal dataset for 11 intuitive movement tasks from single upper extremity during multiple recording sessions[J/OL]. GigaScience, 2020, 9(10): giaa098. [CrossRef]
  8. LEE M H, KWON O Y, KIM Y J, et al. EEG dataset and OpenBMI toolbox for three BCI paradigms: an investigation into BCI illiteracy[J/OL]. GigaScience, 2019, 8(5): giz002. [CrossRef]
  9. RENUGA DEVI K, HANNAH INBARANI H. Neighborhood based decision theoretic rough set under dynamic granulation for BCI motor imagery classification[J/OL]. Journal on Multimodal User Interfaces, 2021, 15(3): 301-321. [CrossRef]
  10. SHOJAIE A, FOX E B. Granger Causality: A Review and Recent Advances[J/OL]. Annual Review of Statistics and Its Application, 2022, 9(1): 289-319. [CrossRef]
  11. ZHANG Z, HU W, TIAN T, et al. Dynamic Window-level Granger Causality of Multi-channel Time Series[J/OL]. ArXiv, 2020[2023-08-26]. https://www.semanticscholar.org/paper/Dynamic-Window-level-Granger-Causality-of-Time-Zhang-Hu/cb4c7bc4f7c26c69114a97b88e139edd342f2bf8.
  12. KOUSH Y, ASHBURNER J, PRILEPIN E, et al. OpenNFT: An open-source Python/Matlab framework for real-time fMRI neurofeedback training based on activity, connectivity and multivariate pattern analysis[J/OL]. NeuroImage, 2017, 156: 489-503. [CrossRef]
  13. BRETT M, ANTON J, VALABRÈGUE R, et al. Region of interest analysis using an SPM toolbox[C/OL]. 2010[2023-08-26]. https://www.semanticscholar.org/paper/Region-of-interest-analysis-using-an-SPM-toolbox-Brett-Anton/19ba0249dcada4bbdc3366d37e1f3362f324e904.
  14. YAN C G, WANG X D, ZUO X N, et al. DPABI: Data Processing & Analysis for (Resting-State) Brain Imaging[J/OL]. Neuroinformatics, 2016, 14(3): 339-351. [CrossRef]
  15. OJAKANGAS C L, SHAIKHOUNI A, FRIEHS G M, et al. Decoding Movement Intent From Human Premotor Cortex Neurons for Neural Prosthetic Applications:[J/OL]. Journal of Clinical Neurophysiology, 2006, 23(6): 577-584. [CrossRef]
  16. FAN L, LI H, ZHUO J, et al. The Human Brainnetome Atlas: A New Brain Atlas Based on Connectional Architecture[J/OL]. Cerebral Cortex, 2016, 26(8): 3508-3526. [CrossRef]
  17. ZOLNIEREK A, RUBACHA B. The Empirical Study of the Naive Bayes Classifier in the Case of Markov Chain Recognition Task[C/OL]//KURZYŃSKI M, PUCHAŁA E, WOŹNIAK M, et al. Berlin, Heidelberg: Springer Berlin Heidelberg, 2005: 329-336[2023-08-26]. http://link.springer.com/10.1007/3-540-32390-2_38.
  18. A Study on Support Vector Machine based Linear and Non-Linear Pattern Classification | Semantic Scholar[J/OL]. [2023-08-26]. https://www.semanticscholar.org/paper/A-Study-on-Support-Vector-Machine-based-Linear-and-Ghosh-Dasgupta/7fe99199648d007c170af0106aa275ab1581b0c4.
  19. XGBoost: A Scalable Tree Boosting System | Semantic Scholar[J/OL]. [2023-08-26]. https://www.semanticscholar.org/paper/XGBoost%3A-A-Scalable-Tree-Boosting-System-Chen-Guestrin/26bc9195c6343e4d7f434dd65b4ad67efe2be27a.
  20. KE G, MENG Q, FINLEY T, et al. LightGBM: A Highly Efficient Gradient Boosting Decision Tree[C/OL]//NIPS. 2017[2023-08-26]. https://www.semanticscholar.org/paper/LightGBM%3A-A-Highly-Efficient-Gradient-Boosting-Tree-Ke-Meng/497e4b08279d69513e4d2313a7fd9a55dfb73273.
  21. MARQUIS R, JASTRZĘBOWSKA M, DRAGANSKI B. Novel imaging techniques to study the functional organization of the human brain[J/OL]. Clinical and Translational Neuroscience, 2017, 1(1): 2514183X1771410. [CrossRef]
Figure 1. Off-line experiment involves motor imagination tasks for the left and right hand. The objective of the experiment is to identify the activated functional brain regions in the subjects. Subsequently, features are extracted offline from the data and used to train the classifiers for left-hand and right-hand movements. In on-line experiment, the functional brain regions identified in off-lineExperiment were mapped onto the subjects' brains. The classifiers trained using off-line experiment data were then employed to classify the subjects in real time and display the classification results immediately.
Figure 1. Off-line experiment involves motor imagination tasks for the left and right hand. The objective of the experiment is to identify the activated functional brain regions in the subjects. Subsequently, features are extracted offline from the data and used to train the classifiers for left-hand and right-hand movements. In on-line experiment, the functional brain regions identified in off-lineExperiment were mapped onto the subjects' brains. The classifiers trained using off-line experiment data were then employed to classify the subjects in real time and display the classification results immediately.
Preprints 83629 g001
Figure 2. Tasks and experimental paradigm. (A) Pre-experimental paradigm, as depicted in Figure A, involved four groups of tasks conducted within a single run. These tasks involved left hand imagery preparation, left hand motor imagery, right hand imagery preparation and right hand motor imagery. Each task lasted 10s with a 20s rest between tasks. The tasks are performed randomly, and the experiment lasts for a total of 300 seconds. (B) Test-experiment paradigm, as shown in the figure, the subjects performed left hand motor imagination or right hand motor imagination or Rest in 10s and rested for 20s. The experiment lasted for 300s. (C) The hand movements the participants are required to imagine.
Figure 2. Tasks and experimental paradigm. (A) Pre-experimental paradigm, as depicted in Figure A, involved four groups of tasks conducted within a single run. These tasks involved left hand imagery preparation, left hand motor imagery, right hand imagery preparation and right hand motor imagery. Each task lasted 10s with a 20s rest between tasks. The tasks are performed randomly, and the experiment lasts for a total of 300 seconds. (B) Test-experiment paradigm, as shown in the figure, the subjects performed left hand motor imagination or right hand motor imagination or Rest in 10s and rested for 20s. The experiment lasted for 300s. (C) The hand movements the participants are required to imagine.
Preprints 83629 g002
Figure 3. Comparison of activation areas for all tasks: (A) Left motor imagery > rest. (B) Right motor imagery > rest.
Figure 3. Comparison of activation areas for all tasks: (A) Left motor imagery > rest. (B) Right motor imagery > rest.
Preprints 83629 g003
Figure 4. The selected four seed nodes correspond to the Brainnetome Atlas(Sub 1).
Figure 4. The selected four seed nodes correspond to the Brainnetome Atlas(Sub 1).
Preprints 83629 g004
Figure 5. The fiugre shows visualization results of the statistical analysis on the Granger causality between the seed nodes in different brain states for three subjects. And the average effective connectivity matrix was calculated from MFG to PoCG.
Figure 5. The fiugre shows visualization results of the statistical analysis on the Granger causality between the seed nodes in different brain states for three subjects. And the average effective connectivity matrix was calculated from MFG to PoCG.
Preprints 83629 g005
Figure 6. Accuracy results of binary classifications with different classifiers.
Figure 6. Accuracy results of binary classifications with different classifiers.
Preprints 83629 g006
Figure 7. Decoding correct rate time based on DWGC and BOLD in block unit.
Figure 7. Decoding correct rate time based on DWGC and BOLD in block unit.
Preprints 83629 g007
Figure 8. Accuracy results of three different subject classifications. The decoding results reveal varying classification accuracy among different subjects, with real-time decoding accuracy surpassing the theoretical estimation of random level by 35%.
Figure 8. Accuracy results of three different subject classifications. The decoding results reveal varying classification accuracy among different subjects, with real-time decoding accuracy surpassing the theoretical estimation of random level by 35%.
Preprints 83629 g008
Table 1. Magnetic resonance scanning parameter.
Table 1. Magnetic resonance scanning parameter.
Functional image acquisition parameters Structural image acquisition parameters
TR 2000 ms 2300 ms
TE 30 ms 2.26 ms
slices 62 192
slice thickness 2 mm 1 mm
FOV 192 × 192 mm2 256 × 256 mm2
flip angle 90°
matrix size 112 × 112 256 × 256
voxel size 2 × 2 × 2 mm3 1 × 1 × 1 mm3
Table 2. Motor Imagination Task Activation Area.
Table 2. Motor Imagination Task Activation Area.
Contrast Brain Area BA Side Cluster size Peak MNI coordinate
X Y Z
MIL SMG 40 L 238 -53 -50 49
SPG 7 R 43 31 -56 66
7 L 42 -22 -59 65
SSC 2 R 26 46 -40 48
DLPFC 46 R 56 36 45 26
dPCC 30 R 30 16 -36 -13
PreCG 6 R 6 24 -20 74
MPL SMG 40 L 273 -50 -36 50
SMA 6 R 36 6 20 68
SPG 7 R 418 10 -60 68
DLPFC 9 R 59 54 12 36
9 L 33 -38 38 32
APFC 10 R 35 46 48 4
MIR PreCG 6 L 123 -31 -23 69
SSC 2 L 102 -32 -43 62
SAA 5 L 64 -10 -51 67
SMG 40 L 62 -32 -40 49
PreCG 4 L 36 -54 -14 57
SSC 1 L 12 -27 -42 71
MPR SSC 1 L 193 -30 -41 73
APFC 10 L 308 -4 64 2
MI 4 R 8 46 -16 50
PreCG 6 L 36 -18 -14 64
SSC 2 L 19 -30 -38 74
Note. Coordinates are at the MNI space. FDR q value=0.05; Spatial extent k > 5 voxels; BA, Brodmann's Area; L, left; R, right; PreCG, precentral gyrus; PoCG, postcentral gyrus; SMA, supplementary motor area; SMG,supramarginal gyrus; SPG, superior parietal gyrus; SSC, Somatosensory Cortex; DLPFC, Dorsolateral prefrontal cortex; dPCC, Dorsal Posteriorcingulate cortex; APFC, Anterior prefrontalcortex; SAA, Somatosensory associationcortex.
Table 3. Classifier training parameters.
Table 3. Classifier training parameters.
Classify module Parameters
GaussianNB
SVM Polynomial kernel: exponent (E) = 1
RBF kernel
LightGBM Max_depth=5,
learning_rate=0.8
n_estimators=1000
xgBoost Max_depth=8,
learning_rate=0.08
n_estimators=1000
Table 4. Average accuracy and variance of classifier.
Table 4. Average accuracy and variance of classifier.
CLASSIFIER PARAMETER ACCURACY KAPPA STATISTIC
MEAN MEAN
GaussianNB 77.7% 55%
SVM Polynomial kernel: exponent (E) = 1 91% 51.02%
RBF kernel 94.25% 65.59%
LightGBM Max_depth=5
learning_rate=0.8
n_estimators=1000
80.93% 44.14%
xgBoost Max_depth=8
learning_rate=0.08
n_estimators=1000
91.1% 47.71%
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2024 MDPI (Basel, Switzerland) unless otherwise stated