IDEAS home Printed from https://ideas.repec.org/a/sae/medema/v46y2026i2p216-225.html

Reinforcement Learning-Based Control of Epidemics on Networks of Communities and Correctional Facilities

Author

Listed:
  • Christopher Weyant

    (Department of Health Policy, Stanford School of Medicine, Stanford University, Stanford, CA, USA
    Center for Health Policy, Freeman Spogli Institute, Stanford University, Stanford, CA, USA)

  • Serin Lee

    (College of Engineering, University of Washington, Seattle, WA, USA (SL))

  • Jeremy D. Goldhaber-Fiebert

    (Department of Health Policy, Stanford School of Medicine, Stanford University, Stanford, CA, USA
    Center for Health Policy, Freeman Spogli Institute, Stanford University, Stanford, CA, USA)

Abstract

Background Correctional facilities can act as amplifiers of infectious disease outbreaks. Small community outbreaks can cause larger prison outbreaks, which can in turn exacerbate the community outbreaks. However, strategies for epidemic control in communities and correctional facilities are generally not closely coordinated. We sought to evaluate different strategies for coordinated control. Methods We developed a stochastic simulation model of an epidemic spreading across a network of communities and correctional facilities. We parameterized it for the initial phases of the COVID-19 epidemic for 1) California communities and prisons based on community data from covidestim, prison data from the California Department of Corrections and Rehabilitation, and mobility data from SafeGraph, and 2) a small, illustrative network of communities and prisons. For each community or prison, control measures were defined by the intensity of 2 activities: 1) screening to detect and isolate cases and 2) nonpharmaceutical interventions (e.g., masking and social distancing) to reduce transmission. We compared the performance of different control strategies including heuristic and reinforcement learning (RL) strategies using a reward function, which accounted for both the benefit of averted infections and nonlinear cost of the control measures. Finally, we performed analyses to interpret the optimal strategy and examine its robustness. Results The RL control strategy robustly outperformed other strategies including heuristic approaches such as those that were largely used during the COVID-19 epidemic. The RL strategy prioritized different characteristics of communities versus prisons when allocating control resources and exhibited geo-temporal patterns consistent with mitigating prison amplification dynamics. Conclusion RL is a promising method to find efficient policies for controlling epidemic spread on networks of communities and correctional facilities, providing insights that can help guide policy. Highlights For modelers, we developed a stochastic simulation model of an epidemic spreading across a network of communities and correctional facilities, and we parameterized it for the initial phases of the COVID-19 epidemic for California communities and prisons in addition to an illustrative network. We compared different control strategies using a reward function that accounted for both the benefit of averted infections and cost of the control measures; we found that reinforcement learning robustly outperformed the other strategies including heuristic approaches such as those that were largely used during the COVID-19 epidemic. For policy makers, our work suggests that they should consider investing in the further development of such methods and using them for the control of future epidemics. We offer qualitative insights into different factors that might inform resource allocation to communities versus prisons during future epidemics.

