IDEAS home Printed from https://ideas.repec.org/p/ecb/ecbwps/20263236.html

Sequential solution for DSGE models with deep neural networks

Author

Listed:
  • Ferrari Minesso, Massimo
  • Frenzel, Carla

Abstract

This paper develops a sequential deep learning algorithm for solving dynamic stochastic general equilibrium (DSGE) models. The algorithm trains a deep neural network to approximate the model’s policy functions across four progressive phases: steady-state anchoring, exploration around the steady state, simulation on the ergodic set, and Monte Carlo integration of stochastic expectations. Training requires no pre-computed starting approximation: the network initialises from the analytically known steady state and constructs its training data endogenously, resolving the circularity between the training distribution and the solution. A systematic comparison across network architectures shows that shallow, moderately wide networks with an intermediate steady-state penalty consistently deliver the best accuracy at the lowest computational cost. We apply the method to a two-country open-economy model and show that large tariff shocks generate non-linearities that local methods cannot reproduce even at higher orders. JEL Classification: C45, C63, C68, E13, F13

Suggested Citation

  • Ferrari Minesso, Massimo & Frenzel, Carla, 2026. "Sequential solution for DSGE models with deep neural networks," Working Paper Series 3236, European Central Bank.
  • Handle: RePEc:ecb:ecbwps:20263236
    as

    Download full text from publisher

    File URL: https://www.ecb.europa.eu//pub/pdf/scpwps/ecb.wp3236~1dc726a7fe.en.pdf
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C68 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computable General Equilibrium Models
    • E13 - Macroeconomics and Monetary Economics - - General Aggregative Models - - - Neoclassical
    • F13 - International Economics - - Trade - - - Trade Policy; International Trade Organizations

    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:ecb:ecbwps:20263236. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Official Publications (email available below). General contact details of provider: https://edirc.repec.org/data/emieude.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.