Skip to main content
Advertisement
  • Loading metrics

Automated step detection with 6-minute walk test smartphone sensors signals for fall risk classification in lower limb amputees

  • Pascale Juneau ,

    Contributed equally to this work with: Pascale Juneau, Edward D. Lemaire, Natalie Baddour

    Roles Conceptualization, Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft, Writing – review & editing

    pjune022@uottawa.ca

    Affiliations Ottawa Hospital Research Institute, Ottawa, Canada, Department of Mechanical Engineering, University of Ottawa, Ottawa, Canada

  • Edward D. Lemaire ,

    Contributed equally to this work with: Pascale Juneau, Edward D. Lemaire, Natalie Baddour

    Roles Conceptualization, Funding acquisition, Methodology, Project administration, Resources, Supervision, Writing – review & editing

    Affiliations Ottawa Hospital Research Institute, Ottawa, Canada, Faculty of Medicine, University of Ottawa, Ottawa, Canada

  • Andrej Bavec ,

    Roles Data curation, Methodology, Writing – review & editing

    ‡ AB and HB also contributed equally to this work.

    Affiliations University Rehabilitation Institute, University of Ljubljana, Slovenia, Faculty of Medicine, University of Ljubljana, Slovenia

  • Helena Burger ,

    Roles Data curation, Methodology, Writing – review & editing

    ‡ AB and HB also contributed equally to this work.

    Affiliations University Rehabilitation Institute, University of Ljubljana, Slovenia, Faculty of Medicine, University of Ljubljana, Slovenia

  • Natalie Baddour

    Contributed equally to this work with: Pascale Juneau, Edward D. Lemaire, Natalie Baddour

    Roles Conceptualization, Funding acquisition, Methodology, Project administration, Resources, Supervision, Writing – review & editing

    Affiliation Department of Mechanical Engineering, University of Ottawa, Ottawa, Canada

Abstract

Predictive models for fall risk classification are valuable for early identification and intervention. However, lower limb amputees are often neglected in fall risk research despite having increased fall risk compared to age-matched able-bodied individuals. A random forest model was previously shown to be effective for fall risk classification of lower limb amputees, however manual labelling of foot strikes was required. In this paper, fall risk classification is evaluated using the random forest model, using a recently developed automated foot strike detection approach. 80 participants (27 fallers, 53 non-fallers) with lower limb amputations completed a six-minute walk test (6MWT) with a smartphone at the posterior pelvis. Smartphone signals were collected with The Ottawa Hospital Rehabilitation Centre (TOHRC) Walk Test app. Automated foot strike detection was completed using a novel Long Short-Term Memory (LSTM) approach. Step-based features were calculated using manually labelled or automated foot strikes. Manually labelled foot strikes correctly classified fall risk for 64 of 80 participants (accuracy 80%, sensitivity 55.6%, specificity 92.5%). Automated foot strikes correctly classified 58 of 80 participants (accuracy 72.5%, sensitivity 55.6%, specificity 81.1%). Both approaches had equivalent fall risk classification results, but automated foot strikes had 6 more false positives. This research demonstrates that automated foot strikes from a 6MWT can be used to calculate step-based features for fall risk classification in lower limb amputees. Automated foot strike detection and fall risk classification could be integrated into a smartphone app to provide clinical assessment immediately after a 6MWT.

Author summary

Lower limb amputees have a high risk of falling. Despite this, most fall risk and prevention research focuses on healthy older adults. Artificial intelligence (AI) can be used to for fall risk analysis by identifying steps during walking for step-based feature calculation. However, the variability and instability of lower limb amputees make using traditional AI step detection methods ineffective, so manual labelling of steps was required. In this research, we validate the clinical application of a new deep learning step detection approach for lower limb amputees. Steps automatically-detected by a Long-Short Term Memory model were used to calculate features for fall risk analysis and compared to the previous method of using features calculated from manually-labelled steps. We demonstrate that both approaches correctly classify the same number of fall risk participants. Additionally, the approach using automated steps correctly classified over 80% of non-fall risk participants, though this approach did misclassify more participants who were not at risk of falls than the manual approach.

1. Introduction

