Optimizing Temporal Windows for Wearable-Augmented Post-Discharge Risk Prediction: A Methods Study

Eric Bressman, Sae-Hwan Park, S. Ryan Greysen, Jinbo ChenmedRxiv 2026

TL;DR

Predicting hospital readmissions is notoriously difficult, but integrating wearable activity data post-discharge offers a promising solution. This paper systematically evaluates the optimal temporal windows—how far back to look and how far forward to predict—for machine learning models using step-count data. The authors find that gradient-boosted trees (LightGBM) using just 3 days of historical data to predict 10 days into the future achieve high accuracy and excellent calibration, offering a practical blueprint for clinical deployment.

What Problem Does This Paper Address?

Nearly 17% of older adults are readmitted to the hospital within 30 days of discharge. While transitional care interventions can prevent many of these readmissions, they are resource-intensive and must be targeted at the highest-risk patients. Unfortunately, standard readmission risk models—which rely mostly on static clinical data available at the time of discharge—perform poorly.

Recent studies show that adding dynamic, remotely monitored activity data (like daily step counts from wearables) significantly improves risk prediction. However, there is no consensus on the optimal engineering parameters for these models. Specifically, how many days of past activity data are needed to establish a trend? How far into the future should the model predict? And how long after discharge does this data remain predictive? If a model requires 14 days of baseline data to work, or only predicts same-day risk, it is operationally useless to a clinical team that needs lead time to intervene. This paper attempts to optimize these temporal windows.

Methods

The researchers framed the problem as a dynamic, patient-day level prediction task. They combined static variables (demographics, EHR clinical data) with dynamic variables (daily steps, distance, sleep metrics).

The core novelty is a systematic grid search over three temporal parameters:

  1. Retrospective window ($m$): The look-back period for summarizing past activity (3, 5, 7, or 10 days).
  2. Prospective horizon ($n$): The future time window over which the model predicts the composite outcome of readmission or death (3, 5, 7, or 10 days).
  3. Training window ($k$): The maximum follow-up period post-discharge included in the model (30, 60, 90, or 180 days).

To ensure robustness, they trained and compared two types of models across all configurations: a classical parametric model (multivariate Logistic Regression) and a modern non-parametric machine learning model (LightGBM). Models were evaluated using an 80:20 patient-level split (to prevent data leakage) with 5-fold cross-validation.

Datasets

The study utilized a combined dataset from two clinical trials conducted at Penn Medicine:

  • PREDICT: Randomized patients to use either a smartphone app or a wearable device to collect mobility data post-discharge.
  • MOVE IT: Provided wearables to all participants and randomized them to a behavioral economics gamification intervention vs. a control group.

The authors filtered this combined dataset for older adults ($\ge$ 55 years), resulting in a final cohort of 215 patients.

Key Insights and Ideas

  • Recent data is all you need: Model performance was largely insensitive to the length of the retrospective window. Looking back just 3 days was nearly as effective as looking back 10 days. This is a massive win for operational feasibility, meaning models can start generating actionable predictions almost immediately after discharge.
  • Give clinicians a runway: Predicting further out actually improved model performance. Both algorithms performed worst on same-day predictions and best with a 10-day prospective horizon. This is ideal, as same-day predictions don't give transitional care teams enough time to intervene.
  • Algorithm choice dictates calibration: LightGBM didn't just win on raw accuracy; it was vastly better calibrated. Logistic regression severely miscalibrated absolute risk, likely because it couldn't handle the complex, non-linear relationships between static clinical data and dynamic activity data.
  • Complementary signals: Feature importance analysis revealed that LightGBM successfully fused static data (hospital length of stay, BMI, blood pressure) with dynamic data (recent steps). Logistic regression, constrained by its linear nature, over-indexed on just the activity features.

Key Results

  • Overall Performance: LightGBM outperformed Logistic Regression across all temporal configurations, achieving a mean ROC-AUC of 0.82 compared to 0.76.
  • Peak Accuracy: The best LightGBM configuration (using a 10-day prospective horizon) achieved an impressive ROC-AUC of 0.87.
  • Calibration: The best LightGBM model showed excellent calibration (Hosmer-Lemeshow $p = 0.96$), whereas the logistic regression model showed severe miscalibration ($p < 0.001$).
  • Training Window Drop-off: Performance for both models peaked when trained on data from the first 30 to 90 days post-discharge. Extending the training window to 180 days degraded performance, suggesting the predictive signal of post-discharge activity wanes over time.

Limitations and Future Work

The authors acknowledge several limitations. The sample size is relatively small ($N=215$) and drawn from a single academic medical center, which may limit generalizability. Methodologically, they only explored tree-based ensembles and logistic regression; deep learning architectures (like RNNs/LSTMs) or survival models might yield further improvements.

For future work, the authors suggest external validation in diverse clinical settings. They also recommend conducting decision-curve analyses to identify actionable risk thresholds, with the ultimate goal of embedding these algorithms into pragmatic randomized trials to test if they actually improve patient outcomes when used by care teams.

Summary updated

BibTeX
@misc{bressman2026optimizing,
  author = {Eric Bressman and Sae-Hwan Park and S. Ryan Greysen and Jinbo Chen},
  title = {{Optimizing Temporal Windows for Wearable-Augmented Post-Discharge Risk Prediction: A Methods Study}},
  year = {2026},
  doi = {10.64898/2026.01.21.26344487},
  howpublished = {medRxiv},
}
Figure