betaFeedback

WorksComputer Science

EpiWorld: Grounding LLM Policy Agents in Epidemiological World Models

Abstract

Epidemic intervention policies are textual artefacts that human decision-makers interpret, justify, and revise through natural language, making large language models a natural candidate for epidemic policy reasoning. A naive LLM, however, lacks the epidemic dynamics needed to project intervention consequences, the quantitative surveillance signals required to assess severity, and the institutional constraints that define admissible actions. We present EpiWorld, a closed-loop framework that grounds an LLM policy actor in a learned action-conditioned epidemiological world model and a tiered skill library of public-health protocols, surveillance tools, and adaptive lessons accumulated through after-action analysis. Given a candidate intervention, the world model predicts regional epidemic evolution and enables fast counterfactual rollouts that provide feedback for policy selection and refinement. Outcomes of simulated futures are distilled into reusable lessons while protocol constraints remain fixed, allowing the decision process to improve without sacrificing interpretability or controllability. We evaluate both the world model and the end-to-end framework on retrospective COVID-19 and Influenza datasets: the world model achieves the best out-of-distribution Peak-MAE among all forecasting baselines, and the closed-loop framework reduces cumulative hospitalisation by up to 59% across datasets and by an average of ~16% across six LLM backbones, outperforming reinforcement-learning and optimal-control policy baselines.

Introduction

Many policy reasoning problems are language-mediated: the relevant knowledge, constraints, and decisions are expressed through natural-language artefacts such as statutes, regulations, advisories, and operational guidance. Epidemic response is one such setting. Public-health authorities communicate interventions through textual policies while simultaneously integrating surveillance observations, forecasting signals, and previously enacted decisions under uncertainty. Because policies influence future observations and must themselves be justified and communicated through language, epidemic response forms a natural testbed for studying whether large language models can act as policy reasoners when grounded in quantitative decision environments.

Epidemic response is fundamentally a problem of decision making over counterfactual futures. Public-health authorities must not only forecast outcomes under current policies, but also reason about what would happen under alternative interventions and which actions should be taken next to optimise public-health objectives such as hospital burden and mortality (Flaxman et al., 2020; Hale et al., 2021). During an evolving outbreak, these decisions are made repeatedly across interacting regions under delayed clinical observations (Gibson et al., 2023), shifting behavioural responses (Williams et al., 2023; Park et al., 2023), and policy-endogenous dynamics, where observed trajectories are themselves consequences of prior interventions (Memon et al., 2026). As a result, epidemic policy optimisation requires models that can evaluate alternative intervention trajectories rather than forecast a single future.

Existing computational tools only partially address this challenge. Statistical and neural epidemic forecasters can predict future hospitalisations, or deaths under observed covariates (Shi et al., 2022; Wan et al., 2025; Du et al., 2025), but they are not designed to answer counterfactual policy questions: they estimate what is likely to happen, not what would happen under alternative interventions. Causal-inference methods estimate retrospective intervention effects (Flaxman et al., 2020), yet struggle with co-occurring policies, delayed outcomes, and prospective multi-step decision making. Mechanistic simulators and reinforcement- @page 1/22 starts_mid=0 ends_mid=1

Introduction

Many policy reasoning problems are language-mediated: the relevant knowledge, constraints, and decisions are expressed through natural-language artefacts such as statutes, regulations, advisories, and operational guidance. Epidemic response is one such setting. Public-health authorities communicate interventions through textual policies while simultaneously integrating surveillance observations, forecasting signals, and previously enacted decisions under uncertainty. Because policies influence future observations and must themselves be justified and communicated through language, epidemic response forms a natural testbed for studying whether large language models can act as policy reasoners when grounded in quantitative decision environments.

Epidemic response is fundamentally a problem of decision making over counterfactual futures. Public-health authorities must not only forecast outcomes under current policies, but also reason about what would happen under alternative interventions and which actions should be taken next to optimise public-health objectives such as hospital burden and mortality (Flaxman et al., 2020; Hale et al., 2021). During an evolving outbreak, these decisions are made repeatedly across interacting regions under delayed clinical observations (Gibson et al., 2023), shifting behavioural responses (Williams et al., 2023; Park et al., 2023), and policy-endogenous dynamics, where observed trajectories are themselves consequences of prior interventions (Memon et al., 2026). As a result, epidemic policy optimisation requires models that can evaluate alternative intervention trajectories rather than forecast a single future.

Existing computational tools only partially address this challenge. Statistical and neural epidemic forecasters can predict future hospitalisations, or deaths under observed covariates (Shi et al., 2022; Wan et al., 2025; Du et al., 2025), but they are not designed to answer counterfactual policy questions: they estimate what is likely to happen, not what would happen under alternative interventions. Causal-inference methods estimate retrospective intervention effects (Flaxman et al., 2020), yet struggle with co-occurring policies, delayed outcomes, and prospective multi-step decision making. Mechanistic simulators and reinforcementlearning approaches support policy optimisation in principle [11, 6] (Williams et al. 2023; Song et al. 2020; Mai et al. 2023), but depend on predefined dynamics or simulation environments that are difficult to adapt, inspect, and revise. Conversely, large language models operate over textual protocols, advisories, and accumulated lessons, yet lack grounded epidemic dynamics for evaluating the downstream consequences of their recommendations.

The missing object is therefore a grounded language-mediated decision environment: one that allows an LLM policy actor to reason over textual guidance while testing proposed actions against learned policy-conditioned epidemic dynamics. In machine learning, this object is known as a world model (Hafner et al., 2021, 2023; Micheli et al., 2022; Hansen et al., 2022): a learned dynamics model that supports planning and policy learning through imagined rollouts (Hafner et al., 2019, 2020). World models have shown strong performance in games and robotics, where agents improve decisions by simulating future consequences before acting. Epidemic world modelling (Memon et al., 2026), however, is not a direct transplant of these settings: epidemic dynamics evolve across interacting regions, delayed clinical signals, and intervention-dependent behavioural responses that alter the observed trajectory itself (Flaxman et al., 2020; Kang et al., 2020). Moreover, epidemic interventions are textual and institutional objects rather than unconstrained actions—they must be justified, communicated, and constrained under public-health protocols (Hale et al., 2021).

We introduce EpiWorld, a closed-loop framework for epidemiological policy optimisation with LLM agents (Figure 1). EpiWorld couples an action-conditioned regional world model with a protocol-guided policy actor. As illustrated in Figure 1(a), the actor first constructs policy context through a tiered epidemiological skill library, consisting of protocol constraints, surveillance tools, and adaptive lessons accumulated from prior experience, mirroring the components of the standard public-health monitoring and evaluation cycle (World Health Organization, 2018). Conditioned on this context, the actor generates interventions and explicit reasoning traces over the current epidemic state (Figure 1(b)). Candidate policies are then evaluated through the regional world model, which predicts how epidemic trajectories evolve under interventions and enables fast counterfactual rollout across interacting regions (Figure 1(c)). Outcomes of simulated futures are retrospectively analysed to update the lesson library and improve future policy generation. Thus, the LLM is not an unconstrained recommender but a language-facing policy reasoner whose proposals remain protocol-constrained and grounded through counterfactual epidemic rollouts, and can assist public-health authorities as a decision-support layer whose recommendations remain subject to their expert approval. Our contributions are as follows:

EpiWorld framework showing policy context and skill retrieval, policy generation, and counterfactual evaluation and skill adaptation

Figure 1. EpiWorld framework. (a) The policy actor retrieves protocol constraints, surveillance skills, and adaptive lessons. (b) The actor generates interventions and reasoning traces. (c) Counterfactual rollouts evaluate candidate policies and produce updated lessons. Yellow highlights denote retrieved evidence and activated skills.

  • We formulate epidemic policy optimisation as

grounded, language-mediated, closed-loop decision making unifying forecasting, counterfactual reasoning, and prospective intervention optimisation within a single rollout-based framework.

  • We propose an epidemiological world model for regional epidemic dynamics that integrates delay-aware temporal encoding, graph-structured regional coupling, residual next-state prediction, and policy-conditioned latent modulation.

  • We introduce a protocol-guided LLM policy actor that operationalises public-health protocols, surveillance estimators, and after-action lessons as an interpretable and human-intervenable epidemic decision mechanism.

Together, these results suggest a new direction for epidemic AI systems: not merely predicting outbreaks, and not merely prompting LLMs to recommend interventions, but using LLMs as the connective layer between textual policy reasoning and epidemiologically grounded imagined futures.

Related Work

Forecasters and LLM proposers. Mechanistic Bayesian models dominate classical epidemic forecasting (Flaxman et al., 2020; Gibson et al., 2023; Qian et al., 2020), and neural extensions replace hand-coded compartments with latent ODEs and graph-CDE encoders (Shi et al., 2022; Wan et al., 2025). LLMs have since entered the loop as trend forecasters (Du et al., 2025; Yu et al., 2026), policy proposers inside mechanistic environments [5] (Mao et al. 2025; Shi et al. 2026), agentic simulator builders (Datta et al., 2026a), grounded narrative generators over scenario projections (Datta et al., 2026b), which communicate projections rather than optimise interventions, and generative behavioural agents (Williams et al., 2023; Hou et al., 2025; Park et al., 2023). These methods either fold interventions into covariate weightings or evaluate policies inside a fixed mechanistic simulator. We retain the LLM as the policy proposer and close the loop through a learned world model.

Policy optimisation and skill learning. Optimal control over compartmental or metapopulation dynamics yields analytic policies under assumed dynamics [4, 1, 7], and deep RL trains policies on simulated epidemic environments [6] (Song et al. 2020) but transfers poorly across disease or period. LLM-agent work reframes policy improvement as skill accumulation (Wang et al., 2023; Shinn et al., 2023; Xia et al., 2026) and prompt optimisation [3] (Khattab et al. 2023; Yang et al. 2023), with LLM-driven simulators closing the loop [11] (Xi et al. 2025). We instantiate this direction for epidemic intervention, accumulating epidemic-specific skills against a learned world model.

World models. World models learn latent dynamics that support policy learning through in-model rollouts (Hafner et al., 2019, 2020), refined via discrete representations, transformer backbones, and model-predictive integration (Hafner et al., 2021, 2023; Micheli et al., 2022; Hansen et al., 2022). This literature is almost exclusively developed in robotics and games, with recent extensions to structured scientific domains such as actionable molecular optimisation (Qiao et al., 2026). Memon et al. (2026) formalise the epidemic case as a controlled, partially-observed system with policy-endogenous observations. We instantiate that framing as an action-conditioned recurrent state-space world model and use it as the rollout substrate for our policy.

