Skip to main content
Journal of NeuroEngineering and Rehabilitation logoLink to Journal of NeuroEngineering and Rehabilitation
. 2020 Apr 28;17:58. doi: 10.1186/s12984-020-00687-1

Online compensation detecting for real-time reduction of compensatory motions during reaching: a pilot study with stroke survivors

Siqi Cai 1, Xuyang Wei 1, Enze Su 1, Weifeng Wu 1, Haiqing Zheng 2, Longhan Xie 1,
PMCID: PMC7189539  PMID: 32345335

Abstract

Background

Compensations are commonly observed in patients with stroke when they engage in reaching without supervision; these behaviors may be detrimental to long-term functional improvement. Automatic detection and reduction of compensation cab help patients perform tasks correctly and promote better upper extremity recovery.

Objective

Our first objective is to verify the feasibility of detecting compensation online using machine learning methods and pressure distribution data. Second objective was to investigate whether compensations of stroke survivors can be reduced by audiovisual or force feedback. The third objective was to compare the effectiveness of audiovisual and force feedback in reducing compensation.

Methods

Eight patients with stroke performed reaching tasks while pressure distribution data were recorded. Both the offline and online recognition accuracy were investigated to assess the feasibility of applying a support vector machine (SVM) based compensation detection system. During reduction of compensation, audiovisual feedback was delivered using virtual reality technology, and force feedback was delivered through a rehabilitation robot.

Results

Good classification performance was obtained in online compensation recognition, with an average F1-score of over 0.95. Based on accurate online detection, real-time feedback significantly decreased compensations of patients with stroke in comparison with no-feedback condition (p < 0.001). Meanwhile, the difference between audiovisual and force feedback was also significant (p < 0.001) and force feedback was more effective in reducing compensation in patients with stroke.

Conclusions

Accurate online recognition validated the feasibility of monitoring compensations using machine learning algorithms and pressure distribution data. Reliable online detection also paved the way for reducing compensations by providing feedback to patients with stroke. Our findings suggested that real-time feedback could be an effective approach to reducing compensatory patterns and force feedback demonstrated a more enviable potential compared with audiovisual feedback.

Keywords: Stroke, Compensation, Machine learning, Virtual reality, Rehabilitation robot

Background

Stroke is the leading cause of long-term disability in adults worldwide [1], and many poststroke patients suffer from varying degrees of upper extremity motor dysfunction [2]. Skilled reaching is an important aspect of upper limb motor ability but is impaired after stroke [3, 4]. Patients with stroke usually develop adaptive compensatory patterns, particularly by recruiting excessive trunk or shoulder movements during reaching [5, 6]. The use of compensatory motions could be beneficial for an immediate improvement in function; however, such a functional improvementoccurs because of a reinforcement of compensation instead of true motor recovery [7]. Patients with stroke who commonly use compensatory strategies may form nonoptimal motion patterns, hindering long-term recovery of their impaired arms [8, 9]. Previous studies have demonstrated that reducing compensatory patterns has the potential to improve the final functional outcome. Improvements were accompanied by lager active joint range [8], higher FMA-UE score [10] and recovery of lost motor patterns [7]. Therefore, therapists correct undesired compensatory motions when they supervise therapeutic exercises. However, stroke patients perform many exercises without supervision, such as home therapy, which highlights the need to detect and reduce compensationin unsupervised rehabilitation [10].

Automatic detection of compensation can ensure subsequent intervention to prompt the patient into the correct pose. Previous studies have evaluated the feasibility of sensor-based and camera-based systems to detect compensation without the supervision of a therapist [1115]. However, camera systems are not appropriate for application in clinical or home settings, which face challenges such as object obstruction, complex setups and privacy [13, 16]. Sensor-based systems suffer from inducing unnatural motions due to the attachment of sensors. Moreover, the reliability of the outcome estimates from these sensors is still a challenge for researchers [14, 16]. While the detection of compensatory patterns still lacks a simple, unobtrusive and practical method, we have proposed a pressure distribution-based compensation detection system [17, 18]. With a pressure mattress mounted on the chair, participants performed seated reaching tasks, and the pressure distribution data were recorded. Several features were extracted from the pressure distribution data that reflected the information for different kinds of compensatory motions. Different models were applied to recognize compensatory patterns and achieved excellent offline recognition accuracy. Our previous studies pave the path toward detecting compensation based on pressure distribution data and machine learning methods. However, there is still a gap between online and offline detection performance, and few studies on the real-time detection of compensation have been reported. To our knowledge, no previous study has evaluated the feasibility and validity of detecting compensatory motions based on pressure distribution data and machine learning methods in real time. Therefore, the purpose of this study is to investigate whetherthe pressure distribution-based method can be implemented in the real-time monitoring of compensatory motions in patients with stroke.

Based on the real-time detection of compensation, various feedback strategies, in the form of visual [19, 20], auditory [21, 22], or force feedback [23], were provided to patients with stroke to modify their motion patterns. However, there is still no consensus on the kind of feedback modalities that would be effective in reducing compensation. In this study, virtual reality (VR) technology was employed to provide audiovisual feedback, while a rehabilitation robot was employed to provide force feedback. This pilot study aimed to investigate whether the compensation of stroke survivors during reaching can be reduced by audiovisual and force feedback and to examine whether one feedback method is superior to the other.

Therefore,the main contributions of this paper are as follows:

  1. The implementation and validation of thepresented compensation-detecting method using pressure distribution data and machine learning algorithms in real time;

  2. The use of virtual reality and a rehabilitation robot to reduce compensatory motions in patients with strokeduring reaching tasks; and

  3. The comparison of audiovisual and force feedback for reducing compensation.

Methods

Participants

