physics.soc-phAug 30, 2026

Integrating adaptive human behavior into epidemic models with large language models

Authors: Yicheng Mao, Haoyang Li, Rob Deardon, Hongru Du

Organizations: Department of Mathematics and Statistics, University of Calgary, University Drive NW, Calgary, T2N 1N4, Canada · Department of Systems & Information Engineering, University of Virginia, Charlottesville, VA, USA · Faculty of Veterinary Medicine, University of Calgary, University Drive NW, Calgary, T2N 1N4, Canada

Abstract

Infectious disease transmission is shaped by patterns of human interaction, which adapt as epidemic conditions change. Capturing these context-dependent behaviors remains a fundamental challenge for epidemic models. Here, we recast this challenge by using large language models (LLMs) to represent adaptive human behavior within mechanistic epidemic models. We operationalize this idea through Generative Adaptive Behavioral Layer for Epidemics (GABLE), which adapts LLMs to infer behavioral responses to epidemic and policy conditions and translates them into age-structured contact matrices coupled to a mechanistic epidemic model. Applied to COVID-19 in France, GABLE reproduced responses in population mixing and age-specific contact structures that remained epidemiologically informative. In short-term forecasting, LLM-generated contact matrices outperformed mobility-driven matrices derived from real-world mobility data, with the largest gains at longer horizons. GABLE also extends beyond forecasting to prospective policy evaluation by projecting behavioral and epidemic responses to candidate interventions before implementation. When supplied with subsequently implemented policies, GABLE reproduced epidemic trajectories and generated distinct responses to alternative policy timing and composition. By leveraging LLMs as a flexible behavioral layer, GABLE provides a framework for coupling context-sensitive behavioral generation with epidemic dynamics.

Figures & tables

Explore similar work

CardsList
  1. The Epi-LLM Framework: probing LLM behavioral priors through epidemiological agent-based models

    Jun 1, 2026Petra Ferencz, Ava Keeling, Tobias O'Keefe +4Human Behavior SimulationLLM Agent Evaluation

  2. Large language model-generated patterns for epidemiological modeling: a multi-benchmark evaluation framework

    Oct 11, 2026Sophia Mao, Keshav Gandhi, Alexander GutfraindHuman Behavior ModelingLLM Evaluation

  3. EpiWorld: Grounding LLM Policy Agents in Epidemiological World Models

    Oct 2, 2026Zeeshan Memon, Yiqi Su, Kai Shu +2Action-Conditioned World ModelsEpidemic Forecasting