Method

Problem Formulation

We consider epidemic policy optimisation over a set of interacting regions. Let G=(V,E)\mathcal{G} = (\mathcal{V}, \mathcal{E}) denote a regional interaction graph, where each node i∈Vi \in\mathcal{V} represents a geographic unit and each edge (i,j)∈E(i,j) \in\mathcal{E} encodes epidemiologically relevant coupling, such as mobility, spatial adjacency, commuting flow, or correlated transmission pressure. Each region is associated with static attributes si\mathbf{s}_i describing demographic, socioeconomic, healthcare-capacity, and vulnerability indicators, and dynamic epidemic observations xit\mathbf{x}_i^t, including infections, hospitalisations, mortality, vaccination uptake, testing intensity, and disease severity signals. Aggregating across regions gives the global state Xt={xit}i∈V\mathbf{X}^t = \{\mathbf{x}_i^t\}_{i \in\mathcal{V}} and static context S={si}i∈V\mathbf{S} = \{\mathbf{s}_i\}_{i \in\mathcal{V}}.

At each decision step tt, a policy maker selects interventions at={ait}i∈V\mathbf{a}^t = \{\mathbf{a}_i^t\}_{i \in\mathcal{V}} with ait∈A\mathbf{a}_i^t \in\mathcal{A}, where A\mathcal{A} may include non-pharmaceutical interventions, vaccination allocation, school policies, testing strategies, mobility restrictions, or other public-health actions. The epidemic evolves according to unknown policy-conditioned dynamics:

Xt+1∼P(⋅∣Xt,S,at,G).(1)\mathbf{X}^{t+1} \sim P(\cdot\mid\mathbf{X}^t, \mathbf{S}, \mathbf{a}^t, \mathcal{G}). \tag*{(1)}

Given a policy objective gg, such as minimising cumulative hospitalisations, reducing peak healthcare burden, satisfying intervention budgets, or enforcing equity constraints, the goal is to find a goal-conditioned decision policy π(at∣Xt,S,G,g)\pi(a^t \mid X^t, S, \mathcal{G}, g) that maximises expected utility over horizon HH:

π⋆=arg max⁡π Eτ∼(π,P)[Jg(τ)],(2)\pi^\star= \underset{\pi}{\operatorname{arg\,max}}\ \mathbb{E}_{\tau\sim(\pi,P)}[J_g(\tau)], \tag*{(2)}

where τ=(X0,a0,X1,a1,…,XH)\tau= (X^0, a^0, X^1, a^1, \ldots, X^H) denotes the resulting trajectory. This formulation is intentionally method-agnostic and encompasses existing epidemic decision-making paradigms. Human public-health operators incorporate contextual knowledge and operational constraints, but decisions may be subjective and difficult to scale consistently. Mechanistic simulators and optimal-control approaches support rich counterfactual analysis but often depend on hand-designed assumptions and become computationally expensive for large-scale policy search. Reinforcement-learning approaches can optimise long-horizon interventions but typically require simulator access and may offer limited semantic feedback or controllability for domain experts. Surrogate forecasting models are computationally efficient but are primarily optimised for prediction rather than iterative policy evaluation. These limitations motivate the need for models that can combine expressive epidemic dynamics, efficient counterfactual evaluation, and scalable policy exploration.

EpiWorld Framework

EpiWorld addresses the epidemic policy optimisation problem in Eq. (2) through two coupled components: (i) an epidemiological world model that approximates the unknown policy-conditioned dynamics and enables counterfactual rollout, and (ii) a protocol-guided policy actor that generates interventions from predicted epidemic trajectories. Formally, EpiWorld introduces a world model that learns unknown epidemic dynamics

fθ:(Xt,S,at,G)→X^t+1,fθ≈P,(3)f_\theta: (X^t, S, a^t, \mathcal{G}) \to\hat{X}^{t+1}, \qquad f_\theta\approx P, \tag*{(3)}

which predicts policy-conditioned epidemic evolution and supports multi-step counterfactual rollout. Policy optimisation is then performed through interaction with the world model:

π⋆∈arg max⁡π Eτ^∼(π,fθ)[Jg(τ^)],(4)\pi^\star\in\underset{\pi}{\operatorname{arg\,max}}\ \mathbb{E}_{\hat{\tau} \sim(\pi,f_\theta)}[J_g(\hat{\tau})], \tag*{(4)}

where τ^=(X^1,a^1,…,X^H)\hat{\tau} = (\hat{X}^1, \hat{a}^1, \ldots, \hat{X}^H) denotes a simulated trajectory. The closed loop replaces the unknown PP in Eq. (2) with the learned fθf_\theta, enabling forecasting, counterfactual evaluation, and policy optimisation within a unified framework.

Graph-Structured Epidemiological World Model

Generic world models are typically designed for homogeneous sequential prediction and do not explicitly account for delayed disease progression, intervention feedback, or structured transmission across interacting regions. To address these limitations, we specialise the world-model paradigm for epidemic policy reasoning through three epidemiological inductive biases: delay-aware temporal encoding, policy-conditioned latent modulation, and graph-structured regional coupling. The world model introduced in Eq. (3) adopts an encoder–dynamics architecture trained through multi-objective supervision in both latent and observation spaces. Epidemic observables evolve asynchronously: infections precede reported cases, cases precede hospitalisations, and hospitalisations precede mortality signals. To capture both short-term recency and delayed cross-channel effects, we encode each regional trajectory through two complementary temporal branches. For node i∈Vi \in\mathcal{V} with xi=Xit−W:tx_i = X_i^{t-W:t}, where WW denotes the temporal observation window,

eir=GRU⁡θ(xi),eic=CDE⁡θ(DelayMix⁡θ(xi)),(5)e_i^r = \operatorname{GRU}_\theta(x_i), \qquad e_i^c = \operatorname{CDE}_\theta(\operatorname{DelayMix}_\theta(x_i)), \tag*{(5)}

where DelayMix is a causal cross-channel mixing module and CDE models continuous temporal evolution along the induced path. A learnable scalar gate γ\gamma balances the contribution of the two views, ei=[eir,σ(γ)eic]e_i = [e_i^r, \sigma(\gamma)e_i^c], with σ\sigma the logistic function. Actions modify how epidemic trajectories evolve rather than acting as ordinary covariates. The temporal representation is combined with static regional context and projected into a policy-conditioned latent representation zitz_i^t, which serves as the internal state for epidemic dynamics modelling. We condition regional latent states through feature-wise modulation,

zit=(1+βit)⊙Proj⁡θ([ϕs(si),ei])+αit,z_i^t = (1+\beta_i^t) \odot\operatorname{Proj}_\theta([\phi_s(s_i),e_i])+\alpha_i^t,
(αit,βit)=ψθ(ait).(6)(\alpha_i^t,\beta_i^t)=\psi_\theta(a_i^t). \tag*{(6)}

Here zit,αit,βit∈Rdzz_i^t,\alpha_i^t,\beta_i^t \in\mathbb{R}^{d_z}, and ψθ:A→R2dz\psi_\theta:\mathcal{A}\to\mathbb{R}^{2d_z} is a small MLP that maps the per-region action to FiLM-style scale and shift parameters. This conditioning allows interventions to reshape every latent channel rather than entering as additive inputs. Stacking over regions yields zt=(zit)i∈V\mathbf{z}^{t} = (z_i^t)_{i\in\mathcal{V}}, which initialises Z(0)\mathbf{Z}^{(0)}. Epidemic evolution exhibits strong inter-region dependency through mobility, adjacency, and correlated behavioural patterns. To model regional transmission while preventing information leakage across unrelated locations, we apply adjacency-masked graph attention:

Z(ℓ+1)=FFN⁡(Attn⁡(Z(ℓ);G)),\mathbf{Z}^{(\ell+1)} = \operatorname{FFN}\left(\operatorname{Attn}(\mathbf{Z}^{(\ell)};\mathcal{G})\right),
[Attn⁡(Z;G)]ij∝1[(i,j)∈E]exp⁡(qiTkjd).(7)[\operatorname{Attn}(\mathbf{Z};\mathcal{G})]_{ij} \propto\mathbb{1}[(i,j)\in\mathcal{E}]\exp\left(\frac{\mathbf{q}_i^{\mathsf{T}}\mathbf{k}_j}{\sqrt{d}}\right). \tag*{(7)}

After LL layers, the model predicts residual updates,

z^t+1=Z(L),X^t+1=Xt+Head⁡θ(z^t+1),(8)\hat{\mathbf{z}}^{t+1} = \mathbf{Z}^{(L)}, \qquad\hat{\mathbf{X}}^{t+1} = \mathbf{X}^{t} + \operatorname{Head}_{\theta}(\hat{\mathbf{z}}^{t+1}), \tag*{(8)}

which stabilises learning for evolving epidemic trajectories while preserving responsiveness to transmission shocks and interventions. The world model is trained through complementary supervision objectives. A latent transition objective aligns predicted latent dynamics with encoded future representations,

Llat=EDhist[∥z^t+1−Enc⁡θ(Xt+1−W:t+1,S,at)∥22],(9)\mathcal{L}_{\mathrm{lat}} = \mathbb{E}_{\mathcal{D}_{\mathrm{hist}}}\left[\left\|\hat{\mathbf{z}}^{t+1} - \operatorname{Enc}_{\theta}\left(\mathbf{X}^{t+1-W:t+1},\mathbf{S},\mathbf{a}^{t}\right)\right\|_2^2\right], \tag*{(9)}

Here Enc⁡θ\operatorname{Enc}_{\theta} denotes the same encoder used to construct the latent state zt\mathbf{z}^{t} in Eq. (6), applied to the next-step window to form the prediction target; inference uses the predictor alone. An observation objective additionally anchors predictions to measured epidemic outcomes,

Lobs=EDhist[Lrec(X^t+1,Xt+1)],(10)\mathcal{L}_{\mathrm{obs}} = \mathbb{E}_{\mathcal{D}_{\mathrm{hist}}}\left[\mathcal{L}_{\mathrm{rec}}\left(\hat{\mathbf{X}}^{t+1},\mathbf{X}^{t+1}\right)\right], \tag*{(10)}

