Introduction

The use of technology to quantify daily walking activity can provide important indicators of individual and population health1. Digital gait biomarkers are quantitative measures of gait derived from wearable device data. As a gait-focused subset of digital biomarkers and mobility outcomes2,3, they can be remotely acquired and may provide complementary information to clinical gait assessments4. Digital gait biomarkers may be associated with functional status5 and general health6; and are predictive of functional decline, hospitalization7 and mortality8.

Previous studies have demonstrated that wearable devices positioned on the lower back or lower limbs can provide valid and reliable digital gait biomarkers. However, their placement on these body regions is awkward which limits user acceptability and compliance9,10. In contrast, wrist-worn devices, including smart watches, have superior acceptance and are approaching almost universal uptake. Wrist-worn acceleration data have been acquired in large longitudinal studies, including the UK Biobank11, NHANES12 and Newcastle85 + studies13. For example, the UK Biobank includes 1-week activity data acquired from the AX3 wrist-worn tri-axial accelerometer in 103,578 people in its repository of health data11. While measures of physical activity levels11 and activity types14 have been obtained, the extraction of digital gait biomarkers from these studies has not yet been undertaken.

This omission is likely due to several technical challenges in extracting digital gait biomarkers using a wrist-worn device. Wrist-worn devices are located far from the wearer’s centre of mass and subject to arm movements which increase measurement noise with resultant lower precision and reliability15,16. In consequence, conventional digital gait biomarker extraction techniques such as signal peak detection and integration of acceleration with zero-velocity updates can be hampered by large changes in orientation and independent movement of the arms. In fact, the research conducted to date aimed at extracting digital gait biomarkers from wrist-worn devices has mostly been restricted to constrained walks on treadmills and set-length walkways; with resultant algorithms likely inappropriate for more complex walking activities in real-world environments17,18. Two studies have used wrist-worn sensors (including barometers and accelerometers) to estimate walking speed and cadence19,20. While both studies reported promising results, their inclusion of only healthy volunteers and moderate sample sizes (n ≤ 30 participants) may limit the generalizability of their findings to broader populations. Unsurprisingly, consensus on which digital gait biomarkers are best for remote assessments has yet to be reached2.

Clearly, valid and reliable digital gait biomarkers that can be extracted from a wrist-worn device would be valuable for a range of health objectives. We, therefore, aimed to meet this need by conducting a two-stage development and validation study.

In the first stage, 101 participants (19–81 years of age) wore the UK Biobank wrist senor and were recorded while performing a structured mobility routine in free-living settings and then walking and running across an instrumented electronic walkway in our laboratories. We developed (a) the activity classification models using the synchronised video recordings, and subsequently (b) the digital gait biomarker extraction algorithms (including walking speed and cadence) using the instrumented walkway measurements of the instructed walks and runs as ground truth.

In stage two, the convergent validity of the digital gait biomarkers in relation to self-reported walking speed and self-rated health and their test–retest reliability were determined in 78,822 participants from the UK Biobank cohort.

Results

A Support Vector Machine (SVM) classification algorithm was trained for identifying walking bouts from all daily-life activities. A total of 11,646 4-s windows (660 min of free-living recording, 1487 structured walks and 249 structured runs from 101 test participants) were included in the training and validation sets and were classified into Walking, Running, Stationary or Unspecified arm activities. Performance of the classifier was evaluated using a confusion matrix (Fig. 1 and Supplementary Fig. S3).

Figure 1
figure 1

Confusion matrix of stage 1 classification. N = 101 with 11,646 4-s windows. The blue column on the far right of these matrices displays the percentage of correctly identified windows over all the windows that actually belong to that category (i.e. sensitivity). The blue column at the bottom of the matrices represents the percentage of correctly identified windows over all windows that were predicted to be of that category (i.e. precision).

The walking activity class had a sensitivity of 92% and a precision of 93%; the running activity class had a sensitivity of 97% and a precision of 98%; the stationary activity class had a sensitivity of 89% and precision of 86%; and the unspecified arm activities class had a sensitivity of 71% and precision of 74%.

