Abstract
A method for EEG-based distraction detection during motor-rehabilitation tasks is proposed. A wireless cap guarantees very high wearability with dry electrodes and a low number of channels. Experimental validation is performed on a dataset from 17 volunteers. Different feature extractions from spatial, temporal, and frequency domain and classification strategies were evaluated. The performances of five supervised classifiers in discriminating between attention on pure movement and with distractors were compared. A k-Nearest Neighbors classifier achieved an accuracy of 92.8 ± 1.6%. In this last case, the feature extraction is based on a custom 12 pass-band Filter-Bank (FB) and the Common Spatial Pattern (CSP) algorithm. In particular, the mean Recall of classification (percentage of true positive in distraction detection) is higher than 92% and allows the therapist or an automated system to know when to stimulate the patient’s attention for enhancing the therapy effectiveness.
Subject terms: Attention, Rehabilitation, Computer science
Introduction
Ang et al. prove that a neuromotor rehabilitation exercise induces neuronal neuroplasticity and promotes motor recovery1. In particular, the repetition of the exercise induces a reorganization of the motor cortex. However, the repetition of the same exercise may induce weariness in the subject and prevent a careful focus on the performance of the exercise. Conversely, completing the exercise, while maintaining the attention focus in a sustained and selective way, promotes neuronal plasticity and motor learning2,3. The attention to the motor task has an enhanced effect on rehabilitation performance4.
Ladvas and Berti describe attention as the function that regulates the filtering and organization of the information received from a subject, allowing his/hers adequate responses5. Sohlberg and Mateer propose a characterization of attention in four different dimensions6: (i) the Arousal indicates the activation level and defines the psychophysiological activation allowing the afference of the different stimulations; (ii) the Selective attention: points out the ability to focus attention on a specific source or sensory channel; (iii) the Distributed attention is the ability to simultaneously process information from multiple sources; and (iv) the Sustained attention is the ability to direct and maintain cognitive prolonged activity on a specific stimuli.
In everyday life, many types of distracting effects (visual, auditory, and their combinations) sidetrack attention when performing any task, especially if it requires engagement7. Diez et al. identified attention just as the ability to select interesting stimuli, by ignoring other distracting stimuli in the surrounding environment8. These distractors play a fundamental role in analyzing the attentional process9. Changes in cognitive processes related to attention activate different parts of the brain. Concurrent distracting events deactivate certain brain areas by activating other ones10. The use of distracting stimuli during the execution of a motor task, as opposed to the careful concentration, characterizes the experimental set-ups of the studies on the measurement of motor attention7,11. Many studies deal with assessing the attention and its different dimensions through the analysis of the brain signals using the ElectroEncephalography (EEG)12. EEG is the most used technique because of its high temporal resolution, non-invasiveness, and low cost. Several studies have shown that the level of attention affects the EEG signal13,14. Therefore, variations in the EEG signal can be used to detect corresponding changes in attention levels15. Attention creates a variation in brain signals that can be assessed both in the time and in the frequency domain16.
Most of the studies in the rehabilitation sector adopted a within subject approach for training the classifiers in distraction detection. Asayb et al. in 20177 proposed to assess the attention during the flexion-extension of the ankle in presence of auditory distractors. Using a 18-channel system and wet electrodes on 12 participants, they obtained an average accuracy of 71%, by extracting time-frequency features from 1.5-s epochs. Hamadicharef, Brahim et al.17 proposed an interesting processing system (already widely used in the EEG field for Motor Imagery) for assessing the attention, during a cognitive task with eyes closed and opened. This processing involves a Filter-Bank in relation to the Common Spatial Pattern. A 15-channel EEG system achieves an average accuracy of 69.2% on five subjects with a 2-s time window. Antelis et al.18 proposed the distraction detection during robot-assisted passive movements of the upper limb. Six patients were connected to a 32-channels EEG by wet electrodes and to the robot’s end-effector for assisted passive movements. They got an average accuracy of 76.37% in classifying 3-s epochs, when mentally count back in threes, starting in a self-selected random three-digit number, assured the distraction condition. In 2019 Asayb et al.11 proposed an upgrade of their previous work using a 28-channel EEG system and wet electrodes. Three different distractors characterized the experimental set-up. Signal processing was based on spectro-temporal features extracted from 3-s epochs. The obtained average accuracy was 85.8% by exploiting the motor-related cortical potential. However, in this state of the art, an appropriate approach for clinical application seems to be missing. The high number of channels and the use of wet or semi-wet electrodes penalize the wearability, limiting the clinical usability. In this paper, an EEG-based method to detect the lack of focused (selective and sustained) attention during the execution of a neurorehabilitative motor task is proposed. The EEG signal is measured by a wearable, non-invasive system, with a very-small number of dry electrodes. A state-of-the-art accuracy is achieved in classifying 3 s epochs. In particular, in “Proposal” section, the basic ideas and the data analysis of the proposed method are illustrated. Then, in “Experimental validation results” section, the experimental validation is reported, detailing the laboratory test procedure and discussing the comparison results of a feature extraction and classification.
Proposal
Basic ideas
The proposed method for detecting distraction during motor rehabilitation is based on the following key concepts:
EEG-based distraction detection: During a rehabilitation motor task, EEG trend is influenced by the state of the patient attention or distraction to the task itself.
Attention vs distraction definition: Focusing on motor task means imagining, with open eyes, the movement while its execution and trying not to think about anything else. A distracting condition occurs when the patient performs an entirely absorbing cognitive task while continuing to carry out the rehabilitation movement. To the end of evaluating the phenomenon, a rehabilitative motor task is carried out. The assignment is run under conditions of concentration on the action and in the presence of a distractor (auditory, visual, and visuo-auditory) which engages the learner in a concurrent cognitive task analogously as what done in Asayb et al.11.
Metrology perspective: An applied metrological and instrumentation-aimed approach is guaranteed, for the first time, in the EEG based distraction detection.
Feature extraction enhancement: After an artifact removal performed by an Independent Component Analisys (ICA) based algorithm, a multiple bandpass Filter-Bank, in combination with a Common Spatial Pattern algorithm, selects spatial, temporal and frequency features. In particular, a 12-band Filter-Bank is proposed for enhancing, the peculiar contribution of the delta, theta, and alpha bands as fundamental in the analysis of attentional processes19, compared to previous 9-band approaches17.
High wearability: The EEG acquisition system is realized in ultra-light foam. The ergonomic and comfortable device is equipped with a rechargeable battery and transmits the acquired data via Bluetooth. Dry electrodes avoid the inconvenient of electrolytic gel.
Clinical applicability: wearability cannot be a prejudice for accuracies compatible with clinical use. A method with state-of-the-art accuracy (greater than 80%11,17) is required.
Validation based on wide comparison: Performance of the proposed method are compared with different strategy of EEG feature extraction (including the proposal of Hamadicharef et al.17), and different types of classifiers.
Method
The proposed method is depicted in Fig. 1. The EEG signals are acquired by Active Dry Electrodes from the scalp. Each channel is differential with respect to AFz (REF), and referred to Fpz (GND), according to 10/20 international system. Analog signals are first transduced by the Active Dry Electrodes and then conditioned by the Analog Front End. Next, they are digitized by the Acquisition Unit and transmitted to the Data Analysis stage. Here, after an artifact removal performed by an ICA based algorithm, suitable features are extracted by the chain of a 12-component Filter Bank and a Common Spatial Pattern (CSP) algorithm. Then, a classifier receives the feature arrays and detects distraction.
Data analysis
In this section, (i) the feature selection and extraction and (ii) the classification are detailed.
Feature selection and extraction
The EEG signal, acquired through eight channels, was filtered through a 12 IIR band-pass Filter Chebyshev type 2 filter bank, 4 Hz amplitude, equally spaced from 0.5 to 48.5 Hz. In Hamadicharef et al.17, a filter bank with 9 filters of 8 Hz amplitude equal to [0–40] Hz, with a 4 Hz overlap, was proposed. This solution subdivided the traditional EEG beta and gamma bands into sub-bands, however combining other bands (delta and theta with the first filter between 0 and 8 Hz, as well as theta and alpha with the second filter between 4 and 12 Hz). Considering the relevance of the delta, theta and alpha bands in the analysis of the attention highlighted in Graber et al.20 and in Coelli et al.19, the solution proposed in this study allows to enhance their peculiar contribution.
The unit of analysis of the classification activity was identified in time windows of 3 s with an overlap of 1.5 s. Considering a sampling frequency of 256 Sa/s, each of these record is therefore composed of 96 EEG tracks (obtained by applying the 12 filters of the Filter Bank on each of the 8 channels), each one of 1536 samples.
A Common Spatial Pattern (CSP) was used as a spatial filtering algorithm. CSP is one of the most used feature extraction methods for classifying EEG signals17,21. In a binary problem, the CSP acts by calculating the covariance matrices relating to the two classes. These two matrices are simultaneously diagonalized in a way that the eigenvalues of two covariance matrices sum up to 1. Through the subsequent use of a bleaching matrix, a suitable projection matrix is identified in order to reorganize the input into a number of components consistent with the dimensions of the input matrix. In a binary problem, these components are sorted on the basis of variance in order: (i) decreasing, if the projection matrix is applied to inputs belonging to class 1, and (ii) ascending, in case of inputs belonging to class 222. In this study, the CSP receives the records (epochs) as 3D tensors (channels, filters, and samples). It outputs 2D matrices (channels, filters) reducing the dimensionality of the features by a factor of 1536 (number of sample).
Classification
A k-Nearest Neighbour (k-NN) classifier is used for classifying the CSP output. Compared to other supervised machine learning methods, k-NN is a non-parametric method (i.e., without a priori assumption on the data) which uses the labelled data itself for the classification without any training. The behavior of k-NN in its simplest version can be described as follows: given a set D of labelled points, a distance measure (e.g., Euclidean, Minkowski) and a positive integer k, when a new unlabelled point p is presented, the k-NN algorithm searches in D for the k points nearest to p, so the most present class label along its k neighbors is assigned to p. Thus, the only hyperparameters required to k-NN are a positive integer k and the distance measure to use together with any parameters related to the distance measure if needed. These hyperparameters were set using a cross-validation procedure. k-NN has already been widely used in EEG signal analysis showing interesting results (see for example23).
Experimental validation results
In this section, the experimental assessment of our proposal is reported and the results are discussed.
Experimental protocol
The ethical committee approved the experimental protocol of the University of Naples Federico II. A written informed consent was obtained from each volunteer before the experiment. All experiments were carried out in accordance with relevant guidelines and regulations. A session was based on seventeen volunteers subjects (eleven males and six females, with an average age of 30.76 ± 8.15). All of them had a normal clinical history with normal vision and normal hearing, and no neurological disease. The participants were seated in a comfortable chair with armrests, in a very quiet room, about one meter away from a PC screen. After wearing the EEG-cap, participants were requested to execute a squeeze-ball exercise whenever a start command appeared on the PC screen. Squeeze-ball is one of the most common hand rehabilitation exercises24. Following a period of immobilization in plaster, after a surgical intervention or in the presence of inflammatory or degenerative pathologies (e.g., arthrosis, rheumatoid arthritis), hand-ball rehabilitation showed to be important in maintaining or restoring the functional use of the hand25. Motor task execution consists of maintaining attention focused only on: (i) the squeeze movement (attentive-subject trial), or (ii) a concurrent distractor task (distracted-subject trial); in both trials the participant must perform the squeeze-ball movement. An aneroid sphygmomanometers supported the user attention to motor task execution: volunteers were asked to focus the aneroid gauge, while squeezing the bulb and pumping air into the cuff. The distractor task was based on the Oddball paradigm26,27: the presentations of sequences of repetitive stimuli, infrequently interrupted by a deviant stimulus. The oddball paradigm is one of the most widely used methods to study the neurophysiology of attention. In the proposed protocol, the volunteer was asked to count the number of certain stimuli sequences. Three types of stimuli sequences were proposed: (i) acoustic, played with a conventional headphone, (ii) visual, displayed on a PC screen, and (iii) and visual-aucoustic combination28. Each participant completed one session composed of 30 trials: 15 attentive-subject trial and 15 distracted-subject trial. The trials sequences were randomly chosen for minimizing the influence of task learning. Each trial consisted of: 2 s task presentation, 9.5 s task execution and 5 s relax. Furthermore, a 15 s baseline was acquired at the beginning of the session. In the following, trial contents are detailed:
Attentive-subject trial An Attentive-subject trial notification appears for 2 s on the PC screen. Then, a ball-squeezing image triggers the start of the motor exercise and a new message on the screen asks the subject to focus on the squeezing movement. At the end of the task execution, an image of a relaxing landscape is shown for 5 s.
- Distracted-subject trial A notification concerning the distractor task (Audio, Visual or Audio-Visual) appears for 2 s on the PC screen. Then, an acoustic message notices the beginning of the motor exercise; a distractor task (based on Oddball paradigm), chosen among the followings, starts:
- The Audio Distractor is based on the auditory oddball paradigm. Eight tones sequences sound through the earbuds. Tones range among three different frequencies: low, 500 Hz, middle, 1200 Hz, and high, 1900 Hz. The tone low has 50% probability of occurrence. The occurrence probability of the middle and the high tones is 25%. The target sequence is the appearance of a diverted tone after the other more frequent one: when the middle tone occurs immediately after the low, or when the high occurs immediately after the low. Others combinations are not considered as target occurrences.
- The Visual Distractor task is based on the visual oddball paradigm. Three 2D-Gabor masks were used with different orientation: 90°, 60°, and 30° (Fig. 2). The 2D-Gabor mask is a Gaussian kernel function modulated with sinusoidal plane wave. The most probable Gabor (50% of probability) has orientation of 90° , while the diverted Gabor (25% of probability) has 60° or 30° orientation. Eight Gabor sequences occurred on the PC screen. The target sequence was the occurrence of diverted Gabor mask (with orientation of 60° or 30°) after the most frequently with 90° orientation.
- The Audio-Visual Distractor task is a combination of the previous oddball paradigms. Eight between tone and Gabor sequences occur randomly. The target sequence is the occurrence of any Gabor mask after the tone. Others combination sequences are not target occurrences.
EEG instrumentation
In this study, the commercial EEG acquisition system AB-Medica Helmate29 is employed (Fig.3A).
The device, composed of ten dry electrodes, guarantees eight acquisition channels. The EEG signal is acquired by dry electrodes made of conductive rubber with an Ag/AgCl coating at their endings30. Three different types of electrodes, with different shapes, are used to pass hair and reach the scalp or join to the hairless areas (Fig. 3B). The output signal is recorded as difference between each of 8 channels and the ground electrode (Fpz)31. Then, the difference is referenced with respect to the electrode (AFz). A dedicated software (Helm8 Software Manager) allows to check the contact impedance between the electrodes and the scalp. EEG signal is acquired with a sampling rate of 512 Sa/s. The acquisition software allows to use several filters (e.g., notch and IIR). This data acquisition system is a certified EEG system Class IIA (according to Medical Device Regulation (EU) 2017/745) with accurate components. A Texas Instruments analog front-end, the ADS129832 with a 24-bit, analog-to-digital converter (ADCs) with built-in programmable gain amplifiers (PGAs), internal reference, and an onboard oscillator, are exploited. The device exhibits the following main metrological performances: (i) CMRR: -115 dB; (ii) eight low-noise PGAs and eight high-resolution ADCs (ADS1298, ADS1298R); (iii) input-referred noise: 4 VPP (150 Hz BW, G = 6); and (iv) input bias current: 200 pA; joined to the following operating performances: (i) low power: 0.75 mW/channel; and (v) data rate: 250 Sa/s to 32 kSa/s.
Data processing
During the experiments 4590 epochs composed of 8 channels of 512 samples were acquired. In Table 1 number of (i) subjects, (ii) sessions, (iii) trials, (iv) epochs per trial (v) epochs per subject, and (vi) epochs as a whole are reported.
Table 1.
# Subjects | # Sessions | # Trials per session | # Epochs per trial | # Epochs per subject | # Total epochs |
---|---|---|---|---|---|
17 | 3 | 30 | 3 | 270 | 4590 |
Half of the epochs were collected during the attentive-subject trials and were labeled as belonging to the first class. The remaining part was acquired during the distracted-subject trials and was labeled as belonging to the second class. The recorded EEG was divided in 3 s epochs. Each epoch was filtered between 0.5 and 48.5 Hz using a zero-phase 4th-order digital butterworth filter. An independent component analysis (ICA) algorithms—Infomax-ICA33—filtered out artifacts from the signal. In particular the version implemented by Runica module of EEGlab tool was adopted. Feature extraction was implemented either in time domain and frequency domain. For the latter Relative and Absolute Power Spectral Density at varying of frequency bands were considered. Three different frequency bands articulation were examined:
seven traditional EEG bands: delta [1–4] Hz, theta [4–8] Hz, alpha [8–12] Hz, low beta [12–18] Hz, high beta [18–25] Hz, low gamma [25–35] Hz, and high gamma [35–45] Hz; in this case, the number of features for each epoch was 112 (7 bands * 2 PSD (relative and absolute) * 8 channels);
nine 8 Hz bands, 4 Hz overlapped, in the range [1–40] Hz; the number of features for each epoch was 144 (9 bands * 2 PSD (relative and absolute) * 8 channels);
twelve 4 Hz bands, non-overlapped, in the range [0.5–48.5] Hz; the number of features for each epoch was 192 (12 bands * 2 PSD (relative and absolute) * 8 channels);
Regarding time domain, the feature extraction was based on four different approaches:
only CSP: in this case, the number of features for each epoch was 8 (CSP remaps the input information in a new space with dimensionality equal to the number of channels);
CSP preceded by different types of Filter-Banks: three different types of Filter-Banks were applied with the same band articulation proposed for the feature extraction in the frequency domain. In these cases CSP remaps the input information in a new space having dimensionality equal to the number of channels (8) multiplied with number of bands, obtaining 56, 72, and 96 number of features respectively.
Five supervised machine learning binary classifiers were used for discriminating between attention or distraction conditions: k-Nearest Neighbour (k-NN), Support Vector Machine (SVM)34, Artificial Neural Network (ANN)34, Linear Discriminant Analysis (LDA)35, and Naive Bayes (NB)36. Regularization terms were exploited in the training procedures for neural networks and SVM learning processes, using a weight decay and the soft-margin formulation, respectively. All the classifiers were tested on the seven features types described above. For each subject, the hyperparameters of each classifier were selected by a random search with Nested Cross Validation to mitigate possible bias induced by the low sample size37. Differently from the classical k-fold cross validation, Nested CV is composed of two nested k-fold cross validation procedures: the inner one finds the best model hyperparameters, and the outer one estimates the performance of the inner search. Namely, in the classic k-fold CV, given a combination of the hyperparameters values, a set of data is divided into a partition of k subsets (folds). Thus, a set composed of folds is used to train the model and the remaining fold is used for the performance evaluation by computing the appropriate metric scores (e.g., accuracy). This process is repeated for all the combinations of the k folds, by making different pairs of training set and test set at each iteration. In this way, final average metrics scores between all the different test sets are computed. This process is then repeated for each hyperparameters combination, finally returning the best average metrics values together with the related hyperparameters. In this process, the model is evaluated together with the hyperparameters tuning. Instead, in the nested cross validation CV procedure, an outer CV makes a first division of the data into l folds; then, a set composed of folds is used as input to a classical inner k-fold CV procedure, as above described (and therefore further divided into k folds by the inner CV procedure). Then, the returned best hyperparameters values are used to train the model on the set as a whole and tested on the remaining fold, say . This process is repeated for all the combinations of the l folds and the final average metrics on the sets are reported. In this way, the nested CV process avoids a possible bias on the model, due to the use of the same data for the model hyperparameters tuning and the model evaluation. In this study, a tenfold Nested CV was used. In the outer layer, 10% of the data was separated for test and the rest of the data was used to develop a model. In the internal layer, the remaining 90% of the data was used for tuning the hyperparameters. Training and test sets were obtained without separating the trials consisting of 3 epochs each. In this way, the training and the test sets do not include parts of the same trial. The hyperparameters variation range are displayed in Table 2.
Table 2.
Classifier | Hyperparameter | Variation range |
---|---|---|
k-nearest neighbour (k-NN) | Distance (DD) | {Cityblock, chebychev, correlation, cosine, euclidean, hamming, jaccard, mahalanobis, minkowski, seuclidean, spearman} |
DistanceWeight (DW) | {Equal, inverse, squaredinverse} | |
Exponent (E) | [0.5, 3] | |
NumNeighbors (NN) | [1, 5] | |
Support Vector Machine (SVM) | BoxConstraint (BC) | Log-scaled in the range [1e−3, 1e3] |
KernelFunction (KF) | {Gaussian, linear, polynomial} | |
KernelScale (KS) | Log-scaled in the range [1e−3, 1e3] | |
PolynomialOrder (PO) | {1,2,3,4} | |
Artificial Neural Network (ANN) | Activation Function (AF) | {relu, sigmoid, tanh} |
Hidden Layer nr. of Neurons (HLN) | [25, 200] | |
Linear Discriminant Analysis (LDA) | Gamma (G) | [0,1] |
Delta (D) | Log-scaled in the range [1e−6, 1e3] | |
DiscrimType (DT) | {Linear, quadratic, diagLinear} | |
{diagQuadratic, pseudoLinear, pseudoQuadratic} | ||
Naive Bayes (NB) | DistributionName (DN) | {Normal, kernel} |
Width (W) | Log-scaled in the range [1e−4, 1e14] | |
Kernel (K) | {Normal, box, epanechnikov, triangle} |
Experimental results
A within-subjects approach was realized. The accuracy (mean and standard deviation) for each classifier was assessed at varying the type of input feature. Table 3 shows better performances in case of features extracted from the time domain by combining Filter-Bank and CSP.
Table 3.
Classifier | Feature | ||||||
---|---|---|---|---|---|---|---|
Frequency domain | Time domain | ||||||
7 Traditional EEG bands | 9 EEG bands proposed in17 | Proposed 12 EEG bands | CSP | Filter-Bank + CSP | |||
7 Traditional EEG Bands | 9 EEG bands proposed in17 | Proposed 12 EEG bands | |||||
k-NN | 77.5 ± 5.5 | 76.7 ± 5.5 | 80.2 ± 5.1 | 65.9 ± 5.0 | 87.4 ± 4.1 | 90.9 ± 3.2 | 92.8 ± 1.6 |
SVM | 79.9 ± 5.6 | 76.0 ± 4.0 | 81.7 ± 6.9 | 69.2 ± 5.1 | 86.8 ± 4.5 | 89.8 ± 3.7 | 91.1 ± 3.2 |
LDA | 76.7 ± 7.4 | 75.1 ± 7.2 | 78.3 ± 6.3 | 67.7 ± 4.8 | 82.9 ± 4.5 | 85.7 ± 6.2 | 86.6 ± 2.0 |
ANN | 75.6 ± 6.3 | 73.6 ± 6.7 | 76.9 ± 6.4 | 67.2 ± 4.5 | 81.9 ± 4.5 | 85.1 ± 5.0 | 86.3 ± 3.5 |
NB | 64.5 ± 6.2 | 63.8 ± 5.2 | 65.3 ± 7.8 | 65.2 ± 4.9 | 75.3 ± 7.3 | 77.0 ± 7.2 | 78.7 ± 7.5 |
The best performance value is highlighted in bold.
In particular, the proposed solution based on 12 bandpass Filter-Bank provides the best performances for all classifiers except for LDA. In Table 4, the accuracy of the proposed solution is shown for each subject at varying the classifier. In case of k-NN, the mean accuracy reached the maximum value of 92.8 ± 1.6%. To the best of the authors’ knowledge, the accuracy obtained can be considered state-of-the-art when considering a within subjects approach. Regarding rehabilitation goals, the minimization of failure in recognizing distraction is the main issue. Therefore, an F-measure test was carried out to assess the classification performance in minimizing false negatives for the second class (distraction) analysis. Figure 4 shows a k-NN mean Recall higher than 92%.
Table 4.
Subject | Classifier | ||||
---|---|---|---|---|---|
k-NN | SVM | LDA | ANN | NB | |
#1 | 91.1 ± 5.3 | 90.3 ± 5.2 | 88.2 ± 5.3 | 86.3 ± 7.2 | 66.0 ± 9.7 |
#2 | 92.2 ± 2.2 | 90.1 ± 5.1 | 85.1 ± 6.2 | 83.5 ± 5.3 | 79.2 ± 9.9 |
#3 | 93.3 ± 5.5 | 92.2 ± 5.1 | 89.2 ± 7.1 | 80.3 ± 7.3 | 87.2 ± 7.3 |
#4 | 94.1 ± 4.2 | 95.0 ± 2.2 | 89.6 ± 5.5 | 92.4 ± 6.8 | 81.3 ± 4.4 |
#5 | 90.4 ± 4.3 | 89.2 ± 6.7 | 84.3 ± 9.2 | 84.5 ± 7.6 | 65.3 ± 9.7 |
#6 | 93.3 ± 3.1 | 96.5 ± 3.8 | 91.7 ± 6.8 | 89.7 ± 6.2 | 74.1 ± 7.3 |
#7 | 96.1 ± 3.2 | 92.3 ± 4.4 | 87.2 ± 6.8 | 87.6 ± 8.3 | 80.0 ± 9.8 |
#8 | 93.1 ± 5.2 | 91.2 ± 6.7 | 88.4 ± 7.3 | 87.6 ± 6.1 | 86.5 ± 6.3 |
#9 | 91.2 ± 4.5 | 89.1 ± 8.8 | 88.4 ± 9.1 | 87.6 ± 6.5 | 82.8 ± 6.2 |
#10 | 92.1 ± 4.4 | 85.2 ± 4.8 | 80.3 ± 5.7 | 82.3 ± 6.9 | 73.2 ± 9.9 |
#11 | 91.1 ± 5.3 | 90.2 ± 6.7 | 83.5 ± 8.5 | 82.5 ± 9.1 | 79.2 ± 7.1 |
#12 | 94.8 ± 4.2 | 93.8 ± 3.3 | 91.7 ± 6.6 | 87.6 ± 06 | 87.3 ± 3.5 |
#13 | 93.3 ± 6.2 | 92.2 ± 7.6 | 84.2 ± 5.9 | 86.8 ± 8.4 | 75.6 ± 8.4 |
#14 | 96.6 ± 4.5 | 96.3 ± 5.3 | 90.8 ± 5.8 | 90.4 ± 6.1 | 86.8 ± 8.2 |
#15 | 93.8 ± 6.2 | 94.1 ± 4.5 | 88.8 ± 8.1 | 86.2 ± 6.5 | 84.4 ± 5.6 |
#16 | 93.5 ± 7.3 | 91.8 ± 5.5 | 86.6 ± 2.2 | 87.2 ± 5.5 | 82.5 ± 5.6 |
#17 | 93.2 ± 4.1 | 84.8 ± 6.5 | 77.5 ± 1.6 | 77.8 ± 1.1 | 66.4 ± 8.0 |
Mean | 92.8 ± 1.6 | 91.1 ± 3.2 | 86.6 ± 2.0 | 86.3 ± 3.5 | 78.7 ± 7.5 |
The best performance mean value is highlighted in bold.
Conclusion
A method to detect a state of attention and distraction during the execution of a motor act was proposed in this paper. The method shows experimentally a state-of-the-art mean accuracy of 92.8 ± 1.6% and a mean recall of 92.6%. Attention status classification is carried out on 3 s epochs. The level of performance achieved also arise from the use of a 12-filter custom Filter Bank which enhances the contributions of the significant EEG bands for attention analysis. The method guarantees high wearability because it exploits only eight dry electrodes and wireless data transmission. Therefore, the method turns out to be immediately usable in rehabilitation for offering to therapists: (i) a tool capable of assessing patients’ attention levels towards the proposed exercises; and (ii) the possibility to implement strategies that, through the recovery of attention, increase the rehabilitation effectiveness.
Acknowledgements
The authors thank the “Excellence Department project” (LD n. 232/2016), the project “Advanced Virtual Adaptive Technologies e-hEAlth” (AVATEA CUP. B13D18000130007) POR FESR CAMPANIA 2014/2020, as well as abmedica s.p.a. for providing the instrumentation in the experiments, whose support is gratefully acknowledged. Authors thank prof. Francesco Isgrò and prof. Roberto Prevete for stimulating discussions, and Giovanna Mastrati for help in experiments.
Author contributions
All authors conceived and designed the experiments, performed the experiments, analyzed the results, wrote and reviewed the manuscript.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
These authors contributed equally: Andrea Apicella, Pasquale Arpaia, Mirco Frosolone and Nicola Moccaldi.
References
- 1.Ang KK, Guan C. Brain-computer interface in stroke rehabilitation. J. Comput. Sci. Eng. 2013;7:139–146. doi: 10.5626/JCSE.2013.7.2.139. [DOI] [Google Scholar]
- 2.Cramer SC, et al. Harnessing neuroplasticity for clinical applications. Brain. 2011;134:1591–1609. doi: 10.1093/brain/awr039. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Loheswaran G, et al. Impairment of neuroplasticity in the dorsolateral prefrontal cortex by alcohol. Sci. Rep. 2017;7:1–8. doi: 10.1038/s41598-017-04764-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Tee, K. P. et al. Augmenting cognitive processes in robot-assisted motor rehabilitation. In 2008 2nd IEEE RAS & EMBS International Conference on Biomedical Robotics and Biomechatronics, 698–703 ( IEEE, 2008).
- 5.Buxbaum LJ, et al. Hemispatial neglect: Subtypes, neuroanatomy, and disability. Neurology. 2004;62:749–756. doi: 10.1212/01.WNL.0000113730.73031.F4. [DOI] [PubMed] [Google Scholar]
- 6.Sohlberg, M. Theory and remediation of attention disorders. Introduction to Cognitive Rehabilitation Theory & Practice 110–135, (1989).
- 7.Aliakbaryhosseinabadi S, Kamavuako EN, Jiang N, Farina D, Mrachacz-Kersting N. Classification of Shapeeeg signals to identify variations in attention during motor task execution. J. Neurosci. Methods. 2017;284:27–34. doi: 10.1016/j.jneumeth.2017.04.008. [DOI] [PubMed] [Google Scholar]
- 8.Diez PF, Correa AG, Orosco L, Laciar E, Mut V. Attention-level transitory response: A novel hybrid BCI approach. J. Neural Eng. 2015;12:056007. doi: 10.1088/1741-2560/12/5/056007. [DOI] [PubMed] [Google Scholar]
- 9.Noam M, Mor N, Arjen S, Knight RT, Perry A. Behavioral and Shapeeeg measures show no amplifying effects of shared attention on attention or memory. Sci. Rep. 2020;10:1–11. doi: 10.1038/s41598-020-77704-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Hill N, Schölkopf B. An online brain-computer interface based on shifting attention to concurrent streams of auditory stimuli. J. Neural Eng. 2012;9:026011. doi: 10.1088/1741-2560/9/2/026011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Aliakbaryhosseinabadi S, Kamavuako EN, Jiang N, Farina D, Mrachacz-Kersting N. Classification of movement preparation between attended and distracted self-paced motor tasks. IEEE Trans. Biomed. Eng. 2019;66:3060–3071. doi: 10.1109/TBME.2019.2900206. [DOI] [PubMed] [Google Scholar]
- 12.Schweizer K, Moosbrugger H. Attention and working memory as predictors of intelligence. Intelligence. 2004;32:329–347. doi: 10.1016/j.intell.2004.06.006. [DOI] [Google Scholar]
- 13.Mrachacz-Kersting, N. et al. An associative brain-computer-interface for acute stroke patients. In Converging Clinical and Engineering Research on Neurorehabilitation II, 841–845 (Springer, Berlin, 2017).
- 14.Yang, J., Li, W., Wang, S., Lu, J. & Zou, L. Classification of children with attention deficit hyperactivity disorder using pca and k-nearest neighbors during interference control task. In Advances in Cognitive Neurodynamics (V), 447–453 ( Springer, Berlin, 2016).
- 15.Akimoto Y, et al. High-gamma activity in an attention network predicts individual differences in elderly adults’ behavioral performance. Neuroimage. 2014;100:290–300. doi: 10.1016/j.neuroimage.2014.06.037. [DOI] [PubMed] [Google Scholar]
- 16.da Silva-Sauer L, Valero-Aguayo L, de la Torre-Luque A, Ron-Angevin R, Varona-Moya S. Concentration on performance with p300-based BCI systems: A matter of interface features. Appl. Ergon. 2016;52:325–332. doi: 10.1016/j.apergo.2015.08.002. [DOI] [PubMed] [Google Scholar]
- 17.Hamadicharef, B. et al. Learning eeg-based spectral-spatial patterns for attention level measurement. In 2009 IEEE International Symposium on Circuits and Systems, 1465–1468 (IEEE, New York, 2009).
- 18.Antelis, J. M., Montesano, L., Giralt, X., Casals, A. & Minguez, J. Detection of movements with attention or distraction to the motor task during robot-assisted passive movements of the upper limb. In 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, 6410–6413 (IEEE, New York, 2012). [DOI] [PubMed]
- 19.Coelli S, Barbieri R, Reni G, Zucca C, Bianchi AM. shapeEEG indices correlate with sustained attention performance in patients affected by diffuse axonal injury. Med. Biol. Eng. Comput. 2018;56:991–1001. doi: 10.1007/s11517-017-1744-5. [DOI] [PubMed] [Google Scholar]
- 20.Graber E, Fujioka T. Induced beta power modulations during isochronous auditory beats reflect intentional anticipation before gradual tempo changes. Sci. Rep. 2020;10:1–12. doi: 10.1038/s41598-020-61044-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Lim CG, et al. A brain–computer interface based attention training program for treating attention deficit hyperactivity disorder. PLoS ONE. 2012;7:e46692. doi: 10.1371/journal.pone.0046692. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Asensio-Cubero J, Gan JQ, Palaniappan R. Multiresolution analysis over graphs for a motor imagery based online BCI game. Comput. Biol. Med. 2016;68:21–26. doi: 10.1016/j.compbiomed.2015.10.016. [DOI] [PubMed] [Google Scholar]
- 23.Hu B, Li X, Sun S, Ratcliffe M. Attention recognition in EEG-based affective learning research using CFS+ knn algorithm. IEEE/ACM Trans. Comput. Biol. Bioinform. 2016;15:38–45. doi: 10.1109/TCBB.2016.2616395. [DOI] [PubMed] [Google Scholar]
- 24.Pereira J, Sburlea AI, Müller-Putz GR. shapeEEG patterns of self-paced movement imaginations towards externally-cued and internally-selected targets. Sci. Rep. 2018;8:1–15. doi: 10.1038/s41598-017-17765-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Wu JZ, Sinsel EW, Warren CM, Welcome DE. An evaluation of the contact forces on the fingers when squeezing a spherical rehabilitation ball. Bio-med. Mater. Eng. 2018;29:629–639. doi: 10.3233/BME-181013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Ye P, et al. Comparison of dp3 signals evoked by comfortable 3d images and 2d images–an event-related potential study using an oddball task. Sci. Rep. 2017;7:43110. doi: 10.1038/srep43110. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Polich J, Margala C. P300 and probability: Comparison of oddball and single-stimulus paradigms. Int. J. Psychophysiol. 1997;25:169–176. doi: 10.1016/S0167-8760(96)00742-8. [DOI] [PubMed] [Google Scholar]
- 28.Huettel SA, McCarthy G. What is odd in the oddball task?: Prefrontal cortex is activated by dynamic changes in response strategy. Neuropsychologia. 2004;42:379–386. doi: 10.1016/j.neuropsychologia.2003.07.009. [DOI] [PubMed] [Google Scholar]
- 29.Ab-medica s.p.a. https://www.abmedica.it/ (2020).
- 30.Hinrichs H, et al. Comparison between a wireless dry electrode Shapeeeg system with a conventional wired wet electrode Shapeeeg system for clinical applications. Sci. Rep. 2020;10:1–14. doi: 10.1038/s41598-020-62154-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Gargiulo, G. et al. A mobile EEG system with dry electrodes. In 2008 IEEE Biomedical Circuits and Systems Conference, 273–276 (IEEE, 2008).
- 32.Texasinstrument-ads1298. https://www.ti.com/lit/ds/symlink/ads1296r.pdf (2020-02-28).
- 33.Delorme A, Sejnowski T, Makeig S. Enhanced detection of artifacts in EEG data using higher-order statistics and independent component analysis. Neuroimage. 2007;34:1443–1449. doi: 10.1016/j.neuroimage.2006.11.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Bishop, C. M. Pattern Recognition and Machine Learning (Springer, Berlin, 2006).
- 35.Fukunaga, K. Introduction to Statistical Pattern Recognition (Elsevier, Amsterdam, 2013).
- 36.Domingos P, Pazzani M. On the optimality of the simple Bayesian classifier under zero-one loss. Mach. Learn. 1997;29:103–130. doi: 10.1023/A:1007413511361. [DOI] [Google Scholar]
- 37.Varma S, Simon R. Bias in error estimation when using cross-validation for model selection. BMC Bioinform. 2006;7:91. doi: 10.1186/1471-2105-7-91. [DOI] [PMC free article] [PubMed] [Google Scholar]