where Lrec\mathcal{L}_{\mathrm{rec}} is a per-channel Huber loss for robustness to reporting noise and count outliers. The final objective is L=Llat+λLobs\mathcal{L} = \mathcal{L}_{\mathrm{lat}} + \lambda\mathcal{L}_{\mathrm{obs}}. Together, delay-aware temporal modelling, policy-conditioned latent modulation, and graph-constrained regional interaction transform generic world-model reasoning into an epidemic-specialised dynamics model for counterfactual policy optimisation.

Protocol-Guided LLM Policy Actor

Predicted trajectories alone are insufficient for policy making: decisions must remain protocol-compliant, draw on quantitative surveillance, and adapt to behavioural feedback from prior responses. EpiWorld therefore implements the policy π(⋅∣g)\pi(\cdot\mid g) as a protocol-guided LLM actor equipped with an explicit skill library. The actor produces interventions through a tiered skill hierarchy,

π(at∣Xt,S,G,g,T),T=T1∪T2∪T3,(11)\pi(\mathbf{a}^{t}\mid\mathbf{X}^{t},\mathbf{S},\mathcal{G},g,\mathcal{T}), \qquad\mathcal{T}=\mathcal{T}_{1}\cup\mathcal{T}_{2}\cup\mathcal{T}_{3}, \tag*{(11)}

where the three tiers correspond to Protocol Constraints, Surveillance Skills, and Adaptive Lessons. Each tier reflects a distinct mode of public-health knowledge, regulatory protocols, quantitative surveillance, and operational learning, grounded respectively in the International Health Regulations (World Health Organization, 2008), the Joint External Evaluation tool (World Health Organization, 2022), and WHO After-Action Review guidance (World Health Organization, 2019); our contribution exposes each layer as a skillset for agents.

Protocol Constraints (T1\mathcal{T}_{1}). Protocol Constraints are deterministic procedures codified by international and national public-health authorities: pandemic-interval classification, ACIP vaccine-allocation ordering, NPI proportionality validation, and IHR notification thresholds. Each skill κ∈T1\kappa\in\mathcal{T}_{1} returns a constraint predicate cκ(a,Xt,g)∈{0,1}c_{\kappa}(\mathbf{a},\mathbf{X}^{t},g)\in\{0,1\}. The resulting admissible action envelope is

Agt={a∈A∣cκ(a,Xt,g)=1, ∀κ∈T1},(12)\mathcal{A}_{g}^{t}=\{\mathbf{a}\in\mathcal{A}\mid c_{\kappa}(\mathbf{a},\mathbf{X}^{t},g)=1,\ \forall\kappa\in\mathcal{T}_{1}\}, \tag*{(12)}

which is computed once per decision step and remains fixed during policy generation.

Surveillance Skills (T2\mathcal{T}_{2}). Surveillance Skills are analytical tools epidemiologists use: RtR_t estimators (Cori et al., 2013) quantify transmission acceleration, severity ratios (CFR, IFR) project hospital load, the OxCGRT stringency index (Hale et al., 2021) aggregates NPI levels into a scalar, and the ATSDR Social Vulnerability Index flags vulnerable populations. Each skill κ∈T2\kappa\in\mathcal{T}_{2} contains parameters ϕκ∈Bκ\phi_{\kappa}\in B_{\kappa} and returns quantitative summaries

y^κ=κ(Xt,S,G;ϕκ),(13)\hat{y}_{\kappa}=\kappa(\mathbf{X}^{t},\mathbf{S},\mathcal{G};\phi_{\kappa}), \tag*{(13)}

which provide interpretable evidence for policy generation under the admissible action set Agt\mathcal{A}_{g}^{t}.

Adaptive Lessons (T3\mathcal{T}_{3}). Adaptive Lessons store reusable lessons accumulated from previous world-model rollouts. This mirrors the After-Action Review framework used by WHO and FEMA to convert past outbreaks into reusable operational knowledge (World Health Organization, 2019). Each lesson is represented as ℓ=(τℓ,ρℓ,δℓ)\ell=(\tau_{\ell},\rho_{\ell},\delta_{\ell}), where $\tau_{\ell} denotes behavioural and regional tags, ρℓ∈[0,1]\rho_\ell\in[0, 1] is a confidence score, and δℓ\delta_\ell is a parameter adjustment targeting Surveillance Skill parameters. At decision step tt, the actor extracts tags from the current context, τ(Xt,S)\tau(\mathbf{X}^t, S), retrieves the top-kk matching lessons Lt⊂T3L^t \subset\mathcal{T}_3, and refines surveillance parameters through,

ϕk′=clip⁡Bκ(ϕk+∑ℓ∈Ltρℓδℓ(κ)),(14)\phi'_k = \operatorname{clip}_{B_\kappa}\left(\phi_k + \sum_{\ell\in L^t} \rho_\ell\delta_\ell^{(\kappa)}\right), \tag*{(14)}

allowing lessons accumulated in one region to transfer to another with a similar behavioural signature within the same infection regime. Lessons are calibrated to the regime they are distilled from and are not transferable across arbitrary regimes or world models (§ 6.2). Adaptive Lessons can refine Surveillance Skill estimates but cannot expand the Protocol-Constraint admissible action envelope. At inference, the actor applies T1\mathcal{T}_1 to fix AgtA^t_g, retrieves and applies T3\mathcal{T}_3 lessons to refine T2\mathcal{T}_2 parameters, and conditions on the resulting T2\mathcal{T}_2 estimates to propose an action within AgtA^t_g. The examples of these skills are shown in Appendix § 14; constraint-satisfaction rates over real-US decisions are reported in § 6.2.

Closed-Loop Skill Adaptation

The protocol-guided actor improves through an after-action adaptation cycle that updates the Adaptive-Lesson bank from simulated epidemic rollouts, leaving Protocol Constraints and Surveillance Skill structures untouched and inference cost unchanged. After every KK closed-loop rollout episodes {τ^(k)}k=1K\{\hat{\tau}^{(k)}\}_{k=1}^{K} generated by the world model, a teacher module performs retrospective analysis over trajectory outcomes. The teacher focuses on policy-relevant events including missed objectives, delayed interventions, epidemic rebounds, capacity-limit violations, and instability in intervention timing. Each analysed episode is distilled into an Adaptive Lesson defined in § 4.4. The lesson bank is updated through additive insertion with supersession,

T3←(T3∖S(ℓ))∪{ℓ},(15)\mathcal{T}_3 \leftarrow(\mathcal{T}_3 \setminus\mathcal{S}(\ell)) \cup\{\ell\}, \tag*{(15)}

where S(ℓ)\mathcal{S}(\ell) denotes lessons retired due to contradiction, obsolescence, or lower confidence under newly observed evidence. Unlike parameter optimisation in conventional policy learning, this update preserves accumulated behavioural memory while allowing outdated guidance to be replaced. Each lesson is indexed by the tag set τ(Xt,S)\tau(\mathbf{X}^t, S) of the rollout from which it was distilled. The adaptation loop operates at a slower time scale than policy generation: the actor selects interventions at each rollout step, while lesson extraction and bank updates occur periodically every KK episodes. This separation keeps online policy inference unchanged while allowing the decision process to improve through accumulated epidemic experience. The selection criteria, confidence weighting, supersession rule and retrieval ranking are specified in Appendix § 21.

Experiments

Data

We evaluate EpiWorld on three datasets. Real US COVID-19: state-level weekly surveillance for 51 US states (Dec 2020 – Feb 2022) from HHS Protect (hospitalisations) and JHU CSSE (cases, deaths), spanning the Alpha, Delta, and Omicron waves; interventions follow the 13-dim OxCGRT NPI grid (Hale et al., 2021) (full grid in Appendix § 13). COVID-19 SEIR: mechanistic per-state SEIR(A) generator with policy-conditioned transmission and GeoDS mobility coupling (Kang et al., 2020); real US CUSP stay-at-home data calibrates simulator policy windows; the action space is a 5-tier intensity scalar over 50 US states and 183 days. Influenza SEIR: SEIR variant with seasonal forcing, waning immunity, and a vaccination compartment; per-state parameters are calibrated against CDC FluView weekly ILI [10] so trajectories match real US state seasonality; policy is a 2-dim action (advisory intensity, vaccination tier), distinct from COVID’s 13-dim grid, testing cross-pathogen generality.

Baselines and Evaluation

We compare against two families of baselines. World-model forecasting. Three architectural families of epidemic forecasters: Bayesian compartmental (Compartmental-GP (Qian et al., 2020), MechBayes (Gibson et al., 2023), and epidemia (Flaxman et al., 2020)), latent ODE (PAN-cODE (Shi et al., 2022)), and neural CDE (EARTH (Wan et al., 2025)). Each is evaluated in both a policy-blind variant (closest to the published model) and a policy-conditioned variant (+ Policy) that ingests per-week policy intensity through the same control interface as EpiWorld, ensuring like-for-like comparison. In Table 1, + Policy denotes the policy-conditioned variant in each family; epidemia’s Mode A fits per replicate while Mode B pre-fits a global policy effect on the training corpus. Per-baseline architectural details and adaptations to our corpora are in Appendix § 11.

MethodCOVID-19 SEIR In-Dist. Peak / MAECOVID-19 SEIR OOD Peak / MAEInfluenza SEIR In-Dist. Peak / MAEInfluenza SEIR OOD Peak / MAECOVID-19 Real US (Omicron) In-Dist. Peak / MAECOVID-19 Real US (Omicron) OOD Peak / MAE
Compartmental-GP0.062 / 0.0510.558 / 0.5330.354 / 0.3311.139 / 1.0840.332 / 0.1781.102 / 1.068
MechBayes (naive)0.730 / 0.7000.860 / 0.8314.630 / 4.5601.750 / 1.6812.550 / 2.4800.980 / 0.930
MechBayes + Policy0.470 / 0.4480.490 / 0.4612.970 / 2.9050.980 / 0.9291.700 / 1.6200.630 / 0.590
epidemia Mode A (naive)0.680 / 0.6480.750 / 0.7094.300 / 4.1851.500 / 1.4312.400 / 2.3100.910 / 0.860
epidemia Mode B (pretrained)0.210 / 0.1940.250 / 0.2280.770 / 0.7230.500 / 0.4600.430 / 0.3900.310 / 0.280
PAN-cODE†0.105 / 0.0840.462 / 0.5040.607 / 0.5480.956 / 1.0160.553 / 0.3660.912 / 0.903
PAN-cODE + Policy†0.105 / 0.0910.427 / 0.4480.602 / 0.5920.869 / 0.9010.531 / 0.3190.848 / 0.806
EARTH0.067 / 0.0650.226 / 0.2510.383 / 0.4230.466 / 0.5070.356 / 0.2390.468 / 0.271
EARTH + Policy0.069 / 0.0660.224 / 0.2240.397 / 0.4320.451 / 0.4520.361 / 0.2250.451 / 0.224
EpiWorld0.063 / 0.0610.210 / 0.2370.361 / 0.3980.435 / 0.4790.339 / 0.2110.414 / 0.237