Eight poststroke subjects were recruited from the Third Affiliated Hospital, SUN Yat-sen University. A summary of the participants’ demographics was provided in Table 1. Ethical approval was obtained from the Guangzhou First People’s Hospital Department of Ethics Committee. All participants reviewed and signed an informed consent form prior to entering the study.

Table 1.

Demographic and clinical data for participants with stroke

Subject Age Gender Height (cm) Weight (kg) Affectedside Months post stroke MMSE FMA
S1 54 F 150 60 Left 2 26 34
S2 45 M 164 54 Left 3 30 55
S3 68 F 155 39.5 Left 2 30 38
S4 52 M 175 65 Left 6 27 19
S5 37 M 173 72.5 Right 5 30 32
S6 65 M 172 65 Right 9 26 35
S7 65 M 170 51 Left 4 25 36
S8 66 M 167 65 Left 3 27 29
Average ± SD 56.5 ± 10.64 165.8 ± 8.39 59 ± 9.75 4 ± 2 27.6 ± 1.93 35 ± 9

Participants were included if they had experienced their first-ever stroke, if they were either in the subacute (between 1 to 6 months poststroke) or chronic (over 6 months poststroke) stage of recovery, if they were able to remain in a sitting posture (without back or arm rests) for at least 10 min and if they were able to perform the required motions. Participants were excluded from the study if they had the following: upper limb pain > 4/10 on a visual analogue scale (VAS) [24]; upper limb spasticity > 2 on the Modified Ashworth Scale (MAS) [25]; Mini-Mental State Examination (MMSE) score ≤ 23 [26]; or visual spatial neglect based on clinical judgment.

Experimental setup

The integrated platform comprised a pressure distribution mattress (Body Pressure Measurement System (BPMS), Model 5330, Tekscan, Inc., South Boston, MA, USA), a rehabilitation robot, 3D motion capture system (VICON, Oxford Metrics, UK), and a personal computer (see details in Fig. 1). The BPMS system was mounted on the chair to record the pressure distribution data of each patient during the seated reaching tasks. The rehabilitation robot, which is based on UR5 (Universal Robots Ltd., Odense, Denmark) [27], can support and guide the movement of the impaired arm in 3D space. A handle was attached at the end of UR5 for participants to hold. An admittance control scheme [2830], which is a position controller with force feedback, was implemented. A 6-DOF force sensor is attached to the end effector of the ReRobot, then the input from this sensor is used to produce velocity commands for the device. The rehabilitation robot can be commanded to maintain the correct direction or provide haptic feedback in the form of assistive force to the subject. And the assistive force was provided based on the ‘assistance-as-needed’ principle [31, 32], that is, the ReRobot can adaptively generate the necessary assistive force based on the estimated user’s force output. Transmission Control Protocol/Internet Protocol (TCP/IP) was used for communication between the rehabilitation robot and the MATLAB (MathWorks Corp., Natick, MA, USA) user interface. The virtual environments (VEs) were employed to provideaudiovisual feedback, which was built in Unity3D (Unity Technologies, CA, USA) [33] and connected to the rehabilitation robot and pressure distribution mattress through the TCP/IP. The pressure distribution data were recorded at 50 Hz. The VICON system was used to track participants’ upper limb and trunk movements at 100 Hz.

Fig. 1.

Fig. 1

The experimental setup. (a) and (b) display the integrated platform, including (A) The rehabilitation robot, (B) TV screen (display deviceof virtual reality), (C) pressure distribution mattress, (D) 3D motion capture system, (E) computer and (F) reflective markers

The experiment consisted of three sessions, including no feedback,audiovisual feedback and force feedback,as shown in Fig. 2. Subjects were divided into two groups: Group 1 (S1-S6) and Group 2 (S7, S8). Several familiarization trials were performed to ensure that the subjects understood and felt comfortable with the experimental procedures. Sufficient rest periods were given to the participants between each reaching task to avoid mental and muscle fatigue.

Fig. 2.

Fig. 2

Experimental design

Participants sat on a chair and held onto the handle of the rehabilitation robot. The height of the chair was adjusted to keep participants’ hips and knees flexed at approximately 90°. If participants could not hold the handle, they were provided with a strap. Each subject performed three basic kinds of reaching, including (i) back-and-forth (Fig. 3b), (ii) side-to-side (Fig. 3c), and (iii) up-and-down reaching (Fig. 3d). To avoid fatigue, each participant was allowed 10 s of rest between two reaching motions and 3 min of rest after a certain type of reaching task. The total session total approximately an hour and a half on average for each participant, including resting time. Three types of compensatory patterns were commonly elicited, including an excessive trunk rotation (TR), trunk lean-forward (TLF) and shoulder-elevation (SE) [34].

Fig. 3.

Fig. 3

Reaching tasks and pressure maps. (a) Sitting straight, (b) back-and-forth reaching, (c) side-to-side reaching, (d) up-and-down reaching, (e-h) corresponding pressure maps

Session 1:no feedback

No feedback was provided in this experimental trial; that is, the visual display was turned off, and the rehabilitation robot was commanded to maintain the correct direction during the execution of each motion. Each subject in Group 1 performed three kinds of reaching tasks, and each task was repeated 30 times with his/her healthy arm and affected arm. Each patient performed 180 movements in total, with 90 motions on each arm. Reaching movements performed by the participants’ healthy arm were labeled as noncompensation (NC) motions. A therapist visually monitored these moments performed by the affected arm and labeled these compensatory motions. The raw data of each subject in Group 1 were recorded as Dataset 1 for training a classifier that could be used to detect compensation from pressure distribution data. Each subject in Group 2 performed each reaching task with his/her healthy side and affected side 15 times at a self-selected speed. This process lasted about half an hour to 45 mins, including resting time. The raw data of all the participants were recorded as Dataset 2, and the classifier trained by Dataset 1 was employed to detect compensation online. The motion data of S7 and S8 were recorded by the VICON system.

