ABIDES-Economist: Agent-Based Simulation of Economic Systems with Learning Agents

Kshama Dwarakanath, Svitlana Vyetrenko, Peyman Tavallali, Tucker BalcharXiv 2024 · DOI

Introduction

Traditional macroeconomic modeling has long been dominated by Dynamic Stochastic General Equilibrium (DSGE) models. While these frameworks provide a mathematically rigorous approach to economic forecasting, they often rely on restrictive assumptions such as "representative agents"—the idea that all households or firms act identically—and "rational expectations," which assumes agents possess perfect foresight. These simplifications often fail to capture the chaotic, bottom-up dynamics of real-world economies.

ABIDES-Economist introduces a transformative alternative by merging high-fidelity Agent-Based Modeling (ABM) with Multi-Agent Reinforcement Learning (MARL). By allowing heterogeneous agents to learn and adapt within a simulated environment, the platform provides a "digital wind tunnel" for testing economic policies against agents that behave with realistic, emergent complexity.

The Challenge of Economic Simulation

Agent-Based Models (ABMs) have historically offered a more granular view of the economy by simulating thousands of individual actors. However, they have faced two primary hurdles: calibration and behavioral rigidity. Traditional ABMs typically rely on hand-coded, fixed rules for agent behavior. If a policy changes, these agents cannot adapt their strategies, leading to the "Lucas Critique"—the observation that historical relationships in economic data may break down if the underlying policy regime changes.

ABIDES-Economist addresses this by replacing fixed rules with MARL. Agents are not told how to behave; instead, they are given objectives (e.g., maximizing utility or profit) and must learn optimal strategies through interaction, allowing the model to remain valid even under novel policy shocks.

Methodology and Framework

ABIDES-Economist is built as an extension of the ABIDES market simulator, utilizing an OpenAI Gym-style interface to facilitate reinforcement learning. The system models a complete economic ecosystem with four primary agent types:

  • Households: Aim to maximize long-term utility derived from consumption and savings.
  • Firms: Aim to maximize profits by setting prices and managing production levels.
  • Central Bank: A regulatory agent tasked with managing inflation and GDP growth via interest rate adjustments.
  • Government: A regulatory agent focused on social welfare and wealth redistribution.

Technical Innovations

To manage the computational complexity of simulating thousands of learning agents, the researchers implemented Partial Centralized Training. Rather than training thousands of individual neural networks, agents of the same type share a single policy network. However, during execution, each agent receives only its unique local observations, ensuring that their actions are based on individual circumstances rather than global "god-like" knowledge.

Communication within the simulator mimics real-world information asymmetry. Agents exchange messages—such as a household querying a firm for a price—ensuring that information propagates through the system realistically rather than being instantaneously available to all.

Empirical Calibration

The simulator is grounded in real-world data to ensure its outputs are economically meaningful. The researchers utilized data from the Bureau of Labor Statistics (BLS) to estimate production elasticity, IRS data to calibrate tax and social welfare weights, and Federal Reserve records (1950–2022) to define realistic action spaces for interest rate policies.

Key Insights: Emergent Economic Laws

The most significant finding of the ABIDES-Economist project is the spontaneous emergence of "stylized facts"—empirical regularities observed in real economies. Without being explicitly programmed to do so, the RL agents produced data that aligned with:

  1. The Phillips Curve: The inverse relationship between unemployment and inflation.
  2. Okun’s Law: The correlation between changes in GDP and changes in unemployment.
  3. Fat-Tailed Wealth Distribution: The model successfully replicated the real-world phenomenon where a small percentage of the population holds a disproportionate share of total wealth.

These results suggest that these economic "laws" are not just mathematical abstractions but are emergent properties of self-interested agents interacting in a constrained environment.

Results and Performance

Scalability

The platform demonstrated impressive technical scalability, successfully managing simulations with up to 10,503 agents (8,750 households and 1,250 firms). At this scale, the system processed nearly 50 million messages per simulation step, proving its capability to model complex, large-scale interactions.

Policy Superiority

In comparative tests, the RL-trained Central Bank policy consistently outperformed the Taylor Rule, a standard benchmark in economic literature for setting interest rates. In scenarios involving high production shocks, the learned policy achieved higher social utility with significantly lower variance, demonstrating that adaptive agents can find more resilient solutions than fixed mathematical rules.

Limitations and Future Directions

Despite its success, the authors note several challenges inherent in MARL-based economic modeling. Training hundreds of agents to converge is computationally expensive, sometimes requiring up to 76 hours of processing time. Furthermore, proving that a MARL system has reached a stable Nash Equilibrium remains a theoretical challenge. Future work will explore Empirical Game-Theoretic Analysis (EGTA) to better categorize these equilibria and increase the granularity of firm-level competition.

Conclusion

ABIDES-Economist represents a significant step toward more realistic economic forecasting. By moving away from the "representative agent" and toward a population of learning, adapting individuals, the platform allows policymakers to observe how an economy might actually react to new regulations, providing a powerful tool for navigating the complexities of the modern financial world.

Summary updated

BibTeX
@misc{dwarakanath2024abides,
  author = {Kshama Dwarakanath and Svitlana Vyetrenko and Peyman Tavallali and Tucker Balch},
  title = {{ABIDES-Economist: Agent-Based Simulation of Economic Systems with Learning Agents}},
  year = {2024},
  eprint = {2402.09563},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.09563},
}
Figure