Simulating the economic impact of rationality through reinforcement learning and agent-based modelling
<|reference_start|>Simulating the economic impact of rationality through reinforcement learning and agent-based modelling: 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.<|reference_end|>
@article{brusatin2024simulating,
    title={Simulating the Economic Impact of Rationality through Reinforcement
  Learning and Agent-Based Modelling},
    author={Simone Brusatin, Tommaso Padoan, Andrea Coletta, Domenico Delli Gatti,
  Aldo Glielmo},
    journal={Proceedings of the Fifth ACM International Conference on AI in
  Finance (ICAIF 2024, https://ai-finance.org/)},
    year={2024},
    doi={10.1145/3677052.3698621},
    archivePrefix={arXiv},
    eprint={2405.02161},
    primaryClass={cs.LG cs.AI cs.CE cs.MA econ.GN q-fin.EC}
}