IDEAS home Printed from https://ideas.repec.org/p/bis/biswps/1312.html

Generative economic modeling

Author

Listed:
  • Hanno Kase
  • Matthias Rottner
  • Fabio Stohler

Abstract

We introduce a novel approach for solving quantitative economic models: generative economic modeling. Our method combines neural networks with conventional solution techniques. Specifically, we train neural networks on simplified versions of the economic model to approximate the complete model's dynamic behavior. Relying on these less complex submodels circumvents the curse of dimensionality, allowing the use of well-established numerical methods. We demonstrate our approach across settings with analytical characterizations, nonlinear dynamics, and heterogeneous agents, employing asset pricing and business cycle models. Finally, we solve a high-dimensional HANK model with an occasionally binding financial friction to highlight how aggregate risk amplifies the precautionary motive.

Suggested Citation

  • Hanno Kase & Matthias Rottner & Fabio Stohler, 2025. "Generative economic modeling," BIS Working Papers 1312, Bank for International Settlements.
  • Handle: RePEc:bis:biswps:1312
    as

    Download full text from publisher

    File URL: https://www.bis.org/publ/work1312.pdf
    File Function: Full PDF document
    Download Restriction: no

    File URL: https://www.bis.org/publ/work1312.htm
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Galo Nuño & Philipp Renner & Simon Scheidegger, 2024. "Monetary Policy with Persistent Supply Shocks," CESifo Working Paper Series 11463, CESifo.
    2. Den Haan, Wouter J., 2010. "Assessing the accuracy of the aggregate law of motion in models with heterogeneous agents," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 79-99, January.
    3. Bianchi, Francesco & Melosi, Leonardo & Rottner, Matthias, 2021. "Hitting the elusive inflation target," Journal of Monetary Economics, Elsevier, vol. 124(C), pages 107-122.
    4. Adrien Auclert & Matthew Rognlie & Ludwig Straub, 2024. "The Intertemporal Keynesian Cross," Journal of Political Economy, University of Chicago Press, vol. 132(12), pages 4068-4121.
    5. Aryan Eftekhari & Simon Scheidegger, 2022. "High-Dimensional Dynamic Stochastic Model Representation," Papers 2202.06555, arXiv.org.
    6. Algan, Yann & Allais, Olivier & Den Haan, Wouter J., 2008. "Solving heterogeneous-agent models with parameterized cross-sectional distributions," Journal of Economic Dynamics and Control, Elsevier, vol. 32(3), pages 875-908, March.
    7. Victor Duarte & Diogo Duarte & Dejanir H Silva, 2024. "Machine Learning for Continuous-Time Finance," The Review of Financial Studies, Society for Financial Studies, vol. 37(11), pages 3217-3271.
    8. Maliar, Lilia & Maliar, Serguei, 2022. "Deep learning classification: Modeling discrete labor choice," Journal of Economic Dynamics and Control, Elsevier, vol. 135(C).
    9. Felix Kubler & Simon Scheidegger & Oliver Surbek, 2025. "Using Machine Learning to Compute Constrained Optimal Carbon Tax Rules," Swiss Finance Institute Research Paper Series 25-82, Swiss Finance Institute.
    10. 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).
    11. Krusell, Per & Smith, Anthony A., 1997. "Income And Wealth Heterogeneity, Portfolio Choice, And Equilibrium Asset Returns," Macroeconomic Dynamics, Cambridge University Press, vol. 1(2), pages 387-422, June.
    12. Greg Kaplan & Giovanni L. Violante, 2018. "Microeconomic Heterogeneity and Macroeconomic Shocks," Journal of Economic Perspectives, American Economic Association, vol. 32(3), pages 167-194, Summer.
    13. Christian Bayer & Ralph Luetticke & Maximilian Weiss & Yannik Winkelmann, 2024. "An Endogenous Gridpoint Method for Distributional Dynamics," CRC TR 224 Discussion Paper Series crctr224_2024_548, University of Bonn and University of Mannheim, Germany.
    14. Alexander Richter & Nathaniel Throckmorton & Todd Walker, 2014. "Accuracy, Speed and Robustness of Policy Function Iteration," Computational Economics, Springer;Society for Computational Economics, vol. 44(4), pages 445-476, December.
    15. Jaanika Merikyll & Matthias Rottner, 2025. "Monetary policy and earnings inequality.Inflation dependencies," Bank of Estonia Working Papers wp2025-05, Bank of Estonia, revised 13 Jun 2025.
    16. Victor Duarte & Diogo Duarte & Dejanir H. Silva, 2024. "Machine Learning for Continuous-Time Finance," CESifo Working Paper Series 10909, CESifo.
    17. King, Robert G. & Plosser, Charles I. & Rebelo, Sergio T., 1988. "Production, growth and business cycles : II. New directions," Journal of Monetary Economics, Elsevier, vol. 21(2-3), pages 309-341.
    18. Barillas, Francisco & Fernandez-Villaverde, Jesus, 2007. "A generalization of the endogenous grid method," Journal of Economic Dynamics and Control, Elsevier, vol. 31(8), pages 2698-2712, August.
    19. Tauchen, George, 1986. "Finite state markov-chain approximations to univariate and vector autoregressions," Economics Letters, Elsevier, vol. 20(2), pages 177-181.
    20. Reiter, Michael, 2009. "Solving heterogeneous-agent models by projection and perturbation," Journal of Economic Dynamics and Control, Elsevier, vol. 33(3), pages 649-665, March.
    21. Ralph Luetticke, 2021. "Transmission of Monetary Policy with Heterogeneity in Household Portfolios," American Economic Journal: Macroeconomics, American Economic Association, vol. 13(2), pages 1-25, April.
    22. Aruoba, S. Boragan & Fernandez-Villaverde, Jesus & Rubio-Ramirez, Juan F., 2006. "Comparing solution methods for dynamic equilibrium economies," Journal of Economic Dynamics and Control, Elsevier, vol. 30(12), pages 2477-2508, December.
    23. Fernández-Villaverde, Jesús & Ebrahimi Kahou, Mahdi & Perla, Jesse & Sood, Arnav, 2021. "Exploiting Symmetry in High-Dimensional Dynamic Programming," CEPR Discussion Papers 16285, C.E.P.R. Discussion Papers.
    24. Boppart, Timo & Krusell, Per & Mitman, Kurt, 2018. "Exploiting MIT shocks in heterogeneous-agent economies: the impulse response as a numerical derivative," Journal of Economic Dynamics and Control, Elsevier, vol. 89(C), pages 68-92.
    25. Carroll, Christopher D., 2006. "The method of endogenous gridpoints for solving dynamic stochastic optimization problems," Economics Letters, Elsevier, vol. 91(3), pages 312-320, June.
    26. 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.
    27. Hintermaier, Thomas & Koeniger, Winfried, 2010. "The method of endogenous gridpoints with occasionally binding constraints among endogenous variables," Journal of Economic Dynamics and Control, Elsevier, vol. 34(10), pages 2074-2088, October.
    28. Jesús Fernández-Villaverde & Galo Nuño & Jesse Perla, 2024. "Taming the Curse of Dimensionality: Quantitative Economics with Deep Learning," NBER Working Papers 33117, National Bureau of Economic Research, Inc.
    29. Adrien Auclert, 2019. "Monetary Policy and the Redistribution Channel," American Economic Review, American Economic Association, vol. 109(6), pages 2333-2367, June.
    30. Fernández-Villaverde, Jesús & Marbet, Joël & Nuño, Galo & Rachedi, Omar, 2025. "Inequality and the zero lower bound," Journal of Econometrics, Elsevier, vol. 249(PC).
    31. Young, Eric R., 2010. "Solving the incomplete markets model with aggregate uncertainty using the Krusell-Smith algorithm and non-stochastic simulations," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 36-41, January.
    32. Vytautas Valaitis & Alessandro T. Villa, 2024. "A machine learning projection method for macro‐finance models," Quantitative Economics, Econometric Society, vol. 15(1), pages 145-173, January.
    33. Lin, Alessandro & Peruffo, Marcel, 2024. "Aggregate uncertainty, HANK, and the ZLB," Working Paper Series 2911, European Central Bank.
    34. Canzoneri, Matthew B. & Cumby, Robert E. & Diba, Behzad T., 2007. "Euler equations and money market interest rates: A challenge for monetary policy models," Journal of Monetary Economics, Elsevier, vol. 54(7), pages 1863-1881, October.
    35. Ashwin, Julian & Beaudry, Paul & Ellison, Martin, 2025. "Neural network learning for nonlinear economies," Journal of Monetary Economics, Elsevier, vol. 149(C).
    36. Christian Bayer & Ralph Luetticke, 2020. "Solving discrete time heterogeneous agent models with aggregate risk and many idiosyncratic states by perturbation," Quantitative Economics, Econometric Society, vol. 11(4), pages 1253-1288, November.
    37. Cosmin L. Ilut & Ralph Luetticke & Martin Schneider, 2025. "HANK's Response to Aggregate Uncertainty in an Estimated Business Cycle Model," NBER Working Papers 33331, National Bureau of Economic Research, Inc.
    38. Felix Kubler & Simon Scheidegger & Oliver Surbek, 2025. "Using Machine Learning to Compute Constrained Optimal Carbon Tax Rules," Papers 2507.01704, arXiv.org.
    39. Jesús Fernández‐Villaverde & Samuel Hurtado & Galo Nuño, 2025. "Corrigendum: Financial Frictions and the Wealth Distribution," Econometrica, Econometric Society, vol. 93(4), pages 1491-1496, July.
    40. Greenwood, Jeremy & Hercowitz, Zvi & Huffman, Gregory W, 1988. "Investment, Capacity Utilization, and the Real Business Cycle," American Economic Review, American Economic Association, vol. 78(3), pages 402-417, June.
    41. 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.
    42. Marlon Azinovic & Luca Gaegauf & Simon Scheidegger, 2022. "Deep Equilibrium Nets," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 63(4), pages 1471-1525, November.
    43. Eftekhari, Aryan & Juillard, Michel & Rion, Normann & Scheidegger, Simon, 2026. "Scalable global solution techniques for high-dimensional models in Dynare," Journal of Economic Dynamics and Control, Elsevier, vol. 182(C).
    44. Mario J. Miranda & Paul L. Fackler, 2004. "Applied Computational Economics and Finance," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262633094, December.
    45. Anmol Bhandari & Thomas Bourany & David Evans & Mikhail Golosov, 2023. "A Perturbational Approach for Approximating Heterogeneous Agent Models," NBER Working Papers 31744, National Bureau of Economic Research, Inc.
    46. Burkhard Heer & Alfred Maußner, 2024. "Dynamic General Equilibrium Modeling," Springer Texts in Business and Economics, Springer, edition 3, number 978-3-031-51681-8, January.
    47. Ravn, Morten O. & Sterk, Vincent, 2017. "Job uncertainty and deep recessions," Journal of Monetary Economics, Elsevier, vol. 90(C), pages 125-141.
    48. Alisdair McKay & Emi Nakamura & Jón Steinsson, 2016. "The Power of Forward Guidance Revisited," American Economic Review, American Economic Association, vol. 106(10), pages 3133-3158, October.
    49. 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.
    50. Den Haan, Wouter J. & Rendahl, Pontus & Riegler, Markus, 2018. "Unemployment (fears) and deflationary spirals," LSE Research Online Documents on Economics 84625, London School of Economics and Political Science, LSE Library.
    51. Adrien Auclert & Bence Bardóczy & Matthew Rognlie & Ludwig Straub, 2021. "Using the Sequence‐Space Jacobian to Solve and Estimate Heterogeneous‐Agent Models," Econometrica, Econometric Society, vol. 89(5), pages 2375-2408, September.
    52. repec:spo:wpmain:info:hdl:2441/41rhqgovpp8hnq9i7ndtl26ltm is not listed on IDEAS
    53. Johannes Brumm & Simon Scheidegger, 2017. "Using Adaptive Sparse Grids to Solve High‐Dimensional Dynamic Models," Econometrica, Econometric Society, vol. 85, pages 1575-1612, September.
    54. Wouter J Den Haan & Pontus Rendahl & Markus Riegler, 2018. "Unemployment (Fears) and Deflationary Spirals," Journal of the European Economic Association, European Economic Association, vol. 16(5), pages 1281-1349.
    55. Gorodnichenko, Yuriy & Maliar, Serguei & Naubert, Christopher, 2020. "Household Savings and Monetary Policy under Individual and Aggregate Stochastic Volatility," CEPR Discussion Papers 15614, C.E.P.R. Discussion Papers.
    56. Maliar, Lilia & Maliar, Serguei & Winant, Pablo, 2021. "Deep learning for solving dynamic economic models," Journal of Monetary Economics, Elsevier, vol. 122(C), pages 76-101.
    57. Veronica Guerrieri & Guido Lorenzoni, 2017. "Credit Crises, Precautionary Savings, and the Liquidity Trap," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 132(3), pages 1427-1467.
    58. Christian Bayer & Ralph Luetticke & Lien Pham‐Dao & Volker Tjaden, 2019. "Precautionary Savings, Illiquid Assets, and the Aggregate Consequences of Shocks to Household Income Risk," Econometrica, Econometric Society, vol. 87(1), pages 255-290, January.
    59. King, Robert G. & Plosser, Charles I. & Rebelo, Sergio T., 1988. "Production, growth and business cycles : I. The basic neoclassical model," Journal of Monetary Economics, Elsevier, vol. 21(2-3), pages 195-232.
    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. Kase, Hanno & Melosi, Leonardo & Rottner, Matthias, 2022. "Estimating Nonlinear Heterogeneous Agents Models with Neural Networks," CEPR Discussion Papers 17391, C.E.P.R. Discussion Papers.
    2. Christian Bayer & Benjamin Born & Ralph Luetticke, 2024. "Shocks, Frictions, and Inequality in US Business Cycles," American Economic Review, American Economic Association, vol. 114(5), pages 1211-1247, May.
    3. Ralph Luetticke, 2021. "Transmission of Monetary Policy with Heterogeneity in Household Portfolios," American Economic Journal: Macroeconomics, American Economic Association, vol. 13(2), pages 1-25, April.
    4. Luetticke, Ralph, 2018. "Transmission of monetary policy with heterogeneity in household portfolios," LSE Research Online Documents on Economics 90377, London School of Economics and Political Science, LSE Library.
    5. Dobrew, Michael & Gerke, Rafael & Giesen, Sebastian & Röttger, Joost, 2025. "Make-up strategies with incomplete markets and bounded rationality," European Economic Review, Elsevier, vol. 173(C).
    6. Marlon Azinovic-Yang & Jan v{Z}emliv{c}ka, 2025. "Deep Learning in the Sequence Space," Papers 2509.13623, arXiv.org, revised Mar 2026.
    7. Fernández-Villaverde, Jesús & Marbet, Joël & Nuño, Galo & Rachedi, Omar, 2025. "Inequality and the zero lower bound," Journal of Econometrics, Elsevier, vol. 249(PC).
    8. Marlon Azinovic-Yang & Jan Zemlicka, 2025. "Deep Learning in the Sequence Space," CERGE-EI Working Papers wp802, The Center for Economic Research and Graduate Education - Economics Institute, Prague.
    9. Zheng Gong, 2025. "When Does Household Heterogeneity Matter for Aggregate Fluctuations?," CRC TR 224 Discussion Paper Series crctr224_2025_624v2, University of Bonn and University of Mannheim, Germany, revised Sep 2025.
    10. Francesco Ferlaino, 2025. "Effects of different financial frictions on households," Working Papers in Public Economics 263, Department of Economics and Law, Sapienza University of Rome.
    11. Bayer, Christian & Born, Benjamin & Luetticke, Ralph, 2023. "The liquidity channel of fiscal policy," Journal of Monetary Economics, Elsevier, vol. 134(C), pages 86-117.
    12. Nils M. Gornemann & Keith Kuester & Makoto Nakajima, 2016. "Doves for the Rich, Hawks for the Poor? Distributional Consequences of Monetary Policy," International Finance Discussion Papers 1167, Board of Governors of the Federal Reserve System (U.S.).
    13. repec:bon:boncrc:crctr224_2025_624 is not listed on IDEAS
    14. 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.
    15. Hagedorn, Marcus & Luo, Jinfeng & Manovskii, Iourii & Mitman, Kurt, 2019. "Forward guidance," Journal of Monetary Economics, Elsevier, vol. 102(C), pages 1-23.
    16. Adrien Auclert & Ludwig Straub & Matthew Rognlie, 2019. "Micro Jumps, Macro Humps: monetary policy and business cycles in an estimated HANK model," 2019 Meeting Papers 1449, Society for Economic Dynamics.
    17. Matthew Rognlie & Adrien Auclert, 2016. "Inequality and Aggregate Demand," 2016 Meeting Papers 1353, Society for Economic Dynamics.
    18. Aryan Eftekhari & Michel Juillard & Normann Rion & Simon Scheidegger, 2025. "Scalable Global Solution Techniques for High-Dimensional Models in Dynare," Papers 2503.11464, arXiv.org.
    19. Sergio Ocampo & Baxter Robinson, 2024. "Computing Longitudinal Moments for Heterogeneous Agent Models," Computational Economics, Springer;Society for Computational Economics, vol. 64(3), pages 1891-1912, September.
    20. de Ferra, Sergio & Mitman, Kurt & Romei, Federica, 2020. "Household heterogeneity and the transmission of foreign shocks," Journal of International Economics, Elsevier, vol. 124(C).
    21. Marlon Azinovic & Luca Gaegauf & Simon Scheidegger, 2022. "Deep Equilibrium Nets," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 63(4), pages 1471-1525, November.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    JEL classification:

    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • D31 - Microeconomics - - Distribution - - - Personal Income and Wealth Distribution
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • E52 - Macroeconomics and Monetary Economics - - Monetary Policy, Central Banking, and the Supply of Money and Credit - - - Monetary Policy

    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:bis:biswps:1312. 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: Martin Fessler (email available below). General contact details of provider: https://edirc.repec.org/data/bisssch.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.