Reinforcement Learning for Antibiotic Stewardship in a Simulated Hospital Ward with Coupled Within-Host and Transmission Dynamics
Antimicrobial resistance is driven in part by how antibiotics are prescribed, which makes stewardship a central but difficult task. Each prescribing decision affects both the patient treated now and the resistance faced by the whole ward later. We study this trade-off with reinforcement learning. We build a virtual hospital ward that couples a dual-channel transmission model to a within-host competition between susceptible and resistant bacteria, where resistant bacteria carry a fitness cost. A prescriber agent, trained with Proximal Policy Optimization, chooses among antibiotics of different kill rate, cost, and residual activity against resistance, and optimizes a multi-objective reward that places treatment efficacy, resistance control, cost, and adverse effects on a common scale. The agent learns a severity-dependent, tiered strategy without a fixed severity-to-drug rule, although the reward's severity-dependent terms favor this pattern. In 50 evaluation episodes of a 200-slot, 30-day simulation, the PPO policy had a lower mean terminal ward-averaged resistant fraction than random prescribing (48.24% versus 62.63%) and a higher model-defined cure rate among ever-infected patients (48.18% versus 32.85%). The policy trained at the highest resistance penalty had a higher resistant fraction and a lower cure rate than the others. These results describe the specified simulation and have not been validated against hospital data.