Session 2:audiovisual feedback

Each subject performed reaching movements with his/her affected side, and therehabilitation robot was commanded to maintain the correct direction. Visual display was turned on, and audiovisual feedback was provided when the online motion recognition system detected that the participant compensated during a reaching movement, as shown in Fig. 4. Virtual scenes mainly consist of a progress bar showing the progress of subjects’ movements, an avatar instructing recommended actions to reduce compensation, and some necessary guidance in the obvious places. Subjects could see their motion from the progress bar in real time, and there was an arrow beside the progress bar indicating the direction of movement. In this study, VE resembled the traditional rehabilitation items so that participants could be immersed. The avatar did not appear on the virtual scene until compensatory motions were detected by the online compensatory pattern recognition system that we previously described. For instance, when TLF was detected during back-and-forth reaching, the avatar mimicking subjects’ movements was displayed on the screen, along with an animation of trunk lean-backward, thus introducing participants to correct compensatory motions. There was also an arrow along with the avatar, indicating the direction of decreasing compensatory motions (Fig. 4a). Simultaneously, auditory feedback was provided to inform participants of compensation and to give instructions on how to reduce compensation. Audiovisual feedback was provided similarly when patients with stroke performed side-to-side and up-and-down reaching. Each reaching task was completed 15 times in total, and the participants’ kinematics were measured by the VICON system. This process lasted about 20 mins to half an hour, including resting time.

Fig. 4.

Fig. 4

Screenshots from three reaching tasks in the virtual environment with audiovisual feedback active. (a) Back-and-forth reaching task, (b) side-to-side reaching task, and (c) up-and-down reaching task

Session 3:force feedback

In this experimental trial, visual display was turned off, and the rehabilitation robotprovided force feedback when a compensatory motion was detected. When participants performed reaching tasks without compensation, the rehabilitation robot was commanded to maintain the correct direction. During the familiarization trials, each participant confirmed that he could sense the change in force when compensating and ensure the assistive force was suitable for him. Each reaching task was repeated 15 times with the paretic hand, and the participant’s kinematics were recorded by the VICON system. This process lasted about 20 mins to half an hour, including resting time.

Data preprocessing and feature extraction

The pressure maps were displayed as a color-coded real-time display in the BPMS software (Fig. 3, bottom panels). Each pressure map consists of a 32 × 32-dimensional vector, and the pressure distribution data were exported into ASCII format for processing in MATLAB. By reviewing existing research on pressure distribution mattresses [35, 36] and our previous studies [17, 18], ten features were extracted from the pressure distribution data for classification, including the average pressure sensor values (AVESSV), the maximum of the pressure sensor values (MAXSV), the average value and standard deviation of the medial/lateral center of pressure (AVEM/L-COP and SDM/L-COP), the average value and standard deviation of the anterior/posterior center of pressure (AVEA/P-COP and SDA/P-COP), average value and standard deviation of the ratio of the pressure on the medial to lateral side (AVEM/L-ratio and SDM/L-ratio), and the average value and standard deviation of the ratio of the pressure on the anterior end to the pressure on the posterior end (AVEA/P-ratio and SDA/P-ratio).

Classification

Based on previous studies on healthy subjects [17] and stroke patients [18], the support vector machine (SVM) classifier [37, 38] was employed to classify compensatory patterns. In this study, we trained an SVM classifier with a radial basis kernel function using LIBSVM in MATLAB [39]. Extracted features from pressure distribution data of Dataset 1 were normalized and combined in a random order before implementation of SVM classifier. The classification performance was assessed using leave-one-subject-out (LOSO) cross-validation [40]. With LOSO cross-validation, a model was trained on data from all subjects except one, who was “left out”, and the data from the one subject was used as a test dataset. The process was repeated until the data from each subject were used as a test dataset and could be used to determine the average recognition rate of the model. In the online compensation detection, an SVM classifier trained using Dataset 1 was employed to recognize compensatory patterns of subjects (S7, S8) with the aforementioned pressure features.

Confusion matrix displays information about actual and predicted classifications done by a classifier and is a convenient tool for evaluating the classification performance [41]. For binary classification, confusion matrix contains true positives (TP), true negatives (TN), false positives (FP), false negatives (FN), as shown in Table 2.

Table 2.

Confusion matrix

Actual Class
Positive Negative
Predicted class Positive True positive (TP) False positive (FP)
Negative False negative (FN) True negative (TN)

Based on the confusion table, precision [42, 43] describes the accuracy of the detection and can be calculated with (1). Recall refers to how well the target objects are detected without being missed and can be calculated with (2).

Precision=TPTP+FP 1
Recall=TPTP+FN 2

The cross-validation performances of the SVM classifier were evaluated by computing overall F1-scores (harmonic mean of precision and recall) [37, 44, 45]. The F1-score can be obtained as follows:

F1=2×Precision×RecallPrecision+Recall 3

Statistical analysis

Differences in F1 scores were tested for statistical significance using the Friedman nonparametric tests. We conducted two-way repeated measures analyses of variance (ANOVA) (random effect: participant; fixed effect: feedback condition) to determine if compensation under the three conditions was significantly different. When the test statistic was significant, Bonferroni post hoc tests were performed to determine if differences between each of the two conditions were significant. Statistical analysis was performed using IBM SPSS statistics software (ver. 24.0, IBM Corp., Armonk, NY, USA), and a level of significance of 0.05 was selected.

Results

Classification performance