Table 1. World-model forecast performance (12-week autoregressive rollout, log1p per-100k). Each cell reports Peak-MAE / MAE; lower is better in both. †PAN-cODE forecasts hospitalisations and deaths only.

Policy optimisation. Three intervention-planning families: PPO/actor-critic over the EpiPolicy simulator (EpiPolicy-RL (Mai et al., 2023)), grammar-guided genetic programming (ADIOS (Wolpers et al., 2026)), and DQN with prioritised replay on a contact-based SEIR (EpidRLearn [6]). All policy baselines are trained and rolled out against the same world model EpiWorld’s policy actor uses, on the same evaluation harness. Codebooks, reward functions, and training hyperparameters are in Appendix § 11.

Evaluation. Each dataset reports three observables per state per week (COVID: hospitalisations, cases, deaths per 100k; Influenza: weighted ILI, flu hospitalisations, flu mortality per 100k), with hospitalisations as the primary policy-relevant target. Forecast quality is reported as mean absolute error (MAE) and peak-MAE on the 12-week autoregressive rollout. Policy quality is measured by a goal-aligned trajectory score: cumulative hospitalisation reduction under the proposed policy relative to the reference historical policy. A policy-alignment diagnostic (activation- and exact-match rate of proposed actions against historical actions) is reported in Appendix § 19 as a plausibility check on the proposed action distribution rather than as a quality metric. Three OOD splits are evaluated (temporal, state-wise, intervention-OOD); see Appendix § 10 for the mechanism behind each.

Results

World Model Performance

Table 1 shows world-model performance. EpiWorld outperforms all baselines on OOD Peak-MAE across the three datasets, with gains of ∼6%\sim6\%, ∼4%\sim4\%, and ∼8%\sim8\% on COVID-19 SEIR, Influenza SEIR, and Real US (Omicron) respectively (versus the closest competitor, EARTH + Policy). The largest gain comes on the real-data Omicron setting, where unseen-variant dynamics expose the limits of baselines that rely on fixed mechanistic structure; the smallest comes on Influenza SEIR, where the simulator’s explicit seasonal forcing and the simpler 2-dim action space narrow the gap. The component ablation is repeated on influenza in Appendix § 18, where the same components remain load-bearing. The Bayesian compartmental family is hampered by rigid SEIR assumptions and improves only when policy is made explicit (MechBayes + Policy roughly halves OOD MAE), while the latent-ODE family lacks graph structure and trails uniformly. The neural-CDE EARTH is the closest competitor through graph coupling and reactive dynamics. EpiWorld outperforms both families by combining graph coupling with policy-conditioned latent modulation and delay-aware multi-channel decoding, giving stronger transfer to unseen dynamics. On COVID-19 SEIR state-OOD the Peak-MAE advantage over EARTH + Policy holds at paired Wilcoxon p=0.039p = 0.039 across 50 held-out replicates.

Case study: Ohio during the Delta wave

Figure 2. Case study: Ohio during the Delta wave. Highlighted text indicates retrieved key reasoning steps.

A five-member ensemble of independently seeded world models supplies a decision-time reliability signal: ensemble spread is strongly rank-correlated with realised forecast error (Spearman ρ=0.83\rho= 0.83, p≈0p \approx0), identifying unreliable forecasts before the error is observable. The ensemble is under-dispersed — nominal 95% intervals cover ∼68%\sim68\% of outcomes overall and 73% on the hospitalisation channel — so spread should be read as a relative reliability signal rather than a calibrated interval.

Policy Optimisation

Table 2 reports closed-loop policy performance. EpiWorld with full Skill Evolution outperforms the RL baselines on all three datasets, achieving a ∼58%\sim58\% further reduction in cumulative hospitalisation

MethodCOVID-19 Real US (Omicron) Hosp. Δ (8w) ↓COVID-19 SEIR Hosp. Δ (8w) ↓Influenza SEIR Hosp. Δ (8w) ↓
EpiPolicy-RL−22.2%−8.2%−12.4%
ADIOS (GGGP)−33.4%−12.5%−18.6%
EpidRLearn−37.5%−13.9%−20.9%
EpiWorld (Base LLM)−46.0%−17.1%−25.6%
EpiWorld (with Static Skills)−48.0%−17.8%−26.7%
EpiWorld (with Skill Evolution)−59.3%−22.0%−33.0%

Table 2. Policy optimisation performance over 8-week rollouts, reported as cumulative hospitalisation reduction against the reference historical policy (lower is better). For scale, the reference historical policy yields 406 cumulative hospitalisations per 100k over the 8-week horizon against 1,544 under no intervention. Policy-alignment diagnostics are reported separately in Appendix § 19.

hospitalisation relative to the strongest baseline EpidRLearn (−59.3% vs. −37.5% on COVID-19 Real US). The Base LLM already improves on every RL baseline before any after-action signal, indicating that protocol-conditioned proposals alone carry part of the gain. Static skills add modest gains (∼1\sim1–2 points); the Skill Evolution cycle contributes the largest single component (4–11 points), peaking on the real-data Omicron setting. The same pattern holds in the mean per-100k hospitalisation metric and on the different flu NPI grid (Appendix § 18).

Scoring every policy inside the world model it was optimised against could reward exploiting the idiosyncrasies of fθf_\theta rather than genuine policy quality. We therefore re-executed all six methods in the mechanistic SEIR simulator that generated the corpus, which reproduces the released trajectories at maximum absolute error 0. Table 3 reports both evaluations. The ordering is preserved exactly

MethodIn-modelIndep. simRatio
EpiPolicy-RL−8.2−8.040.98
ADIOS (GGGP)−12.5−12.130.97
EpidRLearn−13.9−14.731.06
EpiWorld (Base LLM)−17.1−18.301.07
EpiWorld (Static Skills)−17.8−19.581.10
EpiWorld (Skill Evol.)−22.0−25.521.16

Table 3. Independent-simulator validation, COVID-19 SEIR state-OOD. Cumulative hospitalisation reduction (%) against the reference historical policy, scored inside the learned world model fθf_\theta and re-executed in the mechanistic simulator that generated the corpus. Ratio is off-model over in-model. Real US is observational data and admits no ground-truth generator.

ModelBase LLMw/ Static Skillsw/ Skill EvolutionΔ%
Proprietary
GPT-4o0.13340.13710.0936−29.8%
GPT-5-mini0.12520.14680.1172−6.4%
GPT-50.14130.14680.1395−1.3%
Open-weights
Qwen2.5-7B0.08840.08750.0692−21.6%
DeepSeek-R10.13320.13700.1174−11.9%
Llama-3.3-70B0.12430.12470.0924−25.7%

caption: Cross-backbone ablation on COVID-19 SEIR (state-OOD). Cumulative hospitalisation per 100k under the proposed policy over the 8-week post-intervention horizon (lower is better). Δ% is the relative reduction of the full Skill Evolution configuration over Base LLM.

:::

across all six methods, each landing within ×0.97\times0.97–1.161.16 of its in-model value, so world-model fidelity does not alter the relative ranking. The margin over the strongest baseline, EpidRLearn, is larger on independent ground truth (+73%) than in-model (+58%), and the ratio rises monotonically with configuration quality: fθf_\theta understates rather than inflates the advantage of the closed-loop policy.

Because Tier-1 constraints bound the action set the actor reasons over, their effect is measurable in the proposals themselves. Across 2,640 real-US decisions the envelope admits at most hand hygiene in 42% of decisions, mild measures in 21% and a closure in 37%, and never a full stay-at-home order. 59% of proposed actions fall within it; of the 41% that do not, 39 points are the actor holding masking and testing in place while a wave declines and the envelope has narrowed, at almost no burden. The remaining 2 points are the only unsafe departures and are the decisions surfaced for human approval.

Table 4 isolates where the gain comes from. The full skill cycle reduces hospitalisation across all six backbones (average ∼16%\sim16\%), while static skills alone leave Base-LLM performance roughly unchanged: lessons are the load-bearing component. GPT-4o achieves the largest reduction at −30%; the much smaller Qwen2.5-7B still reaches −22%, indicating that the gain is not limited by model scale only.

Replacing the actor with a fixed severity-proportional rule that selects from the same skill library recovers only 59% of the Base LLM’s reduction at matched intervention intensity (Appendix § 20): the gain comes from timing and targeting rather than from stronger measures.

Adaptive Lessons generalise across states within an infection regime, but are calibrated to the regime they are distilled from. Mined on {California, New York} and applied to disjoint held-out OOD states on the independent simulator, they reduce cumulative hospitalisation by a further 9.0% over the Base LLM (12/12 seeds), and by 4.3% over the tools-only configuration (11/12). Across regimes the sign reverses: a bank distilled under Omicron, where the marginal return on additional stringency is small, shrinks the expected effect size (δ=−0.234\delta= -0.234); applied to a first wave in a fully susceptible population (R0≈1.7R_0 \approx1.7–2.92.9) that shrinkage under-responds and degrades outcomes by 12.1% (Appendix § 18). We therefore mine a separate lesson bank per infection setting; lessons are not universally transferable across arbitrary world models. The same regime-dependence appears within a single setting: on states whose baseline error is already low (FL, NJ, CA) the multiplicative correction over-applies and per-state MAE regresses (Appendix § 18), so the correction is most useful where there is substantial error to remove. The world-model design ablation is reported in Appendix § 18.

Case Study: Ohio, Delta Wave

