Abstract
Physical activity (PA) is known to be a risk factor for obesity and chronic diseases such as diabetes and metabolic syndrome. Few attempts have been made to pattern the time of physical activity while incorporating intensity and duration in order to determine the relationship of this multi-faceted behavior with health. In this paper, we explore a distance-based approach for clustering daily physical activity time series to estimate temporal physical activity patterns among U.S. adults (ages 20-65) from the National Health and Nutrition Examination Survey 2003-2006 (NHANES). A number of distance measures and distance-based clustering methods were investigated and compared using various metrics. These metrics include the Silhouette and the Dunn Index (internal criteria), and the associations of the clusters with health status indicators (external criteria). Our experiments indicate that using a distance-based cluster analysis approach to estimate temporal physical activity patterns through the day, has the potential to describe the complexity of behavior rather than characterizing physical activity patterns solely by sums or labels of maximum activity levels.
Introduction
Public health guidelines traditionally emphasize the volume and intensity of physical activity, such as achieving 150 minutes of moderate-to-vigorous activity weekly. However, this focus often overlooks the temporal dimension—the specific distribution of activity throughout the day. Existing research into temporal patterns frequently relies on rigid, expert-defined categories like "morning exercisers," which can miss the nuances of real-world behavior.
The primary challenge in data-driven temporal analysis is the inherent "jitter" in human schedules. For instance, two individuals may perform identical jogging routines, but if one starts at 8:00 AM and the other at 8:30 AM, standard metrics like Euclidean distance treat them as entirely different behaviors. This study proposes a robust, automated pipeline to cluster these time-series patterns and validate their clinical relevance.
Methods
The researchers developed a distance-based clustering pipeline designed to accommodate nonlinear temporal "warpings" in human behavior.
Distance Metric and Alignment
The core of the approach is Constrained Dynamic Time Warping (CDTW). Unlike Euclidean distance, which compares points at identical timestamps, DTW can "stretch" or "compress" the time axis to find the optimal alignment between two sequences. To prevent unrealistic alignments (e.g., matching a morning walk to an evening stroll), a Sakoe-Chiba bandwidth ($T$) was applied.
Clustering and Acceleration
The study compared several algorithms, including Kernel k-means, spectral clustering, and Hierarchical Agglomerative Clustering (HAC). Kernel k-means emerged as the most robust method, avoiding the "chaining effects" that often plague HAC in large datasets. To handle the high computational cost of pairwise DTW calculations ($O(N^2 \cdot M^2)$), the team utilized GPU acceleration via CUDA.
Datasets
The study analyzed data from the National Health and Nutrition Examination Survey (NHANES) 2003-2006, involving 1,999 U.S. adults. Data consisted of minute-level "Physical Activity Counts" (PAC) from hip-worn accelerometers. These patterns were then linked to 12 clinical health indicators, including BMI, waist circumference, blood pressure, glucose, and cholesterol levels.
Key Results
The analysis identified three primary archetypes ($k=3$) that balanced statistical distinctiveness with clinical relevance:
- The Active (Cluster 2): High activity throughout the day, associated with the best health markers.
- The Moderate (Cluster 1): Activity concentrated primarily between 8 AM and 4 PM.
- The Sedentary (Cluster 3): Lowest overall activity and poorest health markers.
A critical insight was the role of the bandwidth $T$. By reducing $T$, the model could focus more on specific timing, successfully separating morning-active individuals from those active in the late afternoon.
The clusters were not merely mathematical groupings; they showed significant differences across nearly all 12 health indicators, suggesting that the "shape" of a person's day is a meaningful predictor of metabolic health.
Conclusion
This research demonstrates that moving beyond simple aggregate metrics like total step counts to analyze temporal "shapes" provides a richer understanding of physical activity. While the study is limited by its cross-sectional nature and reliance on single-day snapshots, it paves the way for more personalized public health interventions. Future work should integrate dietary data and multi-day patterns to capture a more holistic view of human lifestyle behaviors.
Summary updated