IDEAS home Printed from https://ideas.repec.org/p/ces/ceswps/_12862.html

Emergent Strategic Behaviour in a Macroeconomic Agent-Based Model with Reinforcement Learning

Author

Listed:
  • Domenico Delli Gatti
  • Andrea Coletta
  • Aldo Glielmo
  • Filippo Gusella
  • Enrico Maria Turco
  • Alessia Lo Turco

Abstract

In canonical macroeconomic agent-based model (ABM), firms pursue behavioural (non-optimal) price and quantity strategies, that take the form of heuristics. In this paper we incorporate reinforcement learning (RL) into an otherwise standard ABM by replacing a fraction of heuristic-using firms with RL agents that learn profitmaximizing strategies through repeated interaction with the economic environment. When RL agents adopt a shared Q-function, they endogenously converge to one of three distinct strategic regimes – market power, predatory pricing, or quasi-perfect competition – with the prevailing equilibrium depending on the degree of market competition and the share of RL agents. Under independent Q-functions, agents spontaneously segregate into heterogeneous strategies, yielding higher aggregate market power and producer surplus without explicit coordination. The prevalence of RL agents shapes aggregate output and volatility in a non-monotonic way. To rationalize these findings, we develop a stylized theoretical framework that links the competition intensity between RL and non-RL agents with the prevailing optimal pricing strategies.