The offline compensatory pattern recognition performance was assessed using Dataset 1 by computing precision, recall and F1-scores. The SVM classifier exhibited excellent performance in offline detection of compensatory patterns, with an average F1-score of 0.986 ± 0.014. As shown in Table 3, the SE compensatory pattern was well detected (F1-score = 1.000), followed by TR compensation (F1-score = 0.995), NC (F1-score = 0.984) and TLF compensation (F1-score = 0.963). The Friedman nonparametric test provided statistical evidence of a significant difference in F1- scores across different compensatory patterns (p = 0.032). Furthermore, the performance of each class was analyzed using the SVM classifier across all subjects. The pressure distribution-based method generally classifies well (average F1-score > 0.90) for all participants. The minimum and maximum F1-scores of these four patterns among all subjects were 0.857 and 1.000, respectively.

Table 3.

Offline classification performance of the SVM classifier in the detection of compensatory patterns

TLF TR SE NC Average
SVM
 Precision 0.939 0.990 1.000 0.998 0.982
 Recall 0.994 1.000 1.000 0.970 0.991
 F1-score 0.963 0.995 1.000 0.984 0.986

The online classification performance in the recognition of compensatory patterns was evaluated using Dataset 2, as shown in Table 4. The SVM classifier performed well, with an average F1 score of 0.985, which indicated that the proposed method can accurately detect compensation online. The SE compensatory pattern was well detected (F1-score = 1.000), followed by TLF (F1-score = 0.992), NC (F1-score = 0.986) and TR (F1-score = 0.965). The classification accuracy was higher than 95% for both S7 and S8, which can be functionally useable for monitoring compensation in patients with stroke during reaching. Thus, based on real-time detection of compensatory patterns, different kinds of feedback, such as visual, auditory and force feedback, can be provided to participants to help them reduce compensation.

Table 4.

Online classification performance of the SVM classifier in the detection of compensatory patterns

Subject TLF TR SE NC Average
S7 Precision 1.000 1.000 1.000 0.957 0.989
Recall 1.000 0.867 1.000 1.000 0.967
F1-score 1.000 0.929 1.000 0.978 0.978
S8 Precision 1.000 1.000 1.000 0.989 0.997
Recall 0.967 1.000 1.000 1.000 0.992
F1-score 0.983 1.000 1.000 0.994 0.994

Different feedback modalities in reducing compensation

Three different reaching conditions were evaluated in the present study: no feedback, audiovisual feedback and force feedback. Fifteen motions of each reaching task per condition were used to generate mean kinematic data for each participant, which were used to compare differences among different conditions. All kinematic variables in the no-feedback condition were used as baseline comparisons. As shown in Fig. 5, compensation was measured by the angle of TLF (α), the angle of TR (β) and the angle of SE (γ). These three angles of S7 and S8 in the no-feedback, audiovisual feedback and force feedback conditions were analyzed. For audiovisual feedback, both S7 and S8 reduced their compensation significantly (p < 0.001) compared with baseline. Compared with the baseline, S7 showed greater improvement, with a reduction of 29.9, 19.8 and 2.4% in the angles of TLF, TR and SE, respectively. The maximum amount of reduction, which was 5.67°, was obtained in the back-and-forth reaching. A slight reduction of 0.36° was observed in the up-and-down reaching. For S8, the angles of TLF, TR and SE were reduced by 13.3, 4.2 and 10.3%, respectively. The maximum and minimum values of reduction were 2.05 ° and 0.63°, which were observed in up-and-down and side-to-side reaching tasks, respectively. This result indicated that effects of audiovisual feedback on different tasks differed. Specifically, significant differences (p < 0.001 for TLF compensation, p = 0.03 for TR compensation) between the audiovisual feedback and the no-feedback conditions were observed, while there was no significant difference (p = 0.177) in the SE compensatory pattern. Reaching with force feedback effectively reduced compensatory motions for both S7 and S8 in comparison with baseline (p < 0.001). For S7, the angles of TR, TLF and SE were reduced by 48.6, 35.7 and 23.6% in comparison with the baseline. Reduction in the side-to-side reaching task was largest, which was up to 6.77°. The minimum amount of reduction was detected in theback-and-forth reaching task, which was 3.58°. Similarly, S8 obtained a maximum reduction of 6.83° in the side-to-side reaching. When comparing the force feedback condition with the baseline, S8 reduced the angles of TR, TLF and SE by 45.3, 29.0 and 23.9%, respectively. Our observed reduction of these compensatory parameters in the audiovisual and force feedback conditions suggests that both kinds of feedback were effective in reducing compensation of patients with stroke. Surprisingly, the difference between audiovisual and force feedback was significant (p < 0.001), which indicated that force feedback seemed morepromising in reducing compensatory patterns in stroke survivors during reaching tasks. For S7, the angles of TR, TLF and SE were reduced by 28.8, 21.2 and 5.8% under force feedback when compared with audiovisual feedback. Reaching with force feedback led to greater decreases in compensation, especially in the side-to-side reaching task, and the maximal difference was 3.98°. For S8, compared with audiovisual feedback, which decreased the angles of TR, TLF and SE by 0.63°, 1.73° and 2.05°, respectively, reduction by using force feedback was more obvious with 6.83°, 3.78° and 4.73°, respectively. Overall, these results suggested that force feedback was a more appropriate approach to incorporate into the upper limb rehabilitation program, as it demonstrated a more efficient reduction of compensations during reaching.

Fig. 5.

Fig. 5

Individual results for compensation under different conditions. (a-c) represent the results of S7; (d-f) represent the results of S8. Related compensation angles are presented across the reaching cycle (back-and-forth reaching, side-to-side reaching and up-and-down reaching). The curves represent the three different conditions: no feedback (blue), audiovisual feedback (green) and force feedback (red). * indicates a significant difference (p < 0.05) with respect to the no-feedback condition, §indicates a significant difference (p < 0.05) between the audiovisual feedback and force feedback conditions

Discussion

