Estimating Dynamic Treatment Regimes in Mobile Health Using V-Learning

Daniel J. Luckett, Eric B. Laber, Anna R. Kahkoska, David M. Maahs, Elizabeth J. Mayer‐Davis, Michael R. KosorokJournal of the American Statistical Association 2018 · DOI · arXiv

Abstract

The vision for precision medicine is to use individual patient characteristics to inform a personalized treatment plan that leads to the best healthcare possible for each patient. Mobile technologies have an important role to play in this vision as they offer a means to monitor a patient's health status in real-time and subsequently to deliver interventions if, when, and in the dose that they are needed. Dynamic treatment regimes (DTRs) formalize individualized treatment plans as sequences of decision rules, one per stage of clinical intervention, that map current patient information to a recommended treatment. However, existing methods for estimating optimal DTRs are designed for a small number of fixed decision points occurring on a coarse time-scale. We propose a new reinforcement learning method, V-learning, for estimating an optimal treatment regime that is applicable to data collected using mobile technologies in an outpatient setting. The proposed method accommodates an indefinite time horizon and minute-by-minute decision making common in mobile health (mHealth) applications. We show the proposed estimators are consistent and asymptotically normal under mild conditions. The proposed methods are applied to estimate an optimal dynamic treatment regime for controlling blood glucose levels in patients with type 1 diabetes.

Introduction

Precision medicine aims to move away from "one-size-fits-all" healthcare, instead utilizing individual patient data to create personalized treatment plans. Mobile health (mHealth) technologies—such as smartwatches, continuous glucose monitors, and insulin pumps—are the ideal vehicles for this vision. They provide a constant stream of high-frequency data, allowing for interventions that are delivered exactly when and how they are needed.

However, most statistical tools for creating Dynamic Treatment Regimes (DTRs) were originally designed for clinical trials with only a few decision points (e.g., a check-up every three months). In the world of mHealth, decisions happen minute-by-minute, and the "trial" is effectively an indefinite horizon. This research introduces V-learning, a reinforcement learning (RL) framework specifically designed to handle the high-frequency, continuous nature of mobile health data.

The Limitations of Traditional Approaches

The challenge in mHealth lies in the "dynamic" nature of the treatment. A DTR is a sequence of decision rules that map a patient’s current state—such as heart rate, blood sugar, or activity level—to a recommended action. Existing methods, most notably Q-learning, work by modeling the "quality" (Q-value) of every possible state-action pair. While powerful, Q-learning faces two major hurdles in mHealth applications:

  1. Model Misspecification: Q-learning requires highly accurate models of how a patient's body reacts to every possible action. In complex physiological systems, these models are incredibly difficult to specify correctly.
  2. Computational Instability: Q-learning involves a "non-smooth max operator"—choosing the best action at every step—which makes the mathematics unstable and computationally expensive when dealing with thousands of decision points.

V-learning bypasses these issues by shifting the focus from the state-action value to the state-value function ($V$)—the expected long-term benefit of being in a certain state under a specific policy—and directly maximizing that value.

Methodology: The V-Learning Framework

V-learning shifts the focus from "What is the value of this specific action?" to "What is the value of this overall policy?" Key technical components of the framework include:

  • Importance Weighting: The method utilizes an importance-weighted version of the Bellman optimality equation. This allows researchers to use "offline" data collected under one policy (such as a physician's standard care) to estimate the outcomes of a new, optimized policy.
  • Direct Policy Optimization: Instead of modeling the entire environment, V-learning assumes a specific class of policies (e.g., a logistic-style rule) and finds the parameters that maximize the patient's long-term health utility.
  • Basis Functions: To handle complex, non-linear relationships in mHealth data, the authors employ basis functions (such as Gaussian radial basis functions) to approximate the value function.
  • Online and Offline Adaptability: The framework supports both offline estimation from completed studies and online estimation, where treatment rules are updated in real-time as new data is collected.

Experimental Evaluation

The authors evaluated V-learning using three distinct data sources:

  1. Generative Model: A basic two-variable simulation to validate the algorithm's core logic.
  2. Type 1 Diabetes (T1D) Simulator: A complex simulation based on real-world physiological parameters of glucose and insulin dynamics.
  3. Real-World Case Study: Observational data from 31 adolescent patients (ages 12-18) with Type 1 diabetes. This dataset included five days of continuous glucose monitoring (CGM), insulin pump logs, and physical activity data from accelerometers.

Key Results and Clinical Insights

In both the simple and T1D simulations, V-learning consistently outperformed Greedy Gradient Q-learning (GGQ) and standard observational policies. V-learning with Gaussian basis functions yielded the highest value (better health outcomes) and the lowest standard errors.

When applied to the real-world T1D patient data, the V-learning policies suggested improvements that could lead to a 64% to 68% increase in value (a composite score of glucose stability) over the current standard of care. A clinical "sanity check" demonstrated the model's logic: for a patient with high blood sugar, the model assigned a 79% probability to administering insulin and a 21% probability to insulin combined with physical activity—both of which are clinically sound interventions to lower glucose.

Furthermore, V-learning naturally produces randomized decision rules. In an online setting, this allows the system to "explore" different actions occasionally to determine if they work better, preventing the system from becoming stuck in sub-optimal routines.

Discussion and Future Work

While V-learning represents a significant step forward for mHealth, several areas for future research remain. The current version relies on linear combinations of basis functions; future iterations could incorporate semi-parametric or fully non-linear models for greater flexibility.

Additionally, incorporating hard safety constraints is vital for clinical deployment. In a medical setting, an RL agent cannot be allowed to "explore" actions that might be dangerous (e.g., excessive insulin doses). Finally, moving toward automated, data-driven methods for selecting penalty terms will reduce the need for manual tuning and improve the robustness of the model across diverse patient populations.

Summary updated

Abstract

The vision for precision medicine is to use individual patient characteristics to inform a personalized treatment plan that leads to the best healthcare possible for each patient. Mobile technologies have an important role to play in this vision as they offer a means to monitor a patient's health status in real-time and subsequently to deliver interventions if, when, and in the dose that they are needed. Dynamic treatment regimes formalize individualized treatment plans as sequences of decision rules, one per stage of clinical intervention, that map current patient information to a recommended treatment. However, existing methods for estimating optimal dynamic treatment regimes are designed for a small number of fixed decision points occurring on a coarse time-scale. We propose a new reinforcement learning method for estimating an optimal treatment regime that is applicable to data collected using mobile technologies in an outpatient setting. The proposed method accommodates an indefinite time horizon and minute-by-minute decision making that are common in mobile health applications. We show the proposed estimators are consistent and asymptotically normal under mild conditions. The proposed methods are applied to estimate an optimal dynamic treatment regime for controlling blood glucose levels in patients with type 1 diabetes.
BibTeX
@article{luckett2018estimating,
  author = {Daniel J. Luckett and Eric B. Laber and Anna R. Kahkoska and David M. Maahs and Elizabeth J. Mayer‐Davis and Michael R. Kosorok},
  title = {{Estimating Dynamic Treatment Regimes in Mobile Health Using V-Learning}},
  journal = {Journal of the American Statistical Association},
  year = {2018},
  doi = {10.1080/01621459.2018.1537919},
}
Figure