Suggested Citation

  • Christopher Weyant & Serin Lee & Jeremy D. Goldhaber-Fiebert, 2026. "Reinforcement Learning-Based Control of Epidemics on Networks of Communities and Correctional Facilities," Medical Decision Making, , vol. 46(2), pages 216-225, February.
  • Handle: RePEc:sae:medema:v:46:y:2026:i:2:p:216-225
    DOI: 10.1177/0272989X251378472
    as

    Download full text from publisher

    File URL: https://journals.sagepub.com/doi/10.1177/0272989X251378472
    Download Restriction: no

    File URL: https://libkey.io/10.1177/0272989X251378472?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Wright, Marvin N. & Ziegler, Andreas, 2017. "ranger: A Fast Implementation of Random Forests for High Dimensional Data in C++ and R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 77(i01).
    2. Friedman, Jerome H. & Hastie, Trevor & Tibshirani, Rob, 2010. "Regularization Paths for Generalized Linear Models via Coordinate Descent," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i01).
    3. Carol Y. Lin, 2008. "Modeling Infectious Diseases in Humans and Animals by KEELING, M. J. and ROHANI, P," Biometrics, The International Biometric Society, vol. 64(3), pages 993-993, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Heinisch, Katja & Scaramella, Fabio & Schult, Christoph, 2025. "Assumption errors and forecast accuracy: A partial linear instrumental variable and double machine learning approach," IWH Discussion Papers 6/2025, Halle Institute for Economic Research (IWH).
    2. Bazyli Czyżewski & Jakub Staniszewski & Joanna Staniszewska & Marta Guth, 2025. "Does Increasing Agricultural Efficiency Contribute to Food Security—Trade‐Offs of Value Addition in Crop Production?," Sustainable Development, John Wiley & Sons, Ltd., vol. 33(S1), pages 939-970, November.
    3. Nance Nerissa & Mertens Andrew & Gerds Thomas Alexander & Wang Zeyi & Torp-Pedersen Christian & van der Laan Mark & Kvist Kajsa & Lange Theis & Zareini Bochra & Petersen Maya L., 2025. "Applying the Causal Roadmap to longitudinal national registry data in Denmark: A case study of second-line diabetes medication and dementia," Journal of Causal Inference, De Gruyter, vol. 13(1), pages 1-18.
    4. Van Belle, Jente & Guns, Tias & Verbeke, Wouter, 2021. "Using shared sell-through data to forecast wholesaler demand in multi-echelon supply chains," European Journal of Operational Research, Elsevier, vol. 288(2), pages 466-479.
    5. Philipp Bach & Victor Chernozhukov & Malte S. Kurz & Martin Spindler & Sven Klaassen, 2021. "DoubleML -- An Object-Oriented Implementation of Double Machine Learning in R," Papers 2103.09603, arXiv.org, revised Jun 2024.
    6. Michael Bucker & Gero Szepannek & Alicja Gosiewska & Przemyslaw Biecek, 2020. "Transparency, Auditability and eXplainability of Machine Learning Models in Credit Scoring," Papers 2009.13384, arXiv.org.
    7. Jian Lu & Raheel Ahmad & Thomas Nguyen & Jeffrey Cifello & Humza Hemani & Jiangyuan Li & Jinguo Chen & Siyi Li & Jing Wang & Achouak Achour & Joseph Chen & Meagan Colie & Ana Lustig & Christopher Dunn, 2022. "Heterogeneity and transcriptome changes of human CD8+ T cells across nine decades of life," Nature Communications, Nature, vol. 13(1), pages 1-13, December.
    8. Brandon Hayes & Timothée Vergne & Nicolas Rose & Cristian Mortasivu & Mathieu Andraud, 2026. "A multi-host mechanistic model of African swine fever emergence and control in Romania," Nature Communications, Nature, vol. 17(1), pages 1-10, December.
    9. Bennett, Donyetta & Mekelburg, Erik & Strauss, Jack & Williams, T.H., 2024. "Unlocking the black box of sentiment and cryptocurrency: What, which, why, when and how?," Global Finance Journal, Elsevier, vol. 60(C).
    10. Fogliato Riccardo & Oliveira Natalia L. & Yurko Ronald, 2021. "TRAP: a predictive framework for the Assessment of Performance in Trail Running," Journal of Quantitative Analysis in Sports, De Gruyter, vol. 17(2), pages 129-143, June.
    11. Vanessa Ress & Eva‐Maria Wild, 2024. "The impact of integrated care on health care utilization and costs in a socially deprived urban area in Germany: A difference‐in‐differences approach within an event‐study framework," Health Economics, John Wiley & Sons, Ltd., vol. 33(2), pages 229-247, February.
    12. Siri Frisli, 2025. "Semi-supervised self-training for COVID-19 misinformation detection: analyzing Twitter data and alternative news media on Norwegian Twitter," Journal of Computational Social Science, Springer, vol. 8(2), pages 1-34, May.
    13. Yadid M. Algavi & Elhanan Borenstein, 2023. "A data-driven approach for predicting the impact of drugs on the human microbiome," Nature Communications, Nature, vol. 14(1), pages 1-13, December.
    14. Robert Messerle & Jonas Schreyögg, 2026. "Data-driven identification of outpatient-suitable procedures: a machine learning approach," Health Care Management Science, Springer, vol. 29(2), pages 1-29, June.
    15. Helal, Al Mansor & Hiraki, Ryotaro & Patrinos, Harry Anthony, 2026. "Returns to Education in the United States: A Comparison of OLS and Double Machine Learning Methods," GLO Discussion Paper Series 1733, Global Labor Organization (GLO).
    16. Satre-Meloy, Aven & Diakonova, Marina & Grünewald, Philipp, 2020. "Cluster analysis and prediction of residential peak demand profiles using occupant activity data," Applied Energy, Elsevier, vol. 260(C).
    17. Andree,Bo Pieter Johannes & Chamorro Elizondo,Andres Fernando & Kraay,Aart C. & Spencer,Phoebe Girouard & Wang,Dieter, 2020. "Predicting Food Crises," Policy Research Working Paper Series 9412, The World Bank.
    18. Fitzpatrick, Trevor & Mues, Christophe, 2021. "How can lenders prosper? Comparing machine learning approaches to identify profitable peer-to-peer loan investments," European Journal of Operational Research, Elsevier, vol. 294(2), pages 711-722.
    19. Giorgos Foutzopoulos & Nikolaos Pandis & Michail Tsagris, 2024. "Predicting Full Retirement Attainment of NBA Players," Working Papers 2403, University of Crete, Department of Economics.
    20. Philip Buczak & Andreas Groll & Markus Pauly & Jakob Rehof & Daniel Horn, 2024. "Using sequential statistical tests for efficient hyperparameter tuning," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 108(2), pages 441-460, June.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:sae:medema:v:46:y:2026:i:2:p:216-225. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: SAGE Publications (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.