Falls are the leading cause of death by unintentional injury in Canada [1] and the second highest cause worldwide [2], with adults aged 65 and older at the highest risk [3]. While most falls are non-fatal, injury and permanent disability are common. On average, 20% of falls experienced by older adults in the U.S. resulted in an injury [4]. Early identification and intervention for those at an elevated risk are critical to preventing falls and prolonging well-being. Screening tests, such as the Timed Up and Go (TUG), can be used to identify those at elevated risk of falling. While individual screening tests can be easy to administer and completed in minutes, they are often done in tandem with a battery of other movement assessments that can be time-consuming and draining for both patient and clinician.

Artificial intelligence (AI) has been proposed as a method for fall risk prediction and classification in the elderly by using wearable sensors to collect data during different movement assessments [57]. For example, waist-mounted triaxial accelerometer data collected during the TUG were used to train machine learning algorithms, such as logistic regression, to estimate postural stability and classify individuals as fall risk or non-fall risk [8]. Another commonly used movement assessment is the six-minute walk test (6MWT), which evaluates functional capacity and can be completed in most clinical settings. While the 6MWT is not clinically used for fall risk predictions, Drover et al. [9] used accelerometer data from the pelvis and shank during a 6MWT to train a random forest model to classify fall risk in an elderly population (73.4% accuracy). This demonstrated that richer knowledge can be extracted from a simple movement assessment instead of requiring multiple assessments from the patient.

While seniors account for a large proportion of fallers, people with lower limb amputations are also at elevated risk of falling at all stages of rehabilitation and also post-rehabilitation. People with lower limb amputations have highly variable gait patterns, even if they are very active [10]. This variability can result in greater instability, leading to a higher likelihood of falling than age-matched able-bodied populations [11]. Until recently, despite the high prevalence of falls, there was limited research available for classifying fall risk using artificial intelligence in the lower limb amputee population.

Daines et al. [12] proposed a method for fall risk classification in a lower limb amputee population using sensor data from a smartphone located at the posterior pelvis during a 6MWT. Most smartphones have integrated sensors (e.g., accelerometers, gyroscopes, magnetometers), are widely available, and are an accessible alternative to specialized dedicated equipment. Foot strikes from turns during the 6MWT were manually identified and used to calculate features from the smartphone signals to train a random forest model for fall risk classification (i.e., features calculated for each stride). The random forest model achieved 81.3% fall risk classification accuracy. However, manual foot strike labelling is time-consuming (i.e., project assistant inspected each acceleration signal and video data frame to identify each foot strike) and not viable for clinical use. Automated foot strike detection would improve the feasibility of implementing a fall risk classification model in a clinical setting. Rule-based algorithms can identify steps in elderly individuals with very high accuracy (99.95%) [13]. However, unstable and asymmetrical lower limb amputee gait makes foot strike detection challenging. There is limited research on heuristic models for foot strike detection in lower limb amputees, though the models are trained on data from a small number of participants, and often use sensors located at the lower limb [14,15]. Thibault et al. [16] explored a custom rule-based algorithm for foot strike identification in the same retrospective lower limb amputee 6MWT dataset as [12] using only the anterior-posterior (AP) linear acceleration signal. The rule-based approach resulted in 87% foot strike identification accuracy, noting that steps often needed to be removed, added, or relocated, suggesting that a more complex algorithm is required to analyze irregular gait patterns in lower limb amputees.

Recently, a novel method for automated foot strike detection in lower limb amputees using a deep learning approach was developed [17]. A long-short term memory (LSTM) deep learning approach was trained on the same retrospective lower limb amputee 6MWT dataset as [12]. Smartphone orientation, XYZ coordinates for raw and linear acceleration, and angular velocity collected from the posterior pelvis were used as input. The approach in [17] achieved 99.0% foot strike identification accuracy and stride parameters calculated from the automated foot strikes were equivalent to those of manually labelled foot strikes for most participants. These results demonstrated that automated foot strike methods can be used to calculate temporal features such as step time, stride time, and cadence for clinical decision-making. However, that study did not examine if the automated foot strike method is viable within a smartphone fall risk detection system.