Examples of the time-series and autocorrelation function for walking with arm-swing at slow, average and fast paces are presented in Fig. 2. Table 1 presents the accuracy of sensor-based step time and walking speed when compared with the electronic walkway measures. The mean absolute percentage error (MAPE) of step time for the walking conditions ranged between 1.2% and 4.8%, and the MAPE of sensor-based walking speed for the walking conditions ranged between 3.0 and 4.4%. Figure 3 presents the scatterplot for the relationship between walking speed measured by the wrist sensor and the electronic walkway.

Figure 2
figure 2

An example of the time-series of the static noise-removed bandpass-filtered Euclidean norm of the acceleration vectors and autocorrelation functions for walking with arm-swing at slow, usual and fast paces.

Table 1 Comparison of spatiotemporal gait parameters assessed by the wrist-worn sensors and the electronic walkway (n = 101 with 1487 walks).
Figure 3
figure 3

Relationship between wrist sensor and electronic walkway measured walking speed. N = 101 with 1487 walks. Each individual dot represents an individual data point. Combined data from six walking conditions.

Table 2 presents the comparison of maximal walking speed between UK Biobank participants who reported routinely walking at a slow, steady or brisk walking pace. The maximal walking speed differed significantly between participants who usually walked at a slow pace (median: 1.39 ms1, inter-quartile range: 1.38–1.42 ms1), steady pace (median: 1.42 ms1, inter-quartile range: 1.40–1.46 ms1), and brisk pace (median: 1.45 ms1, inter-quartile range: 1.42–1.48 ms1), (Fig. 4). All extracted digital gait biomarkers also differed significantly between individuals with different self-reported health levels (Table 3, Fig. 5) Post-hoc comparison between groups are presented in Supplementary Table S3. Finally, most extracted digital gait biomarkers, except longest walk duration and stride regularity (ICC 0.66 and 0.68 respectively), demonstrated good test–retest reliability (ICCs ranging from 0.71 to 0.89).

Table 2 Maximal walking speed stratified by self-reported walking pace and self-rated health (n = 78,822).
Figure 4
figure 4

Maxmial walking speed for people who reported slow, steady and brisk walking paces. N = 78,822. Individual dots at the upper and lower extreme, raw data outliers. Widths of the violin plots, kemel desnsities; Top and bottom of the violin plots, 1st and 99th percentiles; Top and bottom of the narrower boxs, mean ± standard deviation; Top and bottom of the widers box, 1st and 3rd Quartile; Notches of the wider box, 95% confidence intervals of the population median; Black lines in the middle of the boxs, group medians; The asterisks in the middle of the boxes, group means.

Table 3 Summary statistics and test–retest reliability of digital gait biomarkers (n = 78,822).
Figure 5
figure 5

Maximal walking speed for people who reported poor, fair and good and excellent health. N = 78,822. Individual dots at the upper and lower extreme, raw data outliers. Widths of the violin plots, kemel desnsities; Top and bottom of the violin plots, 1st and 99th percentiles; Top and bottom of the narrower boxs, mean ± standard deviation; Top and bottom of the widers box, 1st and 3rd Quartile; Notches of the wider box, 95% confidence intervals of the population median; Black lines in the middle of the boxs, group medians; The asterisks in the middle of the boxes, group means. ms1 metre per second.

Discussion

The main aims of this study were to develop and validate digital gait biomarkers derived from a wrist-worn device using both laboratory-assessed and real-world data. We found our digital gait biomarkers demonstrated good test–retest reliability, strongly agreed with electronic walkway measurements of gait speed and self-reported pace and significantly discriminated between individuals with poor and good self-reported health. The algorithms were readily applied in the large UK Biobank database that collected 7-day wrist-sensor data indicating the good utility of these measures.

The Watch Walk method presented in this paper enables the retrieval of digital gait biomarkers that summarise walking speed, gait quality, walking patterns and the statistical distributions of gait measures in daily life. These digital gait biomarkers, commonly assessed through sensors located at inconvenient attachment sites (i.e. ankle and lower back), have been proven to accurately predict adverse health events21,22 and used as surrogate endpoints in pharmaceutical trials23. Watch Walk advances the range and depth of measures obtained from wrist-worn accelerometer measures, which have predominantly featured step-count24, vector magnitude as a proxy of physical activity intensity11 and time spent in sleep, physical activity and sedentary behaviours14. Watch walk builds on previous advances using wrist-worn sensors to estimate walking speed and cadence19,20 through enhanced generalizability and new applications in large-scale activity monitoring. Considering that wrist-worn accelerometers are widely available, either incorporated in commercially-available smart-watches or measurement tools in large longitudinal studies, our new method offers a practical tool to remotely monitor multiple aspects of mobility, which has been considered as the sixth vital sign6, in a reliable, valid and cost-effective way.