Our first objective was to verify the feasibility of real-time monitoring compensation using a machine learning classifier from the pressure distribution data of patients with stroke. To our knowledge, this is the first time that an online pattern recognition analysis has been accomplished on compensatory motions for the population with stroke. The combination of pressure distribution data with the SVM classifier provided good classification performancein the online detection of compensations, with an average F1-score of 0.986, indicating that the pressure distribution-based system may be a viable monitoring scheme in the detection of compensatory patterns for stroke survivors during reaching tasks.

Our second objective was to investigate whether the compensatory motions of stroke survivors observed during reaching tasks can be reduced by audiovisual feedback and force feedback. Based onthe presented compensation-detection method using pressure distribution data and machine learning algorithms in real time, both audiovisual and force feedback decreased compensation exhibited by individuals with stroke in reaching; however, the effectiveness on reducing compensatory patterns varied with different individuals and reaching tasks.

Our third objective was to examine whether audiovisual feedback or force feedback was more effective in reducing compensation for patients with stroke. From the outcome measures used in this study, force feedback is a more promising approach to decreasing compensatory motions in reaching tasks. Therefore, training with force feedback is recommended for stroke patients to control motor compensation and promote motor learning during rehabilitation training.

Online detection of compensation

Thus far, there have been no reports on the real-time monitoring of compensatory motions in patients with stroke during reaching using a machine learning model from pressure distribution data. Without inducing unnatural motions or increasing concerns related to privacy, a pressure distribution-based detection system is more portable and convenient to use in clinical and home settings than are sensor-based and camera-based systems. Our previous studies [17, 18] demonstratedthe feasibility and validity of offline recognition of compensatory patterns based on pressure distribution data and machine learning algorithms. However, offline performance is insufficient for further application in upper limb rehabilitation training, and there is usually a gap between online and offlinerecognition accuracies. An SVM classifier was trained on features from the pressure distribution data to detect three types of compensatory patterns (TLF, TF and SE) and NC in stroke patients in real time. Online recognition accuracies were higher than 95% for both S7 and S8, indicating that the method proposed in this study can be used as a real-time detection system of compensatory motions and a promising adjunct to incorporate into the upper limb rehabilitation program.

Rajiv Ranganathan et al. [13] employed a wearable sensor-based system to detect compensation in real time and obtained a classification performance with an F1-score = 0.857 for TR and an F1-score = 1.000 for SE. A camera-based system for online compensation detection has also been studied [15]; however, the classification performance was worse in stroke survivors for TR (F1-score = 0.27), TLF (F1-score = 0.17), and SE automatic detection of compensation (F1-score = 0.07). Compared to the results of previous research, our method provided more reliable accuracy of online recognition, with an average F1-score of 0.992 for TLF, 0.963 for TR, and 1.000 for SE. This evidence validated that the pressure distribution-based system can reliably detect and categorize compensatory patterns in patients with stroke during seated reaching tasks and can be used as an input for feedback systems to reduce compensation.

Real-time reduction of compensation

Based on the motion data of stroke patients, reaching audiovisual feedback or force feedback effectively reduced compensation in comparison with the no-feedback condition (p < 0.001). Previous studies [19, 23, 4649] have reported similar results for different feedback modalities on decreasing compensation in patients with stroke. Audiovisual feedbackhas been a frequent focus of research due to the popularization of VR technology. Providing auditory instructions when compensation is detected, simulating the presence of a virtual therapist, or using negative visual cues within the therapy game can improve the quality of motions so that they are more similar to therapist-supervised motions [12]. In this study, TLF and TR compensation were significantly reduced when participants were provided audiovisual feedback; however, we did not find any statistically significant difference in the SE compensatory pattern between the audiovisual feedback and the no-feedback conditions. This may indicate that the effect of audiovisual feedback is related to different levels of task difficulty. The SE compensatory pattern is mainly employed by patients with stroke in up-and-down reaching, which is also the most difficult task, as stated by participants in the experiment. Given the challenge to motor ability, the use of increased SE to aid arm and hand positioning/orientation for reaching tends to be an adaptive compensatory strategy [7]. Although audiovisual feedback was provided in real time to participants, it cannot make the up-and-down task easier. This result is consistent with the result of Norouzi-Gheidari, et al. [50], who showed that the reaching performance of patients with stroke did not differ between a physical environment and a virtual environment. As stated by Alankus, et al. [49], when audiovisual feedback is employed to remind patients of improper motor patterns, difficulty parameters need be adapted to user abilities. It is the difficulty of the motion itself that affects the improvement achieved under the audiovisual feedback condition; thus, providing audiovisual feedback is not enough in some exercises. Likewise, therapists sometimes need to correct motions, rather than only providing instruction when they supervise rehabilitation training. It may also be explained that reaching the performance of stroke patients was significantly improved (p < 0.001) under the force feedback condition when compared to the no-feedback or audiovisual feedback condition in this study. We noticed that neither force feedback nor audiovisual feedback was superior in reducing compensationin previous studies [23, 46]. This difference is likely the result of two kinds of force feedback. Specifically, force feedback was provided in the form of a resistive force acting in the opposite direction of motion in previous studies [23, 46], while force feedback was supplied as an assistive force acting in the same direction of motion in our study. Given that providing resistance to the participant’s limb movements makes movement tasks more difficult or challenging, providing assistive force instead of resistive force as feedback can help patients with stroke to move their affected limbs in desired patterns and reduce compensation more directly [51]. Meanwhile, the active assist strategy is the most developed control paradigm in rehabilitation robots and is widely used in robotic therapy [52]. Therefore, when compensatory patterns were detected during reaching, it was more reasonable to use rehabilitation robot to assist the impaired limb to reduce compensation and recover desired interjoint coordination.

Limitations

