Real-time forecasting of exercise-induced fatigue from wearable sensors

https://doi.org/10.1016/j.compbiomed.2022.105905Get rights and content

Highlights

  • Forecasted wearable sensor data and associated fatigue progression online.

  • The proposed model outperformed the state-of-the-art for fatigue recognition.

  • Spatiotemporal attention blocks captured the dependency between timesteps and features.

  • Model performances were evaluated in a user-independent approach.

Abstract

Although a number of studies attempt to classify human fatigue, most models can only identify fatigue after fatigue has already occurred. In this paper, we propose a novel time series approach to forecasting wearable sensor data and associated fatigue progression during exercise. The proposed framework consists of spatio-temporal attention-based Transformer with an auxiliary critic and a fatigue classifier. The Transformer network is used to analyze the person-independent pattern underlying the past kinematic sequence obtained from wearable sensors and generate short term predictions of the human motion. Adversarial training is employed to regularize the Transformer and improve the time series forecasting performance. A fatigue classifier is used to estimate person-independent fatigue levels based on the forecasted wearable sensor data from the Transformer model. The proposed approach is validated with simulated and real squat datasets which were collected from young healthy participants. The proposed network can accurately forecast a time horizon of up to 80 timesteps for motion signal forecasting and fatigue classification. In terms of fatigue prediction, an accuracy of 83% and a Pearson correlation coefficient of 0.92 were achieved on forecasted motion data with unseen participant data. The experimental results show that our model can predict fatigue progression and outperforms other state-of-the-art techniques, achieving 95% correlation compared to 83% for the best performing baseline method. Successfully predicting fatigue progression can help a patient or athlete monitor and adjust their exercise session to prevent overexertion and fatigue-induced injury.

Introduction

Exercise-induced fatigue monitoring is used to characterize the physical and mental fatigue accumulated over time due to repeated movement. This is particularly important for athletes, coaches, rehabilitation patients, therapists and other clinicians, since high levels of fatigue can hinder adaptation during training or rehabilitation. In rehabilitation, patients experiencing high levels of fatigue are at greater secondary risks of injury [1], [2], [3]. In sport training, high levels of fatigue can hinder adaptation during training, inhibit performance and lead to injury [4]. Therefore, actively monitoring fatigue status during exercise can provide immediate feedback needed to adjust the training strategy in order to prevent injury and maximize overall performance [2], [4].

Although traditionally defined as a reduction in muscle force output [5], exercise-induced fatigue more broadly involves the perception of fatigue as well as changes in performance [6]. Detecting or forecasting exercise-induced fatigue is a difficult task, because it is challenging to find a single metric (e.g., velocity loss or altered range of motion or muscle activity) that can accurately identify fatigue progression. Muscle electrical activity or human movement between individuals and even for the same individual in repeated trials can be variable and may contribute to conflicting findings in the literature [7]. This variability makes person-independent fatigue recognition challenging.

Several studies of exercise-induced fatigue and recovery have used statistical and data mining techniques from different sensor data [8], [9]. For example, Karg et al. [8], Karvekar et al. [10] and Zhang et al. [9] have achieved the classification of fatigued and non-fatigued states with an accuracy of over 90% by using various sensors, including optical motion capture, Inertial Measurement Units (IMU), and surface electromyography (sEMG). Papakostas et al. [2], Wang et al. [11] and Huang [12] also conducted extensive experiments to identify the onset of physical fatigue during rehabilitation using sEMG or heart rate variability (HRV) and demonstrated low error (around 4.3%) in fatigue detection during rehabilitation therapy. However, these models are reactive, since detection and potential intervention are contingent on participants reporting or being labeled as fatigued. There are only a few studies that have attempted to forecast the physiological variations and associated outcome ahead of time [13], [14]. It is optimal to detect fatigue onset as early as possible and alert individuals before performance is impaired or an injury occurs.

This paper focuses on forecasting future motion to predict future fatigue instead of classifying fatigue status from data that has already been observed. Fatigue progression forecasting can be considered as a multivariate multi-step wearable sensor time series forecasting problem and fatigue classification problem. A basic assumption behind multivariate time series forecasting is that its variables are dependent on one another [15]. Therefore, it is important to consider both the spatial and temporal dependencies especially for user-independent forecasting problems. We develop a person-independent framework (see Fig. 1) to predict both the human motion and fatigue status by combining forecasting and fatigue estimation. It should be noted that fatigue is estimated on a gradual scale rather than using binary fatigue vs. non-fatigue detection. Motivated by the advancements of attention mechanisms, a new spatiotemporal attention model is proposed to jointly model the spatial and temporal dependencies within IMU signals forecasting networks for accurate prediction. To alleviate the effect of error accumulation, we add adversarial training followed by attention-based encoder–decoder model. A fatigue classifier [7] is employed to classify future fatigue levels based on the forecasted IMU sensor time series. The proposed time series forecasting model is compared to other common time series forecasting approaches (e.g., LSTM, and CNN). Experiments with leave-one-out cross-validation are conducted to determine whether the proposed approach for generalization across participants is superior.

Overall, our main contributions are as follows:

  • We develop a novel deep learning based system that predicts the person-independent kinematic characteristics and associated fatigue status on-line during exercise performance.

  • We propose a novel spatiotemporal attention block to capture the dependency between timesteps and features.

  • We introduce an adversarial training mechanism adapted to the fatigue prediction task.

  • Extensive experiments on an IMU dataset show that our motion predictor significantly outperforms state-of-the-art methods.

Section snippets

Time series forecasting in healthcare