We analyse one held-out decision point to show how retrieved skills inform policy. Under Ohio’s historical interventions, the world model reproduces the observed trajectory (MAE = 1.56 per 100k). When the agent intervenes at t+6t+6, the trajectory bends downward, reducing peak hospital burden by 1.68 per 100k (≈ 6% at horizon). The proposed policy is not generated from hindsight labels: the agent converges on layered mitigation (masking, testing, tracing, targeted protection, and risk communication) while avoiding broad closures. This broadly aligns with retrospective Delta-wave analyses ([9] (Haug et al. 2020; Sachs et al. 2022; Talic et al. 2021)), and the retrieved lesson L-002 prioritises layered low-burden NPIs over stringency escalation, consistent with public-health reviews reporting diminishing returns from blanket closures ([8]).

Conclusion

We presented EpiWorld, a closed-loop framework that grounds LLM policy agents in a learned epidemiological world model and protocol-guided skills to generate interpretable policies through counterfactual evaluation. Across all epidemic settings, EpiWorld improved out-of-distribution forecasting and closed-loop policy outcomes, suggesting that LLMs can serve as useful public-health decision-support tools under human oversight.

Limitations

EpiWorld is intended to assist public-health decision-makers with learned policy proposals and counterfactual rollouts, not to automate them; final decisions and accountability remain with human operators. The evaluations reported here follow the standard world-model protocol of forecast accuracy on out-of-distribution states and counterfactual policy rollouts in the learned dynamics. Re-executing every policy in an independent mechanistic simulator preserves the relative ranking (§ 6.2), so the comparison does not depend on the fidelity of fθf_\theta alone; both evaluations remain simulator-grounded and retrospective rather than prospective, and cannot substitute for evaluation in a live deployment. In a real setting the system would face behavioural fatigue, surveillance heterogeneity, and the political and economic constraints that fall outside the present goal space and the world model’s training support, and counterfactuals over action combinations absent from historical data rely on extrapolation. Adaptive Lessons are calibrated to the infection regime they are distilled from and do not transfer across regimes, so a bank must be mined for each setting. The five-member ensemble reported in § 6.1 ranks forecast reliability well but is under-dispersed, so its intervals should not be read as calibrated. Operational use would require dedicated validation studies, equity audits, and continuous human oversight.

Acknowledgments

This work was supported in part by the National Science Foundation (NSF) under Grant Nos. 2432418, 2414115, 2403312, 2318831, and 2521631; the National Institutes of Health (NIH) under Grant Nos. R01AG089806 and R01CA297856; and a Sony Research Award. The content is solely the responsibility of the authors and does not necessarily represent the official views of the NSF, NIH, or other funding organizations.

This work is supported in part by US National Science Foundation grants IIS-2312794 and DBI-2412389. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the sponsor(s).

Datasets and Splits

Real US COVID-19. State-level weekly surveillance for 51 US states (50 + DC) over Dec 2020 – Feb 2022, with interventions from the 13-dimensional OxCGRT NPI grid (Hale et al., 2021). Hospitalisations come from HHS Protect, cases and deaths from JHU CSSE, mobility from GeoDS (Kang et al., 2020), and static demographics inherited from PandemicLLM (Du et al., 2025), which assembles them from the American Community Survey (U.S. Census Bureau), the Commonwealth Fund state health-system scorecard, and 2020 FEC election returns, together with the ATSDR/CDC Social Vulnerability Index [2]. The world model is trained on Dec 2020 – Sep 2021 (Alpha and Delta waves) and evaluated on the held-out Jan 2022 Omicron wave plus eight subsequent weeks, giving a temporal-OOD setting.

COVID-19 SEIR (corpus scenarios_v2). A per-state SEIR(A) generator with GeoDS mobility coupling, run under policy windows derived from real US CUSP stay-at-home data. The action grid is a five-tier intensity scalar {0,0.25,0.5,0.75,1.0}\{0, 0.25, 0.5, 0.75, 1.0\}. Training comprises 30 scenarios ×\times 5 replicates (150 trajectories) over 40 train states; the in-distribution test set is 10 scenarios ×\times 5 replicates on the same train states; the state-OOD test set is 10 scenarios ×\times 5 replicates on 10 held-out states (DE, KS, MI, MN, MS, NV, NJ, NC, SC, WA). Each replicate spans 183 days.

Influenza SEIR (corpus flu_scenarios_v1). A per-state SEIRV generator with seasonal β(t)\beta(t) forcing, waning immunity (R→SR \to S, V→SV \to S), and a vaccination compartment. Per-state (β0\beta_0, αseason\alpha_{\mathrm{season}}, wILI scale) are calibrated against CDC FluView weekly ILI for the 2017–18 season [10]; FluView and Flu-VaxView data parameterise the simulator and do not enter evaluation directly. The action grid is two-dimensional (advisory intensity, vaccination tier). Training and state-OOD test splits mirror COVID-19 SEIR (30 training scenarios, 10 OOD scenarios, 5 replicates each, 10 held-out states). Each replicate spans 240 days.

OOD splits. Temporal OOD (Real US COVID-19): training and test windows occupy different epidemic waves – training uses Dec 2020 – Sep 2021 (Alpha + Delta), while the test window is the Jan 2022 Omicron wave plus eight subsequent weeks; the Omicron-era dynamics (immune escape, faster generation interval, milder severity) are absent from training. State-wise OOD (COVID-19 SEIR and Influenza SEIR): a disjoint set of 10 states is held out from training entirely; evaluation runs only on the held-out states under the same disease and policy distributions as training. Intervention-OOD (Influenza SEIR): test trajectories are generated under policy configurations outside the training distribution, with three sub-splits covering unseen advisory intensities (advisory OOD), unseen vaccination caps (vaccination OOD), and both combined (combined OOD).

Legacy two-panel description. For reference, Table 5 contrasts the COVID-19 surveillance panel with an Influenza-like Illness (ILI) dataset preserved from an earlier two-panel framing. The ILI data was used only as an observation-model sanity check and does not enter any reported result.

Targets. Each dataset reports three observables per state per week, all log⁡(1+x)\log(1+x)-transformed (metrics reported in the same space). COVID-19: hospitalisations, cases, and deaths per 100k. Influenza: weighted ILI %, lab-confirmed flu hospitalisations per 100k, and flu mortality per 100k. Hospitalisations per 100k is the primary policy-relevant target optimised by the closed-loop split. Closed-loop policy rollouts run for 8 weeks per state.

Preprocessing. Counts are converted to per-100k rates using ACS state populations; negative weekly deltas are clipped to zero; targets and mobility flows are log⁡(1+x)\log(1+x)-transformed; static indicators are zz-scored on the train split. Missing weeks (median 0.4% on COVID-19; 1.7% on Influenza) are linearly interpolated within state with a missingness-indicator channel. Daily GeoDS flows are aggregated to weekly OD counts and row-normalised per origin to give the mobility matrix G\mathcal{G}.

Baselines: Adaptations and Hyperparameters

World-Model Forecasting Baselines

Compartmental-GP (Qian et al., 2020). NumPyro re-implementation of the published methodology. The published model is a hierarchical two-layer Gaussian process with a compartmental SEIR prior mean function, conditioned on per-country policy indicators. With our 3-week warmup, the full hierarchical GP is over-parameterised, so we approximate its temporal smoothness with an AR(1) random walk on log RtR_t with mean reversion. Two variants: cgp_naive (AR(1) only, no policy term) and cgp_policy (AR(1) + global linear policy effect, log⁡Rt=AR(1)+β⋅intensityt\log R_t = \mathrm{AR}(1) + \beta\cdot\mathrm{intensity}_t).

MechBayes (Gibson et al., 2023). NumPyro re-implementation of the published Bayesian SEIR model. mechbayes_naive: log-β\beta follows a per-state Gaussian random walk during

COVID-19Influenza-like Illness (ILI)
Used forforecast + policyobservation model only
Period (ISO weeks)2020-W01 to 2022-W522012-W30 to 2013-W40 (PAHO), 2010-W40 to 2015-W20 (CDC)
Panels / records51 states × 156 weeks (7,956)15 country panels × ∼130 weeks each
Cases / hosp / deathsJHU CSSE / HHS Protect / JHU CSSEILINet wILI / n/a / n/a
Action grid13-dim OxCGRT (Hale et al., 2021)none
Special structureper-week point estimatesper-week revision history (initial → final)
Mobility, staticsGeoDS (Kang et al., 2020), ACS, SVI (U.S. Census Bureau; Agency for Toxic Substances and Disease Registry, 2022)Chakraborty et al. [10] (PAHO, CDC); no static covariates

caption: Legacy two-panel dataset description preserved for reference. The ILI panel does not enter any reported result.

:::

warmup, frozen post-warmup (closest to the published non-parametric-β\beta formulation, policy-blind).

mechbayes_policy: βt=β0(1−0.7⋅intensityt)\beta_t = \beta_0(1 - 0.7 \cdot\mathrm{intensity}_t), matching the simulator’s β\beta-policy mechanism.

epidemia (Flaxman et al., 2020). NumPyro re-implementation of the published semi-mechanistic Bayesian renewal model. epidemia_modeA: per-replicate fit. α\alpha (intercept) and β\beta (policy slope) sampled with priors and inferred from the 3-week warmup of each test replicate. epidemia_modeB: hierarchical transfer. αstate\alpha_{\mathrm{state}} and βglobal\beta_{\mathrm{global}} pre-fit on the training corpus via least-squares regression of weekly empirical log-growth on policy intensity; at test time only initial conditions and observation rates are sampled per replicate.

PAN-CODE (Shi et al., 2022). Latent ODE family: GRU-ODE encoder → reparametrisation → Neural ODE → autoregressive decoder. Per-week policy intensity aliased into PAN-CODE’s stringency-index slot. Two variants: uncond (encoder/ODE/decoder all policy-blind) and + Policy (per-week intensity concatenated to encoder input, latent z0z_0, and decoder input at every step). Hyperparameters: latent_dim=32, n_units=50, n_layer=3, lr=1e-3, batch 128, ELBO with 3 MC samples, 80 epochs.

EARTH (Wan et al., 2025). Neural CDE over interpolated regional observations with multi-view spatial coupling. The published model uses a static geographic adjacency and a DTW-derived semantic adjacency to inject inter-region transmission pressure into the CDE vector field. Lookback shortened from the published 8 weeks to our 3 weeks for compatibility with the EpiWorld harness. The policy-conditioned variant adds a 1-D policy encoder (inspired by EpiWorld’s PolicyEncoder) whose output modulates the CDE vector field at each integration step.