There were several limitations in the current pilot study. Firstly, there were only eight patients with stroke participating in this study. Though our results suggested that force feedback showed a more promising potential than audiovisual feedback in improving reaching performance, large sample size of patients with stroke with different levels of upper limb impairment are needed to draw stronger conclusions. Secondly, the experiments were carried out in order of reaching with no feedback, reaching with audiovisual feedback and reaching with force feedback, rather than in a random order. Caution must be taken before applying our results to reducing compensation in patients with stroke and experiment with a random order is recommended. Thirdly, in this study, our classifier detect the main compensation when multiple compensation occur simultaneously. Considering that detecting compound compensation may provide more information to both the patients and therapists, we will investigate the feasibility of detecting multiple compensatory patterns. Finally, besides kinematic results, clinical outcome assessments indexes on stroke should be included in the following studies. Longitudinal studies are required to explore the long-term effects of different kinds of feedback in motor improvement and whether one kind of feedback is superior to another in the longer-term functional recovery of the upper extremities.

Conclusion

In this study, good classification performances were obtained, with an average F1-score of 0.985 using an SVM classifier. Based on accurate online detection, rehabilitation robot and VR technologies were applied to decrease compensation in real time by providing force and audiovisual feedback to stroke patients. Effective improvements in motion patterns were observed under both the audiovisual and force feedback conditions when compared with a no feedback condition. In addition, reaching with force feedback was more promising for reducing compensation in patients with stroke.

This study is an early step in investigating feasibility of detecting compensations in patients with stroke using a machine learning algorithm from pressure distribution data in real time. Caution must be taken before applying our results to reducing compensation and further studies are required to determine the effects of choice of feedback.

Acknowledgements

The authors would like to thank Ledeng Huang, Gengliang Lin and Chengqi Lin for functional assessments and useful discussions.

The authors would like to thank all families for their participationin this study.

Abbreviations

BPMS

Body pressure measurement system

LOSO cross-validation

Leave-one-subject-out cross-validation

MAS

Modified Ashworth Scale

MMSE

Mini-Mental State Examination

NC

Noncompensation

SE

Shoulder elevation

SVM

Support vector machine

TCP/IP

Transmission Control Protocol/Internet Protocol

TLF

Trunk lean-forward

TR

Trunk rotation

UE-FMA

Upper extremity of the Fugl-Meyer Assessment

VAS

Visual analogue scale

VR

Virtual reality

Authors’ contributions

SC conceived study design, analyzed the data, trained the machine learning model, and drafted the manuscript. ES collected and analyzed the data. XW involved in interpretation of results and assisted in writing the manuscript. WWwas participated in collection of the data. HZ interpreted the patient data and helped with data analysis. LX was involved in the study design. All authors read and approved the final manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (Grant No. 51575188).

Availability of data and materials

The datasets analyzed during the current study are available from the corresponding author on reasonable request.

Ethics approval and consent to participate

Informed consent was obtained from all participants to complete the protocol approved by the Guangzhou First People’s Hospital Department of Ethics Committee.

Consent for publication

The authors received consent for the publication of the photographs used within the manuscript.

Competing interests

The authors declare that they have no competing interests.