Our study findings build on previous work undertaken in this field in several ways. First, despite daily-life gait parameters varying from day-to-day25, our results showed that most of the digital gait biomarkers computed as daily averages over seven-days have good test–retest reliability. This supports the continued use of seven-day wrist-worn accelerometry measures that have high compliance in older adults9 and are commonly used in physical activity research26. Second, our classification accuracy for walking activities was above 91% which compares favourably with a previous activity classification algorithm proposed for the UK Biobank dataset (70% in the CAPTURE24 study)14. It is likely our higher accuracy was due to the use of 4-s window frames that better reflect the short walking bouts undertaken in daily life27. Third, compared to previous studies that estimated walking speed/distance with wrist worn accelerometers17,18, our development and technical validation study involved a substantially larger sample (101 participants), a wider age range of participants (19–81 years of age) and included more diverse walking activities and different hand positions while walking; all factors that provide greater external generalizability and reduce over-feeding bias. Finally, The Watch Walk method was developed with a hardware agnostic approach and the data format required (seven-day 100 Hz tri-axial wrist acceleration) has been widely utilized. Hence, it is applicable to not only the UK Biobank dataset, but also to other healthcare databases such as NHANES, as well as future studies using commercially available smartwatches.

We also acknowledge certain limitations. First, our measure of sensor-based walking speed was validated with an electronic walkway in a laboratory setting and daily-life activity classification was based on simulated, as opposed to real life, day-to-day activities. Second, it was not practical to use body-camera recordings to validate our activity classification schema in real-life due to the short timeframes and wide dispersion of the activity capture windows. Third, the digital gait biomarkers were not validated in participants who use walking aids, so such walks may have been missed. Finally, walking speed accuracy was lower for walks slower than 0.7 ms−1 and faster than 1.8 ms−1, i.e. beyond 2 standard deviations of mean gait-speed of older adults28. Further studies are required to refine walking speed estimations at these extremes.

Future studies should investigate the clinical validity of these new digital gait biomarkers by: (1) developing normative values to provide a reference base to identify mobility impairments in clinical populations; (2) assessing their predictive capabilities with regard to important clinical outcomes such as falls and fall-related injuries, frailty, cognitive impairment and mortality; and (3) using them to monitor the progression of chronic conditions and evaluate the effectiveness of interventions. The use of these practical and objective measurements of daily-life mobility performance may also assist in the early detection of mobility decline to enable early interventions to maximise health and wellbeing.

Methods

Stage 1: development and initial evaluation of an activity classification schema and Watch Walk digital gait biomarker algorithms

Participants

One hundred and one participants aged 19–81 years (mean 47 ± 18(SD)) (67% female) were recruited from two study sites through volunteer databases (HC190949) and online advertisements from 2020 to 2021: 51 in Sydney, Australia and 50 in Hong Kong, China. The participants’ mean height was 1.67 m (± 0.1 m) and their mean weight was 66 kg (± 14 kg). The methods were performed in accordance with relevant guidelines and regulations and approved by the Human Research Ethics Committees at the University of New South Wales (HC200839) and Caritas Institute of Higher Education (HRE210124).

All participants gave written informed consent prior to inclusion.

Assessments

Participants wore an AX3 data logger (Axtivity Limited, Newcastle upon Tyne, UK) on their dominant wrist, configured according to UK Biobank’s data collection protocol and were video-recorded while they undertook a series of mobility tasks. The AX3 data logger is a compact device (23 × 33 × 8 mm) weighing 11 g that contains a tri-axial logging accelerometer. Acceleration data were sampled at 100 Hz with a range of ± 8 gravitational acceleration units (g).

