NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Latent Temporal Flows for Multivariate Analysis of Wearables Data

Magda Amiridi, Gregory Darnell, Sean Jewell

Introduction

The proliferation of wearable devices, such as the Apple Watch, has led to the collection of vast amounts of high-dimensional, multivariate physiological data. These data streams—including heart rate, step counts, blood pressure, and respiratory rates—offer a window into individual health but present significant modeling challenges. Specifically, traditional multivariate models struggle with high dimensionality, where computational complexity often scales quadratically with the number of sensors ($N$). Furthermore, physiological signals exhibit complex, non-linear correlations; for instance, fluctuations in heart rate are intrinsically linked to physical activity and blood pressure. Existing forecasting methods often simplify these relationships by assuming independent signals or Gaussian distributions, which fail to capture the stochastic and "jagged" nature of real-world health data.

Methodology

To address these challenges, we present Latent Temporal Flows (LatTe), a framework designed to model complex temporal dynamics by operating on a "compress-then-predict" principle. The architecture integrates three core components into a unified probabilistic model:

  1. Dimensionality Reduction via Deep Autoencoders: The model utilizes a deep autoencoder to map high-dimensional observations into a lower-dimensional latent space. This process serves as a denoiser, filtering out high-frequency sensor noise to isolate the underlying physiological dynamics.
  2. Temporal Modeling with Recurrent Neural Networks (RNNs): Within the latent space, an RNN (such as an LSTM or GRU) tracks the historical trajectory of the signals, encoding the temporal context into a fixed-length vector.
  3. Probabilistic Density Estimation with Normalizing Flows: Rather than assuming a simple distribution, LatTe employs Normalizing Flows (e.g., Real-NVP or MAF) to transform a simple base distribution into a complex, multi-modal distribution that matches the latent data. This allows the model to capture the intricate, non-Gaussian dependencies of human health metrics.

Critically, LatTe is trained using a joint loss function. This approach simultaneously minimizes reconstruction error (ensuring the latent space accurately represents the input) and maximizes the likelihood of future latent states (ensuring the latent space is optimized for forecasting).

Experimental Setup

The framework was evaluated across diverse datasets to test its robustness and generalizability:

  • Apple Heart and Movement Study (AH&MS): This dataset includes longitudinal data from 1,630 individuals, featuring metrics such as Resting Heart Rate (RHR), Heart Rate Variability (HRV), Step Count (SC), Blood Pressure (DBP/SBP), and Basal Body Temperature (BBT).
  • Public Benchmarks: To assess performance on general time-series tasks, the model was tested on standard datasets including Solar (energy production), Electricity (consumption), Traffic (road occupancy), Wiki (page views), and Taxi (NYC ride frequency).

Results and Discussion

Forecasting Performance

LatTe consistently outperformed state-of-the-art baselines, including DeepVAR and Temporal Convolutional Neural Flows (TCNF). On the AH&MS dataset, the model achieved the lowest Normalized Mean Square Error (NMSE) across nearly all vital signs. On public benchmarks, LatTe demonstrated a 10% improvement in the Continuous Ranked Probability Score (CRPS), indicating superior performance in predicting the full probability distribution of future outcomes rather than just point estimates.

Interpretability and Latent Representations

A significant finding of this work is the emergence of interpretable health markers within the latent space. Without explicit supervision, the model’s 2D and 3D latent representations naturally clustered participants according to their VO2max (cardio-respiratory fitness). This suggests that by learning to predict low-level vital signs, the model implicitly captures higher-order physiological states.

Computational Efficiency

By performing the complex probabilistic transformations (Normalizing Flows) in a reduced latent space rather than the high-dimensional observation space, LatTe achieves significant gains in computational efficiency. This makes the framework more scalable for large-scale wearable deployments compared to previous flow-based methods.

Conclusion and Future Work

Latent Temporal Flows provide a robust and efficient framework for multivariate forecasting in the health domain. While the model excels at capturing complex dynamics, future research will focus on addressing missing data—a common occurrence in wearable datasets—through integrated imputation techniques. Additionally, the framework’s ability to learn "normal" latent trajectories suggests potential applications in anomaly detection, such as identifying early physiological signs of illness when a user's data deviates from their established latent norm.

Summary updated

BibTeX
@inproceedings{amiridi2022latent,
  author = {Magda Amiridi and Gregory Darnell and Sean Jewell},
  title = {{Latent Temporal Flows for Multivariate Analysis of Wearables Data}},
  booktitle = {MLHC},
  year = {2022},
}
Figure