In this paper, we determine if the automated step detection method in [17] can produce equivalent fall risk classification results with the random forest fall risk classifier in [12] that used manually labelled foot strikes, for people with lower limb amputations. If equivalent fall risk classification results are found with automated foot strike detection as with manually labelled foot strikes, this smartphone application could lead to enhanced 6MWT utility by identifying lower limb amputees who may be at risk of falling without using another specific fall risk test.

2. Methods

2.1 Participants

A convenience sample of 93 transtibial, transfemoral, and bilateral lower limb amputees were recruited from the University Rehabilitation Institute (Ljubljana, Slovenia) (Table 1). Clinical records provided self-reported number of falls, with falling at least once in the past six months prior to testing considered fall risk. The inclusion criteria were: transtibial or higher amputation; ability to walk with single cane, two crutches, or without any walking aids; minimum of six months post-amputation; had a functional prosthesis; no wounds on the residual limb; and was willing to participate. Participants who could not complete the full 6MWT test were excluded from analysis. Excluded trials were due to unknown fall risk status (8) and cell phone affixed to the side of the hip instead of lower back (5).

All participants provided written informed consent. This research was approved by the Ethic Committee of the University Rehabilitation Institute, Slovenia (# 46/2018) and re-approved for an additional 30 participants (# 27/2019). Each participant’s self-reported fall history was used for classifying participants as “no fall risk” or fall risk.

2.2 Data collection

An Android smartphone was placed on a belt at the lower back of each participant before completing a 6-minute walk test (6MWT) along a 20m hallway (Fig 1). Each participant completed one trial. Participants were video recorded during their assessment. Accelerometer, gyroscope, and smartphone orientation data were collected with The Ottawa Hospital Rehabilitation Centre (TOHRC) Walk Test app at 50 Hz [13]. Raw accelerometer data, gyroscope data, smartphone orientation, and timestamps for each recording were imported into MATLAB 2020b. Smartphone signals were re-interpolated to 50Hz using linear interpolation, then a fourth-order zero-lag Butterworth low pass filter with a cut-off frequency of 4 Hz was applied [18].

2.3 Step identification and fall risk classification

Ground truth steps were manually identified and labelled by two assistants prior to model training as label 0 (no foot strike present) and label 1 (foot strike present) using the following procedure. Smartphone linear acceleration over time was graphed. Foot strike events typically correspond to AP acceleration peaks followed by a vertical acceleration peak. Therefore, AP signal peaks immediately followed by a vertical signal peak were identified and the timestamp recorded as a foot strike event. Participant video was used to confirm foot strike identification. In cases where the foot strike event was not easily determined due to poor AP peak definition, double-peak, or irregular signal shape, the most appropriate location was determined by consensus. All other timestamps were consequently labelled as “no foot strike present”.

The automated step-detection approach is described in detail in [17]. Smartphone 3D orientation, acceleration, and angular velocity signals from 6MWT trials were used as input data for an LSTM deep-learning approach for foot strike identification. Predicted foot strike labels were post-processed in MATLAB 2020b to correct for model prediction errors. This included extra foot strike predictions and missed steps. To identify missed steps, a method similar to that employed by Capela et al. [13] was applied. An adaptive locking period specific to each participant’s trial was defined from a 5 second sample of the filtered vertical acceleration signal from the beginning of the 6MWT trial. Periods where the duration between two consecutive steps was greater than 1.5 times the previous step were identified and searched for potential missed steps. The start of the period was increased by half the locking period, and end of the period was decreased by the same amount to prevent an inappropriately inserted step at the start or end of the original selected period. A foot strike was inserted at the timestamp for the peak AP acceleration within the adaptive locking period (Fig 2). Extra predictions were removed by identifying instances where two or more consecutive foot strike classifications occurred. The start and end of periods of consecutive predictions were located and the peak AP acceleration within the band was identified. The foot strike event corresponding to the AP peak was selected and all other predictions in this period were removed. Final cleaned predictions were used for feature calculation.

thumbnail
Fig 2. Example frame demonstrating a missed step identified within the locking period.

A missed step (vertical blue line, frame 1468) identified within adjusted search range (black dotted line). A foot strike was inserted (vertical orange line, frame 1468) at timestamp corresponding to the peak AP acceleration (green curve) in this period.

https://doi.org/10.1371/journal.pdig.0000088.g002

A random forest machine learning model developed by Daines et al. [12] was used for amputee fall risk classification. Random forests are machine learning algorithms that consist of multiple decision tree classifiers. Each decision tree in the ensemble provides an individual class prediction. The final classification is the class with the most predictions [19]. Features (i.e., variables calculated from the signal data) are used as input for each decision tree.

To evaluate the fall risk model using input based on manually labelled foot strikes or automated foot strike detection, two sets of features were calculated. Smartphone acceleration and angular velocity signals were used to calculate step-based features, using manually labelled foot strikes (M-FS) or automated foot strikes (A-FS). 62 features were extracted for each feature set (Table 2). Once features were extracted for each step, the minimum, maximum, mean, and standard deviation were calculated over all included steps for a total of 248 features (62 features multiplied by 4 statistics) per data set. These features were used in the random forest fall risk model to classify fall risk for each person, with results for A-FS and M-FS groups. Correlation-based feature selection (CFS) was used to reduce dimensionality, based on research completed in [12]. Leave-one-out cross validation was used to evaluate model performance.

thumbnail
Table 2. Feature list for fall risk classification.

AP = anterior-posterior; ML = medio-lateral; RMS = root-mean square; FFT = fast Fourier transform; REOH = ratio of even/odd harmonic frequencies.

https://doi.org/10.1371/journal.pdig.0000088.t002

3. Results

For this study, 80 participants were suitable for fall risk classification, 27 fall risk and 53 no fall risk. Table 3 displays the fall risk classifier confusion matrices for A-FS and M-FS. The fall risk classifier trained on features calculated from M-FS correctly classified 64 of 80 participants and achieved 80% accuracy, 55.6% sensitivity, and 92.5% specificity. The A-FS approach resulted in 58 of 80 correctly classified participants and achieved 72.5% accuracy, 55.6% sensitivity, and 81.1% specificity. Classification of fall risk was the same for both approaches.

thumbnail
Table 3. Confusion matrices for automated and manual foot strike identification approaches.

https://doi.org/10.1371/journal.pdig.0000088.t003

Manual labelling was used as ground truth comparator for LSTM foot strike identification. For the participants included in this analysis, the LSTM foot strike identification model achieved 99.2% accuracy, 81.8% sensitivity, 99.7% specificity.

4. Discussion

This research demonstrated that automated foot strike identification is viable for smartphone-based fall risk classification with lower limb amputees. Fall risk classification was similar for both automated and manually labelled foot strike approaches, but the automated foot strike fall risk approach had more false positives (i.e., non-fall risk classified as fall risk). Automated foot strike detection is necessary in a clinical environment, where timely manual labelling is not feasible. A smartphone-based fall risk classification model from a 6MWT can benefit the patient and clinician since one assessment with a single sensor placement can provide functional capacity, stride parameters, and fall risk information to aid clinical decision-making.

The automated fall risk classification model could be used as a screening tool for lower limb amputees. Over 50% of fall risk participants and >80% of non-fall risk participants were correctly classified from signals collected during a 6MWT. The 6MWT is used to measure a person’s functional capacity, and fall risk information is not typically available from this assessment. A smartphone application integrating automated foot strike detection with fall risk classification could provide fall risk information to a clinician immediately after completing a 6MWT. However, to ensure that those who are at risk of future falls but were misclassified as no fall risk are not overlooked, patients could complete an additional assessment with higher fall risk sensitivity (e.g., TUG or L-test) to determine if an intervention strategy is necessary.

Six people who had not fallen in the 6 months before the study were misclassified as fall risk when features were calculated from automated foot strikes. A sub-group analysis of these participants did not identify any notable similarities that might explain their misclassification. They had varying ages, time since amputation, gait aid use, etc., mirroring the diversity of the people included in this study. Fall mechanisms are diverse and individual differences from person to person can contribute to the cause of a fall. More research is needed to better understand these mechanisms and determine what, if any, gait characteristics can be used to predict fall risk when using AI for fall risk classification.

Foot strike identification accuracy of the 6 participants misclassified as fall risk was also investigated. For these 6 participants, the LSTM foot strike identification model had 99.1% accuracy, 79.8% sensitivity, and 99.7% specificity. While the accuracy and specificity were similar to the classification results of the full dataset, sensitivity was 2% lower, representing a greater number of missed foot strikes. Errors in foot strike identification could have contributed to the misclassification of these participants. Increasing the training set size for foot strike identification and may help to improve foot strike detection and increase specificity for lower limb amputees.

The LSTM, with post-processing to correct errors such as extra predictions and missed steps, classified foot strike and non-foot strike events with 99.2% accuracy for the participants in this analysis. Other errors in foot strike identification included foot strike predictions that were within ±2 frames (±0.04 seconds). Some errors could not be corrected during post-processing, such as manually labelled steps that were not identified by the LSTM and extra foot strikes inserted in an inappropriate location. Despite these errors, clinical outcome measures, including stride parameters, were equivalent to manually labelled foot strikes for most participants.

A limitation of this research was the small number of people with transfemoral and bilateral amputations included in the dataset. While transtibial amputees are at a higher risk of falling in the post-operative period, people with transfemoral and bilateral amputations are at an elevated risk of falling post-rehabilitation [21,22]. A greater number of transfemoral and bilateral participants included in training and testing sets could improve fall risk model generalizability. Future research in this area would benefit from a greater number of transfemoral and bilateral amputees, with sub-group analysis.

Conclusions

This study demonstrated that automatically detected foot strikes from a single smartphone sensor location on the body can be used to calculate step-based features for lower limb amputees after completing a 6MWT, leading to preliminary fall risk classification, an outcome that is not typically available for the 6MWT. This AI-enhanced 6MWT could be used to screen for people at risk of falls and then proceed with further assessments. Integration of this fall risk model into a smartphone application would improve the immediacy of the results, providing instant decision-making information. Future model development should include a greater number of people with transfemoral and bilateral transtibial amputations. This could improve the ability of the fall risk model to appropriately identify fall risk in these populations for further clinical assessment.

Acknowledgments

The authors would like to thank the Ottawa Hospital Rehabilitation Centre and the University of Ottawa for providing resources for development and training. They would also like to thank the University Rehabilitation Institute in Ljubljana, Slovenia and the volunteers who participated in this study. The authors acknowledge Gabrielle Thibault for her contributions to data collection and ground truth labelling.

References

  1. 1. Parachute. Cost of Injury in Canada [Internet]. 2021 [cited 27 October 2021]. Available from: https://parachute.ca/en/professional-resource/cost-of-injury-in-canada/
  2. 2. World Health Organization, Falls [Internet]. 2021 [cited 27 October 2021]. Available from: https://www.who.int/news-room/fact-sheets/detail/falls
  3. 3. Centers for Disease Control and Prevention, Injury Prevention & Control, Keep on Your Feet. [Internet]. 2020 [cited 27 October 2021]. Available from: https://www.cdc.gov/injury/features/older-adult-falls/index.html
  4. 4. Moreland B, Kakara R, Henry A. Trends in Nonfatal Falls and Fall-Related Injuries Among Adults Aged ≥65 Years—United States, 2012–2018. MMWR Morb Mortal Wkly Rep. 2020 Jul;69(27):875–881. pmid:32644982
  5. 5. Greene BR O’Donovan A, Romero-Ortuno R, Cogan L, Scanaill CN, Kenny RA. Quantitative Falls Risk Assessment Using the Timed Up and Go Test. In: IEEE Transactions on Biomedical Engineering. 2010 Nov;57(12):2918–2926. pmid:20923729
  6. 6. Howcroft J, Lemaire ED, Kofman J, McIlroy WE. Dual-Task Elderly Gait of Prospective Fallers and Non-Fallers: A Wearable-Sensor Based Analysis. Sensors. 2018 Apr;18(4):1275. pmid:29690496
  7. 7. Howcroft J, Kofman J, Lemaire ED. Prospective Fall-Risk Prediction Models for Older Adults Based on Wearable Sensors. IEEE Transactions on Neural Systems and Rehabilitation Engineering. 2017 Oct;25(10):1812–1820. pmid:28358689
  8. 8. Lee C-H, Chen S-H, Jiang BC, Sun T-L. Estimating Postural Stability Using Improved Permutation Entropy via TUG Accelerometer Data for Community-Dwelling Elderly People. Entropy. 2020 Sept;22:1097. pmid:33286865
  9. 9. Drover D, Howcroft J, Kofman J, Lemaire ED. Faller Classification in Older Adults Using Wearable Sensors Based on Turn and Straight-Walking Accelerometer-Based Features. Sensors. 2017 Jun;17(6):1321. pmid:28590432
  10. 10. Steinberg N, Gottlieb A, Siev-Ner I, Plotnik M. Fall incidence and associated risk factors among people with a lower limb amputation during various stages of recovery–a systematic review. Disability and Rehabilitation. 2019 Mar;41(15):1778–1787. pmid:29540083
  11. 11. Olenšek A, Zadravec M, Burger H, Matjačić Z. Dynamic balancing responses in unilateral transtibial amputees following outward-directed perturbations during slow treadmill walking differ considerably for amputated and non-amputated side. J Neuroeng Rehabil. 2021 Jul;18(1):123. pmid:34332595
  12. 12. Daines KJF, Baddour N, Burger H, Bavec A, Lemaire ED. Fall risk classification for people with lower extremity amputations using random forests and smartphone sensor features from a 6-minute walk test. PLoS ONE. 2021 Apr;16(4):e0247574. pmid:33901209
  13. 13. Capela NA, Lemaire ED, Baddour N. Novel algorithm for a smartphone-based 6-minute walk test application: algorithm, application development, and evaluation. J Neuroeng Rehabil. 2015 Feb;12:19. pmid:25889112
  14. 14. Maqbool F, Husman MAB, Awad MI, Abouhossein A, Iqbal N, Tahir M et al. Heuristic real-time detection of temporal gait events for lower limb amputees. IEEE Sensors Journal. 2018 Apr;19(8):3138–3148.
  15. 15. Mariani B, Rouhani H, Crevoisier X, Aminian K, Quantitative estimation of foot-flat and stance phase of gait using foot-worn inertial sensors. Gait & Posture. 2013 Feb;37(2):229–234. pmid:22877845
  16. 16. Thibault G. Amputee FS identification accuracy from 6 minute walk test raw data, B.A.Sc. Thesis, Dept. Mechanical Engineering, The University of Ottawa, Ottawa, ON, Canada, 2019. https://doi.org/10.13140/RG.2.2.17773.00489
  17. 17. Juneau P, Baddour N, Burger H, Bavec A, Lemaire ED. Comparison of Decision Tree and Long Short-Term Memory Approaches for Automated Foot Strike Detection in Lower Extremity Amputee Populations. Sensors. 2021 Oct;21(21):6974. pmid:34770281
  18. 18. Crenna F, Rossi GB, Berardengo M, Filtering Biomechanical Signals in Movement Analysis. Sensors. 2021;21(13):4580. pmid:34283131
  19. 19. Yiu T. Understanding Random Forest [Internet]. Medium. 2019 [cited 2022 June 17]. Available from: https://towardsdatascience.com/understanding-random-forest-58381e0602d2.
  20. 20. Sadeghi H, Allard P, Prince F, Labelle H. Symmetry and limb dominance in able-bodied gait: a review. Gait & Posture. 2000 Sept;12(1):34–45. pmid:10996295.
  21. 21. Hunter SW, Batchelor F, Hill KD, Hill AM, Mackintosh S, Payne M. Risk Factors for Falls in People With a Lower Limb Amputation: A Systematic Review. PM R. 2017 Feb;9(2):170–180. pmid:27485674
  22. 22. Wong CK, Chihuri ST. Impact of Vascular Disease, Amputation Level, and the Mismatch Between Balance Ability and Balance Confidence in a Cross-Sectional Study of the Likelihood of Falls Among People With Limb Loss. American Journal of Physical Medicine & Rehabilitation. 2019 Feb;98(2):130–135. pmid:30188335