Skip to main content
QUICK REVIEW

[Paper Review] Agentic Framework for Epidemiological Modeling

Rituparna Datta, Zihan Guan|arXiv (Cornell University)|Jan 30, 2026
COVID-19 epidemiological studiesMathematics0 citations
TL;DR

EpiAgent automatically constructs, verifies, and calibrates epidemiological simulators from natural-language scenario descriptions using a flow-graph intermediate representation and multi-agent V&V, enabling accurate and interpretable counterfactual projections.

ABSTRACT

Epidemic modeling is essential for public health planning, yet traditional approaches rely on fixed model classes that require manual redesign as pathogens, policies, and scenario assumptions evolve. We introduce EPIAGENT, an agentic framework that automatically synthesizes, calibrates, verifies, and refines epidemiological simulators by modeling disease progression as an iterative program synthesis problem. A central design choice is an explicit epidemiological flow graph intermediate representation that links scenario specifications to model structure and enables strong, modular correctness checks before code is generated. Verified flow graphs are then compiled into mechanistic models supporting interpretable parameter learning under physical and epidemiological constraints. Evaluation on epidemiological scenario case studies demonstrates that EPIAGENT captures complex growth dynamics and produces epidemiologically consistent counterfactual projections across varying vaccination and immune escape assumptions. Our results show that the agentic feedback loop prevents degeneration and significantly accelerates convergence toward valid models by mimicking professional expert workflows.

Motivation & Objective

  • Motivate the need for scalable, adaptable epidemic modeling as pathogens, policies, and scenarios evolve.
  • Introduce an agentic pipeline that synthesizes, verifies, and calibrates epidemiological simulators from scenario descriptions.
  • Propose a flow-graph intermediate representation to ensure structural correctness and scenario fidelity before code generation.
  • Demonstrate multi-agent verification and validation to enforce epidemiological validity and interpretability.
  • Evaluate EpiAgent on real COVID-19 scenario data showing improved convergence and counterfactual reliability.

Proposed method

  • Retrieve-augmented synthesis to generate epidemiological flow graphs from scenario descriptions (RAG with FAISS and sentence-transformer embeddings).
  • Iterative graph verification enforcing valid compartments and transitions, plus scenario-consistency checks.
  • LLM-based planner instantiates executable simulator code from a verified flow graph using a fixed skeleton and constraint-guided prompts.
  • Gradient-based calibration of simulator parameters to observational data with a loss combining level fit and change (MSE on levels and first differences).
  • Multi-agent verification and validation modules enforce epidemiological non-negativity, mass conservation, monotonicity, and scenario plausibility, with actionable feedback loops.
Figure 1 : Data flow in EpiAgent has the following structure: Prompt $\;\leftrightarrow\;$ Flow Graph $\;\rightarrow\;$ Simulator Code $\;\rightarrow\;$ Results . The flow graph is an abstract representation of the epidemic model being learned, and supports easier verification. The flow graph is the
Figure 1 : Data flow in EpiAgent has the following structure: Prompt $\;\leftrightarrow\;$ Flow Graph $\;\rightarrow\;$ Simulator Code $\;\rightarrow\;$ Results . The flow graph is an abstract representation of the epidemic model being learned, and supports easier verification. The flow graph is the

Experimental results

Research questions

  • RQ1Can EpiAgent calibrate epidemic dynamics to observed data across diverse scenarios?
  • RQ2Does graph verification prevent structurally invalid models from propagating to simulators?
  • RQ3Do code-level verifications prevent degenerate, low-loss but epidemiologically invalid solutions?
  • RQ4Can scenario-conditioned models produce coherent and interpretable counterfactual projections?
  • RQ5Does agentic feedback accelerate convergence and improve model expressiveness compared to unguided generation?

Key findings

  • EpiAgent achieves accurate fits across scenarios, with time-variant parameters improving short-term forecasts.
  • Flow-graph verification prevents epidemiologically invalid structures from propagating to the simulator (87% invalid projections without verification).
  • Removing external knowledge or the flow-graph intermediate representation increases error and structural issues, underscoring the importance of the architecture.
  • Counterfactual analyses show coherent shifts in infections and deaths with changes in vaccination and immune escape assumptions.
  • Agentic feedback cycles accelerate convergence and refine model expressiveness, resembling expert modeling workflows.
  • The framework can instantiate standard behavioral epidemiological models (DDB) and produce calibrated, uncertainty-aware projections.
Figure 2 : Agentic pipeline for epidemic scenario modeling and ensemble simulation. Natural-language scenarios are augmented with domain knowledge (§ 4.1 ), to produce prompts that guide flow-graph synthesis (§ 4.2 ). Generated graphs are iteratively verified to enforce valid compartmental structure
Figure 2 : Agentic pipeline for epidemic scenario modeling and ensemble simulation. Natural-language scenarios are augmented with domain knowledge (§ 4.1 ), to produce prompts that guide flow-graph synthesis (§ 4.2 ). Generated graphs are iteratively verified to enforce valid compartmental structure

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.