PhysicsAgentABM: Physics-Guided Generative Agent-Based Modeling

Kavana Venkatesh, Yinhan He, Jundong Li, Jiaming CuiarXiv 2026

TL;DR

PhysicsAgentABM is a hierarchical neuro-symbolic framework that scales large language model (LLM)-based agent simulations by shifting inference from individual agents to behaviorally coherent clusters. By combining symbolic LLM reasoning with multimodal neural networks via uncertainty-aware fusion, it achieves state-of-the-art accuracy and calibration across epidemiology, finance, and social science simulations while slashing LLM costs by up to 6–8×.

What Problem Does This Paper Address?

Agent-Based Models (ABMs) are powerful tools for simulating complex systems like disease outbreaks, financial markets, or social trends. However, traditional ABMs rely on rigid, hand-crafted rules that struggle to adapt to non-stationary environments or rich, individual-level signals.

Recently, Generative ABMs (GABMs) have integrated LLMs to give agents human-like reasoning and memory capabilities. But this comes with a massive catch: running LLM inference for thousands of individual agents at every single timestep is computationally prohibitive and financially ruinous. Furthermore, individual LLM agents often exhibit poor calibration and erratic stochastic behavior, making it difficult to model time-aligned population dynamics accurately. The authors set out to bridge this gap—creating a simulation framework that is highly expressive, properly calibrated, and computationally scalable.

Methods

PhysicsAgentABM re-architects generative ABMs by decoupling population-level inference from individual agent realization through a hierarchical architecture:

  1. ANCHOR Clustering: Instead of simulating every agent independently, the framework groups agents into behaviorally coherent clusters. ANCHOR combines structural graph embeddings (via GraphSAGE) with "behavioral motifs" discovered through short diagnostic mini-simulations. An LLM agent then uses a novel contrastive loss to refine these clusters based on how agents actually make decisions across different contexts.
  2. Dual-Pathway Inference: For each cluster, the model runs two parallel pathways to estimate transition hazards:
  3. Symbolic Pathway: A team of state-specialized LLM agents coordinated by a meta-agent reasons about macro rules, policies, and context to output symbolic hazards and epistemic uncertainty.
  4. Neural Pathway: A multimodal neural network (MLP + BiLSTM + Graph encoder) processes historical, tabular, and network data to predict data-driven transition regularities.
  5. Epistemic Fusion: The outputs of both pathways are combined using an uncertainty-aware inverse weight fusion mechanism. If a sudden policy shock occurs (e.g., a lockdown), the system dynamically upweights the symbolic LLM pathway to handle the anomaly.
  6. Decoupled Realization: Finally, individual agents stochastically update their states locally based on the fused cluster-level hazards, modulated by their unique personal attributes and immediate neighborhood context, requiring no additional LLM calls.
Figure 1. Overview of PhysicsAgentABM Architecture. Inference is performed at the cluster level via symbolic and neural pathways with uncertainty-aware fusion, followed by stochastic agent-level realization. ANCHOR enables behaviorally coherent abstraction.

Datasets

The authors evaluated their framework across three distinct, partially observable domains with real-world or historically grounded dynamics:

  • Epidemiology: Real-world Singapore Ministry of Health (MOH) COVID-19 data (first 1,000 confirmed cases) mapped to a multi-layer contact network (household, workplace, community).
  • Financial Contagion: A synthetic population of 100 traders interacting via a stock correlation network based on historical S&P 500 returns from 2024.
  • Social Diffusion (Attention Lifecycle): A social graph of 250 agents tracking public attention to Climate Change over a 90-day horizon, validated against real daily Wikipedia page views.

Key Insights and Ideas

  • Reason Collectively, Act Individually: The core "aha" moment is that LLM agents in a simulation don't need to reason in isolation. Grouping them into functional equivalence classes (clusters) captures group-level forces and drastically cuts down redundant LLM calls without losing individual heterogeneity.
  • Neuro-Symbolic Division of Labor: Neural networks excel at tracking steady-state momentum and data-driven regularities, while LLMs excel at interpreting sudden, abstract policy shifts (like Singapore's "Circuit Breaker" lockdown). Fusing them based on real-time uncertainty gives the best of both worlds.
  • Clustering by Behavior, Not Just Demographics: Traditional graph clustering looks at static traits like age or network position. ANCHOR looks at how agents adapt across contexts (e.g., workplace compliance vs. community isolation), creating far more robust and transition-faithful abstractions.
Figure 2. ANCHOR Overview. An overview of our clustering mechanism.

Key Results

  • Massive Cost and Latency Reductions: Compared to a flat GABM baseline, PhysicsAgentABM reduces API calls by 6.7× and total token usage by up to 4.7×. Wall-clock runtime plummeted from ~300 seconds per timestep to just 24–40 seconds (7.5–12.5× speedup).
  • Superior Accuracy and Calibration: Across all three domains, the model achieved the lowest Expected Event Time Error (EETE) and the best calibration (lowest Brier score and Negative Log-Likelihood), proving highly resilient to distribution shifts and sudden shocks where pure neural or mechanistic baselines failed.

Limitations and Future Work

  • Fixed State Spaces: The framework assumes a predefined set of discrete latent states (e.g., SEIRD in epidemiology or Bullish/Bearish/Neutral in finance) and valid transitions, limiting its use in completely open-ended or evolving environments.
  • Initial Setup Overhead: The ANCHOR clustering mechanism requires running short diagnostic mini-simulations upfront to profile agent behaviors, which adds an initial computational cost before the main simulation runs.
  • Future Directions: The authors suggest exploring dynamic cluster re-allocation over longer horizons and extending the framework to handle open-ended, evolving state spaces.

Summary updated

BibTeX
@misc{venkatesh2026physicsagentabm,
  author = {Kavana Venkatesh and Yinhan He and Jundong Li and Jiaming Cui},
  title = {{PhysicsAgentABM: Physics-Guided Generative Agent-Based Modeling}},
  year = {2026},
  eprint = {2602.06030},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.06030},
}
Figure