Footnotes

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Campbell BCV, Meretoja A, Donnan GA, Davis SM. Twenty-Year History of the Evolution of Stroke Thrombolysis With Intravenous Alteplase to Reduce Long-Term Disability. Stroke. 46:2341–6. [DOI] [PubMed]
  • 2.Members WG, Mozaffarian D, Benjamin EJ, Go AS, Arnett DK, Blaha MJ, et al. Executive Summary: Heart Disease and Stroke Statistics--2016 Update: A Report From the American Heart Association. 2016;127:143–52. [DOI] [PubMed]
  • 3.Farr TD, Whishaw IQ. Quantitative and qualitative impairments in skilled reaching in the mouse (Mus musculus) after a focal motor cortex stroke. Stroke. 2002;33:1869–1875. doi: 10.1161/01.STR.0000020714.48349.4E. [DOI] [PubMed] [Google Scholar]
  • 4.Newell KM. Motor skill acquisition. Annu Rev Psychol. 1991;42:213–237. doi: 10.1146/annurev.ps.42.020191.001241. [DOI] [PubMed] [Google Scholar]
  • 5.Cirstea M, Levin MF. Compensatory strategies for reaching in stroke. Brain. 2000;123:940–953. doi: 10.1093/brain/123.5.940. [DOI] [PubMed] [Google Scholar]
  • 6.Roby-Brami A, Feydy A, Combeaud M, Biryukova E, Bussel B, Levin M. Motor compensation and recovery for reaching in stroke patients. Acta Neurol Scand. 2003;107:369–381. doi: 10.1034/j.1600-0404.2003.00021.x. [DOI] [PubMed] [Google Scholar]
  • 7.Levin MF, Kleim JA, Wolf SL. What do motor “recovery” and “compensation” mean in patients following stroke? Neurorehabil Neural Repair. 2009;23:313–319. doi: 10.1177/1545968308328727. [DOI] [PubMed] [Google Scholar]
  • 8.Pain LM, Baker R, Richardson D, Agur AM. Effect of trunk-restraint training on function and compensatory trunk, shoulder and elbow patterns during post-stroke reach: a systematic review. Disabil Rehabil. 2015;37:553–562. doi: 10.3109/09638288.2014.932450. [DOI] [PubMed] [Google Scholar]
  • 9.Alaverdashvili M, Foroud A, Lim DH, Whishaw IQ. “Learned baduse” limits recovery of skilled reaching for food after forelimb motor cortex stroke in rats: a new analysis of the effect of gestures on success. Behav Brain Res. 2008;188:281–90. [DOI] [PubMed]
  • 10.Kwee WS, Ann-Marie H, Martin W, Burridge JH. Trunk restraint to promote upper extremity recovery in stroke patients: a systematic review and meta-analysis. Neurorehabil Neural Repair. 2014;28:660–677. doi: 10.1177/1545968314521011. [DOI] [PubMed] [Google Scholar]
  • 11.Taati B, Wang R, Huq R, Snoek J, Mihailidis A. “Vision-based posture assessment to detect and categorize compensation during robotic rehabilitation therapy,” in IEEE Ras & Embs International Conference on Biomedical Robotics and Biomechatronics. 2012. pp. 1607–1613. [Google Scholar]
  • 12.Wittmann F, Held JP, Lambercy O, Starkey ML, Curt A, Höver R, et al. Self-directed arm therapy at home after stroke with a sensor-based virtual reality training system. J Neuroeng Rehabil. 2016;13:75. doi: 10.1186/s12984-016-0182-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Ranganathan R, Rui W, Gebara R, Biswas S. "Detecting compensatory trunk movements in stroke survivors using a wearable system," in Workshop on Wearable Systems & Applications. 2017. [Google Scholar]
  • 14.Wang Q, Markopoulos P, Yu B, Chen W, Timmermans A. Interactive wearable systems for upper body rehabilitation: a systematic review. J Neuroeng Rehabil. 2017;14:20. doi: 10.1186/s12984-017-0229-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Ying XZ, Lukasik M, Li MH, Dolatabadi E, Wang RH, Taati B. Automatic detection of compensation during robotic stroke rehabilitation therapy. IEEE J Transl Eng Health Med. 2018;6:1–1. doi: 10.1109/JTEHM.2017.2780836. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Remoortel HV, Giavedoni S, Raste Y, Burtin C, Louvaris Z, Gimeno-Santos E, et al. Validity of activity monitors in health and chronic disease: a systematic review. Int J Behav Nutr Phys Act. 2012;9:84. doi: 10.1186/1479-5868-9-84. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Cai S, Li G, Huang S, Zheng H, Xie L. Automatic detection of compensatory movement patterns by a pressure distribution mattress using machine learning methods: a pilot study. IEEE Access. 2019;7:80300–80309. doi: 10.1109/ACCESS.2019.2923077. [DOI] [Google Scholar]
  • 18.Cai S, Li G, Zhang X, Huang S, Zheng H, Ma K, et al. Detecting compensatory movements of stroke survivors using pressure distribution data and machine learning algorithms. J Neuroeng Rehabil. 2019;16:1–11. doi: 10.1186/s12984-019-0609-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Lin S, Mann J, Mansfield A, Wang RH, Harris JE, Taati B. Investigating the feasibility and acceptability of real-time visual feedback in reducing compensatory motions during self-administered stroke rehabilitation exercises: a pilot study with chronic stroke survivors. J Rehabil Assist Technol Eng. 2019;6:2055668319831631. doi: 10.1177/2055668319831631. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Alankus G, Kelleher C. “Reducing compensatory motions in video games for stroke rehabilitation,” in Proceedings of the SIGCHI conference on human factors in computing systems. 2012. pp. 2049–2058. [Google Scholar]
  • 21.Proffitt R, Lange B. Considerations in the efficacy and effectiveness of virtual reality interventions for stroke rehabilitation: moving the field forward. Phys Ther. 2015;95:441–448. doi: 10.2522/ptj.20130571. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Van Vugt F, Kafczyk T, Kuhn W, Rollnik J, Tillmann B, Altenmüller E. The role of auditory feedback in music-supported stroke rehabilitation: a single-blinded randomised controlled intervention. Restor Neurol Neurosci. 2016;34:297–311. doi: 10.3233/RNN-150588. [DOI] [PubMed] [Google Scholar]
  • 23.Valdés BA, Schneider AN, Van der Loos HM. Reducing trunk compensation in stroke survivors: a randomized crossover trial comparing visual and force feedback modalities. Arch Phys Med Rehabil. 2017;98:1932–1940. doi: 10.1016/j.apmr.2017.03.034. [DOI] [PubMed] [Google Scholar]
  • 24.Kersten P, Küçükdeveci AA, Tennant A. The use of the visual analogue scale (VAS) in rehabilitation outcomes. J Rehabil Med. 2012;44:609–610. doi: 10.2340/16501977-0999. [DOI] [PubMed] [Google Scholar]
  • 25.Bohannon RW, Smith MB. Interrater reliability of a modified Ashworth scale of muscle spasticity. Phys Ther. 1987;67:206. doi: 10.1093/ptj/67.2.206. [DOI] [PubMed] [Google Scholar]
  • 26.Crum RM, Anthony JC, Bassett SS, Folstein MF. Population-based norms for the mini-mental state examination by age and educational level. Jama. 1993;269:2386–2391. doi: 10.1001/jama.1993.03500180078038. [DOI] [PubMed] [Google Scholar]
  • 27.Kebria PM, Al-Wais S, Abdi H, Nahavandi S. “Kinematic and dynamic modelling of UR5 manipulator,” in IEEE International Conference on Systems, Man, and Cybernetics. 2017. pp. 004229–004234. [Google Scholar]
  • 28.Carmichael MG, Liu D. “Admittance control scheme for implementing model-based assistance-as-needed on a robot,” Conference proceedings: ... Annual International Conference of the IEEE Engineering in Medicine and Biology Society. IEEE Eng Med Biol Soc Conf. 2013:870, 2013–3. [DOI] [PubMed]
  • 29.T. Proietti, V. Crocher, A. Roby-Brami, and N. Jarrasse, "Upper-limb robotic exoskeletons for neurorehabilitation: a review on control strategies.” IEEE Reviews in Biomedical Engineering. 2016;9:4-14. [DOI] [PubMed]
  • 30.Landi CT, Ferraguti F, Sabattini L, Secchi C, Fantuzzi C. “Admittance control parameter adaptation for physical human-robot interaction,” in 2017 IEEE International Conference on Robotics and Automation (ICRA) 2017. pp. 2911–2916. [Google Scholar]
  • 31.Laura, Marchal-CrespoDavid, and Reinkensmeyer, "Review of control strategies for robotic movement training after neurologic injury.” Journal of neuroengineering and rehabilitation, 2009;6(1):20. [DOI] [PMC free article] [PubMed]
  • 32.Zanotto D, Stegall P, Agrawal SK. Adaptive assist-as-needed controller to improve gait symmetry in robot-assisted gait training. Proceedings - IEEE International Conference on Robotics and Automation. 2014:724–9.
  • 33.Cikajlo I, Potisk KP. Advantages of using 3D virtual reality based training in persons with Parkinson’s disease: a parallel study. J NeuroEng Rehabil. 2019;16:119. doi: 10.1186/s12984-019-0601-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Joost VK, Van Wegen EEH, Gert K. Unraveling the interaction between pathological upper limb synergies and compensatory trunk movements during reach-to-grasp after stroke: a cross-sectional study. Experimental Brain Research.experimentelle Hirnforschng.experimentation Cerebrale. 2012;221:251–262. doi: 10.1007/s00221-012-3169-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.N. Foubert, A. M. McKee, R. A. Goubran, and F. Knoefel, "Lying and sitting posture recognition and transition detection using a pressure sensor array," in 2012 IEEE International Symposium on Medical Measurements and Applications Proceedings, 2012, pp. 1–6.
  • 36.Meyer J, Arnrich B, Schumm J, Troster G. Design and modeling of a textile pressure sensor for sitting posture classification. IEEE Sensors J. 2010;10:1391–1398. doi: 10.1109/JSEN.2009.2037330. [DOI] [Google Scholar]
  • 37.Thanh Noi P, Kappas M. Comparison of random forest, k-nearest neighbor, and support vector machine classifiers for land cover classification using Sentinel-2 imagery. Sensors. 2018;18:18. doi: 10.3390/s18010018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Ahmadi M, O’Neil M, Fragala-Pinkham M, Lennon N, Trost S. Machine learning algorithms for activity recognition in ambulant children and adolescents with cerebral palsy. Journal of neuroengineering and rehabilitation. 2018;15:105. doi: 10.1186/s12984-018-0456-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Chang C-C, Lin C-J. “LIBSVM: A library for support vector machines,” ACM transactions on intelligent systems and technology (TIST) 2011. p. 27. [Google Scholar]
  • 40.Kopke JV, Hargrove LJ, Ellis MD. Applying LDA-based pattern recognition to predict isometric shoulder and elbow torque generation in individuals with chronic stroke with moderate to severe motor impairment. J Neuroeng Rehabil. 2019;16:35. doi: 10.1186/s12984-019-0504-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Porter J, Berkhahn J, Zhang L. Chapter 29 – A Comparative Analysis of Read Mapping and Indel Calling Pipelines for Next-Generation Sequencing Data. 2015. pp. 521–535. [Google Scholar]
  • 42.M. Sokolova and G. Lapalme, "A systematic analysis of performance measures for classification tasks," Information Processing & Management, vol. 45, pp. 427–437.
  • 43.Powers DM. Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlation. 2011. [Google Scholar]
  • 44.Forman G, Scholz M. Apples-to-apples in cross-validation studies: pitfalls in classifier performance measurement. ACM SIGKDD Explorations Newsletter. 2010;12:49–57. doi: 10.1145/1882471.1882479. [DOI] [Google Scholar]
  • 45.J. Howcroft, J. Kofman, and E. D. Lemaire, "Feature selection for elderly faller classification based on wearable sensorsJ Neuroeng Rehabil. , vol. 14, p. 47, 2017. [DOI] [PMC free article] [PubMed]
  • 46.B. A. Valdã©S and V. D. L. Hfm, "Biofeedback vs. game scores for reducing trunk compensation after stroke: a randomized crossover trial," Topics in Stroke Rehabilitation, vol. 25, pp. 1–18, 2017. [DOI] [PubMed]
  • 47.Thielman G. Rehabilitation of reaching poststroke: a randomized pilot investigation of tactile versus auditory feedback for trunk control. J Neurol Phys Ther. 2010;34:138–144. doi: 10.1097/NPT.0b013e3181efa1e8. [DOI] [PubMed] [Google Scholar]
  • 48.Burdea GC, Cioi D, Martin J, Fensterheim D, Holenski M. The Rutgers arm II rehabilitation system—a feasibility study. IEEE Trans Neural Syst Rehabil Eng. 2010;18:505–514. doi: 10.1109/TNSRE.2010.2052128. [DOI] [PubMed] [Google Scholar]
  • 49.Alankus G, Kelleher C. Reducing compensatory motions in motion-based video games for stroke rehabilitation. Human–Computer Interaction. 2015;30:232–262. doi: 10.1080/07370024.2014.985826. [DOI] [Google Scholar]
  • 50.Norouzi-Gheidari N, Archambault PS, Fung J. Robot-assisted reaching performance of chronic stroke and healthy individuals in a virtual versus a physical environment: a pilot study. IEEE Trans Neural Syst Rehabil Eng. 2019. [DOI] [PubMed]
  • 51.Marchal-Crespo L, Reinkensmeyer DJ. Review of control strategies for robotic movement training after neurologic injury. J Neuroeng Rehabil. 2009;6:20. doi: 10.1186/1743-0003-6-20. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Proietti T, Crocher V, Roby-Brami A, Jarrasse N. Upper-limb robotic exoskeletons for neurorehabilitation: a review on control strategies. IEEE Rev Biomed Eng. 2016;9:4–14. doi: 10.1109/RBME.2016.2552201. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The datasets analyzed during the current study are available from the corresponding author on reasonable request.


Articles from Journal of NeuroEngineering and Rehabilitation are provided here courtesy of BMC

RESOURCES