IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2104.03757.html
   My bibliography  Save this paper

Predicting Inflation with Recurrent Neural Networks

Author

Listed:
  • Livia Paranhos

Abstract

This paper applies a recurrent neural network, the LSTM, to forecast inflation. This is an appealing model for time series as it processes each time step sequentially and explicitly learns dynamic dependencies. The paper also explores the dimension reduction capability of the model to uncover economically-meaningful factors that can explain the inflation process. Results from an exercise with US data indicate that the estimated neural nets present competitive, but not outstanding, performance against common benchmarks (including other machine learning models). The LSTM in particular is found to perform well at long horizons and during periods of heightened macroeconomic uncertainty. Interestingly, LSTM-implied factors present high correlation with business cycle indicators, informing on the usefulness of such signals as inflation predictors. The paper also sheds light on the impact of network initialization and architecture on forecast performance.

Suggested Citation

  • Livia Paranhos, 2021. "Predicting Inflation with Recurrent Neural Networks," Papers 2104.03757, arXiv.org, revised Oct 2023.
  • Handle: RePEc:arx:papers:2104.03757
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Carriero, Andrea & Galvão, Ana Beatriz & Kapetanios, George, 2019. "A comprehensive evaluation of macroeconomic forecasting methods," International Journal of Forecasting, Elsevier, vol. 35(4), pages 1226-1239.
    2. Chakraborty, Chiranjit & Joseph, Andreas, 2017. "Machine learning at central banks," Bank of England working papers 674, Bank of England.
    3. James H. Stock & Mark W. Watson, 2007. "Why Has U.S. Inflation Become Harder to Forecast?," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(s1), pages 3-33, February.
    4. Marcelo C. Medeiros & Gabriel F. R. Vasconcelos & Álvaro Veiga & Eduardo Zilberman, 2021. "Forecasting Inflation in a Data-Rich Environment: The Benefits of Machine Learning Methods," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 39(1), pages 98-119, January.
    5. Jonathon Hazell & Juan Herreño & Emi Nakamura & Jón Steinsson, 2022. "The Slope of the Phillips Curve: Evidence from U.S. States," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 137(3), pages 1299-1344.
    6. Thomas R. Cook & Aaron Smalter Hall, 2017. "Macroeconomic Indicator Forecasting with Deep Neural Networks," Research Working Paper RWP 17-11, Federal Reserve Bank of Kansas City.
    7. Andrew Atkeson & Lee E. Ohanian, 2001. "Are Phillips curves useful for forecasting inflation?," Quarterly Review, Federal Reserve Bank of Minneapolis, vol. 25(Win), pages 2-11.
    8. Jonathon Hazell & Juan Herreño & Emi Nakamura & Jón Steinsson, 2022. "The Slope of the Phillips Curve: Evidence from U.S. States," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 137(3), pages 1299-1344.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Jonathan Leslie, 2023. "?Seeing? the Future: Improving Macroeconomic Forecasts with Spatial Data and Recurrent Convolutional Neural Networks," CAEPR Working Papers 2023-003 Classification-C, Center for Applied Economics and Policy Research, Department of Economics, Indiana University Bloomington.
    2. Ba Chu & Shafiullah Qureshi, 2021. "Comparing Out-of-Sample Performance of Machine Learning Methods to Forecast U.S. GDP Growth," Carleton Economic Papers 21-12, Carleton University, Department of Economics.
    3. Simionescu, Mihaela, 2022. "Econometrics of sentiments- sentometrics and machine learning: The improvement of inflation predictions in Romania using sentiment analysis," Technological Forecasting and Social Change, Elsevier, vol. 182(C).
    4. Lorenzo Menculini & Andrea Marini & Massimiliano Proietti & Alberto Garinei & Alessio Bozza & Cecilia Moretti & Marcello Marconi, 2021. "Comparing Prophet and Deep Learning to ARIMA in Forecasting Wholesale Food Prices," Forecasting, MDPI, vol. 3(3), pages 1-19, September.
    5. Giovanni Ballarin & Petros Dellaportas & Lyudmila Grigoryeva & Marcel Hirt & Sophie van Huellen & Juan-Pablo Ortega, 2022. "Reservoir Computing for Macroeconomic Forecasting with Mixed Frequency Data," Papers 2211.00363, arXiv.org, revised Jan 2024.
    6. Philippe Goulet Coulombe, 2022. "A Neural Phillips Curve and a Deep Output Gap," Papers 2202.04146, arXiv.org.
    7. Philippe Goulet Coulombe, 2022. "A Neural Phillips Curve and a Deep Output Gap," Working Papers 22-01, Chair in macroeconomics and forecasting, University of Quebec in Montreal's School of Management.
    8. Urmat Dzhunkeev, 2022. "Forecasting Unemployment in Russia Using Machine Learning Methods," Russian Journal of Money and Finance, Bank of Russia, vol. 81(1), pages 73-87, March.
    9. Daniel Stempel & Johannes Zahner, 2022. "DSGE Models and Machine Learning: An Application to Monetary Policy in the Euro Area," MAGKS Papers on Economics 202232, Philipps-Universität Marburg, Faculty of Business Administration and Economics, Department of Economics (Volkswirtschaftliche Abteilung).

    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. Paranhos, Livia, 2021. "Predicting Inflation with Neural Networks," The Warwick Economics Research Paper Series (TWERPS) 1344, University of Warwick, Department of Economics.
    2. Philippe Goulet Coulombe, 2022. "A Neural Phillips Curve and a Deep Output Gap," Working Papers 22-01, Chair in macroeconomics and forecasting, University of Quebec in Montreal's School of Management.
    3. Philippe Goulet Coulombe, 2022. "A Neural Phillips Curve and a Deep Output Gap," Papers 2202.04146, arXiv.org.
    4. Philippe Goulet Coulombe & Maxime Leroux & Dalibor Stevanovic & Stéphane Surprenant, 2022. "How is machine learning useful for macroeconomic forecasting?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 37(5), pages 920-964, August.
    5. Barkan, Oren & Benchimol, Jonathan & Caspi, Itamar & Cohen, Eliya & Hammer, Allon & Koenigstein, Noam, 2023. "Forecasting CPI inflation components with Hierarchical Recurrent Neural Networks," International Journal of Forecasting, Elsevier, vol. 39(3), pages 1145-1162.
    6. Hauzenberger, Niko & Huber, Florian & Klieber, Karin, 2023. "Real-time inflation forecasting using non-linear dimension reduction techniques," International Journal of Forecasting, Elsevier, vol. 39(2), pages 901-921.
    7. Marco Del Negro & Michele Lenza & Giorgio E. Primiceri & Andrea Tambalotti, 2020. "What's Up with the Phillips Curve?," Brookings Papers on Economic Activity, Economic Studies Program, The Brookings Institution, vol. 51(1 (Spring), pages 301-373.
    8. Richard Schnorrenberger & Aishameriane Schmidt & Guilherme Valle Moura, 2024. "Harnessing Machine Learning for Real-Time Inflation Nowcasting," Working Papers 806, DNB.
    9. Szafranek, Karol, 2019. "Bagged neural networks for forecasting Polish (low) inflation," International Journal of Forecasting, Elsevier, vol. 35(3), pages 1042-1059.
    10. Anna Almosova & Niek Andresen, 2023. "Nonlinear inflation forecasting with recurrent neural networks," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(2), pages 240-259, March.
    11. Ivan Baybuza, 2018. "Inflation Forecasting Using Machine Learning Methods," Russian Journal of Money and Finance, Bank of Russia, vol. 77(4), pages 42-59, December.
    12. Gao, Shen & Hou, Chenghan & Nguyen, Bao H., 2021. "Forecasting natural gas prices using highly flexible time-varying parameter models," Economic Modelling, Elsevier, vol. 105(C).
    13. Gao, Shen & Hou, Chenghan & Nguyen, Bao H., 2020. "Forecasting natural gas prices using highly flexible time-varying parameter models," Working Papers 2020-01, University of Tasmania, Tasmanian School of Business and Economics.
    14. Philippe Goulet Coulombe, 2020. "The Macroeconomy as a Random Forest," Papers 2006.12724, arXiv.org, revised Mar 2021.
    15. Francesco Bianchi & Giovanni Nicolo & Dongho Song, 2023. "Inflation and Real Activity over the Business Cycle," Finance and Economics Discussion Series 2023-038, Board of Governors of the Federal Reserve System (U.S.).
    16. Drago Bergholt & Francesco Furlanetto & Etienne Vaccaro-Grange, 2023. "Did monetary policy kill the Phillips Curve? Some simple arithmetics," Working Paper 2023/2, Norges Bank.
    17. Goulet Coulombe, Philippe & Leroux, Maxime & Stevanovic, Dalibor & Surprenant, Stéphane, 2021. "Macroeconomic data transformations matter," International Journal of Forecasting, Elsevier, vol. 37(4), pages 1338-1354.
    18. Philippe Goulet Coulombe, 2021. "The Macroeconomy as a Random Forest," Working Papers 21-05, Chair in macroeconomics and forecasting, University of Quebec in Montreal's School of Management.
    19. Cepni, Oguzhan & Clements, Michael P., 2024. "How local is the local inflation factor? Evidence from emerging European countries," International Journal of Forecasting, Elsevier, vol. 40(1), pages 160-183.
    20. Araujo, Gustavo Silva & Gaglianone, Wagner Piazza, 2023. "Machine learning methods for inflation forecasting in Brazil: New contenders versus classical models," Latin American Journal of Central Banking (previously Monetaria), Elsevier, vol. 4(2).

    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:2104.03757. 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.