A task recognition method based on functional near-infrared spectral signals
By constructing a brain function network and extracting task features, the problem of low classification accuracy of functional near-infrared spectrum signals in the existing technology is solved, and a more efficient task recognition effect is achieved, especially in multi-task classification to achieve high accuracy.
Patent Information
- Application Number
- CN202210710136.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-22
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-06-22
AI Technical Summary
In the feature extraction process of existing task recognition methods for functional near-infrared spectrum signals, the classification accuracy is not high and the correlation between the brain functional network and the task cannot be clearly identified.
By constructing a brain function network, using the correlation between channels to extract task features, and merging the feature fusion matrix and labels by columns, SVM or deep neural network is used for task recognition and classification to improve the accuracy of task classification. Specific steps include signal preprocessing, inter-channel correlation coefficient matrix calculation, threshold filtering and feature matrix merging.
The extracted features can clearly identify the correlation between the brain functional network and the task, improving the accuracy of task classification, especially reaching an accuracy of more than 95% in binary and ternary classification tasks.
Smart Images

Figure CN115227239B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of biomedical information processing, and more specifically to a task recognition method based on functional near-infrared spectrum signals. Background Art
[0002] Functional near infrared spectroscopy (fNIRS) provides a non-invasive means for studying neurological diseases. This technology mainly reflects the activity of neurons indirectly by measuring changes in blood oxygen concentration in brain tissue. It has good temporal and spatial resolution, and is low-cost, noise-free, portable and adaptable to a wide range of conditions. In addition, because it has a high tolerance for the movement of subjects in the experiment and is insensitive to motion artifacts, fNIRS is particularly suitable for studying groups such as children and even people with cognitive development disorders. Therefore, researchers have applied fNIRS to multiple fields such as neuroscience, sports medicine, BCI, etc., and it has potential application prospects.
[0003] In recent years, some scientists have fully realized the importance of building a brain functional network model and have carried out a series of studies on brain functional connectivity, using advanced technical means to further explore the potential connections of the network and provide favorable support for the diagnosis of brain diseases. The multi-channel data collected by fNIRS instruments can explore the correlation between channels and use it to build a brain functional network for in-depth analysis and processing.
[0004] As one of the most important organs in the human body, the brain is a high-level information processing system for humans to process cognition and emotion. The exploration of brain functions is undoubtedly very meaningful. When performing different tasks, there will be different signal responses between different brain regions. When collected with the help of functional near-infrared spectroscopy instruments, the different signal responses between different brain regions will be manifested as changes in the concentrations of oxyhemoglobin and deoxyhemoglobin in different channels corresponding to each brain region. The specificity of concentration changes when performing different tasks can be used to identify the corresponding tasks.
[0005] For functional near-infrared spectral signals, common feature extraction mainly uses a sliding window method to directly calculate the signals in multiple time periods and obtain the mean as the feature. The task classification accuracy is not high, and the extracted features fail to clearly identify the correlation between the brain functional network and the task. Summary of the invention
[0006] In view of the shortcomings of the prior art and the needs of practical applications, the problem to be solved by the present invention is:
[0007] This paper provides a task recognition method based on functional near-infrared spectral signals, which uses the correlation between channels when performing different tasks to construct a brain function network, extracts the features of the task based on the brain function network, and fuses the features. The feature fusion matrix and labels are merged by column to obtain a data set, and then SVM classification or deep neural network is performed for task recognition and classification, while improving the accuracy of task classification.
[0008] In order to achieve the above object, the present invention adopts the following technical solutions:
[0009] The raw data collected by the functional near-infrared spectroscopy device is converted into signals and loaded; then preprocessing is performed to eliminate physiological noise and DC offset. A third-order Butterworth IIR filter with a passband of 0.01-0.1 Hz is used to bandpass filter the near-infrared spectroscopy signal; the continuous signal is divided into task state and rest state signal segments; finally, the signals of each time period are baseline corrected.
[0010] Calculate the mean of the signals for each type of task in all channels.
[0011] In order to facilitate the observation of changes in blood oxygen concentration, all task signals are divided into two parts according to channels: oxygenated hemoglobin (Oxygenated Hemoglobin, ΔHbO (Oxy)) and deoxygenated hemoglobin (Reduced Hemoglobin, ΔHbR (Deoxy)). The two parts of the signal are processed in the same way as follows:
[0012] Each type of task signal is extracted from the channel and the signal is subsequently processed separately according to the task type.
[0013] Taking the execution of a task as an example, the Pearson correlation coefficient between the two channels of each type of task signal extracted is calculated to obtain the channel correlation coefficient matrix W∈R for each type of task signal n×n , the correlation coefficient matrix W is used as the brain function network, where the elements in the brain function network As the weight of the edge between node i and node j in the brain functional network, n is the number of channels.
[0014] w ij =corrcoef(x i , x j ) (1)
[0015] Furthermore, a threshold screening model is defined to screen W as follows:
[0016]
[0017] stα=prctile(|w ij|,ρ),ρ∈[0,100] (3)
[0018]
[0019] Among them, α is the set threshold (ρ is the percentile), w ij The weight values with absolute values higher than the threshold are retained, and the weight values lower than the threshold are set to zero; n is the number of channels for the functional near-infrared spectroscopy instrument to collect signals.
[0020] definition The row vector of the brain functional network calculated once for each type of task. i T =[w i1 , w i2 ,…,w in ], i=1, 2,…n.
[0021] Taking the Oxy signal as an example, the row vectors of the brain functional network that performs all tasks are merged row by row, and the feature matrix corresponding to the Oxy signal is obtained as follows:
[0022]
[0023] Similarly, the feature matrix corresponding to the Deoxy signal is:
[0024]
[0025] Where k represents the number of different types of tasks to be executed, l represents the number of times each type of task is executed, s = k × l, t = n 2 .
[0026] Merge the Oxy and Deoxy feature matrices by column to obtain the feature fusion matrix and labels:
[0027] X=[oxy,deoxy]∈R s×2t ,
[0028] y=[ones(l), 2*ones(l), 3*ones(l)] T
[0029] The feature fusion matrix and labels are merged column by column to obtain a data set, and then SVM classification or deep neural network is performed for task recognition and classification.
[0030] After adopting the above technical scheme, the beneficial technical effect of the present invention is that the extracted features can clearly identify the correlation between the brain functional network and the tasks, and the classification of different tasks using the obtained feature fusion matrix has a better effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flow chart for implementing a task identification method based on functional near-infrared spectral signals of the present invention.
[0032] Figure 2 It is the calculation method of the feature fusion matrix.
[0033] Figure 3 Under the optimal threshold screening condition, SVM classification is performed on the obtained data set under six indicators (ACC, SEN, SPE, PPV, NPV, RECALL) for binary classification (RFT vs. LFT, RFT vs. FT and LFT vs. FT) and ternary classification (RFT vs. LFT vs. FT) task recognition results.
[0034] Figure 4 It is the recognition results of binary classification (RFT vs.LFT, RFT vs.FT and LFT vs.FT) and ternary classification (RFT vs.LFT vs.FT) tasks using deep neural networks for the obtained datasets under the optimal threshold screening condition. DETAILED DESCRIPTION
[0035] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0036] like Figure 1 As shown, a specific implementation example of a task identification method based on functional near-infrared spectral signals includes the following steps:
[0037] (1) In this embodiment, a functional near-infrared spectroscopy data set based on unilateral left and right finger tapping and foot tapping is selected from a public data set, and the data set includes 30 subjects (29 right-handed people; 17 males; 23.4±2.5 years old (mean±standard deviation)). The signal collected by the functional near-infrared spectroscopy device is format converted and loaded. In order to eliminate physiological noise and DC offset, a third-order Butterworth IIR filter with a passband of 0.01-0.1 Hz is used to bandpass filter the near-infrared spectroscopy signal; relative to the start of the task (i.e., 0 seconds), the continuous signal is segmented from -2 to 28 seconds, and the continuous signal is segmented into task state and rest state signal segments. Finally, the data of each time period is baseline corrected, that is, the average value in the reference interval from -1 to 0 seconds is subtracted. In this example, a three-wavelength continuous sampling 20-channel fNIRS consisting of 8 light sources Tx and 8 detectors Rx was used to record the brain signals of the subjects. The subjects were asked to sit in front of a 27-inch LED monitor, which displayed triggers for three different tasks - right finger tapping (RFT), left finger tapping (LFT) and foot tapping (FT). Each task was performed 25 times.
[0038] (2) Calculate the mean of the signals for each type of task in all channels.
[0039] (3) Each type of task signal is divided into two signals, ΔHbO (Oxy) and ΔHbR (Deoxy), and the two signals are processed in the same way. The following implementation process is described using the Oxy signal as an example.
[0040] (4) Each type of task signal is extracted from the channel to obtain a signal with a dimension of n_trail×n_sample×n_channel, where n_trail represents the number of times each type of task is executed, n_sample represents the number of samples of a tapping task signal, and n_channel represents the number of channels. The signals are then processed separately according to the task type.
[0041] (5) Taking the execution of a task as an example, the Pearson correlation coefficient between the two channels of each type of task signal extracted is calculated to obtain the channel correlation coefficient matrix W∈R for each type of task signal n×n , the correlation coefficient matrix W is used as the brain function network, where the elements in the brain function network As the weight of the edge between node i and node j in the brain function network, n is the number of channels,
[0042] w ij =corrcoef(x i , x j ) (1)
[0043] Among them, x i and x j are the signals of the i-th channel and the j-th channel respectively.
[0044] (6) Define the threshold screening model to screen W:
[0045]
[0046] stα=prctile(|w ij |,ρ),ρ=∈[0,100] (3)
[0047]
[0048] Among them, α is the set threshold (ρ is the percentile), w ij The weight values with absolute values higher than the threshold are retained, and the weight values lower than the threshold are set to zero. n is the number of channels for the functional near-infrared spectroscopy instrument to collect signals. In this example, 11 different thresholds are set to filter the weight data to find the most appropriate threshold.
[0049] (7) For ease of later use, define W as a row vector Get the row vector of the brain function network calculated by executing each type of task once, where w i T =[w i1 , w i2 ,…,w in ], i=1, 2,…n.
[0050] (8) Taking the Oxy signal as an example, according to steps (5)-(7), the row vectors of the brain functional network that performs all tasks are merged row by row, and the feature matrix corresponding to the Oxy signal is obtained as follows:
[0051]
[0052] Similarly, the feature matrix corresponding to the Deoxy signal is:
[0053]
[0054] Where k represents the number of different types of tasks to be executed, l represents the number of times each type of task is executed, s = k × l, t = n 2 In this example, k=3, l=25, that is, there are three different types of tasks, and each type of task is executed 25 times.
[0055] (9) The Oxy and Deoxy feature matrices are merged column by column to obtain the feature fusion matrix and labels. The calculation process of the feature fusion matrix is as follows: Figure 2 As shown:
[0056] X=[oxy,deoxy]∈R s×2t ,
[0057] y=[ones(l), 2*ones(l), 3*ones(l)] T
[0058] (10) The feature fusion matrix and labels are merged column by column to obtain a data set, and then SVM classification or deep neural network classification is performed for task identification.
[0059] To verify the effectiveness of our proposed method, we conducted four groups of task recognition experiments based on the feature fusion matrix, including three groups of binary classification tasks (RFT vs. LFT, RFT vs. FT, and LFT vs. FT) and one group of ternary classification tasks (RFT vs. LFT vs. FT).
[0060] The present invention uses support vector machines (SVM) and deep neural networks (DNN) to demonstrate the classification performance of the proposed method. Among them, the performance indicators of the method demonstrated by using SVM classifier are accuracy (ACC), sensitivity (SEN), specificity (SPE), positive predictive value (PPV), negative predictive value (NPV) and recall (RECALL); the performance indicator of the method demonstrated by using DNN is accuracy. The definitions of the indicators are: ACC = (TP + TN) / (TP + FN + FP + TN), SEN = TP / (TP + FN), SPE = TN / (TN + FP), PPV = TP / (TP + FP), NPV = TN / (TN + FN), RECALL = TP / (TP + FN). Among them, TP, TN, FP and FN represent true positive, true negative, false positive and false negative respectively.
[0061] like Figure 3 As shown, under the optimal threshold screening condition, the SVM classification is performed on the obtained data set under six indicators (ACC, SEN, SPE, PPV, NPV, RECALL) for binary classification (RFT vs. LFT, RFT vs. FT and LFT vs. FT) and ternary classification (RFT vs. LFT vs. FT) task recognition results.
[0062] based on Figure 3 The following observations are made: For the ACC value, we noticed that the accuracy of using SVM for binary classification and ternary classification task recognition is above 95.00% (RFT vs.LFT: 99.00%, RFT vs.FT: 98.00%, LFTvs.FT: 98.00%, RFT vs.LFT vs.FT: 95.55%), proving that the feature fusion matrix obtained by this method is conducive to improving the accuracy of task recognition. For the other five indicators, taking RFT vs.LFT binary classification task recognition as an example, the indicators are SEN = 90.00%, SPE = 90.00%, PPV = 75.00%, NPV = 75.00%, RECALL = 90.00%; the indicators of ternary classification task recognition are SEN = 93.33%, SPE = 96.67%, PPV = 77.78, NPV = 87.88%, RECALL = 93.33%. The proposed method obtains satisfactory results on all the above indicators.
[0063] like Figure 4 As shown, under the optimal threshold screening condition, the recognition accuracy of binary classification (RFT vs. LFT, RFT vs. FT and LFT vs. FT) and ternary classification (RFT vs. LFT vs. FT) tasks using deep neural networks for the obtained datasets.
[0064] based on Figure 4 The following observations were made: the accuracy of binary and ternary classification tasks using deep neural networks was also above 95.00%. Among them, the average classification accuracy of binary classification tasks was 97.78%, and the accuracy of ternary classification tasks was 95.65%. The accuracy of binary and ternary classification tasks obtained by using deep neural networks was not much different from that obtained by using SVM, which also demonstrated the effectiveness and feasibility of the proposed method in task identification.
[0065] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement and partial supplement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A task classification method based on functional near-infrared spectroscopy signals, characterized in that The following steps are involved: (1) Converting and loading the raw data collected by the functional near-infrared spectroscopy device into signals; Then, preprocessing is performed, which includes bandpass filtering, signal segmentation, and baseline correction; (2) Calculate the mean of the signals for each type of task in all channels; (3) To facilitate the observation of changes in blood oxygen concentration, all task signals are divided into two signals according to channels: oxygenated hemoglobin (ΔHbO(Oxy)) and deoxygenated hemoglobin (ΔHbR(Deoxy)). The two signals are processed in the same way as follows; (4) extracting each type of task signal from the channel and performing subsequent processing on the signal according to the task type; (5) Taking the execution of a task as an example, the Pearson correlation coefficient between the two channels of each type of task signal extracted is calculated to obtain the channel correlation coefficient matrix W∈R for each type of task signal n×n , the correlation coefficient matrix W is used as the brain function network, where the elements in the brain function network As the weight of the edge between node i and node j in the brain functional network, n is the number of channels; w ij =corrcoef(x i ,x j ) (1) Among them, x i and x j are the signals of the i-th channel and the j-th channel respectively; (6) Define the threshold screening model to screen W: stα=prctile(|w ij |,ρ),ρ∈[0,100] (3) Among them, α is the set threshold, ρ is the percentile, and w ij The weight values with absolute values higher than the threshold are retained, and the weight values lower than the threshold are set to zero; n is the number of channels for the functional near-infrared spectroscopy instrument to collect signals; (7) For ease of later use, W is straightened into a row vector Get the row vector of the brain function network calculated by executing each type of task once, where w i T =[w i1 , w i2 ,…,w in ], i = 1, 2, ... n; (8) Taking the Oxy signal as an example, according to steps (5)-(7), the row vectors of the brain functional network that performs all tasks are merged row by row, and the feature matrix corresponding to the Oxy signal is obtained as follows: Similarly, the feature matrix corresponding to the Deoxy signal is: Where k represents the number of different types of tasks, l represents the number of times each type of task is executed, s = k × l, t = n 2 ; (9) Merge the Oxy and Deoxy feature matrices by column to obtain the feature fusion matrix and label: X=[oxy,deoxy]∈R s×2t , y=[ones(l),2*ones(l),3*ones(l)] T (10) The feature fusion matrix and labels are merged column by column to obtain a data set, and then SVM classification or deep neural network is performed for task identification and classification.