Participants first walked and ran on a 5.7 m electronic walkway (GAITRite, CIR Systems Inc. Franklin NJ, USA) at three paces (usual, slower than usual and faster than usual) for seven conditions (walking with arm swing, walking with hands in pockets, walking while texting, walking with a mobile phone held to the ear, walking while carrying a bag over the shoulder, walking while carrying a briefcase and jogging). Gait speed (metre per second), step time (second), step length (metre) and the standard deviation (SD) of step times were extracted using the GAITrite software.

Participants then performed a series of semi-structured daily-life activities in a set order in areas where they frequently encountered other people. No specific instructions were given as to how to perform the tasks, which included: sitting down and standing up from a chair; lying down and getting up from a mattress; walking along a corridor; taking an elevator; walking up and down stairs; writing, typing, reading a book and tying shoelaces while seated; and washing hands and rinsing a cup in the sink while standing. Wearable sensor data were synchronised with the video data and manually annotated (e.g. marking the start and end-points of a walk with arm swing) by a trained exercise physiologist.

Pre-processing of data

A sample level Euclidean norm from the x/y/z axes acceleration vectors was obtained29. Static noise was subsequently removed through subtracting the average signal amplitude over 60 s from the resulting Euclidean norm29. A fifth order Butterworth low pass filter with a cut-off frequency of 20 Hz was applied to remove machine noise. A low pass filter with a frequency passband of 0.25 and 2.5 Hz was also applied to the Euclidean norm to facilitate acceleration signal peak detection30. Subsequently, non-wear episodes and sleep period time windows were removed. Non-wear episodes were defined as consecutive stationary episodes that exceed 50 minutes with a standard deviation of 13 milli-gravity units or less11. Sleep period time windows were identified using the method proposed by van Hees and colleagues31. Acceleration vectors were separated into non-overlapping 4-s windows (rationale for this window size provided in supplementary material). A vector of 54-dimensional features was extracted from 99 features through backward selection of feature importance (Supplementary Table S1 and Supplementary Fig. S2). This included the mean, standard deviation, 25th, 50th, 75th percentile of the static-block-removed and crude Euclidean norms of the acceleration signal respectively. It also included the correlation coefficients between the local x, y, and z accelerations and the normalized autocorrelation coefficient, the ratio between the 1st-2nd and 1st-3rd autocorrelation values and time-lag.

Activity classification

The activity classification algorithms were trained and validated using the Matlab Statistics and Machine Learning Toolbox version 11.6. Support vector machines (SVMs) were used for a multi-class classification of activities, as it has been demonstrated to be highly accurate and robust in activity recognition32. Initially, six activity categories were trained: (1) walking with arm-swing; (2) other complex walking; (3) running; (4) stationary (which includes windows that captured travelling in vehicles); (5) unspecified arm activities while standing/ sitting; and (6) unspecified arm activities while walking. The second refined classification separated windows under “Other complex walking” into the five annotated sub-categories: (a) walking with hands in pockets; (b) walking while texting; (c) walking with a mobile phone held to the ear; d) Walking while carrying a bag over the shoulder; and (e) walking while carrying a briefcase/grocery bag. Activity classification was trained with ten-fold cross validation with data partitioning at individual-level. This is arranged to avoid over-estimation of prediction accuracy from intra-class correlation. The activity categories are described in Supplementary Table S2.

Extraction of the Watch Walk digital gait biomarkers

Gait quantity and its distribution

In periods classified as walking, steps were detected with bandpass filtered acceleration local maxima and local minima. Local maxima and local minima were checked to ensure they were alternating, aligned with autocorrelation-estimated step time and were higher/lower than the adaptive thresholds respectively29. Details of the step-detection process is summarised in Fig. 6. Total step count was defined as the total number of steps detected per day and the longest walking bout was defined as the duration of the largest number of consecutive walking windows. The proportion of duration in walking with arm-swing to the total duration of all forms of walking were extracted. The distribution between number of walks and the steps per walk were obtained by fitting a linear model to the log–log transformed data. A steeper slope (β1) represents that more short walks and fewer longer walks were performed. Gait quantity was also quantified through the cumulative exposure of walking durations (equation below)33.

$$X_{i} = \frac{{\Sigma d\,\,for\,\,d \le d_{i} }}{\Sigma d\,}*100\%$$
Figure 6
figure 6

Hierarchical framework of digital gait biomarker extraction (Stage 1).