Policy-Optimisation Baselines

EpiPolicy-RL (Mai et al., 2023). The published method uses PPO and SAC over the EpiPolicy compartmental simulator with a multi-objective reward combining health and intervention cost. We re-implement the PPO actor against the EpiWorld world model (the same dynamics our policy actor sees), using a Categorical actor with a 5-tier intensity codebook for COVID-19 SEIR, the 13-dim OxCGRT action for Real US COVID-19, and the 2-dim (advisory, vaccination tier) action for Influenza SEIR.

ADIOS (Wolpers et al., 2026). Grammar-guided genetic programming for intervention discovery. The published method evolves interventions as parse trees over a context-free grammar and evaluates them inside the GEMS agent-based simulator. We swap the simulator for the EpiWorld world model and adapt the grammar to each dataset’s action space (13-D OxCGRT, 5-tier intensity scalar, or 2-tier advisory × vaccination). The fitness function combines goal achievement with a stringency penalty. Population 50, 50 generations, tournament selection, 10% mutation rate.

EpidRLearn [6]. PPO (on-policy actor–critic) over a contact-based, age-structured C-SEIR simulator in the original paper, with a one-hidden-layer MLP (128 units, tanh, separate policy and value heads) and discount γ=0.99\gamma=0.99. We re-implement the PPO actor against the EpiWorld world model for apples-to-apples fairness, keeping the same policy/value architecture and discount, and use the 5-tier intensity codebook and reward function shared with EpiPolicy-RL. Training protocol (all policy baselines). 200K environment steps against the world-model rollout harness, Adam at 10−310^{-3}, discount γ=0.95\gamma= 0.95. Final policies are evaluated on the held-out splits described in § 5.1 and Appendix § 10.

Feature Specification

Static covariates. 17 per-state indicators (si∈R17\mathbf{s}_i \in\mathbb{R}^{17}), identical across all datasets and z-scored on the train split (Table 6).

FeatureDescription / source
PopulationACS
under_20age-bracket fraction
over_65age-bracket fraction
Whiterace/ethnicity fraction
Blackrace/ethnicity fraction
medicaid_coveragefraction
medicare_coveragefraction
uninsured_percentACS
healthcare_utilizationcomposite index
poor_health_statusfraction
adults_at_high_riskfraction
poverty_rateACS
social_vulnerability_indexCDC/ATSDR SVI
healthcare_access_qualitycomposite index
older_at_high_riskfraction
dem_percentpolitical lean
rep_percentpolitical lean

Table 6. Static per-state covariates (si∈R17\mathbf{s}_i \in\mathbb{R}^{17}).

Dynamic covariates. 14 weekly channels per dataset (Xit−T:t∈R14×T\mathbf{X}_{i}^{t-T:t} \in\mathbb{R}^{14 \times T}), log⁡(1+x)\log(1+x)-transformed for the counts and clipped at zero (Table 7). Real US panels use observed channels only; synthetic datasets additionally expose the SEIR(V)-style latent compartments emitted by the simulator.

FeatureTypeCOVIDFlu
cases_reportedper 100k✓✓
hosp_reportedper 100k✓✓
death_reportedper 100k✓
incidenceper 100k✓✓
RtR_tCori estimator✓✓
policyintensity scalar✓✓
vax_curvecumulative cov.✓
previous_infection_12wderived✓✓
Dose1_Pop_Pctfraction✓
Series_Complete_Pop_Pctfraction✓
Latent {S,E,I,A,R}\{S, E, I, A, R\}simulator-only, +5 ch.✓✓

Table 7. Dynamic per-state covariates per dataset (Xit−T:t∈R14×T\mathbf{X}_{i}^{t-T:t} \in\mathbb{R}^{14 \times T}). Each dataset sums to 14 channels: 9 observed + 5 latent.

Action-Space Specification

The three datasets use different action interfaces, matched to what each world model is conditioned on (Table 8). Real US COVID-19 uses the published 13-D OxCGRT (Hale et al., 2021) indicator panel for compatibility with historical NPI records. COVID-19 SEIR collapses this to a 5-tier intensity scalar, aligning the agent’s decision with the 1-channel stringency the simulator reacts to. Influenza SEIR splits a 2-D continuous interface (advisory ×\times vaccination cap) into four tiers per channel. The OxCGRT panel groups into four envelopes used by the Protocol-Constraint check (§ 4.4): personal protective: H1; community measures: C3M, C4M, H2, H3, H6M; closures and movement: C1M, C2M, C6M, C7M, C8NV, C8V; vulnerable populations: H8M.

DatasetDimensionLevelsDescription
Real US COVID-19: 13-D OxCGRT indicator panel, ordinal NPI levels (increasing stringency)
C1M_School closing{0, 1, 2, 3}open / recommend / require some / require all
C2M_Workplace closing{0, 1, 2, 3}open / recommend / require some / require all
C3M_Cancel public events{0, 1, 2}none / recommend / require
C4M_Restrictions on gatherings{0, 1, 2, 3, 4}no limit →≤10\to\le10 persons
C6M_Stay at home requirements{0, 1, 2, 3}none →\to minimal-exception lockdown
C7M_Restrictions on internal movt.{0, 1, 2}none / recommend / restrict
C8NV_Intl. travel (non-visitors){0, 1, 2, 3, 4}open →\to total border closure
C8V_Intl. travel (visitors){0, 1, 2, 3, 4}open →\to total border closure
H1_Public information campaigns{0, 1, 2}none / coordinated public info
H2_Testing policy{0, 1, 2, 3}none →\to open-public testing
H3_Contact tracing{0, 1, 2}none / limited / comprehensive
H6M_Facial Coverings{0, 1, 2, 3, 4}none →\to required in all public spaces
H8M_Protection of elderly people{0, 1, 2, 3}none →\to extensive support and isolation
COVID-19 SEIR: 5-tier intensity scalar (aligned with WM’s 1-channel stringency input)
intensity_tier5 tiersNO_MEASURES →\to LIGHT →\to MODERATE →\to STRICT →\to FULL_LOCKDOWN
Influenza SEIR: 2-D advisory + vaccination, four tiers per channel
advisory_intensity4 tiersNONE (0.05), LIGHT (0.15), MODERATE (0.30), STRICT (0.50)
vax_coverage_cap4 tiersLOW (0.20), MID (0.35), HIGH (0.45), AGGRESSIVE (0.55)

Table 8. Action-space specification across the three datasets. The agent selects a named tier; the world model receives the corresponding scalar intensity. COVID-19 SEIR tiers map uniformly to {0.00, 0.25, 0.50, 0.75, 1.00}; Influenza SEIR intensities are listed in-line.

Skill Catalogue

Each tier’s skills are listed in Table 9–Table 11. Tier ordering mirrors the Method section (§ 4.4). The lesson schema, tag vocabulary, and a sample of the current lesson bank appear in Appendix § 16.

SkillFunctionAnchoring authority
tier1_classify_pandemic_intervalClassifies the six WHO pandemic intervals (Investigation, Recognition, Initiation, Acceleration, Deceleration, Preparation) from (RtR_t, RtR_t CI, case trend, ICU, cluster detected); returns max_npi_tier_permitted, which gates downstream NPI choice.WHO pandemic-interval framework
tier1_vaccine_allocationEnforces the priority ordering 1A →\to 1B →\to 1C →\to 2 →\to 3; flags equity_score < 0.8 for human review; prohibits price-, insurance-, or market-based allocation.ACIP (US) / WHO SAGE
tier1_check_npi_proportionalityValidates a proposed NPI bundle against the admissible tier envelope; requires legal authority for lockdown and movement restrictions; enforces a 14-day step-down minimum at Rt<0.9R_t < 0.9.ECDC proportionality test
tier1_who_outbreak_investigationEnforces the WHO nine-step outbreak investigation ordering; blocks quantitative analysis before step 3 and control measures before step 6; mandates IHR notification at ≥5\ge5 confirmed cases.WHO IHR (World Health Organization, 2008)

Table 9. Protocol Constraints (T1\mathcal{T}_1). Deterministic predicates returning {0, 1} admissibility; computed once per decision step.

SkillSignatureDescription
tier3_retrieve_lessons(τ,k)(\tau, k)Returns the top-kk lessons ranked by tag overlap with the current context tags τ\tau, weighted by lesson confidence ρℓ\rho_\ell.
tier3_apply_lesson(ℓ,ϕ)(\ell, \phi)Merges the parameter delta δℓ\delta_\ell into base parameters ϕ\phi, clamping to per-skill bounds BκB_\kappa; only keys in the refinable-parameter set are modulated.

Table 11. Adaptive Lessons (T3\mathcal{T}_3). Retrieve-and-apply operators over the lesson bank; structure is fixed, content evolves through after-action analysis.

Key Agent Prompts

Lesson Schema, Tag Vocabulary, and Examples

Schema. An Adaptive Lesson is a record with the following fields:

  • id: unique identifier (e.g., L-001).

  • applicable_tags: list of behavioural tags drawn from the vocabulary below.

  • target_skill: identifier of the Protocol-Constraint or Surveillance Skill whose refinable parameter is adjusted.

  • parameter_delta: dict of additive parameter shifts (clamped to per-skill bounds).

  • regime: the policy setting under which the cohort was observed.

  • confidence ∈ [0, 1]: aggregated evidence strength across source states, computed as in Appendix § 21.

  • sign_agreement: fraction of supporting observations agreeing in sign with the cohort median.

  • source_states: states contributing observations (≥2\geq2 required).

  • n_observations: number of contributing rollout observations.

  • pattern_observed: free-text description of the divergence prompting the lesson.

  • recommendation: free-text statement of the action-level implication, used only for human inspection.

  • retires, superseded_by: supersession metadata used to invalidate prior lessons whose sign conflicts with a newer one.

Tag vocabulary. Tag sets T(Xt,S)\mathcal{T}(X^t, S) are drawn from the following namespaces:

Example lessons. Two regime-conditioned lessons from the current bank (one COVID, one influenza), each combining a cohort tag set with the active policy regime to produce an action-level recommendation:

Experimental Details

