| Literature DB >> 35684626 |
Rui Varandas1,2, Rodrigo Lima3,4, Sergi Bermúdez I Badia3,4, Hugo Silva2,5,6, Hugo Gamboa1,2.
Abstract
Wearable sensors have increasingly been applied in healthcare to generate data and monitor patients unobtrusively. Their application for Brain-Computer Interfaces (BCI) allows for unobtrusively monitoring one's cognitive state over time. A particular state relevant in multiple domains is cognitive fatigue, which may impact performance and attention, among other capabilities. The monitoring of this state will be applied in real learning settings to detect and advise on effective break periods. In this study, two functional near-infrared spectroscopy (fNIRS) wearable devices were employed to build a BCI to automatically detect the state of cognitive fatigue using machine learning algorithms. An experimental procedure was developed to effectively induce cognitive fatigue that included a close-to-real digital lesson and two standard cognitive tasks: Corsi-Block task and a concentration task. Machine learning models were user-tuned to account for the individual dynamics of each participant, reaching classification accuracy scores of around 70.91 ± 13.67 %. We concluded that, although effective for some subjects, the methodology needs to be individually validated before being applied. Moreover, time on task was not a particularly determining factor for classification, i.e., to induce cognitive fatigue. Further research will include other physiological signals and human-computer interaction variables.Entities:
Keywords: brain–computer interface; cognitive fatigue; functional near-infrared spectroscopy; machine learning
Mesh:
Year: 2022 PMID: 35684626 PMCID: PMC9183003 DOI: 10.3390/s22114010
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Figure 1Board of the Corsi-Block task used during the experimental procedure. The yellow blocks would flash in blue by a specific order that the participants would have to memorise and then recall to click the blocks in the same order. The position of the blocks was adapted from [32].
Figure 2Board of the concentration task. A pair of numbers would turn blue with the mouse hover. If that pair summed to 10, the participant would have to click with the mouse. Whenever they clicked, their positions would be marked in red. Board adapted from [28].
Figure 3Schematic of the data acquisition protocol. The Corsi-Block task (yellow blocks) is performed 3 times, while the Concentration task (blue blocks) is performed only 2 times.
Features extracted using the TSFEL Python package. Their respective domain and a short description are also given in the table. Adapted from [39]. Reproduced with permission from Gamboa et al., “Computing, Electrical and Industrial Systems 2021”, Computers; published by MDPI, 2022 [39].
| Domain | Feature | Description |
|---|---|---|
| Statistical | Maximum | Maximum value of a segment. |
| Minimum | Minimum value of a segment. | |
| Polarity | Maximum of segment divided by the minimum. | |
| Mean | Mean value of a segment. | |
| Variance | Variance value of a segment. | |
| Standard Deviation | Standard deviation value of a segment. | |
| Kurtosis | Kurtosis of a segment. | |
| Skewness | Skewness of a segment. | |
| Temporal | Mean of Differences | Mean of the derivate of the segment. |
| Total Energy | Total energy of a segment in the form of the sum of the squares of all values divided by the time of the segment. | |
| Area Under the Curve | Area under the curve of the segment using the trapezoid rule. | |
| Absolute Energy | Same as total energy, but without accounting for the time of the segment. | |
| Peak to Peak Distance | Absolute value of the peak to peak amplitude of a segment. | |
| Entropy | Shannon entropy of a segment. | |
| Slope of Linear Regression | Slope of a linear regression of a segment. | |
| Zero Crossing Count | Number of times the signal crosses the zero value. | |
| Spectral | Fundamental Frequency | Frequency of the first prominent peak of the segment’s frequency spectrum. |
| Maximum Frequency | Maximum frequency of the segment’s frequency spectrum. | |
| Power Bandwidth | Width of the frequency band in which 95% of its power is located. | |
| Spectral Distance | Sum of the difference between the frequency spectrum of the segment to the linear regression of the cumulative frequency spectrum. | |
| Median Frequency | Median frequency of the segment’s frequency spectrum. | |
| Spectral Entropy | Spectral entropy of the segment’s frequency spectrum. | |
| Custom Features | Root Mean Square | Root mean square of the fNIRS signal. |
| Slope of the Naive Linear Regression | Value of the last data point minus the value of the first data point. | |
| Maximum Variation | Maximum differential of the signal where each point represents the mean of the following second. | |
| Minimum Variation | Maximum differential of the signal where each point represents the mean of the preceding second. |
Time each participant spent on each individual task.
| Participant | ECG Lesson | Corsi-Block | Concentration | Total |
|---|---|---|---|---|
| A | 16 m 05 s | 7 m 12 s | 26 m 32 s | 49 m 50 s |
| B | 23 m 42 s | 5 m 02 s | 19 m 51 s | 48 m 36 s |
| C | 10 m 12 s | 5 m 49 s | 17 m 25 s | 33 m 26 s |
| D | 11 m 55 s | 6 m 18 s | 20 m 24 s | 38 m 38 s |
| E | 19 m 56 s | 6 m 12 s | 19 m 27 s | 45 m 35 s |
| F | 18 m 48 s | 4 m 38 s | 30 m 24 s | 53 m 50 s |
| G | 17 m 02 s | 4 m 47 s | 20 m 00 s | 41 m 49 s |
| H | 18 m 34 s | 4 m 41 s | 23 m 18 s | 46 m 33 s |
| I | 20 m 05 s | 5 m 58 s | 22 m 16 s | 48 m 19 s |
| J | 20 m 40 s | 4 m 47 s | 28 m 54 s | 54 m 21 s |
| Average | 17 m 42 s | 5 m 32 s | 22 m 51 s | 46 m 05 s |
Classification results for each individual for the task of detecting cognitive fatigue. All results are in percentage.
| Participant | Accuracy | Precision | Recall | F1-Score | AUC-ROC |
|---|---|---|---|---|---|
| A | 54.55 | 54.55 | 54.55 | 54.55 | 63.64 |
| B | 90.91 | 100.00 | 81.82 | 90.00 | 95.87 |
| C | 86.36 | 90.00 | 81.82 | 85.71 | 86.78 |
| D | 72.73 | 72.73 | 72.73 | 72.73 | 77.69 |
| E | 90.91 | 90.91 | 90.91 | 90.91 | 93.80 |
| F | 59.09 | 66.67 | 36.36 | 47.06 | 44.63 |
| G | 72.73 | 72.73 | 72.73 | 72.73 | 85.12 |
| H | 54.55 | 53.85 | 63.64 | 58.33 | 48.76 |
| I | 59.09 | 57.14 | 72.73 | 64.00 | 59.92 |
| J | 68.18 | 70.00 | 63.64 | 66.67 | 69.83 |
| Average |
|
|
|
|
|
Figure 4Confusion matrices of each participant, where each letter from A–J refers to each corresponding participant, respective to the results presented in Table 3.