ObjectiveTo improve classification of movement behaviours in free-living accelerometer data using machine-learning methods, and to investigate the association between machine-learned movement behaviours and risk of incident cardiovascular disease (CVD) in adults.MethodsUsing free-living data from 152 participants, we developed a machine-learning model to classify movement behaviours (moderate-to-vigorous physical activity behaviours (MVPA), light physical activity behaviours, sedentary behaviour, sleep) in wrist-worn accelerometer data. Participants in UK Biobank, a prospective cohort, were asked to wear an accelerometer for 7 days, and we applied our machine-learning model to classify their movement behaviours. Using compositional data analysis Cox regression, we investigated how reallocating time between movement behaviours was associated with CVD incidence.ResultsIn leave-one-participant-out analysis, our machine-learning method classified free-living movement behaviours with mean accuracy 88% (95% CI 87% to 89%) and Cohen’s kappa 0.80 (95% CI 0.79 to 0.82). Among 87 498 UK Biobank participants, there were 4105 incident CVD events. Reallocating time from any behaviour to MVPA, or reallocating time from sedentary behaviour to any behaviour, was associated with lower CVD risk. For an average individual, reallocating 20 min/day to MVPA from all other behaviours proportionally was associated with 9% (95% CI 7% to 10%) lower risk, while reallocating 1 hour/day to sedentary behaviour from all other behaviours proportionally was associated with 5% (95% CI 3% to 7%) higher risk.ConclusionMachine-learning methods classified movement behaviours accurately in free-living accelerometer data. Reallocating time from other behaviours to MVPA, and from sedentary behaviour to other behaviours, was associated with lower risk of incident CVD, and should be promoted by interventions and guidelines.
Advances in deep learning for human activity recognition have been relatively limited due to the lack of large labelled datasets. In this study, we leverage selfsupervised learning techniques on the UK-Biobank activity tracker dataset-the largest of its kind to date-containing more than 700,000 person-days of unlabelled wearable sensor data. Our resulting activity recognition model consistently outperformed strong baselines across seven benchmark datasets, with an F1 relative improvement of 2.5%-100% (median 18.4%), the largest improvements occurring in the smaller datasets. In contrast to previous studies, our results generalise across external datasets, devices, and environments. Our open-source model will help researchers and developers to build customisable and generalisable activity classifiers with high performance.
Background: Step count is an intuitive measure of physical activity frequently quantified in a range of health-related studies; however, accurate quantification of step count can be difficult in the free-living environment, with step counting error routinely above 20% in both consumer and research-grade wrist-worn devices. This study aims to describe the development and validation of step count derived from a wrist-worn accelerometer, and to assess its association with cardiovascular and all-cause mortality in a large prospective cohort study. Methods: We developed and externally validated a hybrid step detection model that involves self-supervised machine learning, trained on a new ground truth annotated, free-living step count dataset (OxWalk, n=39, aged 19 81) and tested against other open-source step counting algorithms. This model was applied to ascertain daily step counts from raw wrist-worn accelerometer data of 75,493 UK Biobank participants without a prior history of cardiovascular disease (CVD) or cancer. Cox regression was used to obtain hazard ratios and 95% confidence intervals for the association of daily step count with fatal CVD and all-cause mortality after adjustment for potential confounders. Findings: The novel step algorithm demonstrated a mean absolute percent error of 12.5% in free-living validation, detecting 98.7% of true steps and substantially outperforming other recent wrist-worn, open-source algorithms. Our data are indicative of an inverse dose-response association, where, for example, taking 6,596 to 8,474 steps per day was associated with a 39% [24-52%] and 27% [16 36%] lower risk of fatal CVD and all-cause mortality, respectively, compared to those taking fewer steps each day. Interpretation: An accurate measure of step count was ascertained using a machine learning pipeline that demonstrates state-of-the-art accuracy in internal and external validation. The expected associations with CVD and all-cause mortality indicate excellent face validity. This algorithm can be used widely for other studies that have utilised wrist-worn accelerometers and an open-source pipeline is provided to facilitate implementation.
BackgroundModerate-to-vigorous physical activity (MVPA), light physical activity, sedentary behaviour and sleep have all been associated with cardiovascular disease (CVD). Due to challenges in measuring and analysing movement behaviours, there is uncertainty about how the association with incident CVD varies with the time spent in these different movement behaviours.MethodsWe developed a machine-learning model (Random Forest smoothed by a Hidden Markov model) to classify sleep, sedentary behaviour, light physical activity and MVPA from accelerometer data. The model was developed using data from a free-living study of 152 participants who wore an Axivity AX3 accelerometer on the wrist while also wearing a camera and completing a time use diary. Participants in UK Biobank, a prospective cohort study, were asked to wear an accelerometer (of the same type) for seven days, and we applied our machine-learning model to classify their movement behaviours. Using Compositional Data Analysis Cox regression, we investigated how reallocating time between movement behaviours was associated with CVD incidence.FindingsWe classified accelerometer data as sleep, sedentary behaviour, light physical activity or MVPA with a mean accuracy of 88% (95% CI: 87, 89) and Cohen’s kappa of 0·80 (95% CI: 0·79, 0·82). Among 87,509 UK Biobank participants, there were 3,424 incident CVD events. Reallocating time from any behaviour to MVPA, or reallocating time from sedentary behaviour to any behaviour, was associated with a lower risk of CVD. For example, for a hypothetical average individual, reallocating 20 minutes/day to MVPA from all other behaviours proportionally was associated with 9% (7%, 10%) lower risk of incident CVD, while reallocating 1 hour/day to sedentary behaviour was associated with 5% (3%, 7%) higher risk.InterpretationReallocating time from light physical activity, sedentary behaviour or sleep to MVPA, or reallocating time from sedentary behaviour to other behaviours, was associated with lower risk of incident CVD. Accurate classification of movement behaviours using machine-learning and statistical methods to address the compositional nature of movement behaviours enabled these insights. Public health interventions and guidelines should promote reallocating time to MVPA from other behaviours, as well as reallocating time from sedentary behaviour to light physical activity.FundingMedical Research Council.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2025 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.