World-model instantiation. The world model in § 4.3 is realised as a dual-encoder Graph Transformer. The recency branch is a GRU over a 3-week window; the delayed-effect branch is a Neural-CDE over the same 3-week window with a causal cross-channel mixer (DELAYMIX). A learnable scalar gate balances the two branches and their outputs are concatenated. Policy actions enter through feature-wise (FiLM-style) modulation of the latent state. Spatial coupling is a 4-layer adjacency-masked Graph Transformer. A residual head predicts the additive update to each observed channel (cases, hospitalisations, deaths per 100k for COVID-19; cases and hospitalisations per 100k for influenza). Training combines the latent-prediction and observation-reconstruction losses defined in Equations (9)–(10).

SkillMethod (source)Refinable parameters
tier2_estimate_rtBayesian renewal-equation estimator for RtR_t (Cori et al., 2013).serial-interval mean (4.7 d), s.d. (2.9 d), window τ\tau (1 w)
tier2_verity_expected_mortalityAge-stratified IFR with case-ascertainment correction.ascertainment ratio (0.3)
tier2_compute_stringency_indexNine-indicator OxCGRT normalisation to [0, 100] (Hale et al., 2021).—
tier2_lookup_sviATSDR Social Vulnerability Index →\to quartile and equity directives ([2]).—
tier2_compute_growth_rateLog-linear OLS for exponential growth rate rr, doubling/halving time, and fit R2R^2.stable band (±\pm5%/week)
tier2_r_from_growth_rateWallinga–Lipsitch closed-form RR from growth rate rr and generation interval.—
tier2_classify_psaf_tierCDC Pandemic Severity Assessment Framework →\to severity tier 1–5.hospitalisation severity thresholds, RtR_t transmissibility bands

Table 10. Surveillance Skills (T2\mathcal{T}_2). Analytical estimators returning quantitative summaries; refinable parameters may be adjusted by Adaptive Lessons within per-skill bounds.

World-model training. We train with AdamW (learning rate 3×10−43 \times10^{-4}, weight decay 10−310^{-3}, 10% linear warmup, gradient clipping at 1.0), batch size 16, and 5 000 steps. Targets are log⁡(1+x)\log(1+x)-transformed and standardised on the train split. Each model is trained on a single NVIDIA A100 (Perlmutter). The best checkpoint by in-distribution validation loss is used for all downstream evaluations.

Policy actor. The actor calls a chat-completion API for each backbone in Table 4 (GPT-4o, GPT-5-mini, GPT-5, Qwen2.5-7B-Instruct, DeepSeek-R1, Llama-3.3-70B-Instruct) at temperature 0.2. Outputs are parsed from structured JSON with a regex fallback to the MODERATE tier on parse failure. The action grid is chosen per dataset as specified in Table 8. Adaptive-Lesson retrieval injects the top-5 lessons by tag overlap (§ 4.4).

Closed-loop adaptation. Closed-loop rollouts run for an 8-week horizon. Skill adaptation runs after each rollout batch: the analyser proposes lessons from the batch, and the bank is updated through additive insertion with opposite-sign suppression (Equation (15)). Protocol Constraints and Surveillance Skill structures are not modified during adaptation.

Evaluation. World-model accuracy is reported as Peak-MAE (absolute error at the hospitalisation peak per state, per 100k) and mean trajectory MAE on the OOD splits in § 5.1. Policy performance is reported as cumulative hospitalisation per 100k over an 8-week post-intervention horizon, averaged over the held-out states. All policy methods

Protocol-Constraints system prompt (excerpt)

Role. You are an epidemiology policy agent operating under the Protocol Constraints derived from WHO, CDC, and ECDC codified guidelines. Protocol-Constraint outputs are non-overridable and anchor every downstream decision.

Ordering rules (no exceptions).

  1. tier1_classify_pandemic_interval MUST be the first tool called in every session, before any other tool, and re-invoked whenever the epidemic state changes. Subsequent reasoning is gated by its outputs (current_interval, max_npi_tier_permitted, Rt_status).

  1. tier1_who_outbreak_investigation steps 1–3 must complete before any quantitative analysis.

Adaptive-Lessons after-action analyser prompt (excerpt)

Role. You are the Adaptive-Lessons analyser for an epidemiology policy agent. Read a batch of rollout summaries plus the current lessons bank, and propose new or refined lessons describing cross-state behavioural patterns. Each lesson encodes a parameter_delta the agent will apply to a specific Protocol-Constraint or Surveillance-Skill refinable parameter.

Hard rules.

  1. Additive memory. You do not overwrite the bank. Same-sign refinements update an existing lesson in place; opposite-sign refinements require retires: [L-XXX] referencing the old lesson id, with a justification in pattern_observed.

Reflection / prompt-evolution operator (excerpt)

Role. You are a prompt engineer optimising a system prompt for an epidemic policy advisor. The advisor recommends a 13-dimensional NPI policy per region per week. The recommendations are evaluated by a world model that predicts hospitalisation trends. The goal is to minimise hospitalisations per 100k.

Task.

  1. Diagnose specific weaknesses in the current system prompt that may have led to suboptimal recommendations.

  1. Propose an improved system prompt addressing those weaknesses, under 250 words.

TagValues
compliance:low, mid, high
rebound:fast, slow, none
capacity:low, mid, high
vax-uptake:slow, mid, fast
vax-ceiling:low, mid, high
mandate-latency:slow, mid, fast
svi:low, moderate_low, moderate_high, high
spread:hub, rural, border, mixed
political:dem, rep, mixed
psaf:tier1, tier2, tier3, tier4, tier5

Table Tag namespaces.

are evaluated against the same world model and the same initial conditions to isolate the effect of the actor.

Additional Experiments

Hospitalisation reduction (mean per-100k). Figure 3 reports the § 6.2 ablation in the mean per-100k hospitalisation metric. Static skills shift mean hospitalisation by at most 2% on any dataset, while

Figure 3. Hospitalisation reduction (mean per-100k) across three datasets and three skill configurations.

the after-action Skill Evolution cycle drives mean reduction to between 21% and 31%. The pattern is preserved on Influenza SEIR despite its different NPI grid (CDC PMGR rather than OxCGRT), indicating the gain is structural to the closed-loop skill cycle.

World-Model Design Ablation. Table 12 reports a per-component ablation of the EpiWorld world-model architecture on COVID-19 SEIR (PeakExample lessons (L-A: COVID, L-B: influenza)

VariantIn-Dist. Peak-MAEOOD Peak-MAE
EpiWorld (full)0.3390.414
− dual encoder (CDE-only)0.3850.433
− dual encoder (GRU-only, 8w)0.4190.540
− long lookback (GRU 3w)0.5870.720
− DelayMixer (1-D causal mixer)0.3990.426
− multi-stream SIR-coupled head0.5540.734
− policy conditioning0.4210.585
− residual head (absolute)diverges (≥8)

Table 12. World-model component ablation on COVID-19 SEIR (Peak-MAE, log1p per-100k; lower better). Each row removes one component from the full model.

{
  "id": "L-A",                                      // COVID-19 SEIR
  "applicable_tags":
      ["access:high", "lean:dem", "pop:large", "svi:high"],
  "regime": "stringency = MODERATE",
  "target_skill": "tier2_classify_psaf_tier",
  "confidence": 0.46,
  "source_states": ["California", "New York"],
  "n_observations": 21,
  "sign_agreement": 0.86,
  "pattern_observed":
      "SVI:high dense urban cohorts respond to MODERATE
       stringency as a lower-SVI cohort would respond to
       LIGHT -- transmission keeps growing.",
  "recommendation":
      "Same lever, one tier up: stringency MODERATE -> STRICT."
}

{
  "id": "L-B",                                      // Influenza SEIR
  "applicable_tags":
      ["access:high", "lean:dem", "pop:large", "svi:low"],
  "regime": "advisory = ADV_MODERATE,  vax = VAX_HIGH",
  "target_skill": "tier2_classify_psaf_tier",
  "confidence": 0.46,
  "source_states": ["Illinois", "Pennsylvania"],
  "n_observations": 11,
  "sign_agreement": 1.00,
  "pattern_observed":
      "Vaccination is already saturated (VAX_HIGH) but a
       moderate advisory still lets transmission climb --
       the vaccination lever cannot substitute for contact
       reduction at this density.",
  "recommendation":
      "Different lever: hold vax = VAX_HIGH, escalate
       advisory ADV_MODERATE -> ADV_STRICT."
}

MAE, log1p per-100k). Dropping any single component degrades both in-distribution and OOD Peak-MAE; the residual prediction head is load-bearing, and replacing it with absolute next-state prediction diverges. The largest single contributor to OOD generalisation is the multi-stream SIR-coupled head; the dual encoder (GRU + Neural-CDE) and the long lookback contribute next.

Influenza Component Ablation. To test whether the architectural choices are specific to COVID-19, we repeat the component ablation on the influenza corpus (two seeds per configuration, influenza state-OOD). The dual temporal encoder is load-bearing on influenza exactly as on COVID-19: removing the Neural-CDE branch raises overall MAE from 0.487 to 0.604. The DelayMixer gives the best influenza Peak-MAE (0.441 against 0.463 without it). The design is therefore not COVID-specific. Scored head-to-head under an identical protocol,

EpiWorld is lower than EARTH + Policy on influenza overall rollout MAE (0.541 against 0.581) and on the hospitalisation channel (0.491 against 0.525), with peak error competitive. At the policy level, the independent-simulator provenance gate passes (maximum absolute error 3.4×10−53.4 \times10^{-5}) and Skill Evolution beats the Base LLM off-model on the final-week metric (−10.6%-10.6\%). The cumulative influenza margin is smaller than on COVID-19, consistent with the simpler 2-dimensional action space leaving less room for timing and targeting to matter.

Cross-Domain Negative Lesson Transfer. Lessons mined under one world model do not necessarily port to a different world model. We take the lesson bank lessons_top20.json mined under the real-US MECHANISMGRAPHWMREAL world model and apply it to the synthetic SCENARIOGRAPHWMV15_DUAL on five held-out OOD states. Pooled across states and replicates, the transferred lessons degrade performance by +12.1%+12.1\% (Table 13).

Held-out stateBase+ Real-US lessonsΔ\Delta
KS12.5112.64+1.0%
MN6.876.78−1.4%
NV57.7474.79+29.5%
SC11.1210.29−7.5%
WA88.2493.28+5.7%
Pooled35.3039.56+12.1%

