arXiv:2610.22336cs.LGOct 2026

Manuscript Offprint

arXiv:2610.22336

Robust Reinforcement Learning for Dynamic Treatment Regimes under Model and Measurement Uncertainty

Chengze Xie, Xuan Wang, Ying Ding, Hairong Wang, Yan Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We develop a robust reinforcement learning (RL) framework for learning adaptive treatment policies that generalize across patients and remain reliable under errors in the measured biomarker and shifts in the disease dynamics. By modeling the patient as a hidden context, we address generalization and robustness in a unified manner through robust contextual Markov decision processes. Applying our framework to adaptive therapy for metastatic prostate cancer in a simulator calibrated to clinical data, we obtain generalizable and robust policies that substantially outperform the existing adaptive therapy method. In particular, we attain robustness with almost no loss of performance when the biomarker is accurate and the disease evolves as anticipated, and find that the resulting policy Pareto-dominates the existing method across a diverse array of scenarios. Our findings suggest that robust RL holds great promise as a principled methodology for learning reliable adaptive treatment policies.

1 Introduction

Adapting treatment to the evolving condition of a patient has received considerable attention in medicine, with success reported in a broad range of applications [4, 7, 25, 26, 39, 50]. In oncology, adaptive therapy pursues this idea to delay the emergence of drug resistance [18]. Its rationale is that, under continuous treatment, drug-sensitive cells are eliminated and drug-resistant cells are left to grow without competition. By pausing treatment once the tumor has responded and resuming it once the tumor has regrown, clinicians can retain sensitive cells that continue to suppress the resistant ones [18, 45]. This approach was tested in a pilot clinical trial of the drug abiraterone for metastatic castration-resistant prostate cancer [52, 53]. In this clinical trial, clinicians paused abiraterone once prostate-specific antigen (PSA), a blood marker that tracks tumor burden, fell below half of its pretreatment value, and resumed it once PSA returned to the pretreatment value, a protocol we refer to as AT50. Compared with a contemporaneous cohort who received continuous treatment with abiraterone as the standard of care, the median time to progression more than doubled under AT50, while patients received no abiraterone during 46% of their time in the clinical trial [52].

Despite its remarkable success, AT50 is by design a simple heuristic in the sense that it applies the same pair of thresholds to every patient and responds only to the most recent PSA value. In addition, its benefit has so far been observed in only 17 patients, and, based on the models fitted to the same data, other schedules are expected to further improve outcomes [52]. Existing efforts toward more refined schedules include optimal control of competition models [9], deep reinforcement learning (RL) for controlling the emergence of drug resistance [12], and more recently RL policies trained within models calibrated to prostate cancer patients [16,33,34]. Nevertheless, these policies are evaluated within the same models used for their training, and their performance beyond these models remains largely unexamined. Ideally, one would like to learn, in a data-driven manner, a dynamic treatment policy that is more sophisticated than AT50, attains improved performance, and generalizes to the broad population of patients beyond those enrolled in the clinical trial. More importantly, such a policy should remain reliable under the shifts between training and deployment that are common in clinical practice [13].

*Department of Industrial and Systems Engineering, Texas A&M University. (E-mail: changze@tamu.edu).

†^{\dagger}Department of Mechanical Engineering, The University of Texas at Austin. (E-mail: xuan.wang@austin.utexas.edu).

‡^{\ddagger}School of Information, The University of Texas at Austin. (E-mail: ying.ding@ischool.utexas.edu).

§^{§}Department of Mechanical Engineering, The University of Texas at Austin. (E-mail: hairong.wang@austin.utexas.edu).

1^{1}Department of Industrial and Systems Engineering, Texas A&M University. Correspondence to: Yan Li (E-mail: yan.li@tamu.edu).

To be more specific, we identify three properties that a treatment policy learned from data should possess. To begin with, the policy should generalize in the sense that the performance it attains on the patients seen during training carries over to new patients drawn from the same population. From the perspective of contextual and hidden-parameter Markov decision processes (MDPs) [11,19,28,44], the natural goal without interacting with a new patient is a policy that is near-optimal on average over the population [49], and generalization across populations of environments has been studied extensively in deep RL [24,46]. With a simulation model, we can pursue this goal by training on as many simulated patients as needed, far beyond the 17 patients of the pilot clinical trial, provided that the simulated population is broad enough to contain the patients of interest. In addition, the policy should be robust to errors in its observation. In particular, PSA serves only as an indirect measure of the underlying tumor burden, and radiographic progression can occur without any rise in PSA [6]. Consequently, the quantity on which the policy acts may deviate from the quantity it aims to control, while RL policies are known to be sensitive to even small adversarial perturbations of their observations [21,51]. Most importantly, the policy should retain reliable performance under shifts in the patient dynamics. Indeed, the parameters of the model, including the strength of competition between sensitive and resistant cells on which the success of adaptive therapy hinges, are estimated from the sparse PSA records of a small cohort of patients, and are hence subject to considerable statistical error [5,52]. Such shifts are particularly consequential in medical domains, where real patients are scarce and the dynamics of a patient may further change during treatment [1].

To address these requirements, in this manuscript we propose to study adaptive therapy through the lens of robust contextual MDPs. A contextual MDP [19] describes a family of MDPs whose transition dynamics are indexed by a context, drawn from a population and hidden from the decision maker. Adaptive therapy fits naturally into this framework once we identify the context with the patient, namely the initial composition of the tumor together with its competition and growth parameters. Each patient then defines its own tumor dynamics, to be inferred by the clinician from the history of PSA measurements and treatment decisions, and AT50 is one particular policy acting on this history. By viewing the patient as a context, we treat generalization and robustness to shifts in the patient dynamics in a unified manner, since both concern the population from which the context is drawn. Specifically, generalization requires the policy to perform well on new contexts drawn from this population, which can be attained by training on sufficiently many sampled contexts, while robustness requires the policy to remain reliable when the context deviates from this population and thereby shifts the transition kernel that it determines.

To attain such robustness, we draw on robust MDPs, in which one seeks the best worst-case performance over an ambiguity set of transition kernels, and which have been studied extensively for standard MDPs [22, 31, 38, 40, 41, 48, 51]. We carry this viewpoint over to the contextual MDP and formulate robustness as a Markov game between the controller and the context, in which the context may deviate adversarially from the population from which it is drawn [29, 32]. To account for errors in the observation, we further train the policy under random perturbations of the measured PSA. Within a model of abiraterone therapy fitted to clinical data [52], which we refer to as the nominal model, the resulting robust policies substantially outperform AT50. In addition, we attain robustness to shifts in the patient dynamics at almost no price in the nominal model, and the resulting policy nearly Pareto-dominates the nominally trained policy, i.e., the policy trained in the nominal model with exact observations, under a broad range of realistic errors in the observation and shifts in the patient dynamics. Our contributions can be summarized as follows.

First, we formulate adaptive therapy as a contextual MDP in which the patient is modeled as a hidden context, and find that a policy learned within this formulation substantially outperforms AT50 and generalizes to patients fitted to clinical data. Within the competition model of [52], the learned policy extends the mean progression-free time from 29.58 months under AT50 to 50.35 months, while treating in a comparable fraction of months. In addition, on the 32 patients whose initial tumor compositions are fitted to clinical data in [52], policies trained on a broad synthetic population constructed without reference to these patients perform comparably to policies trained on a population calibrated to them. Hence, generalization to the patients of interest can be attained by training on sufficiently many simulated patients drawn from a broad population, without tailoring the population to these patients.

Second, we find that errors in PSA of realistic magnitude substantially reduce the benefit of policies that do not account for them. Specifically, under random errors of up to about 20% of the true PSA value, the nominally trained policy loses a substantial part of its benefit, and AT50 performs only marginally better than continuous treatment. By training under such errors, we obtain a policy that retains the benefit of adaptive therapy in the sense that its performance under such errors nearly matches that without them.

Finally, we formulate robustness to shifts in the patient dynamics as a Markov game between the controller and the context over an ambiguity set of transition kernels [29], and find that the resulting kernel-robust policy nearly Pareto-dominates the nominally trained policy and AT50 across all the conditions we consider. Specifically, the kernel-robust policy (1) performs nearly as well as the nominally trained policy in the nominal model, (2) substantially outperforms every other type of policy under shifts in the dynamics, and (3) substantially improves on the nominally trained policy and AT50 even under errors in the observation. Our findings suggest that robustness to shifts in the patient dynamics can be attained at almost no price in the nominal model, and that the resulting policy remains robust against a broad spectrum of errors in the observation and shifts in the patient dynamics. In view of this, we believe that robust RL holds great promise as a principled methodology for learning adaptive therapy policies.

The rest of this manuscript is organized as follows. In Section 2, we introduce contextual MDPs and their robust counterparts, and formulate adaptive therapy within this framework. We present the numerical experiments in Section 3, and conclude the manuscript in Section 4.

References (46)