Abstract
Accelerometers produce enormous amounts of data. Research that incorporates such data often involves a derived summary metric to describe physical activity. Traditional metrics have often ignored the temporal nature of the data. We build on previous work that applies unsupervised machine learning techniques to describe physical activity patterns over time. Specifically, we evaluate a summary measure of accelerometer data derived from unsupervised clustering in a regression framework through comparisons with other traditional measures: duration of time spent in different activity intensity states, Time Active Mean (TAM), Time Active Variability (TAV), Activity Intensity Mean (AIM), and Activity Intensity Variability (AIV) using data from 268 children participating in the Stanford GOALS trial. The proportion of variation explained by the new measure was comparable to that of traditional measures across regressions of three pre-specified clinical outcomes (waist circumference, fasting insulin levels, and fasting triglyceride levels). For example, cluster membership explained 25%, 11%, and 6% of the variation in waist circumference, fasting insulin levels, and fasting triglyceride levels whereas TAM explained 25%, 10%, and 6% for these same outcomes. Importantly, however, there are challenges when regressing an outcome on a variable derived from unsupervised machine learning techniques, particularly regarding replicability. This includes the processing involved in deriving the variable as well as the machine learning approach itself. While these remain open topics to resolve, our findings demonstrate the promise of a new summary measure that enables addressing questions involving a temporal component that other traditional summary metrics do not reflect.
Introduction
Modern wearable accelerometers collect high-resolution data (e.g., 40 Hz) over multiple days, generating massive datasets. Traditionally, researchers have simplified this data into summary metrics such as "total minutes of moderate-to-vigorous physical activity (MVPA)" or "Time Active Mean (TAM)." While useful, these metrics overlook the temporal dimension of activity. They fail to distinguish between a single intense morning workout and the same volume of activity distributed throughout the day. This study addresses the need for metrics that capture the pattern and timing of physical activity, which may be critical for predicting cardiovascular and metabolic health.
Methodology
The researchers developed a pattern-based metric using unsupervised $k$-means clustering to group daily activity profiles.
Data Representation and Processing
Raw accelerometer count data collected between 7:00 AM and 11:00 PM was averaged into 10-minute intervals. This resulted in a 96-element "daily profile" vector for each participant-day. Figure 1 illustrates the transition from raw tri-axial acceleration to these summarized counts and activity categories.
Clustering and Sorting
To account for minor temporal shifts in routine (e.g., exercising at 8:00 AM vs. 8:30 AM), the authors introduced a "sorting" pre-processing step. Data was segmented into blocks (2, 4, or 8 hours) and sorted by intensity within those blocks before clustering. This approach emphasizes sustained activity bouts while maintaining general time-of-day information.
Statistical Evaluation
Linear regression models were used to predict clinical outcomes based on the proportion of days a participant spent in specific clusters. The performance was compared against standard cut-point metrics and advanced statistical summaries (TAM, TAV, AIM, AIV) using variance explained ($R^2$) and model fit (AIC).
Dataset and Clinical Outcomes
The study utilized baseline data from the Stanford GOALS Trial, involving 268 children (ages 7-11) with overweight or obesity. Participants wore ActiGraph GTX3+ accelerometers for up to 7 days. The primary clinical outcomes analyzed were waist circumference, fasting insulin levels, and fasting triglyceride levels.
Key Results
The results demonstrate that cluster-based metrics are statistically rigorous and perform comparably to highly-engineered traditional metrics:
- Waist Circumference: Clusters derived from 2-hour sorted segments explained 25.16% of the variance, nearly identical to TAM (25.39%) and superior to sedentary duration (24.22%).
- Fasting Insulin: 8-hour sorted clusters explained 10.51% of the variance, slightly outperforming TAM (10.24%) and matching vigorous activity duration (10.64%).
- Fasting Triglycerides: 4-hour sorted clusters explained 5.85% of the variance, edging out TAM (5.55%).
Across the board, the optimal sorting window varied by outcome, suggesting that the relationship between activity patterns and health is outcome-specific.
Discussion and Future Work
While promising, ML-derived metrics are sensitive to pre-processing choices, which can impact replicability. Furthermore, the $k$-means clusters are sample-dependent; patterns found in this pediatric cohort may not generalize to adults. Future research should explore bootstrapping to quantify cluster uncertainty and apply these methods to personalized longitudinal profiling. This methodology could also be extended to other time-series data, such as heart rate variability or EEG signals.
Summary updated