LLM-powered reasoning in agent-based modeling
Summary
The Hybrid Agent-based and Language-driven Epidemic (HALE) modeling framework introduces a novel approach to enhance agent-based modeling (ABM) by integrating Large Language Models (LLMs) to predict dynamic human decision-making in real-time scenarios. Traditionally, ABMs rely on static data, failing to adapt to evolving conditions like epidemics. HALE addresses this by coupling ABM for disease dynamics with LLMs for weekly updates to agent mobility patterns, enabling near real-time forecasting. As a proof-of-concept, HALE simulated COVID-19 in Salt Lake County, UT, from September 2020 to February 2022, involving 1.1 million agents. The framework, utilizing Llama 3.1 with a temperature of 0.2, better captured the observed epidemic peak and size, with total infections 2.21 times higher than symptomatic observations, aligning with estimates of asymptomatic cases. In contrast, ABM-only simulations tended to overestimate the epidemic's effects.
Key takeaway
For public health analysts and epidemiological modelers developing population-scale digital twins, the HALE framework offers a critical advancement. By integrating LLMs to dynamically model human behavior, your simulations can achieve greater accuracy in forecasting epidemic peaks and sizes, especially when traditional ABMs rely on static data. This improved fidelity in predicting real-world responses to outbreaks can inform more effective policy decisions and resource allocation, moving beyond retrospective analysis to near real-time adaptability.
Key insights
LLMs dynamically update human behavior in agent-based epidemic models, improving real-time forecasting accuracy.
Principles
- Hybrid ABM-LLM models enhance real-time epidemic forecasting.
- LLMs infer group-level behavioral changes based on context.
- Spatial and demographic grouping enables scalable LLM integration.
Method
The HALE framework couples ABM for disease dynamics with LLMs for weekly updates to agent mobility patterns, using structured outputs and batch processing for efficiency.
In practice
- Group agents by geography and demographics for LLM inference.
- Use a balanced LLM temperature (e.g., 0.2) for behavioral prediction.
- Integrate LLMs as GPU-backed inference servers with ABM clients.
Topics
- Large Language Models
- Agent-Based Modeling
- Epidemic Modeling
- COVID-19
- Human Behavior Prediction
- Spatiotemporal Networks
Best for: AI Scientist, Machine Learning Engineer, Research Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.MA updates on arXiv.org.