Oralytics Reinforcement Learning Algorithm

Anna L. Trella, Kelly W. Zhang, Stephanie Marita Carpenter, David Elashoff, Zara M. Greer, Inbal Nahum-Shani, Dennis Ruenger, Vivek Shetty, Susan A. MurphyarXiv 2024 · DOI

Abstract

Oralytics is a reinforcement learning (RL) system designed to improve oral self-care behaviors (OSCB) by optimizing the delivery of personalized push notifications. By employing a Bayesian contextual bandit framework with "action centering" and a novel cost-based reward structure, the algorithm balances immediate brushing improvements against long-term participant habituation and burden. This paper details the design, technical components, and simulation-based evaluation of the Oralytics algorithm, which addresses the challenges of data scarcity and notification fatigue in mobile health interventions.

Introduction

Despite being preventable, dental disease remains a major chronic health issue because individuals often struggle to maintain consistent, high-quality brushing habits. Mobile health (mHealth) interventions, such as push notification reminders, offer a potential solution. However, these interventions face two primary hurdles:

  1. Habituation and Burden: Frequent prompts can lead to "notification fatigue," where users ignore messages or find them intrusive.
  2. Data Scarcity and Noise: mHealth data is inherently noisy, and individual users do not generate enough data quickly enough for complex models to learn personalized policies from scratch.

The Oralytics RL algorithm was developed to determine when and if a prompt should be sent to maximize brushing quality (OSCB) while minimizing the negative delayed effects of over-intervention.

Methods

The researchers utilized a Bayesian Contextual Bandit framework instead of a full Markov Decision Process (MDP). While an MDP could theoretically model long-term state transitions, the high noise and limited data (approximately 140 decision points per user) make a full MDP impractical for this application.

Key Technical Components

  • Bayesian Linear Regression (BLR) with Action Centering: BLR is used to model the reward. "Action centering" ensures the model is robust to misspecification by focusing on the treatment effect of the prompt relative to a baseline.
  • Thompson Sampling: This method balances exploration (testing different prompt timings) and exploitation (applying successful strategies) by sampling from the posterior distribution of model parameters.
  • Surrogate Reward with Cost Terms: To account for delayed negative effects like habituation, a "cost" is subtracted from the immediate brushing quality score. This cost is triggered if a user has been "over-dosed" with prompts in the preceding week, acting as a proxy for future value.
  • Full Pooling: The algorithm pools data across all participants ($N \approx 70$) to learn a shared policy. Simulations demonstrated that this approach learns significantly faster and more effectively than individual models.
  • Scheduling Solution: To overcome OS-level background task restrictions, the algorithm generates a 70-day "schedule" of actions, ensuring prompt delivery even if the user does not sync with the server daily.

Datasets

The algorithm was designed and tuned using data from three previous studies:

  • ROBAS 2: Informed the parameters for the cost-term.
  • ROBAS 3: Provided data from 31 participants over 90 days to build the simulation environment and fit baseline models.
  • Oralytics Pilot: Data from 9 participants over 35 days was used to develop the "prior" distribution for the RL algorithm.
Table 1: Summary statistics for the ROBAS 3 dataset.

As shown in Table 1, the ROBAS 3 dataset highlights the challenges of oral care adherence, with 53% of sessions involving no brushing and a median OSCB score of 0.0. These statistics provided a baseline for modeling user behavior in the absence of intervention.

Results and Insights

The authors evaluated their design choices through extensive simulations across 12 environment variants, testing different levels of user habituation and effect sizes.

  • The Power of Pooling: Full pooling consistently yielded higher average and 25th-percentile proximal outcomes. In the "cold start" phase of a clinical trial, pooling leverages collective experience to benefit the individual.
  • Update Cadence: Simulations showed negligible difference between daily and weekly model updates. Weekly updates were chosen to reduce computational overhead and simplify post-study causal analysis.
  • Hyperparameter Tuning: The team identified optimal cost hyperparameters ($\xi_1=80, \xi_2=40$) that prevent over-intervention while remaining responsive to user needs.
  • Action Centering for Interpretability: Centering the actions allows the coefficients in the linear model to directly represent the "advantage" of sending a prompt, making the model's decisions easier for domain experts to audit.

Discussion and Limitations

While the Oralytics algorithm represents a strategic simplification for high-noise environments, several limitations remain. The simulation environment relied on ROBAS 3 data, which lacked interventions, requiring treatment effects to be imputed. Additionally, the prior distribution was informed by a small pilot study. Finally, the algorithm's reliance on Bluetooth toothbrush data syncing means that delayed syncing can result in updates based on stale data.

The finalized algorithm was deployed in a clinical trial from late 2023 to summer 2024. The results of this real-world deployment will provide the ultimate test of these design decisions in improving long-term dental health habits.

Summary updated

BibTeX
@misc{trella2024oralytics,
  author = {Anna L. Trella and Kelly W. Zhang and Stephanie Marita Carpenter and David Elashoff and Zara M. Greer and Inbal Nahum-Shani and Dennis Ruenger and Vivek Shetty and Susan A. Murphy},
  title = {{Oralytics Reinforcement Learning Algorithm}},
  year = {2024},
  eprint = {2406.13127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.13127},
}
Figure