IDEAS home Printed from https://ideas.repec.org/p/bde/wpaper/2444.html
   My bibliography  Save this paper

Taming the curse of dimensionality: quantitative economics with deep learning

Author

Listed:
  • Jesús Fernández-Villaverde

    (UNIVERSITY OF PENNSYLVANIA, NBER, CEPR)

  • Galo Nuño

    (BANCO DE ESPAÑA, CEPR, CEMFI)

  • Jesse Perla

    (UNIVERSITY OF BRITISH COLUMBIA)

Abstract

We argue that deep learning provides a promising approach to addressing the curse of dimensionality in quantitative economics. We begin by exploring the unique challenges involved in solving dynamic equilibrium models, particularly the feedback loop between individual agents’ decisions and the aggregate consistency conditions required to achieve equilibrium. We then introduce deep neural networks and demonstrate their application by solving the stochastic neoclassical growth model. Next, we compare deep neural networks with traditional solution methods in quantitative economics. We conclude with a review of the applications of neural networks in quantitative economics and provide arguments for cautious optimism.

Suggested Citation

  • Jesús Fernández-Villaverde & Galo Nuño & Jesse Perla, 2024. "Taming the curse of dimensionality: quantitative economics with deep learning," Working Papers 2444, Banco de España.
  • Handle: RePEc:bde:wpaper:2444
    DOI: https://doi.org/10.53479/38233
    as

    Download full text from publisher

    File URL: https://www.bde.es/f/webbe/SES/Secciones/Publicaciones/PublicacionesSeriadas/DocumentosTrabajo/24/Files/dt2444e.pdf
    File Function: First version, November 2024
    Download Restriction: no

    File URL: https://libkey.io/https://doi.org/10.53479/38233?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Susan Athey & Guido W. Imbens, 2019. "Machine Learning Methods That Economists Should Know About," Annual Review of Economics, Annual Reviews, vol. 11(1), pages 685-725, August.
    2. 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.
    3. Childers, David & Fernández-Villaverde, Jesús & Perla, Jesse & Rackauckas, Chris & Wu, Peifan, 2022. "Differentiable State-Space Models and Hamiltonian Monte Carlo Estimation," CEPR Discussion Papers 17576, C.E.P.R. Discussion Papers.
    4. Jiequn Han & Yucheng Yang & Weinan E, 2021. "DeepHAM: A Global Solution Method for Heterogeneous Agent Models with Aggregate Shocks," Papers 2112.14377, arXiv.org, revised Feb 2022.
    5. Trieu H. Trinh & Yuhuai Wu & Quoc V. Le & He He & Thang Luong, 2024. "Solving olympiad geometry without human demonstrations," Nature, Nature, vol. 625(7995), pages 476-482, January.
    6. Duffy, John & McNelis, Paul D., 2001. "Approximating and simulating the stochastic growth model: Parameterized expectations, neural networks, and the genetic algorithm," Journal of Economic Dynamics and Control, Elsevier, vol. 25(9), pages 1273-1303, September.
    7. 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.
    8. Tetsuya Kaji & Elena Manresa & Guillaume Pouliot, 2023. "An Adversarial Approach to Structural Estimation," Econometrica, Econometric Society, vol. 91(6), pages 2041-2063, November.
    9. George William Evans, 2001. "Expectations in Macroeconomics Adaptive versus Eductive Learning," Revue économique, Presses de Sciences-Po, vol. 52(3), pages 573-582.
    10. Julio Dávila & Jay H. Hong & Per Krusell & José‐Víctor Ríos‐Rull, 2012. "Constrained Efficiency in the Neoclassical Growth Model With Uninsurable Idiosyncratic Shocks," Econometrica, Econometric Society, vol. 80(6), pages 2431-2467, November.
    11. SeHyoun Ahn & Greg Kaplan & Benjamin Moll & Thomas Winberry & Christian Wolf, 2018. "When Inequality Matters for Macro and Macro Matters for Inequality," NBER Macroeconomics Annual, University of Chicago Press, vol. 32(1), pages 1-75.
    12. Chakraborty, Chiranjit & Joseph, Andreas, 2017. "Machine learning at central banks," Bank of England working papers 674, Bank of England.
    13. Fernández-Villaverde, J. & Rubio-Ramírez, J.F. & Schorfheide, F., 2016. "Solution and Estimation Methods for DSGE Models," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 527-724, Elsevier.
    14. Fernández-Villaverde, Jesús & Zarruk Valencia , David, 2018. "A Practical Guide to Parallelization in Economics," CEPR Discussion Papers 12890, C.E.P.R. Discussion Papers.
    15. Jesús Fernández‐Villaverde & Samuel Hurtado & Galo Nuño, 2023. "Financial Frictions and the Wealth Distribution," Econometrica, Econometric Society, vol. 91(3), pages 869-901, May.
    16. 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.
    17. Marcet, Albert & Sargent, Thomas J., 1989. "Convergence of least squares learning mechanisms in self-referential linear stochastic models," Journal of Economic Theory, Elsevier, vol. 48(2), pages 337-368, August.
    18. 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.
    19. Gabriel Y. Weintraub & C. Lanier Benkard & Benjamin Van Roy, 2008. "Markov Perfect Industry Dynamics With Many Firms," Econometrica, Econometric Society, vol. 76(6), pages 1375-1411, November.
    20. Melissa Dell, 2024. "Deep Learning for Economists," Papers 2407.15339, arXiv.org, revised Nov 2024.
    21. Ebrahimi Kahou, Mahdi & Fernández-Villaverde, Jesús & Gomez Cardona, Sebastian & Perla, Jesse & Rosa, Jan, 2024. "Spooky Boundaries at a Distance: Inductive Bias, Dynamic Models, and Behavioral Macro," CEPR Discussion Papers 19386, C.E.P.R. Discussion Papers.
    22. Maliar, Lilia & Maliar, Serguei, 2003. "Parameterized Expectations Algorithm and the Moving Bounds," Journal of Business & Economic Statistics, American Statistical Association, vol. 21(1), pages 88-92, January.
    23. Bhagath Cheela & André DeHon & Jesús Fernández-Villaverde & Alessandro Peri, 2022. "Programming FPGAs for Economics: An Introduction to Electrical Engineering Economics," NBER Working Papers 29936, National Bureau of Economic Research, Inc.
    24. 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.
    25. Tohid Atashbar & Rui Aruhan Shi, 2022. "Deep Reinforcement Learning: Emerging Trends in Macroeconomics and Future Prospects," IMF Working Papers 2022/259, International Monetary Fund.
    26. Jesús Fernández-Villaverde & Joël Marbet & Galo Nuño & Omar Rachedi, 2023. "Inequality and the Zero Lower Bound," NBER Working Papers 31282, National Bureau of Economic Research, Inc.
    27. Jann Spiess & Guido Imbens & Amar Venugopal, 2023. "Double and Single Descent in Causal Inference with an Application to High-Dimensional Synthetic Control," Papers 2305.00700, arXiv.org, revised Oct 2023.
    28. Fudenberg, Drew & Levine, David K, 1993. "Self-Confirming Equilibrium," Econometrica, Econometric Society, vol. 61(3), pages 523-545, May.
    29. Trieu H. Trinh & Yuhuai Wu & Quoc V. Le & He He & Thang Luong, 2024. "Author Correction: Solving olympiad geometry without human demonstrations," Nature, Nature, vol. 627(8004), pages 8-8, March.
    30. David Silver & Aja Huang & Chris J. Maddison & Arthur Guez & Laurent Sifre & George van den Driessche & Julian Schrittwieser & Ioannis Antonoglou & Veda Panneershelvam & Marc Lanctot & Sander Dieleman, 2016. "Mastering the game of Go with deep neural networks and tree search," Nature, Nature, vol. 529(7587), pages 484-489, January.
    31. Justin Sirignano & Konstantinos Spiliopoulos, 2017. "DGM: A deep learning algorithm for solving partial differential equations," Papers 1708.07469, arXiv.org, revised Sep 2018.
    32. Victor Duarte & Diogo Duarte & Dejanir H. Silva, 2024. "Machine Learning for Continuous-Time Finance," CESifo Working Paper Series 10909, CESifo.
    33. Volodymyr Mnih & Koray Kavukcuoglu & David Silver & Andrei A. Rusu & Joel Veness & Marc G. Bellemare & Alex Graves & Martin Riedmiller & Andreas K. Fidjeland & Georg Ostrovski & Stig Petersen & Charle, 2015. "Human-level control through deep reinforcement learning," Nature, Nature, vol. 518(7540), pages 529-533, February.
    34. Mingli Chen & Andreas Joseph & Michael Kumhof & Xinlei Pan & Xuan Zhou, 2021. "Deep Reinforcement Learning in a Monetary Model," Papers 2104.09368, arXiv.org, revised Jan 2023.
    35. Hansen, Lars Peter & Sargent, Thomas J., 1980. "Formulating and estimating dynamic linear rational expectations models," Journal of Economic Dynamics and Control, Elsevier, vol. 2(1), pages 7-46, May.
    36. 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.
    37. Chaim Fershtman & Ariel Pakes, 2012. "Dynamic Games with Asymmetric Information: A Framework for Empirical Work," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 127(4), pages 1611-1661.
    38. Melissa Dell, 2024. "Deep Learning for Economists," NBER Working Papers 32768, National Bureau of Economic Research, Inc.
    39. Thomas Winberry, 2018. "A method for solving and estimating heterogeneous agent macro models," Quantitative Economics, Econometric Society, vol. 9(3), pages 1123-1151, November.
    40. Adrien Bilal, 2023. "Solving Heterogeneous Agent Models with the Master Equation," NBER Working Papers 31103, National Bureau of Economic Research, Inc.
    41. Hinterlang, Natascha & Tänzer, Alina, 2021. "Optimal monetary policy using reinforcement learning," Discussion Papers 51/2021, Deutsche Bundesbank.
    42. C. Lanier Benkard & Przemyslaw Jeziorski & Gabriel Y. Weintraub, 2015. "Oblivious equilibrium for concentrated industries," RAND Journal of Economics, RAND Corporation, vol. 46(4), pages 671-708, 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. 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.
    2. Schesch, Constantin, 2024. "Pseudospectral methods for continuous-time heterogeneous-agent models," Journal of Economic Dynamics and Control, Elsevier, vol. 163(C).
    3. 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.
    4. Papp, Tamás K. & Reiter, Michael, 2020. "Estimating linearized heterogeneous agent models using panel data," Journal of Economic Dynamics and Control, Elsevier, vol. 115(C).
    5. Jiequn Han & Yucheng Yang & Weinan E, 2021. "DeepHAM: A Global Solution Method for Heterogeneous Agent Models with Aggregate Shocks," Papers 2112.14377, arXiv.org, revised Feb 2022.
    6. Maliar, Lilia & Maliar, Serguei, 2022. "Deep learning classification: Modeling discrete labor choice," Journal of Economic Dynamics and Control, Elsevier, vol. 135(C).
    7. 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.
    8. François Le Grand & Xavier Ragot, 2022. "Managing Inequality Over Business Cycles: Optimal Policies With Heterogeneous Agents And Aggregate Shocks," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 63(1), pages 511-540, February.
    9. 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.
    10. Jesús Fernández-Villaverde & Joël Marbet & Galo Nuño & Omar Rachedi, 2023. "Inequality and the Zero Lower Bound," NBER Working Papers 31282, National Bureau of Economic Research, Inc.
    11. 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).
    12. Darracq Pariès, Matthieu & Notarpietro, Alessandro & Kilponen, Juha & Papadopoulou, Niki & Zimic, Srečko & Aldama, Pierre & Langenus, Geert & Alvarez, Luis Julian & Lemoine, Matthieu & Angelini, Elena, 2021. "Review of macroeconomic modelling in the Eurosystem: current practices and scope for improvement," Occasional Paper Series 267, European Central Bank.
    13. Michael Reiter, 2019. "Solving Heterogeneous Agent Models with Non-convex Optimization Problems: Linearization and Beyond %," 2019 Meeting Papers 1048, Society for Economic Dynamics.
    14. 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.
    15. Thomas J. Sargent & John Stachurski, 2024. "Dynamic Programming: Finite States," Papers 2401.10473, arXiv.org.
    16. Pedro Afonso Fernandes, 2024. "Forecasting with Neuro-Dynamic Programming," Papers 2404.03737, arXiv.org.
    17. Jesús Fernández‐Villaverde & Samuel Hurtado & Galo Nuño, 2023. "Financial Frictions and the Wealth Distribution," Econometrica, Econometric Society, vol. 91(3), pages 869-901, May.
    18. Felipe Alves & Christian Bustamante & Xing Guo & Katya Kartashova & Soyoung Lee & Thomas Michael Pugh & Kurt See & Yaz Terajima & Alexander Ueberfeldt, 2022. "Heterogeneity and Monetary Policy: A Thematic Review," Discussion Papers 2022-2, Bank of Canada.
    19. Broer, Tobias & Kohlhas, Alexandre N. & Mitman, Kurt & Schlafmann, Kathrin, 2022. "On the possibility of Krusell-Smith Equilibria," Journal of Economic Dynamics and Control, Elsevier, vol. 141(C).
    20. Marcelo Veracierto, 2020. "Computing Equilibria of Stochastic Heterogeneous Agent Models Using Decision Rule Histories," Working Paper Series WP-2020-05, Federal Reserve Bank of Chicago.

    More about this item

    Keywords

    deep learning; quantitative economics;

    JEL classification:

    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • E27 - Macroeconomics and Monetary Economics - - Consumption, Saving, Production, Employment, and Investment - - - Forecasting and Simulation: Models and Applications

    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:bde:wpaper:2444. 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: Ángel Rodríguez. Electronic Dissemination of Information Unit. Research Department. Banco de España (email available below). General contact details of provider: https://edirc.repec.org/data/bdegves.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.