A Batch, Off-Policy, Actor-Critic Algorithm for Optimizing the Average Reward

Susan A. Murphy, Yanzhen Deng, Eric B. Laber, Hamid Reza Maei, Richard S. Sutton, Katie WitkiewitzarXiv 2016

Abstract

In mobile health (mHealth), the goal is to deliver "Just-in-Time Adaptive Interventions" (JITAIs) that optimize long-term patient outcomes. However, learning these policies is challenging because data is often collected in batches from previous studies using different protocols. This paper introduces a robust off-policy actor-critic algorithm designed to learn optimal treatment policies from multi-individual batch data by maximizing the long-term average reward.

Introduction

Reinforcement Learning (RL) offers a powerful framework for personalized medicine, yet standard RL paradigms often fail to meet the unique constraints of healthcare. In mHealth, we typically cannot allow an agent to learn via trial-and-error on live patients due to safety and ethical concerns. Instead, we must rely on "batch" data—historical logs from prior studies involving multiple individuals.

Furthermore, mHealth interventions face the "burden effect": frequent notifications can lead to user habituation or fatigue, reducing the effectiveness of future treatments. To address these issues, we propose an actor-critic architecture that optimizes for the steady-state average reward rather than immediate or discounted gains, ensuring sustainable long-term efficacy.

Methodology

The Actor-Critic Framework

The algorithm utilizes a modified actor-critic structure tailored for off-policy learning from batch data.

  • The Critic (Policy Evaluation): The critic estimates the "differential value function" and the average reward using a linear approximation. To account for the discrepancy between the behavior policy (the protocol used to collect the data) and the target policy (the policy being learned), the algorithm employs importance weights ($\rho$). To prevent overfitting in high-dimensional state spaces, an $L_2$ penalty is applied to the critic’s parameters.
  • The Actor (Policy Improvement): The actor updates the policy parameters ($\theta$) to maximize the average reward as estimated by the critic. Unlike many RL applications that seek deterministic policies, this approach enforces stochasticity constraints. By keeping treatment probabilities within a specific range (e.g., 0.05 to 0.95), the algorithm ensures that interventions remain unpredictable enough to mitigate user habituation.

Optimization

The maximization process is handled via the BFGS algorithm, a quasi-Newton method. This allows for efficient policy updates by repeatedly querying the critic to evaluate the performance of candidate policies.

Experimental Evaluation

Simulated MDP: Modeling User Burden

To test the algorithm's ability to handle habituation, the authors developed a generative model where the state includes a "burden" variable. If the agent provides treatment too frequently, the user's burden increases, eventually diminishing the reward. The simulation demonstrated that while a "constant treatment" policy fails as burden accumulates, the proposed actor-critic algorithm learns to "back off" during high-burden states to preserve long-term utility. The learned policy closely tracked the "Gold Standard"—the true optimal policy calculated with perfect knowledge of the simulation parameters.

Real-World Application: BASICS-Mobile

The algorithm was applied to the BASICS-Mobile dataset, which tracked 27 college students over 14 days to reduce heavy drinking and smoking. The state space included self-reported metrics such as "self-control demands," "urge to smoke," and "past availability."

Key Insights and Results

  1. Average Reward vs. Discounted Reward: The authors argue that for chronic condition management, the steady-state average reward is a more appropriate metric than discounted rewards, as it treats all future time points with equal importance.
  2. Robustness to Noise: In simulations where irrelevant "noise variables" were added to the data, the critic’s $L_2$ regularization allowed the algorithm to ignore junk data and maintain high performance.
  3. Clinical Interpretability: The policies learned from the BASICS-Mobile data aligned with clinical intuition. For instance, a student with no increase in self-control demands and no burden was recommended treatment with a 0.75 probability. Conversely, a student feeling overwhelmed and burdened was recommended treatment with only a 0.51 probability, demonstrating the algorithm's ability to avoid "pestering" users when interventions are likely to be ineffective.

Conclusion and Future Work

This work provides a foundational framework for batch, off-policy RL in the context of mobile health. While the results are promising, future research is needed to incorporate static baseline traits (e.g., genetics or demographics) for deeper personalization. Additionally, developing measures of confidence for learned policy parameters will be essential for helping clinicians determine which variables are most critical for intervention timing. As mHealth continues to scale, this average-reward approach offers a sustainable path toward long-term behavioral change.

Summary updated

BibTeX
@misc{murphy2016batch,
  author = {Susan A. Murphy and Yanzhen Deng and Eric B. Laber and Hamid Reza Maei and Richard S. Sutton and Katie Witkiewitz},
  title = {{A Batch, Off-Policy, Actor-Critic Algorithm for Optimizing the Average Reward}},
  year = {2016},
  eprint = {1607.05047},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1607.05047},
}
Figure