Abstract
Wearable sensor data is frequently fragmented due to various real-world factors such as battery-saving modes, sensor noise, or device removal. Traditional self-supervised learning (SSL) methods typically require complete data, leading to sub-optimal strategies like data filtering or biased imputation. We introduce LSM-2, a foundation model that utilizes Adaptive and Inherited Masking (AIM) to learn robust representations directly from incomplete, multimodal wearable data. Trained on 40 million hours of sensor data, LSM-2 achieves state-of-the-art performance across health classification, regression, and signal reconstruction tasks. Our results demonstrate that LSM-2 scales effectively with data and model size, providing a robust framework for real-world health monitoring.
Introduction
The proliferation of wearable devices, such as smartwatches and fitness trackers, has provided an unprecedented opportunity to collect continuous physiological data. These data streams, including photoplethysmography (PPG), accelerometry, and electrodermal activity (EDA), are invaluable for monitoring health and detecting diseases. However, real-world wearable data is rarely "clean." Sensor streams are often riddled with gaps caused by hardware malfunctions, battery-saving deactivations, or users simply taking the device off to charge.
Standard SSL models, such as Masked Autoencoders (MAE), are designed with the assumption of complete input data. When faced with missingness, researchers typically employ two strategies: filtering or imputation. Filtering involves discarding any data window containing missing values, which often restricts models to very short timeframes and ignores critical long-term patterns like circadian rhythms. Imputation uses statistical methods to fill in gaps, but this can introduce significant biases that propagate to downstream tasks. LSM-2 addresses these challenges by learning directly from "fragmented" data without requiring explicit imputation.
Methodology: Adaptive and Inherited Masking (AIM)
The core innovation of LSM-2 is the Adaptive and Inherited Masking (AIM) strategy. Built upon a 1D Vision Transformer (ViT-1D) backbone, AIM distinguishes between two types of masks:
- Inherited Masks: These represent the "natural" missingness already present in the raw sensor data.
- Artificial Masks: These are randomly applied to the observed data during pre-training to create a reconstruction challenge, forcing the model to learn the underlying structure of the signal.
LSM-2 employs a hybrid Adaptive Attentive Masking design. This approach combines the computational efficiency of "dropout removal"—where masked tokens are not processed by the encoder—with the flexibility of "attention masking" to handle variable amounts of missing data. This architecture allows the model to scale to long sequences, such as day-long data windows (3,744 tokens), while maintaining manageable computational complexity. During pre-training, a shared, learnable mask token represents both inherited and artificial gaps, encouraging the encoder to extract features only from reliable, non-missing segments.
Experimental Setup
Pre-training
LSM-2 was pre-trained on a massive, unlabeled dataset comprising 40 million hours (approximately 3.5 million person-days) of multimodal sensor data. This dataset includes PPG, accelerometer, EDA, skin temperature, and altimeter readings from over 60,000 individuals.
Downstream Evaluation
The model's performance was evaluated on two primary studies:
- Metabolic Study: This involved 1,250 participants with labels for clinical targets, such as hypertension and anxiety, as well as regression targets like age and body mass index (BMI).
- Activity Study: This dataset included approximately 104,000 activity samples across 20 distinct classes (e.g., walking, swimming, yoga) from over 46,000 individuals.
Results and Discussion
State-of-the-Art Performance
LSM-2 outperformed all established SSL baselines, including SimCLR, DINO, and MSN. Notably, it even surpassed fully supervised ResNet models on challenging tasks like hypertension and anxiety classification. This suggests that the self-supervised representations learned from fragmented data are highly effective for clinical health targets.
Robustness to Missing Data
A key strength of LSM-2 is its robustness to sensor failure. When an entire modality (e.g., the accelerometer) was intentionally removed during testing, LSM-2’s performance dropped significantly less than its predecessor, LSM-1 (a 57% drop compared to a 71% drop). This indicates that the model can effectively "lean" on remaining modalities when one fails, a crucial feature for real-world deployment.
Generative and Scaling Capabilities
LSM-2 also functions as a powerful generative model for signal reconstruction. In tasks with 80% random missingness, it achieved a 33% improvement in Mean Squared Error over LSM-1, outperforming standard linear or nearest-neighbor interpolation by up to 77%. Furthermore, LSM-2 exhibits aggressive "power-law" scaling; unlike previous models that showed signs of saturation, LSM-2's performance continues to improve as more data, more subjects, and larger model parameters are added.
Conclusion and Future Work
LSM-2 represents a significant step forward in handling the inherent messiness of wearable sensor data. By embracing missingness as a structural property rather than a nuisance, the model achieves superior performance and robustness.
Future research will focus on several key areas:
- Public Data Integration: Transitioning from private datasets to large-scale public datasets like All of Us or the UK Biobank to facilitate community replication.
- Granularity: Moving beyond minutely aggregated features to capture sub-second nuances in high-frequency waveforms.
- Cross-Device Generalization: Investigating how the model handles distribution shifts when applied to entirely new hardware platforms.
- Advanced Multimodal Fusion: Exploring more sophisticated cross-modal encoders to better integrate information across different sensor types.
Summary updated