IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2510.12272.html

Heterogeneous RBCs via Deep Multi-Agent Reinforcement Learning

Author

Listed:
  • Federico Gabriele
  • Aldo Glielmo
  • Marco Taboga

Abstract

Current macroeconomic models with agent heterogeneity can be broadly divided into two main groups. Heterogeneous-agent general equilibrium (GE) models, such as those based on Heterogeneous Agent New Keynesian (HANK) or Krusell-Smith (KS) approaches, rely on GE and 'rational expectations', somewhat unrealistic assumptions that make the models very computationally cumbersome, which in turn limits the amount of heterogeneity that can be modelled. In contrast, agent-based models (ABMs) can flexibly encompass a large number of arbitrarily heterogeneous agents, but typically require the specification of explicit behavioural rules, which can lead to a lengthy trial-and-error model-development process. To address these limitations, we introduce MARL-BC, a framework that integrates deep multi-agent reinforcement learning (MARL) with real business cycle (RBC) models. We demonstrate that MARL-BC can: (1) recover textbook RBC results when using a single agent; (2) recover the results of the mean-field KS model using a large number of identical agents; and (3) effectively simulate rich heterogeneity among agents, a hard task for traditional GE approaches. Our framework can be thought of as an ABM if used with a variety of heterogeneous interacting agents, and can reproduce GE results in limit cases. As such, it is a step towards a synthesis of these often opposed modelling paradigms.

Suggested Citation

  • Federico Gabriele & Aldo Glielmo & Marco Taboga, 2025. "Heterogeneous RBCs via Deep Multi-Agent Reinforcement Learning," Papers 2510.12272, arXiv.org, revised Feb 2026.
  • Handle: RePEc:arx:papers:2510.12272
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2510.12272
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. 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.
    2. Villemot, Sébastien, 2011. "Solving rational expectations models at first order: what Dynare does," Dynare Working Papers 2, CEPREMAP, revised Dec 2025.
    3. Stoker, Thomas M, 1993. "Empirical Approaches to the Problem of Aggregation Over Individuals," Journal of Economic Literature, American Economic Association, vol. 31(4), pages 1827-1874, December.
    4. Paul Windrum & Giorgio Fagiolo & Alessio Moneta, 2007. "Empirical Validation of Agent-Based Models: Alternatives and Prospects," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 10(2), pages 1-8.
    5. 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.
    6. Tohid Atashbar & Rui Aruhan Shi, 2022. "Deep Reinforcement Learning: Emerging Trends in Macroeconomics and Future Prospects," IMF Working Papers 2022/259, International Monetary Fund.
    7. Robert L. Axtell & J. Doyne Farmer, 2025. "Agent-Based Modeling in Economics and Finance: Past, Present, and Future," Journal of Economic Literature, American Economic Association, vol. 63(1), pages 197-287, March.
    8. S. Rao Aiyagari, 1994. "Uninsured Idiosyncratic Risk and Aggregate Saving," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 109(3), pages 659-684.
    9. Per Krusell & Anthony A. Smith & Jr., 1998. "Income and Wealth Heterogeneity in the Macroeconomy," Journal of Political Economy, University of Chicago Press, vol. 106(5), pages 867-896, October.
    10. Jésus Fernández-Villaverde & Galo Nuño & Jesse Perla & Jesús Fernández-Villaverde, 2024. "Taming the Curse of Dimensionality: Quantitative Economics with Deep Learning," CESifo Working Paper Series 11448, CESifo.
    11. J. Doyne Farmer & Duncan Foley, 2009. "The economy needs agent-based modelling," Nature, Nature, vol. 460(7256), pages 685-686, August.
    12. William A. Brock & Leonard J. Mirman, 2001. "Optimal Economic Growth And Uncertainty: The Discounted Case," Chapters, in: W. D. Dechert (ed.), Growth Theory, Nonlinear Dynamics and Economic Modelling, chapter 1, pages 3-37, Edward Elgar Publishing.
    13. Greg Kaplan & Benjamin Moll & Giovanni L. Violante, 2018. "Monetary Policy According to HANK," American Economic Review, American Economic Association, vol. 108(3), pages 697-743, March.
    14. Benjamin Moll, 2025. "The Trouble with Rational Expectations in Heterogeneous Agent Models: A Challenge for Macroeconomics," Papers 2508.20571, arXiv.org.
    15. Edward Hill & Marco Bardoscia & Arthur Turrell, 2021. "Solving Heterogeneous General Equilibrium Economic Models with Deep Reinforcement Learning," Papers 2103.16977, arXiv.org.
    16. Maskin, Eric & Tirole, Jean, 2001. "Markov Perfect Equilibrium: I. Observable Actions," Journal of Economic Theory, Elsevier, vol. 100(2), pages 191-219, October.
    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. 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.
    2. Thomas J. Sargent & John Stachurski, 2024. "Dynamic Programming: Finite States," Papers 2401.10473, arXiv.org.
    3. Li, Mingzhe, 2025. "A Theory of Portfolio Choice for Heterogeneous Investors," MPRA Paper 126642, University Library of Munich, Germany, revised 29 Oct 2025.
    4. 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.
    5. Giovanni Dosi & Andrea Roventini, 2019. "More is different ... and complex! the case for agent-based macroeconomics," Journal of Evolutionary Economics, Springer, vol. 29(1), pages 1-37, March.
    6. Pascal, Julien, 2024. "Artificial neural networks to solve dynamic programming problems: A bias-corrected Monte Carlo operator," Journal of Economic Dynamics and Control, Elsevier, vol. 162(C).
    7. Kshama Dwarakanath & Tucker Balch & Svitlana Vyetrenko, 2024. "ABIDES-Economist: Agent-Based Simulator of Economic Systems with Learning Agents," Papers 2402.09563, arXiv.org, revised Aug 2025.
    8. 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.
    9. Gulan, Adam, 2018. "Paradise lost? A brief history of DSGE macroeconomics," Bank of Finland Research Discussion Papers 22/2018, Bank of Finland.
    10. Gulan, Adam, 2018. "Paradise lost? A brief history of DSGE macroeconomics," Research Discussion Papers 22/2018, Bank of Finland.
    11. 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.
    12. Per Krusell & Anthony Smith & Joachim Hubmer, 2015. "The historical evolution of the wealth distribution: A quantitative-theoretic investigation," 2015 Meeting Papers 1406, Society for Economic Dynamics.
    13. Zhouzhou Gu & Mathieu Lauri`ere & Sebastian Merkel & Jonathan Payne, 2024. "Global Solutions to Master Equations for Continuous Time Heterogeneous Agent Macroeconomic Models," Papers 2406.13726, arXiv.org.
    14. Ma Eunseong & Park Kwangyong, 2025. "Gini in the Taylor Rule: Should the Fed Care About Inequality?," The B.E. Journal of Macroeconomics, De Gruyter, vol. 25(1), pages 241-285.
    15. Angeletos, George-Marios & Calvet, Laurent-Emmanuel, 2005. "Incomplete-market dynamics in a neoclassical production economy," Journal of Mathematical Economics, Elsevier, vol. 41(4-5), pages 407-438, August.
    16. John Stachurski, 2009. "Economic Dynamics: Theory and Computation," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262012774, December.
    17. Silvano Cincotti & Marco Raberto & Andrea Teglio, 2022. "Why do we need agent-based macroeconomics?," Review of Evolutionary Political Economy, Springer, vol. 3(1), pages 5-29, April.
    18. Boehl, Gregor & Fischer, Thomas, 2017. "Capital Taxation and Investment: Matching 100 Years of Wealth Inequality Dynamics," Working Papers 2017:8, Lund University, Department of Economics.
    19. Chipeniuk, Karsten O. & Katz, Nets Hawk & Walker, Todd B., 2022. "Households, auctioneers, and aggregation," European Economic Review, Elsevier, vol. 141(C).
    20. Richters, Oliver, 2021. "Modeling the out-of-equilibrium dynamics of bounded rationality and economic constraints," Journal of Economic Behavior & Organization, Elsevier, vol. 188(C), pages 846-866.

    More about this item

    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:arx:papers:2510.12272. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.