NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

EpidemIQs: Prompt-to-Paper LLM Agents for Epidemic Modeling and Analysis

Mohammad Hossein Samaei, Faryad Darabi Sahneh, Lee W. Cohnstaedt, Caterina M. ScoglioarXiv 2025 · DOI

Introduction

Epidemiology is a complex, interdisciplinary field that requires expertise in stochastic processes, network science, and computational modeling. While Large Language Models (LLMs) like GPT-4 have shown promise in coding and reasoning, they often struggle with "long-horizon" scientific tasks due to context drift, hallucinations, and inefficient tool usage over multiple steps. To address these challenges, researchers have introduced EpidemIQs, a multi-agent LLM framework designed to autonomously manage the entire scientific pipeline—from literature review and mathematical derivation to stochastic simulation and manuscript preparation.

Methodology and System Architecture

The EpidemIQs framework is built upon a hierarchical multi-agent architecture organized into four functional layers: Orchestration, Backbone LLM, Perception, and Action. This structure allows the system to process multi-modal data and coordinate specialized agents to execute complex research workflows without human intervention.

The EpidemIQs framework architecture, illustrating the integration of multi-modal data, the multi-agent system, and the LLM backbone.

A critical component of this architecture is the division of labor between a high-level "Scientist" agent and various "Expert" agents. The Scientist agent, typically powered by a high-end model like GPT-4, handles planning and reflection. It delegates "atomic" tasks—such as fetching specific papers, writing Python scripts, or performing data analysis—to Expert agents powered by faster, more cost-effective models like GPT-4o Mini. This ensures the system maintains focus on the research objective while efficiently executing technical details.

The Research Workflow

The framework operates through a structured five-phase research cycle:

  1. Discovery: Agents utilize web search and academic databases (e.g., Semantic Scholar) to define the research scenario and identify necessary parameters.
  2. Modeling: Specialized agents design contact networks (such as scale-free or random graphs) and mechanistic models (e.g., SIR, SEIR).
  3. Simulation: The system invokes high-performance engines like FastGEMF to run stochastic experiments.
  4. Analysis: Data agents interpret simulation outputs, calculating key metrics such as peak infection size and outbreak probability.
  5. Report Writing: A dedicated "Reporter" agent synthesizes the findings into a professionally formatted LaTeX scientific paper.
Overview of the EpidemIQs workflow, detailing the specialized roles of 'Scientist' and 'Expert' agents in the research pipeline.

Central to this workflow is the ReAct-Reflect loop. If a simulation fails or data appears inconsistent, the Scientist agent reflects on the error and adjusts the plan before proceeding, ensuring a high degree of self-correction and reliability.

Key Results and Performance

EpidemIQs was evaluated across five complex epidemic scenarios and standard data science benchmarks (DSBench). The results demonstrate a significant leap in autonomous scientific capability:

  • Efficiency: The system can produce a complete, technically sound research paper in approximately 20 minutes (1,190 seconds) at a cost of just $1.57. In contrast, a human expert is estimated to require nearly 38.4 hours to complete the same task.
  • Success Rate: The framework achieved an average task success rate of 79% across complex scenarios, maintaining a 100% workflow completion rate due to its multi-agent design.
  • Quality: In blind reviews by Ph.D. students and faculty, AI-generated papers received an average score of 7.98/10, with reviewers praising their methodological soundness and clarity.
  • Ablation Insights: The inclusion of planning and reflection modules nearly doubled the agent's accuracy on advanced data science tasks, increasing performance from 29.76% to 51.71%.

Discussion and Limitations

While EpidemIQs represents a major advancement, several limitations remain. The agents occasionally suffer from citation hallucinations, generating plausible but non-existent references. Furthermore, the system's success is tied to its toolset; performance dropped when faced with temporal network queries that exceeded the capabilities of the provided simulation engine.

Ethically, the authors note the "dual-use" risk of such technology, as it could theoretically be used to optimize the spread of pathogens. Future work will focus on integrating more diverse modeling engines, improving original research ideation, and implementing robust biosecurity guardrails.

Summary updated

BibTeX
@misc{samaei2025epidemiqs,
  author = {Mohammad Hossein Samaei and Faryad Darabi Sahneh and Lee W. Cohnstaedt and Caterina M. Scoglio},
  title = {{EpidemIQs: Prompt-to-Paper LLM Agents for Epidemic Modeling and Analysis}},
  year = {2025},
  eprint = {2510.00024},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.00024},
}
Figure