Suggested Citation

  • Domenico Delli Gatti & Andrea Coletta & Aldo Glielmo & Filippo Gusella & Enrico Maria Turco & Alessia Lo Turco, 2026. "Emergent Strategic Behaviour in a Macroeconomic Agent-Based Model with Reinforcement Learning," CESifo Working Paper Series 12862, CESifo.
  • Handle: RePEc:ces:ceswps:_12862
    as

    Download full text from publisher

    File URL: https://www.ifo.de/DocDL/cesifo1_wp12862.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Emilio Calvano & Giacomo Calzolari & Vincenzo Denicolò & Sergio Pastorello, 2020. "Artificial Intelligence, Algorithmic Pricing, and Collusion," American Economic Review, American Economic Association, vol. 110(10), pages 3267-3297, October.
    2. Giovanni Dosi & Mauro Napoletano & Andrea Roventini & Joseph E. Stiglitz & Tania Treibich, 2020. "Rational Heuristics? Expectations And Behaviors In Evolving Economies With Heterogeneous Interacting Agents," Economic Inquiry, Western Economic Association International, vol. 58(3), pages 1487-1516, July.
    3. Lamperti, Francesco & Roventini, Andrea & Sani, Amir, 2018. "Agent-based model calibration using machine learning surrogates," Journal of Economic Dynamics and Control, Elsevier, vol. 90(C), pages 366-389.
    4. Erik Brynjolfsson & Anton Korinek & Ajay K. Agrawal, 2025. "A Research Agenda for the Economics of Transformative AI," NBER Working Papers 34256, National Bureau of Economic Research, Inc.
    5. Herbert Dawid & Domenico Delli Gatti & Luca Eduardo Fierro & Sebastian Poledna, 2024. "Implications of Behavioral Rules in Agent-Based Macroeconomics," CESifo Working Paper Series 11411, CESifo.
    6. J. Doyne Farmer & Duncan Foley, 2009. "The economy needs agent-based modelling," Nature, Nature, vol. 460(7256), pages 685-686, August.
    7. Alan P. Kirman, 1992. "Whom or What Does the Representative Individual Represent?," Journal of Economic Perspectives, American Economic Association, vol. 6(2), pages 117-136, Spring.
    8. Farmer, J. Doyne & Axtell, Robert L., 2022. "Agent-Based Modeling in Economics and Finance: Past, Present, and Future," INET Oxford Working Papers 2022-10, Institute for New Economic Thinking at the Oxford Martin School, University of Oxford.
    9. Catullo, Ermanno & Gallegati, Mauro & Russo, Alberto, 2022. "Forecasting in a complex environment: Machine learning sales expectations in a stock flow consistent agent-based simulation model," Journal of Economic Dynamics and Control, Elsevier, vol. 139(C).
    10. Assenza, Tiziana & Delli Gatti, Domenico & Grazzini, Jakob, 2015. "Emergent dynamics of a macroeconomic agent based model with capital and credit," Journal of Economic Dynamics and Control, Elsevier, vol. 50(C), pages 5-28.
    11. Anton Korinek & Jai Vipra, 2025. "Concentrating intelligence: scaling and market structure in artificial intelligence," Economic Policy, CEPR, CESifo, Sciences Po;CES;MSH, vol. 40(121), pages 225-256.
    12. Arthur Charpentier & Romuald Élie & Carl Remlinger, 2023. "Reinforcement Learning in Economics and Finance," Computational Economics, Springer;Society for Computational Economics, vol. 62(1), pages 425-462, June.
    13. Rui (Aruhan) Shi, 2021. "Learning from Zero: How to Make Consumption-Saving Decisions in a Stochastic Environment with an AI Algorithm," CESifo Working Paper Series 9255, CESifo.
    14. Sargent, Thomas J., 1993. "Bounded Rationality in Macroeconomics: The Arne Ryde Memorial Lectures," OUP Catalogue, Oxford University Press, number 9780198288695.
    15. Maskin, Eric & Tirole, Jean, 2001. "Markov Perfect Equilibrium: I. Observable Actions," Journal of Economic Theory, Elsevier, vol. 100(2), pages 191-219, October.
    16. Herbert Dawid & Philipp Harting & Michal Neugart, 2024. "Deep Q-learning of Prices in Oligopolies: The Number of Competitors Matters," GREDEG Working Papers 2024-32, Groupe de REcherche en Droit, Economie, Gestion (GREDEG CNRS), Université Côte d'Azur, France.
    17. Hinterlang, Natascha & Tänzer, Alina, 2021. "Optimal monetary policy using reinforcement learning," Discussion Papers 51/2021, Deutsche Bundesbank.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Simone Brusatin & Tommaso Padoan & Andrea Coletta & Domenico Delli Gatti & Aldo Glielmo, 2024. "Simulating the Economic Impact of Rationality through Reinforcement Learning and Agent-Based Modelling," Papers 2405.02161, arXiv.org, revised Oct 2024.
    2. Hommes, Cars & He, Mario & Poledna, Sebastian & Siqueira, Melissa & Zhang, Yang, 2025. "CANVAS: A Canadian behavioral agent-based model for monetary policy," Journal of Economic Dynamics and Control, Elsevier, vol. 172(C).
    3. Federico Gabriele & Aldo Glielmo & Marco Taboga, 2025. "Heterogeneous RBCs via Deep Multi-Agent Reinforcement Learning," Papers 2510.12272, arXiv.org, revised Feb 2026.
    4. Severin Reissl, 2022. "Fiscal multipliers, expectations and learning in a macroeconomic agent‐based model," Economic Inquiry, Western Economic Association International, vol. 60(4), pages 1704-1729, October.
    5. Severin Reissl, 2021. "Heterogeneous expectations, forecasting behaviour and policy experiments in a hybrid Agent-based Stock-flow-consistent model," Journal of Evolutionary Economics, Springer, vol. 31(1), pages 251-299, January.
    6. Mauro Napoletano, 2018. "A Short Walk on the Wild Side: Agent-Based Models and their Implications for Macroeconomic Analysis," Revue de l'OFCE, Presses de Sciences-Po, vol. 0(3), pages 257-281.
    7. Eugenio Caverzasi & Alberto Russo, 2018. "Toward a new microfounded macroeconomics in the wake of the crisis," Industrial and Corporate Change, Oxford University Press and the Associazione ICC, vol. 27(6), pages 999-1014.
    8. Aldo Glielmo & Marco Favorito & Debmallya Chanda & Domenico Delli Gatti, 2023. "Reinforcement Learning for Combining Search Methods in the Calibration of Economic ABMs," Papers 2302.11835, arXiv.org, revised Dec 2023.
    9. Sylvain Mignot & Annick Vignes, 2020. "The Many Faces of Agent-Based Computational Economics: Ecology of Agents, Bottom-Up Approaches and Paradigm Shift [Les modèles multi-agents en économie, entre agents hétérogènes, approches bottom-up et changement de paradigme]," Post-Print hal-02956172, HAL.
    10. Guerini, Mattia & Napoletano, Mauro & Roventini, Andrea, 2018. "No man is an Island: The impact of heterogeneity and local interactions on macroeconomic dynamics," Economic Modelling, Elsevier, vol. 68(C), pages 82-95.
    11. Delli Gatti,Domenico & Fagiolo,Giorgio & Gallegati,Mauro & Richiardi,Matteo & Russo,Alberto (ed.), 2018. "Agent-Based Models in Economics," Cambridge Books, Cambridge University Press, number 9781108400046.
    12. Stefano Blando & Giorgio Fagiolo & Mauro Napoletano & Tania Treibich & Andrea Vandin, 2026. "Statistical Model Checking of the Keynes+Schumpeter Model: A Transient Sensitivity Analysis of a Macroeconomic ABM," Papers 2605.10447, arXiv.org.
    13. Lamperti, F. & Dosi, G. & Napoletano, M. & Roventini, A. & Sapio, A., 2018. "Faraway, So Close: Coupled Climate and Economic Dynamics in an Agent-based Integrated Assessment Model," Ecological Economics, Elsevier, vol. 150(C), pages 315-339.
    14. repec:spo:wpmain:info:hdl:2441/2qdhj5485p93jrnf08s1meeap9 is not listed on IDEAS
    15. Gobbi, Alessandro & Grazzini, Jakob, 2019. "A basic New Keynesian DSGE model with dispersed information: An agent-based approach," Journal of Economic Behavior & Organization, Elsevier, vol. 157(C), pages 101-116.
    16. Giorgio Fagiolo & Mattia Guerini & Francesco Lamperti & Alessio Moneta & Andrea Roventini, 2017. "Validation of Agent-Based Models in Economics and Finance," LEM Papers Series 2017/23, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    17. Pastushkov, A., 2025. "Evolutionary and agent-based computational finance: The new paradigms for asset pricing," Journal of the New Economic Association, New Economic Association, vol. 66(1), pages 196-222.
    18. Domenico, Jacopo Di & Catalano, Michele & Riccetti, Luca, 2025. "Scaling and forecasting in a data-driven agent-based model: Applications to the Italian macroeconomy," Economic Modelling, Elsevier, vol. 147(C).
    19. Filippo Gusella & Giorgio Ricchiuti, 2024. "Endogenous cycles in heterogeneous agent models: a state-space approach," Journal of Evolutionary Economics, Springer, vol. 34(4), pages 739-782, December.
    20. Conor B. Hamill & Raad Khraishi & Simona Gherghel & Jerrard Lawrence & Salvatore Mercuri & Ramin Okhrati & Greig A. Cowan, 2023. "Agent-based Modelling of Credit Card Promotions," Papers 2311.01901, arXiv.org, revised Nov 2023.
    21. Delli Gatti, Domenico & Grazzini, Jakob, 2020. "Rising to the challenge: Bayesian estimation and forecasting techniques for macroeconomic Agent Based Models," Journal of Economic Behavior & Organization, Elsevier, vol. 178(C), pages 875-902.

    More about this item

    Keywords

    ;
    ;
    ;

    JEL classification:

    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • D21 - Microeconomics - - Production and Organizations - - - Firm Behavior: Theory
    • E37 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Forecasting and Simulation: Models and Applications
    • L13 - Industrial Organization - - Market Structure, Firm Strategy, and Market Performance - - - Oligopoly and Other Imperfect Markets

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:ces:ceswps:_12862. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Klaus Wohlrabe (email available below). General contact details of provider: https://edirc.repec.org/data/cesifde.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.