Table 13. Cross-domain lesson transfer is negative. Lessons mined under the real-US world model are applied to the synthetic SEIR world model on five held-out OOD states. Mean hospitalisation per 100k; lower better.

The mechanism is bias-direction-specific. The real-US WM over-predicts Omicron hospitalisations, so L-002’s shrinkage (δ=−0.234\delta= -0.234) corrects the bias and helps. The synthetic v15_dual WM under-predicts on state-OOD, so the same shrinkage amplifies the under-prediction. Tier-3 lessons are therefore not universally portable: they must be mined under the target world model’s own training distribution.

Per-State Breakdown

Table 14 reports per-state hospitalisation MAE for the 20 OOD-evaluated US states on the real-data Omicron split, complementary to the aggregate hospitalisation metric in Table 2. States are listed in decreasing order of baseline MAE; bold marks the configuration with the lowest MAE per state.

StateA (Base)D (+ Skills)F (+ Skill Evo.)
Arizona23.3425.0314.24
Indiana20.0118.8410.86
Wisconsin19.1617.0610.44
Pennsylvania15.4915.629.27
Tennessee15.2416.1810.03
Michigan14.0714.636.28
Ohio13.2513.148.66
Massachusetts12.6612.329.19
Missouri11.7511.778.67
Georgia11.2710.489.03
Texas11.1311.438.92
North Carolina9.699.647.89
New York8.949.356.53
Maryland7.657.354.86
Virginia7.438.275.50
Florida7.086.389.32
New Jersey6.436.218.18
California5.704.428.44
Illinois5.455.207.41
Washington3.243.274.27

Table 14. Per-state hospitalisation MAE (per 100k) on the real-US Omicron OOD split. Skill Evolution improves 15 of 20 states and gives its largest reductions on high-baseline-MAE Midwest states (AZ, IN, WI). On the five lowest-baseline-MAE states (FL, NJ, CA, IL, WA) the multiplicative correction over-applies and MAE regresses; this regime-dependence is discussed in Appendix § 18.

Policy-Alignment Diagnostics

Policy alignment measures how far proposed interventions stay within the distribution of actions taken in practice: the activation rate is the fraction of decisions on which the proposed and historical action agree on which measures are switched on, and the exact-match rate the fraction on which they agree on the full action bundle. The score is a plausibility diagnostic, not a measure of policy quality: the goal of the framework is to improve on the reference historical policy, so agreement with it is neither necessary nor sufficient for a good outcome. Table 15 reports both rates for the methods in Table 2.

MethodReal US Act./Ex.COVID Act./Ex.Flu Act./Ex.
EpiPolicy-RL43.1/22.392.3/10.438.1/17.2
ADIOS (GGGP)31.2/33.490.1/15.527.6/25.8
EpidRLearn31.9/33.790.4/15.828.2/26.0
EpiWorld (Base LLM)66.1/50.397.2/23.358.5/38.8
EpiWorld (Static Skills)69.2/53.897.7/25.061.2/41.5
EpiWorld (Skill Evol.)74.7/57.398.9/26.766.1/44.2

Table 15. Policy-alignment diagnostics (activation / exact-match rate, %) for the methods in Table 2. Reported as a plausibility check on the proposed action distribution, not as a quality metric.

On COVID-19 SEIR every method scores between 90.1% and 98.9% activation while cumulative hospitalisation reduction ranges from 8.2% to 22.0%, so alignment does not discriminate between policies whose outcomes differ by a factor of 2.7, and exact-match never exceeds 60% in any cell.

No-LLM Rule-Based Selector

To separate the contribution of LLM reasoning from that of the engineered skill library, we replace the policy actor with a fixed severity-proportional rule that selects from the same library: the Tier-2 RtR_t and severity estimators set the intervention level, and the Tier-1 constraints cap it exactly as they do for the LLM actor. No language model is involved at any point in the decision.

SelectorCumulative reductionMean intensity
Rule-based (no LLM)−21.4%0.485
Base LLM−36.5%≈ 0.50
+ Skill Evolution−39.3%≈ 0.50

Table 16. No-LLM ablation, COVID-19 SEIR state-OOD, evaluated on the independent mechanistic simulator. All three selectors are scored on an identical set of rollouts, so the values are directly comparable within this table; they are computed on a matched subset and are not on the same scale as Table 3.

Removing the LLM roughly halves the reduction while the mean intervention intensity is essentially unchanged (0.485 against ≈ 0.50), so the LLM does not obtain its advantage by proposing more stringent measures. What it contributes is when and where a comparable intervention budget is spent. The Base LLM alone, without lessons or the after-action cycle, accounts for most of the gap; Skill Evolution adds a further 2.8 points.

Teacher Module and Lesson Retrieval

This section specifies the after-action analyser of §3.5 and the retrieval operator of Eq. (14). The analyser learns which intervention levels produce which outcomes for which kinds of state, and stores that as adjustments to Tier-2 Surveillance-Skill parameters; Tier-1 Protocol Constraints are never modified.

Selection. Each closed-loop episode records how a state’s hospitalisation outcome responded to the stringency the actor applied. Episodes are pooled into cohorts keyed by the state’s profile (population, social vulnerability, political lean, healthcare access), the target skill, and the policy regime. A cohort yields a lesson only if it draws on at least two distinct states, which prevents single-state idiosyncrasies from entering the bank.

Confidence weighting. Each cohort emits a delta δℓ\delta_\ell on one refinable Tier-2 parameter, capturing how that cohort’s response differs from the skill’s default. Its confidence is

ρℓ=(1−11+n/5)⋅aℓ⋅(1−11+nstates),(16)\rho_\ell= \left(1 - \frac{1}{1+n/5}\right) \cdot a_\ell\cdot\left(1 - \frac{1}{1+n_{\mathrm{states}}}\right), \tag*{(16)}

where nn is the number of supporting observations, aℓa_\ell the fraction of those observations agreeing in sign with the cohort median, and nstatesn_{\mathrm{states}} the number of contributing states. All three factors lie in [0,1][0,1], so ρℓ∈[0,1]\rho_\ell\in[0,1].

Merge rule. When a new observation batch refines an existing lesson, confidence is blended by evidence weight,

ρ←ρoldnold+ρnewnnewnold+nnew,(17)\rho\leftarrow\frac{\rho_{\mathrm{old}}n_{\mathrm{old}}+\rho_{\mathrm{new}}n_{\mathrm{new}}}{n_{\mathrm{old}}+n_{\mathrm{new}}}, \tag*{(17)}

so ρℓ\rho_\ell is a running evidence-weighted mean rather than a value overwritten by the most recent episode.

Contradictions. Same-sign refinements merge in place via Eq. (17). An opposite-sign refinement is rejected unless it explicitly retires the prior lesson, which is then marked superseded and retained rather than deleted. The bank therefore cannot oscillate between opposite corrections, and the superseded record preserves the audit trail.

Retrieval ranking. At each decision the actor extracts the state’s context tags and ranks candidate lessons by noverlap×ρℓn_{\mathrm{overlap}} \times\rho_{\ell}, with tags unweighted. The deltas of the top five lessons with at least two overlapping tags are added to the Tier-2 parameters and clipped to [−0.8,0.8][-0.8, 0.8].

Convergence. Every factor in Eq. (16) is bounded and saturating in its argument, and Eq. (17) is a convex combination, so ρℓ\rho_{\ell} converges as observations accumulate rather than drifting with episode order. Combined with the ≥2\ge2-state selection rule and the supersession policy, the bank is stable under continued adaptation.

References

  1. [1]Daron Acemoglu, Victor Chernozhukov, Iván Werning, and Michael D Whinston. 2021. Optimal targeted lockdowns in a multigroup sir model. American Economic Review: Insights, 3(4):487–502.DOI
  2. [2]Agency for Toxic Substances and Disease Registry. 2022. CDC/ATSDR Social Vulnerability Index 2020 Database, U.S. https://www.atsdr.cdc.gov/place-health/php/svi/svi-data-documentation-download.html. Accessed 2026-08-30.
  3. [3]Lakshya A Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong, Arnav Singhvi, Herumb Shandilya, Michael J Ryan, Meng Jiang, and 1 others. 2025. Gepa: Reflective prompt evolution can outperform reinforcement learning. arXiv preprint arXiv:2507.19457.arxiv.org/abs/2507.19457
  4. [4]Fernando Alvarez, David Argente, and Francesco Lippi. 2021. A simple planning problem for covid-19 lockdown, testing, and tracing. American Economic Review: Insights, 3(3):367–382.
  5. [5]Goshi Aoki and Navid Ghaffarzadegan. 2026. Ai agents as policymakers in simulated epidemics. arXiv preprint arXiv:2601.04245.arxiv.org/abs/2601.04245
  6. [6]Maria Bampa, Tobias Fasth, Sindri Magnusson, and Panagiotis Papapetrou. 2022. Epidrlearn: Learning intervention strategies for epidemics with reinforcement learning. In International Conference on Artificial Intelligence in Medicine (AIME), pages 189–199. Springer.DOI
  7. [7]Dimitris Bertsimas, Vassilis Digalakis Jr, Alexander Jacquillat, Michael Lingzhi Li, and Alessandro Previero. 2022. Where to locate covid-19 mass vaccination facilities? Naval Research Logistics (NRL), 69(2):179–200.DOI
  8. [8]Christian Bjørnskov. 2021. Did lockdown work? An economist’s cross-country comparison. CESifo Economic Studies, 67(3):318–331.
  9. [9]Jan M Brauner, Søren Mindermann, Mrinank Sharma, David Johnston, John Salvatier, Tomáš Gavenčiak, Anna B Stephenson, Gavin Leech, George Altman, Vladimir Mikulik, and 1 others. 2021. Inferring the effectiveness of government interventions against COVID-19. Science, 371(6531):eabd9338.DOI
  10. [10]Prithwish Chakraborty, Bryan Lewis, Stephen Eubank, John S Brownstein, Madhav Marathe, and Naren Ramakrishnan. 2018. What to know before forecasting the flu. PLoS Computational Biology, 14(10):e1005964.DOI
  11. [11]Ayush Chopra, Shashank Kumar, Nurullah Giray-Kuru, Ramesh Raskar, and Arnau Quera-Bofarull. 2024. On the limits of agency in agent-based models. arXiv preprint arXiv:2409.10568.arxiv.org/abs/2409.10568

Paper details

vlnc:W_4s7ykysv
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 5

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents