Simulating the economic impact of rationality through reinforcement learning and agent-based modelling

2405.02161

YC

0

Reddit

0

Published 5/6/2024 by Simone Brusatin, Tommaso Padoan, Andrea Coletta, Domenico Delli Gatti, Aldo Glielmo
Simulating the economic impact of rationality through reinforcement learning and agent-based modelling

Abstract

Agent-based models (ABMs) are simulation models used in economics to overcome some of the limitations of traditional frameworks based on general equilibrium assumptions. However, agents within an ABM follow predetermined, not fully rational, behavioural rules which can be cumbersome to design and difficult to justify. Here we leverage multi-agent reinforcement learning (RL) to expand the capabilities of ABMs with the introduction of fully rational agents that learn their policy by interacting with the environment and maximising a reward function. Specifically, we propose a 'Rational macro ABM' (R-MABM) framework by extending a paradigmatic macro ABM from the economic literature. We show that gradually substituting ABM firms in the model with RL agents, trained to maximise profits, allows for a thorough study of the impact of rationality on the economy. We find that RL agents spontaneously learn three distinct strategies for maximising profits, with the optimal strategy depending on the level of market competition and rationality. We also find that RL agents with independent policies, and without the ability to communicate with each other, spontaneously learn to segregate into different strategic groups, thus increasing market power and overall profits. Finally, we find that a higher degree of rationality in the economy always improves the macroeconomic environment as measured by total output, depending on the specific rational policy, this can come at the cost of higher instability. Our R-MABM framework is general, it allows for stable multi-agent learning, and represents a principled and robust direction to extend existing economic simulators.

Create account to get full access

or

If you already have an account, we'll log you in

Overview

  • This paper explores the use of reinforcement learning and agent-based modeling to simulate the economic impact of rational behavior in a market setting.
  • The researchers develop a "Rational-MABM" model that incorporates reinforcement learning agents who make rational decisions based on past experiences.
  • The model is used to analyze how the level of rationality among market participants affects key economic indicators like prices, production, and welfare.

Plain English Explanation

The researchers in this study are interested in understanding how the level of rationality among people in an economy can impact important economic factors like prices, production, and overall well-being. To investigate this, they create a simulation model where virtual "agents" in a market make decisions using a machine learning technique called reinforcement learning.

Reinforcement learning allows the agents to learn from their past experiences and make more rational choices over time. The researchers compare the results of this "rational" market simulation to a more traditional agent-based model where agents don't learn and make decisions in a more random way.

By running these simulations, the researchers can see how the presence of more rational decision-makers affects the overall performance of the market. This helps them understand the potential economic benefits or drawbacks of having a population that is more adept at making logical, well-informed choices. The findings could inform policies and strategies for promoting more rational behavior in real-world economic systems.

Technical Explanation

The researchers develop a novel "Rational-MABM" model that combines reinforcement learning with a multi-agent-based market (MABM) simulation. In this model, individual agents represent firms or consumers who make production, consumption, and investment decisions.

The key innovation is that these agents use reinforcement learning to update their decision-making policies over time based on the outcomes of their past actions. This allows the agents to gradually become more "rational" and make choices that maximize their individual payoffs.

The researchers compare the Rational-MABM model to a more traditional MABM where agents make decisions randomly or based on fixed rules. They run multiple simulations varying the proportion of rational vs. non-rational agents and analyze the emergent macroeconomic dynamics, including prices, production, employment, and welfare metrics.

The results show that increasing the level of rationality among market participants can lead to higher prices, lower production, and worse overall welfare outcomes. This is because the rational agents are able to exploit the non-rational ones, leading to a less competitive and efficient market.

Critical Analysis

The Rational-MABM model provides an innovative approach to studying the economic impacts of rationality. By using reinforcement learning, the researchers are able to capture how individual decision-makers can become more sophisticated over time, rather than assuming fixed behavioral rules.

However, the model also makes several simplifying assumptions that limit its real-world applicability. For example, it assumes homogeneous agents and perfect information, ignoring important factors like heterogeneity, uncertainty, and bounded rationality that characterize many economic systems.

Additionally, the finding that greater rationality can lead to worse welfare outcomes is somewhat counterintuitive and deserves further exploration. The researchers acknowledge that this result may depend on the specific parameters and market structure of the model, and that additional research is needed to understand the generalizability of this insight.

Overall, the Rational-MABM model represents an important step towards more realistic agent-based simulations of economic phenomena. But as with any modeling approach, its conclusions should be interpreted cautiously and validated against empirical data and alternative modeling frameworks.

Conclusion

This paper presents a novel reinforcement learning-based agent-based model for simulating the economic impacts of rationality. The key finding is that increasing the proportion of rational agents in a market can lead to higher prices, lower production, and worse overall welfare, challenging the intuition that more rational decision-making would necessarily improve economic outcomes.