A number of studies employ statistical models (e.g. autoregressive integrated moving average(ARIMA) and vector autoregression(VAR)) to model the evolution of temporal data [16]. However, they are unsuitable for large-scale forecasting applications due to their linear assumption and limited scalability [17]. Deep learning methods (e.g., RNN, LSTM and CNN) can handle complex data and have demonstrated success in time series forecasting problems [14], [18], [19].

More recent studies [20], [21] have

Methodology

To predict the onset of fatigue, our objective is to develop a monitoring framework that is able to forecast the progression of human motion as a result of increasing fatigue and predict the corresponding fatigue levels. The proposed framework consists of two tasks: (1) user-independent multivariate wearable sensor data forecasting, and (2) user-independent fatigue level prediction.

Experiments

In this section, we explore the use of our framework to predict the human motion signal and fatigue level ahead of time during squatting exercises.

Results

The results of experiments to validate the performance of proposed model are presented in this section. We focus on the selection of the sliding window size, comparison of performance of baseline models and our proposed model, and model interpretation via attention visualization. Models were implemented with Tensorflow 1.4 [42] with Python 3.7 and trained on a P100 with 3854 CUDA cores.

Discussion

This paper proposed a novel data-driven method for forecasting fatigue progression and identifying fatigue from the forecasted data using wearable sensors. It is important to note that the proposed model is person-independent. This study answers the following questions: (i) What is the furthest time horizon the model that can accurately forecast? (ii) Can the forecast motion be used for fatigue classification? (ii) Does the spatio-temporal attention mechanism increase the predictive

Conclusions

In this paper, a novel fatigue forecasting framework is proposed, which consists of spatial–temporal attention-based Transformer model as a generator, CNN model as a critic, and DeepConvLSTM model as a fatigue classifier. The goal is to directly predict the temporal development of IMU features related to exercise-induced fatigue and forecast fatigue precisely and accurately up to 80 timesteps ahead of time. The spatial–temporal attention module increased the accuracy of the proposed network by

CRediT authorship contribution statement

Yanran Jiang: Conceptualization, Methodology, Software.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References (46)

  • HajifarS. et al.

    A forecasting framework for predicting perceived fatigue: Using time series methods to forecast ratings of perceived exertion with features from wearable sensors

    Applied Ergon.

    (2021)
  • JiangY. et al.

    Model-based data augmentation for user-independent fatigue estimation

    Comput. Biol. Med.

    (2021)
  • KimH. et al.

    Electromyography-signal-based muscle fatigue assessment for knee rehabilitation monitoring systems

    Biomed. Eng. Lett.

    (2018)
  • M. Papakostas, V. Kanal, M. Abujelala, K. Tsiakas, F. Makedon, Physical fatigue detection through EMG wearables and...
  • Pinto-BernalM.J. et al.

    Wearable sensors for monitoring exercise and fatigue estimation in rehabilitation

  • DongH. et al.

    Towards whole body fatigue assessment of human movement: A fatigue-tracking system based on combined semg and accelerometer signals

    Sensors

    (2014)
  • GandeviaS.C.

    Spinal and supraspinal factors in human muscle fatigue

    Physiol. Rev.

    (2001)
  • EnokaR.M. et al.

    Translating fatigue to human performance

    Med. Sci. Sports Exerc.

    (2016)
  • JiangY. et al.

    A data-driven approach to predict fatigue in exercise based on motion data from wearable sensors or force plate

    Sensors

    (2021)
  • KargM. et al.

    Human movement analysis as a measure for fatigue: a hidden Markov-based approach

    IEEE Trans. Neural Syst. Rehabil. Eng.

    (2014)
  • ZhangJ. et al.

    Classifying lower extremity muscle fatigue during walking using machine learning and inertial sensors

    Ann. Biomed. Eng.

    (2014)
  • KarvekarS. et al.

    A data-driven model to identify fatigue level based on the motion data from a smartphone

  • WangW. et al.

    A novel fatigue detection method for rehabilitation training of upper limb exoskeleton robot using multi-information fusion

    Int. J. Adv. Robot. Syst.

    (2020)
  • HuangS. et al.

    sEMG-based detection of compensation caused by fatigue during rehabilitation therapy: a pilot study

    IEEE Access

    (2019)
  • MoniriA. et al.

    Real-time forecasting of sEMG features for trunk muscle fatigue using machine learning

    IEEE Trans. Biomed. Eng.

    (2020)
  • WuS. et al.

    Adversarial sparse transformer for time series forecasting

    (2020)
  • BoxG.E. et al.

    Some recent advances in forecasting and control

    J. R. Stat. Soc. C

    (1968)
  • LiS. et al.

    Enhancing the locality and breaking the memory bottleneck of transformer on time series forecasting

    Adv. Neural Inf. Process. Syst.

    (2019)
  • WenR. et al.

    A multi-horizon quantile recurrent forecaster

    (2017)
  • N.H. Ismail, M. Du, D. Martinez, Z. He, Multivariate multi-step deep learning time series approach in forecasting...
  • LaiG. et al.

    Modeling long-and short-term temporal patterns with deep neural networks

  • ShihS.-Y. et al.

    Temporal pattern attention for multivariate time series forecasting

    Mach. Learn.

    (2019)
  • VaswaniA. et al.

    Attention is all you need

  • Cited by (7)

    • Smart Biomechanics System with IoT and Cloud Computing for Injury Prevention and Muscle Fatigue Analysis

      2023, 2023 3rd International Conference on Smart Generation Computing, Communication and Networking, SMART GENCON 2023
    View all citing articles on Scopus
    View full text