Automatic Detection of Protective Behavior in Chronic Pain Physical Rehabilitation: A Recurrent Neural Network Approach

Chongyang Wang, Temitayo A. Olugbade, Akhil Mathur, Amanda C. de C. Williams, Nicholas D. Lane, Nadia Bianchi-BerthouzearXiv 2019 · DOI · OpenReview

TL;DR

This paper introduces a deep learning approach using stacked LSTMs to automatically detect "protective behaviors" in individuals with chronic pain during everyday activities. By analyzing wearable sensor data, the system aims to enable personalized, at-home rehabilitation by providing real-time feedback, achieving a mean F1 score of 0.82 in detecting these pain-related movements.

What Problem Does This Paper Address?

Chronic pain (CP) often leads individuals to avoid activities due to fear of exacerbating their pain, a phenomenon known as "protective behavior." While physiotherapists traditionally monitor and adapt rehabilitation based on these behaviors in clinic settings, the increasing shift towards self-management at home necessitates technological solutions. Current methods for detecting protective behavior are often activity-specific or rely on manual labeling, which is time-consuming and impractical for continuous monitoring. This paper addresses the challenge of developing an activity-independent system that can continuously detect protective behavior using wearable sensors, paving the way for personalized, at-home chronic pain management.

Methods

The core of this research lies in a stacked Long Short-Term Memory (LSTM) network. LSTMs are chosen for their effectiveness in processing sequential data, which is crucial for analyzing time-series sensor data like motion capture and sEMG. The authors also explore a Dual-stream LSTM architecture that processes motion capture and sEMG data separately before fusing their representations.

Key methodological aspects include:

  • Activity-Independent Detection: The model is designed to work across various activities without needing to know the specific activity being performed. This is achieved by feeding low-level sensor features directly into the network.
  • Continuous Detection: Instead of classifying entire activities, the system aims to detect protective behavior within an activity instance, providing more granular insights.
  • Data Augmentation: To combat the limited size of patient datasets, techniques like reversing, jittering, and cropping are employed to artificially increase the training data.
  • Sliding-Window Segmentation: Data is segmented into fixed-length windows for processing. The paper extensively analyzes the impact of window length and different padding strategies (0-padding, last-padding, next-padding) on performance.
  • Ground Truth Definition: The study investigates different levels of ground truth granularity, moving from a binary classification (protective/non-protective) to tri-class and quad-class scenarios to account for inter-rater uncertainty.

Datasets

The primary dataset used in this study is the EmoPain dataset. This dataset comprises IMU (inertial measurement unit) and sEMG (surface electromyography) data collected from both healthy participants and individuals with chronic pain. The dataset includes recordings of five specific physical activities: bend-down, one-leg-stand, sit-to-stand, stand-to-sit, and reach-forward. These activities were selected by physiotherapists to represent basic movements common in daily life.

Key Insights and Ideas

  • LSTM's Superiority for Temporal Data: The research strongly supports the use of recurrent neural networks, particularly LSTMs, for processing time-series sensor data in the context of protective behavior detection, outperforming traditional methods like Random Forests and Convolutional Neural Networks (CNNs).
  • The Importance of Window Length: The duration of the sliding window used for segmentation significantly impacts detection performance. Generally, longer windows (2.5s to 4s) are beneficial for capturing sufficient information, but excessively long windows can be detrimental due to padding effects.
  • Data Augmentation's Double-Edged Sword: While data augmentation is crucial for small datasets, the "reversing" method negatively impacted performance, suggesting that temporal dynamics are critical and should not be arbitrarily altered. Jittering and cropping, however, showed positive or neutral effects.
  • Ground Truth Granularity Matters: Moving beyond a simple binary classification to incorporate "uncertain" states (due to inter-rater disagreement) proved challenging but offered a more nuanced understanding of the detection process. This highlights the inherent subjectivity in labeling pain-related behaviors.
  • Activity-Independent Detection is Feasible: The study successfully demonstrates that protective behavior can be detected across different activities without explicit activity recognition, a key step towards real-world, unobtrusive monitoring.

Key Results

  • The stacked-LSTM network achieved the best overall performance, with a mean F1 score of 0.82 using leave-one-subject-out (LOSO) cross-validation.
  • When modeling protective behavior per activity type, performance varied, with stand-to-sit yielding the highest mean F1 score (0.83) and reach-forward the lowest (0.67).
  • The 0-padding method for segmentation generally outperformed last-padding and next-padding, likely due to its neutral interpretation of transitions.
  • In tri-class experiments (non-protective, protective, uncertain), the uncertain class was the most difficult to recognize, with F1 scores for the protective class dropping to 0.72 and 0.55 in the two tri-class experiments.
  • The study found that the 3s window length generally provided the best performance for activity-independent PBD.

Limitations and Future Work

  • Dataset Size and Diversity: While the EmoPain dataset is valuable, the authors acknowledge that further testing on other datasets with diverse populations and activities is necessary to fully validate their findings.
  • Ground Truth Uncertainty: The difficulty in recognizing "uncertain" states in tri-class experiments suggests that more sophisticated methods for handling inter-rater disagreement, such as using probabilistic distributions for labels, could be beneficial.
  • Real-time Performance: While the model shows promise, further optimization for real-time deployment on edge devices would be a logical next step.
  • Clinical Validation: The study provides a strong foundation, but direct clinical validation with CP patients in real-world rehabilitation settings is crucial to assess its practical utility and impact.
  • Personalization: While the model is activity-independent, future work could explore further personalization by fine-tuning models on individual patient data.

Summary updated

Abstract

In chronic pain rehabilitation, physiotherapists adapt physical activity to patients' performance based on their expression of protective behavior, gradually exposing them to feared but harmless and essential everyday activities. As rehabilitation moves outside the clinic, technology should automatically detect such behavior to provide similar support. Previous works have shown the feasibility of automatic protective behavior detection (PBD) within a specific activity. In this paper, we investigate the use of deep learning for PBD across activity types, using wearable motion capture and surface electromyography data collected from healthy participants and people with chronic pain. We approach the problem by continuously detecting protective behavior within an activity rather than estimating its overall presence. The best performance reaches mean F1 score of 0.82 with leave-one-subject-out cross validation. When protective behavior is modelled per activity type, performance is mean F1 score of 0.77 for bend-down, 0.81 for one-leg-stand, 0.72 for sit-to-stand, 0.83 for stand-to-sit, and 0.67 for reach-forward. This performance reaches excellent level of agreement with the average experts' rating performance suggesting potential for personalized chronic pain management at home. We analyze various parameters characterizing our approach to understand how the results could generalize to other PBD datasets and different levels of ground truth granularity.
BibTeX
@misc{wang2019automatic,
  author = {Chongyang Wang and Temitayo A. Olugbade and Akhil Mathur and Amanda C. de C. Williams and Nicholas D. Lane and Nadia Bianchi-Berthouze},
  title = {{Automatic Detection of Protective Behavior in Chronic Pain Physical Rehabilitation: A Recurrent Neural Network Approach}},
  year = {2019},
  eprint = {1902.08990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.08990},
}
Figure