Skip to main content
QUICK REVIEW

[Paper Review] Personalized HeartSteps: A Reinforcement Learning Algorithm for Optimizing Physical Activity

Peng Liao, Kristjan Greenewald|arXiv (Cornell University)|Sep 8, 2019
Advanced Bandit Algorithms ResearchDecision Sciences43 references23 citations
TL;DR

This paper presents a personalized reinforcement learning (RL) algorithm, HeartSteps V2, that dynamically optimizes just-in-time adaptive interventions (JITAI) for physical activity by deciding in real time whether to deliver context-tailored activity suggestions via mobile notifications. The algorithm uses Thompson sampling with a delayed treatment effect proxy to balance exploration and exploitation, achieving improved long-term physical activity outcomes compared to baseline methods in synthetic and pilot data.

ABSTRACT

With the recent evolution of mobile health technologies, health scientists are increasingly interested in developing just-in-time adaptive interventions (JITAIs), typically delivered via notification on mobile device and designed to help the user prevent negative health outcomes and promote the adoption and maintenance of healthy behaviors. A JITAI involves a sequence of decision rules (i.e., treatment policy) that takes the user's current context as input and specifies whether and what type of an intervention should be provided at the moment. In this paper, we develop a Reinforcement Learning (RL) algorithm that continuously learns and improves the treatment policy embedded in the JITAI as the data is being collected from the user. This work is motivated by our collaboration on designing the RL algorithm in HeartSteps V2 based on data from HeartSteps V1. HeartSteps is a physical activity mobile health application. The RL algorithm developed in this paper is being used in HeartSteps V2 to decide, five times per day, whether to deliver a context-tailored activity suggestion.

Motivation & Objective

  • To develop a reinforcement learning algorithm that continuously learns and optimizes treatment policies for just-in-time adaptive interventions (JITAI) in mobile health.
  • To personalize physical activity interventions in HeartSteps V2 by dynamically deciding whether to deliver context-tailored suggestions based on real-time user context.
  • To address the challenge of delayed treatment effects in mobile health by incorporating a proxy variable to track intervention burden and responsiveness.
  • To evaluate the algorithm’s performance using synthetic data generated from HeartSteps V1 and pilot data from the ongoing HeartSteps V2 trial.
  • To improve long-term intervention efficacy by balancing exploration (gathering evidence) and exploitation (delivering effective interventions) in real time.

Proposed method

  • The algorithm employs a Bayesian nonparametric model to estimate the treatment effect of activity suggestions on near-term physical activity, using features of user context such as time of day, location, and current activity.
  • It applies Thompson sampling to balance exploration and exploitation, where the probability of delivering a suggestion is updated based on posterior estimates of treatment effect.
  • A delayed effect proxy is introduced to capture the cumulative burden of previous suggestions, helping the algorithm avoid over-sending interventions when effects are delayed.
  • The model uses data from HeartSteps V1 to inform prior distributions and build a generative model for synthetic evaluation of the RL policy.
  • The algorithm is deployed in real time during the HeartSteps V2 clinical trial, with decisions made five times per day based on current context and learned policy.
  • Posterior mean estimates of treatment effect are updated sequentially, and the randomization probability is adjusted based on both estimated effectiveness and the proxy for delayed response.

Experimental results

Research questions

  • RQ1Can a reinforcement learning algorithm effectively learn and optimize a personalized treatment policy for physical activity interventions in real time using mobile health data?
  • RQ2How does incorporating a proxy for delayed treatment effects improve the performance and safety of just-in-time adaptive interventions?
  • RQ3What is the relative performance of the proposed RL algorithm compared to baseline methods like Thompson sampling without a delayed effect proxy?
  • RQ4How do individual differences in responsiveness to interventions affect the learning dynamics and randomization probabilities in the algorithm?
  • RQ5Can the algorithm adapt quickly to changes in user responsiveness, such as waning effectiveness over time, to prevent disengagement?

Key findings

  • The proposed RL algorithm outperformed a baseline Thompson sampling approach in synthetic experiments based on HeartSteps V1 data, demonstrating improved long-term physical activity outcomes.
  • In pilot data from HeartSteps V2, participant ID=4 showed no improvement in step counts after suggestions, and the algorithm continued randomizing with a probability of 0.2–0.4 despite evidence of ineffectiveness, indicating a need for better signal detection.
  • Participant ID=7, who was highly responsive, showed declining responsiveness over time; however, the algorithm’s randomization probability only began to decrease significantly after a delay, suggesting the proxy mechanism is not yet responsive enough to rapid changes.
  • The proxy for delayed treatment effects successfully reduced intervention frequency when delayed responses were present, as shown by a visible gap between actual and proxy-adjusted randomization probabilities in the pilot data.
  • The algorithm’s performance was sensitive to the quality of the proxy for delayed effects, and lessons from pilot data led to algorithmic revisions to improve responsiveness and reduce overuse.
  • Future work is needed to pool information across similar users to accelerate learning and to refine burden and engagement metrics for better real-time adaptation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.