Abstract
Personalized mobile health (mHealth) interventions often face a trade-off between encouraging behavior change and inducing user burden or habituation. This paper introduces a novel reward design for a contextual bandit algorithm implemented in the "Oralytics" app to improve oral hygiene. By incorporating a surrogate reward that penalizes excessive messaging, the algorithm accounts for delayed negative effects without the complexity of a full Markov Decision Process (MDP). Simulation results using clinical trial data demonstrate that this surrogate reward approach consistently outperforms standard myopic bandits, providing a robust framework for real-time personalization in mHealth.
Introduction
Dental diseases are largely preventable through consistent oral hygiene, yet maintaining these habits remains a challenge for many. Mobile health (mHealth) applications offer a platform for personalized, timely encouragement. However, these interventions face a "Goldilocks" problem: insufficient messaging leads to forgetfulness, while excessive messaging causes annoyance or habituation, reducing long-term responsiveness.
Standard Reinforcement Learning (RL) approaches struggle with this balance. Contextual bandits are stable and effective with sparse data but are typically "myopic," ignoring the long-term consequences of current actions. Conversely, full Markov Decision Processes (MDPs) can model delayed effects but are often too complex and unstable for online learning with noisy clinical data.
Methodology
The authors propose a Contextual Bandit with a Surrogate Reward as a middle ground. The algorithm utilizes Bayesian Linear Regression (BLR) with action centering and posterior sampling (Thompson Sampling) to handle uncertainty and incorporate prior knowledge.
The Surrogate Reward
The core innovation is the definition of the reward $R_{i,t}$ as: $$R_{i,t} = Q_{i,t} - C_{i,t}$$ where $Q_{i,t}$ represents the user's brushing quality and $C_{i,t}$ is a cost term. This cost term increases if:
- The user is already a "high performer" and receives unnecessary messages.
- The user has received a high frequency of messages in the recent past (e.g., the last week), regardless of their performance.
This cost term acts as a mathematical proxy for the "future value" term in the Bellman equation, allowing a simple bandit to account for long-term user burden.
Simulation and Datasets
To tune the hyperparameters ($\xi_1, \xi_2$) of the cost term, the researchers developed a simulation environment grounded in data from two prior studies:
- ROBAS 2: Brushing duration data from 32 users, used to design the algorithm's informative prior.
- ROBAS 3: Sensor data (e.g., brushing pressure) from 13 users, used to construct the simulation testbed.
The simulation explicitly models "habituation" by reducing the simulated treatment effect if a user is over-messaged.
Results
The performance of the RL candidates was evaluated across various levels of delayed negative effects ($E$).
Key findings include:
- Superiority of Surrogate Rewards: In all simulation scenarios, algorithms using a surrogate reward (non-zero $\xi_1, \xi_2$) outperformed the classical myopic bandit ($\xi_1 = \xi_2 = 0$).
- Robustness to Delay: As the severity of delayed negative effects ($E$) increased, the optimal values for the cost hyperparameters also increased, confirming the surrogate's role in mitigating long-term burden.
- Parameter Selection: Based on the heatmaps (Figure 1), the researchers selected intermediate values ($\xi_1 = 100, \xi_2 = 100$) for the upcoming Oralytics clinical trial. This choice balances average user performance with protection for the most vulnerable users (the 25th percentile) against excessive burden.
Discussion and Conclusion
This work demonstrates that a carefully designed surrogate reward can enable contextual bandits to behave like long-term planners. By penalizing actions that likely lead to habituation, the algorithm avoids "burning out" the user. While the cost term is currently heuristic and treatment effects in the simulation were imputed, the upcoming Oralytics trial (N=72) will provide real-world validation. Future work will focus on refining the mapping between the cost term and expected future reward drops.
Summary updated