Incorporating causal factors into reinforcement learning for dynamic treatment regimes in HIV

Chao Yu, Yinzhao Dong, Jiming Liu, Guoqi Ren

Abstract

Reinforcement Learning (RL) offers a promising framework for developing Dynamic Treatment Regimes (DTRs), yet standard "black-box" approaches often struggle with slow convergence and poor interpretability in clinical settings. This study introduces the Causal Policy Gradient (CPG) algorithm, which embeds known causal relationships into the RL learning process. Applied to a simulated HIV treatment environment, CPG demonstrates a twofold increase in learning speed and produces stable, clinically relevant policies.

Introduction

Dynamic Treatment Regimes (DTRs) are sequences of decision rules that tailor medical treatments to a patient's changing health status. While Reinforcement Learning (RL) is well-suited for optimizing these sequences, traditional algorithms often ignore the underlying causal mechanisms known to clinicians. This results in a "cold start" problem where the agent must rediscover basic biological truths through trial and error, leading to inefficient exploration and policies that are difficult for medical professionals to trust.

The Causal Policy Gradient (CPG) Method

To address these challenges, the authors propose the Causal Policy Gradient (CPG) algorithm. Unlike standard Policy Gradient (PG) methods that update policies solely based on reward gradients, CPG incorporates a causal factor ($C$) into the update rule. This factor quantifies the influence of an action ($A$) on a desired outcome ($B$):

$$C(B|A) = P(B|A) - P(B|\neg A)$$

By weighting the gradient with this causal factor, the algorithm prioritizes actions with a proven causal link to positive clinical outcomes, such as viral load reduction. This effectively uses causality as a "compass" to narrow the search space to strategies that make biological sense.

Experimental Framework

The CPG algorithm was evaluated using a standard computational model of HIV infection. The environment tracks six continuous state variables, including healthy and infected cells, free virus particles ($V$), and immune response cells ($E$). The agent selects from four treatment regimens involving two drug classes: Reverse Transcriptase Inhibitors (RTI) and Protease Inhibitors (PI). The reward function balances viral suppression and immune system health against the toxic side effects of the medication.

Key Results and Discussion

The integration of causal logic significantly enhanced the learning process. The CPG algorithm reached an optimal treatment strategy in fewer than 50 episodes, compared to approximately 100 episodes for the standard PG baseline.

Erratic treatment policy characterized by frequent switching, often seen in early learning stages or non-causal baselines.

Beyond speed, the CPG-derived policies exhibited superior stability. While early or non-causal iterations often resulted in erratic drug switching, as illustrated in the figure above, the final CPG policy converged to a stable, continuous administration of both RTI and PI.

The final optimized treatment policy (d) showing stable, continuous administration of both RTI and PI.

As shown in the figure above, this continuous regimen aligns with the theoretical optimum for the simulated model, confirming that the causal injection guides the RL agent toward biologically sound strategies without compromising the underlying optimization logic.

Conclusion and Future Directions

The Causal Policy Gradient algorithm represents a significant step toward making RL more practical for clinical applications by leveraging existing domain knowledge. While the current HIV model is simplified, the success of CPG suggests that "causal awareness" can bridge the gap between black-box algorithms and clinical trust. Future work will focus on automating the discovery of causal factors from historical data and refining the model to explore "drug-free" equilibrium states, which remain a challenge for current DTR optimization methods.

Summary updated

Abstract

Background Reinforcement learning (RL) provides a promising technique to solve complex sequential decision making problems in health care domains. However, existing studies simply apply naive RL algorithms in discovering optimal treatment strategies for a targeted problem. This kind of direct applications ignores the abundant causal relationships between treatment options and the associated outcomes that are inherent in medical domains. Methods This paper investigates how to integrate causal factors into an RL process in order to facilitate the final learning performance and increase explanations of learned strategies. A causal policy gradient algorithm is proposed and evaluated in dynamic treatment regimes (DTRs) for HIV based on a simulated computational model. Results Simulations prove the effectiveness of the proposed algorithm for designing more efficient treatment protocols in HIV, and different definitions of the causal factors could have significant influence on the final learning performance, indicating the necessity of human prior knowledge on defining a suitable causal relationships for a given problem. Conclusions More efficient and robust DTRs for HIV can be derived through incorporation of causal factors between options of anti-HIV drugs and the associated treatment outcomes.
BibTeX
@article{yu2019incorporating,
  author = {Chao Yu and Yinzhao Dong and Jiming Liu and Guoqi Ren},
  title = {{Incorporating causal factors into reinforcement learning for dynamic treatment regimes in HIV}},
  journal = {BMC Medical Informatics Decis. Mak.},
  year = {2019},
  doi = {10.1186/s12911-019-0755-6},
}

Loading related content...

Figure