The percentage of walks of less than (1) 7 s and (2) 60 s were extracted. Total minutes of running per day was obtained through the activity classification process.

Gait speed

Average walking speed in each 4-s window was estimated through fitting a Medium Gaussian SVM regression model (10-fold validation) with (1) height of the participant34, (2) interquartile range and (3) median of the Static-block-removed Euclidean norm of acceleration signal, (4) mean of crude Euclidean norm of acceleration signal, (5) mean step time within the window and correlation coefficients between acceleration signal in (6) x- /y- axes and (7) x- /z- axes. The median, 95th percentile and interquartile range of walking speed in a 24-h period were extracted. Median walking speed represents the usual walking speed in daily life. The 95th percentile of walking speed represents the maximal walking speed in daily life with outliers excluded, which reflects an individual’s optimal gait performance better than medium values35.

Gait quality

Walks were further regrouped into 8-step episodes. Walks longer than the cut-off were separated into smaller parts. For example, a walk with 18 steps was separated into 1st to 8th steps, 9th to 16th steps and with the 17th and 18th steps truncated. Cadence was obtained through measuring the time required for an 8-step episode. The standard deviation of step times was used to quantify step-time variability. A log-normal model was fitted to the distribution to extract the mode (equation below).

$$Mode = e^{{\mu - \sigma^{2} }}$$

Eight-step harmonic ratios were defined as the repeating patterns in the Euclidean norm acceleration (stabilising peaks) over the incomplete patterns (destabilising troughs) implemented with a fast Fourier transform36. The 8-step harmonic ratio has demonstrated good test–retest reliability (ICC = 0.72) and perform better in identifying fall risk when compared to the traditional (2-step) harmonic ratio. Step and strike regularity were extracted through autocorrelation. The first and second peaks of autocorrelation values indicate correlation between steps and between strides respectively and were subsequently normalized through dividing by auto-correlation value at zero time-lag. Hence the resulting parameters vary only from − 1 to + 1.

Further details of the gait quality biomarkers have been reported by Brodie et al.33 in their study on remote monitoring with pendent devices.

Statistical analysis

Pre-processing, algorithm development and parameter extraction were completed in MATLAB, version R2019b. The hierarchical framework of the extraction process is presented in Fig. 6. The accuracy of the activity classification algorithms was examined with ten-fold validation, using the annotated class of the walking and running trials on the electronic walkway, the semi-structured daily-life activity routine and vehicle passenger episodes as the ground truth activities. Sensitivity and precision of each class were presented along with confusion matrixes. The criterion validity of the Walk Watch step time and walking speed biomarkers were tested against the corresponding measurements from the electronic walkway and reported as mean absolute percentage error (MAPE).

Stage 2: test–retest reliability and convergent validity of the digital gait biomarkers with respect to self-reported walking pace and health

Participants

Participants for stage 2 comprised 78,822 participants from the UK biobank. Participants were instructed to wear an AX3 data logger over their dominant wrist for seven days in 2013. They aged 46–77 years (Median 64, IQR 57–69) (56% female). Ethical approval for UKBiobank data transfer and analysis was obtained from the NHS National Research Ethics Service (Ref 11/NW/0382). Participant flow is presented in Supplementary Fig. S1.

Data quality and exclusions

Accelerometry data were excluded if considered to be of low quality by the UK Biobank accelerometer working group due to: (1) the data were collected with accelerometers that were poorly calibrated; (2) the accelerometry data were of an abnormal size; and/or (3) the data collection period contained a daylight savings transition. In addition, we used only participant data with 24-h sensor wear-time for five or more days with at least one walking bout and complete self-reported walking pace and self-rated health data.

Statistical analysis

Test–retest reliability of the Watch Walk digital gait biomarkers were examined with intraclass correlation coefficients (2-way random effects, absolute agreement, mean of multiple measurements) for seven consecutive days. The Watch Walk digital gait biomarkers were contrasted between participants self-rated health status using the Kruskal–Wallis test and Dunn post-hoc test for non-parametric continuously scaled data; ANOVA and Tukey post-hoc test for parametric continuously scaled data; and chi square test for contingency tables for categorical data. The maximal walking speed was compared among participants who reported slow, average and brisk walking paces with Kruskal–Wallis test, with post hoc comparisons performed with the Dunn post-hoc test.