While the model represents an innovative methodological advance, its specific conclusions may be influenced by the simplifying assumptions made. Further research is needed to explore the robustness of these results and their implications for real-world economic policymaking. Nonetheless, the Rational-MABM framework offers a promising avenue for studying the complex interplay between individual behavior and macroeconomic dynamics.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Related Papers

💬

EconAgent: Large Language Model-Empowered Agents for Simulating Macroeconomic Activities

Nian Li, Chen Gao, Mingyu Li, Yong Li, Qingmin Liao

YC

0

Reddit

0

The advent of artificial intelligence has led to a growing emphasis on data-driven modeling in macroeconomics, with agent-based modeling (ABM) emerging as a prominent bottom-up simulation paradigm. In ABM, agents (e.g., households, firms) interact within a macroeconomic environment, collectively generating market dynamics. Existing agent modeling typically employs predetermined rules or learning-based neural networks for decision-making. However, customizing each agent presents significant challenges, complicating the modeling of agent heterogeneity. Additionally, the influence of multi-period market dynamics and multifaceted macroeconomic factors are often overlooked in decision-making processes. In this work, we introduce EconAgent, a large language model-empowered agent with human-like characteristics for macroeconomic simulation. We first construct a simulation environment that incorporates various market dynamics driven by agents' decisions regarding work and consumption. Through the perception module, we create heterogeneous agents with distinct decision-making mechanisms. Furthermore, we model the impact of macroeconomic trends using a memory module, which allows agents to reflect on past individual experiences and market dynamics. Simulation experiments show that EconAgent can make realistic decisions, leading to more reasonable macroeconomic phenomena compared to existing rule-based or learning-based agents. Our codes are released at https://github.com/tsinghua-fib-lab/ACL24-EconAgent.

Read more

5/27/2024

Multi-Modal and Multi-Agent Systems Meet Rationality: A Survey

Multi-Modal and Multi-Agent Systems Meet Rationality: A Survey

Bowen Jiang, Yangxinyu Xie, Xiaomeng Wang, Weijie J. Su, Camillo J. Taylor, Tanwi Mallick

YC

0

Reddit

0

Rationality is the quality of being guided by reason, characterized by logical thinking and decision-making that align with evidence and logical rules. This quality is essential for effective problem-solving, as it ensures that solutions are well-founded and systematically derived. Despite the advancements of large language models (LLMs) in generating human-like text with remarkable accuracy, they present biases inherited from the training data, inconsistency across different contexts, and difficulty understanding complex scenarios involving multiple layers of context. Therefore, recent research attempts to leverage the strength of multiple agents working collaboratively with various types of data and tools for enhanced consistency and reliability. To that end, this paper aims to understand whether multi-modal and multi-agent systems are advancing toward rationality by surveying the state-of-the-art works, identifying advancements over single-agent and single-modal systems in terms of rationality, and discussing open problems and future directions. We maintain an open repository at https://github.com/bowen-upenn/MMMA_Rationality.

Read more

6/19/2024

🏅

Reinforcement Learning in Agent-Based Market Simulation: Unveiling Realistic Stylized Facts and Behavior

Zhiyuan Yao, Zheng Li, Matthew Thomas, Ionut Florescu

YC

0

Reddit

0

Investors and regulators can greatly benefit from a realistic market simulator that enables them to anticipate the consequences of their decisions in real markets. However, traditional rule-based market simulators often fall short in accurately capturing the dynamic behavior of market participants, particularly in response to external market impact events or changes in the behavior of other participants. In this study, we explore an agent-based simulation framework employing reinforcement learning (RL) agents. We present the implementation details of these RL agents and demonstrate that the simulated market exhibits realistic stylized facts observed in real-world markets. Furthermore, we investigate the behavior of RL agents when confronted with external market impacts, such as a flash crash. Our findings shed light on the effectiveness and adaptability of RL-based agents within the simulation, offering insights into their response to significant market events.

Read more

4/1/2024

Simulating Financial Market via Large Language Model based Agents

New!Simulating Financial Market via Large Language Model based Agents

Shen Gao, Yuntao Wen, Minghang Zhu, Jianing Wei, Yuhan Cheng, Qunzi Zhang, Shuo Shang

YC

0

Reddit

0

Most economic theories typically assume that financial market participants are fully rational individuals and use mathematical models to simulate human behavior in financial markets. However, human behavior is often not entirely rational and is challenging to predict accurately with mathematical models. In this paper, we propose textbf{A}gent-based textbf{S}imulated textbf{F}inancial textbf{M}arket (ASFM), which first constructs a simulated stock market with a real order matching system. Then, we propose a large language model based agent as the stock trader, which contains the profile, observation, and tool-learning based action module. The trading agent can comprehensively understand current market dynamics and financial policy information, and make decisions that align with their trading strategy. In the experiments, we first verify that the reactions of our ASFM are consistent with the real stock market in two controllable scenarios. In addition, we also conduct experiments in two popular economics research directions, and we find that conclusions drawn in our model align with the preliminary findings in economics research. Based on these observations, we believe our proposed ASFM provides a new paradigm for economic research.

Read more

7/1/2024