Reward Engineering for Spatial Epidemic Simulations: A Reinforcement Learning Platform for Individual Behavioral Learning
On the map: Deep reinforcement learning methods → RL for clinical treatment and surgery
Abstract (arXiv)
We present ContagionRL, a Gymnasium-compatible reinforcement learning platform specifically designed for systematic reward engineering in spatial epidemic simulations. Unlike traditional agent-based models that rely on fixed behavioral rules, our platform enables rigorous evaluation of how reward function design affects learned survival strategies across diverse epidemic scenarios. ContagionRL integrates a spatial SIRS+D epidemiological model with configurable environmental parameters, allowing researchers to stress-test reward functions under varying conditions including limited observability, different movement patterns, and heterogeneous population dynamics. We evaluate five distinct reward designs, ranging from sparse survival bonuses to a novel potential field approach, across multiple RL algorithms (PPO, SAC, A2C). Through systematic ablation studies, we identify that directional guidance and explicit adherence incentives are critical components for robust policy learning. Our comprehensive evaluation across varying infection rates, grid sizes, visibility constraints, and movement patterns reveals that reward function choice dramatically impacts agent behavior and survival outcomes. Agents trained with our potential field reward consistently achieve superior performance, learning maximal adherence to non-pharmaceutical interventions while developing sophisticated spatial avoidance strategies. The platform's modular design enables systematic exploration of reward-behavior relationships, addressing a knowledge gap in models of this type where reward engineering has received limited attention. ContagionRL is an effective platform for studying adaptive behavioral responses in epidemic contexts and highlight the importance of reward design, information structure, and environmental predictability in learning. Our code is publicly available at https://github.com/redradman/ContagionRL
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RL for clinical treatment and surgery, one of 15 directions in Deep reinforcement learning methods. Builds on 21 of its 69 references that are in the map. First posted on arXiv 22 Nov 2025.
Builds on
21 of 69 references.
References · 21
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,885
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,258
- 2016Concrete Problems in AI Safetycited by 1,642
- 2017Deep Reinforcement Learning: An Overviewcited by 333
- 2017Asymmetric Actor Critic for Image-Based Robot Learningcited by 238
- 2017Multi-agent Reinforcement Learning in Sequential Social Dilemmascited by 209
- 2018An Introduction to Deep Reinforcement Learningcited by 206
- 2015Multiagent Cooperation and Competition with Deep Reinforcement Learningcited by 184
- 2017Stabilising Experience Replay for Deep Multi-Agent Reinforcement Learningcited by 117
- 2024Comprehensive Overview of Reward Engineering and Shaping in Advancing Reinforcement Learning Applicationscited by 38
9 more
- 2020Deep reinforcement learning for large-scale epidemic controlcited by 16
- 2020Optimising Lockdown Policies for Epidemic Control using Reinforcement Learningcited by 9
- 2020Multi-Objective Model-based Reinforcement Learning for Infectious Disease Controlcited by 7
- 2020COVID-19 Pandemic Cyclic Lockdown Optimization Using Reinforcement Learningcited by 6
- 2021DeepABM: Scalable, efficient and differentiable agent-based simulations via graph neural networkscited by 5
- 2023Planning Multiple Epidemic Interventions with Reinforcement Learningcited by 5
- 2025On the Importance of Reward Design in Reinforcement Learning-based Dynamic Algorithm Configuration: A Case Study on OneMax with (1+(λ,λ))-GAcited by 5
- 2016Statistical physics of vaccinationcited by 4
- 2024Modeling, Inference, and Prediction in Mobility-Based Compartmental Models for Epidemiologycited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Graph World Models for Constrained Epidemic Policy Planning
- 2026medR: Reward Engineering for Clinical Offline Reinforcement Learning via Tri-Drive Potential Functions
- 2024Model-Based Reinforcement Learning Control of Reaction-Diffusion Problems
- 2026Empowering Epidemic Response: The Role of Reinforcement Learning in Infectious Disease Control
- 2026Reinforcement Learning in the Real World: A Survey of Statistical Challenges and Future Directions
- 2026Optimizing Resource-Constrained Non-Pharmaceutical Interventions for Multi-Cluster Outbreak Control Using Hierarchical Reinforcement Learning
- 2025Reinforcement Learning for Large Model: A Survey
- 2024Aquarium: A Comprehensive Framework for Exploring Predator-Prey Dynamics through Multi-Agent Reinforcement Learning Algorithms