IDEAS home Printed from https://ideas.repec.org/a/zbw/espost/323613.html

Forecasting CPI inflation components with Hierarchical Recurrent Neural Networks

Author

Listed:
  • Barkan, Oren
  • Benchimol, Jonathan
  • Caspi, Itamar
  • Cohen, Eliya
  • Hammer, Allon
  • Koenigstein, Noam

Abstract

We present a hierarchical architecture based on recurrent neural networks for predicting disaggregated inflation components of the Consumer Price Index (CPI). While the majority of existing research is focused on predicting headline inflation, many economic and financial institutions are interested in its partial disaggregated components. To this end, we developed the novel Hierarchical Recurrent Neural Network (HRNN) model, which utilizes information from higher levels in the CPI hierarchy to improve predictions at the more volatile lower levels. Based on a large dataset from the US CPI-U index, our evaluations indicate that the HRNN model significantly outperforms a vast array of well-known inflation prediction baselines. Our methodology and results provide additional forecasting measures and possibilities to policy and market makers on sectoral and component-specific price changes.

Suggested Citation

  • Barkan, Oren & Benchimol, Jonathan & Caspi, Itamar & Cohen, Eliya & Hammer, Allon & Koenigstein, Noam, 2023. "Forecasting CPI inflation components with Hierarchical Recurrent Neural Networks," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 39(3), pages 1145-1162.
  • Handle: RePEc:zbw:espost:323613
    DOI: 10.1016/j.ijforecast.2022.04.009
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/323613/1/IJoF2023-Forecasting-CPI-inflation-components.pdf
    Download Restriction: no

    File URL: https://libkey.io/10.1016/j.ijforecast.2022.04.009?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. Dick van Dijk & Timo Terasvirta & Philip Hans Franses, 2002. "Smooth Transition Autoregressive Models — A Survey Of Recent Developments," Econometric Reviews, Taylor & Francis Journals, vol. 21(1), pages 1-47.
    2. Chiranjit Chakraborty & Andreas Joseph, 2017. "Machine learning at central banks," Bank of England Staff Working Paper series 674, Bank of England.
    3. 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.
    4. Sendhil Mullainathan & Jann Spiess, 2017. "Machine Learning: An Applied Econometric Approach," Journal of Economic Perspectives, American Economic Association, vol. 31(2), pages 87-106, Spring.
    5. Aparicio, Diego & Bertolotto, Manuel I., 2020. "Forecasting inflation with online prices," International Journal of Forecasting, Elsevier, vol. 36(2), pages 232-247.
    6. Nakamura, Emi, 2005. "Inflation forecasting using a neural network," Economics Letters, Elsevier, vol. 86(3), pages 373-378, March.
    7. James H. Stock & Mark W. Watson, 2010. "Modeling inflation after the crisis," Proceedings - Economic Policy Symposium - Jackson Hole, Federal Reserve Bank of Kansas City, pages 173-220.
    8. James H. Stock & Mark W. Watson, 2020. "Trend, Seasonal, and Sectorial Inflation in the Euro Area," Central Banking, Analysis, and Economic Policies Book Series, in: Gonzalo Castex & Jordi Galí & Diego Saravia (ed.),Changing Inflation Dynamics,Evolving Monetary Policy, edition 1, volume 27, chapter 9, pages 317-344, Central Bank of Chile.
    9. 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.
    10. Friedman, Jerome H., 2002. "Stochastic gradient boosting," Computational Statistics & Data Analysis, Elsevier, vol. 38(4), pages 367-378, February.
    11. Swinkels, Laurens, 2018. "Simulating historical inflation-linked bond returns," Journal of Empirical Finance, Elsevier, vol. 48(C), pages 374-389.
    12. Milton Friedman, 1961. "The Lag in Effect of Monetary Policy," Journal of Political Economy, University of Chicago Press, vol. 69(5), pages 447-447.
    13. Peter R. Hansen & Asger Lunde & James M. Nason, 2011. "The Model Confidence Set," Econometrica, Econometric Society, vol. 79(2), pages 453-497, March.
    14. Zhou Zhou, 2012. "Measuring nonlinear dependence in time‐series, a distance correlation approach," Journal of Time Series Analysis, Wiley Blackwell, vol. 33(3), pages 438-457, May.
    15. Ida, Daisuke, 2020. "Sectoral inflation persistence and optimal monetary policy," Journal of Macroeconomics, Elsevier, vol. 65(C).
    16. James H. Stock & Mark W. Watson, 2019. "Trend, Seasonal, and Sectoral Inflation in the Euro Area," Working Papers Central Bank of Chile 847, Central Bank of Chile.
    17. James H. Stock & Mark W. Watson, 2007. "Erratum to "Why Has U.S. Inflation Become Harder to Forecast?"," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(7), pages 1849-1849, October.
    18. McAdam, Peter & McNelis, Paul, 2005. "Forecasting inflation with thick models and neural networks," Economic Modelling, Elsevier, vol. 22(5), pages 848-867, September.
    19. G. Elliott & C. Granger & A. Timmermann (ed.), 2013. "Handbook of Economic Forecasting," Handbook of Economic Forecasting, Elsevier, edition 1, volume 2, number 2.
    20. Faust, Jon & Wright, Jonathan H., 2013. "Forecasting Inflation," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 2-56, Elsevier.
    21. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    22. M. Ali Choudhary & Adnan Haider, 2012. "Neural network models for inflation forecasting: an appraisal," Applied Economics, Taylor & Francis Journals, vol. 44(20), pages 2631-2635, July.
    23. James H. Stock & Mark W. Watson, 2007. "Erratum to “Why Has U.S. Inflation Become Harder to Forecast?”," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(7), pages 1849-1849, October.
    24. Luengo-Prado, María José & Rao, Nikhil & Sheremirov, Viacheslav, 2018. "Sectoral inflation and the Phillips curve: What has changed since the Great Recession?," Economics Letters, Elsevier, vol. 172(C), pages 63-68.
    25. Susan Athey, 2018. "The Impact of Machine Learning on Economics," NBER Chapters, in: The Economics of Artificial Intelligence: An Agenda, pages 507-547, National Bureau of Economic Research, Inc.
    26. Simon Gilchrist & Raphael Schoenle & Jae Sim & Egon Zakrajšek, 2017. "Inflation Dynamics during the Financial Crisis," American Economic Review, American Economic Association, vol. 107(3), pages 785-823, March.
    27. James H. Stock & Mark W. Watson, 2010. "Modeling Inflation After the Crisis," Working Papers 2010-1, Princeton University. Economics Department..
    28. 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.
    29. Michael Woodford, 2012. "Inflation Targeting and Financial Stability," NBER Working Papers 17967, National Bureau of Economic Research, Inc.
    30. Hooper, Peter & Mishkin, Frederic S. & Sufi, Amir, 2020. "Prospects for inflation in a high pressure economy: Is the Phillips curve dead or is it just hibernating?," Research in Economics, Elsevier, vol. 74(1), pages 26-62.
    31. Ibarra, Raul, 2012. "Do disaggregated CPI data improve the accuracy of inflation forecasts?," Economic Modelling, Elsevier, vol. 29(4), pages 1305-1313.
    32. Makridakis, Spyros & Spiliotis, Evangelos & Assimakopoulos, Vassilios, 2020. "The M4 Competition: 100,000 time series and 61 forecasting methods," International Journal of Forecasting, Elsevier, vol. 36(1), pages 54-74.
    33. 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.
    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. Joseph, Andreas & Potjagailo, Galina & Chakraborty, Chiranjit & Kapetanios, George, 2024. "Forecasting UK inflation bottom up," International Journal of Forecasting, Elsevier, vol. 40(4), pages 1521-1538.
    2. Sengupta, Shovon & Chakraborty, Tanujit & Singh, Sunny Kumar, 2025. "Forecasting CPI inflation under economic policy and geopolitical uncertainties," International Journal of Forecasting, Elsevier, vol. 41(3), pages 953-981.
    3. Kishaba, Yui & Okuda, Tatsushi, 2025. "The slope of the Phillips curve for service prices in Japan: Regional panel data approach," Journal of the Japanese and International Economies, Elsevier, vol. 78(C).
    4. Szafranek, Karol, 2019. "Bagged neural networks for forecasting Polish (low) inflation," International Journal of Forecasting, Elsevier, vol. 35(3), pages 1042-1059.
    5. 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.
    6. Macias, Paweł & Stelmasiak, Damian & Szafranek, Karol, 2023. "Nowcasting food inflation with a massive amount of online prices," International Journal of Forecasting, Elsevier, vol. 39(2), pages 809-826.
    7. Richard Ashley & Randal Verbrugge, 2025. "The intermittent Phillips curve: Finding a stable (but persistence‐dependent) Phillips curve model specification," Economic Inquiry, Western Economic Association International, vol. 63(3), pages 926-944, July.
    8. Shovon Sengupta & Bhanu Pratap & Amit Pawar, 2025. "Non-linear Phillips Curve for India: Evidence from Explainable Machine Learning," Papers 2504.05350, arXiv.org.
    9. Beck, Günter W. & Carstensen, Kai & Menz, Jan-Oliver & Schnorrenberger, Richard & Wieland, Elisabeth, 2023. "Nowcasting consumer price inflation using high-frequency scanner data: Evidence from Germany," Discussion Papers 34/2023, Deutsche Bundesbank.
    10. Bhanu Pratap & Amit Pawar & Shovon Sengupta, 2026. "Non-linear Phillips Curve for India: Evidence from Explainable Machine Learning," Computational Economics, Springer;Society for Computational Economics, vol. 67(3), pages 2301-2344, March.
    11. Pijush Kanti Das & Prabir Kumar Das, 2025. "Artificial Intelligence and Inflation Forecasting: A Contemporary Perspective," South Asian Journal of Macroeconomics and Public Finance, , vol. 14(1), pages 133-164, June.
    12. Philippe Goulet Coulombe, 2024. "The macroeconomy as a random forest," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 39(3), pages 401-421, April.
    13. Shovon Sengupta & Tanujit Chakraborty & Sunny Kumar Singh, 2023. "Forecasting CPI inflation under economic policy and geopolitical uncertainties," Papers 2401.00249, arXiv.org, revised Jul 2024.
    14. Hasan ŞENGÜLER & Berat KARA, 2025. "Forecasting the Inflation for Budget Forecasters: An Analysis of ANN Model Performance in Türkiye," Journal of Research in Economics, Politics & Finance, Ersan ERSOY, vol. 10(1), pages 58-91.
    15. 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).
    16. Nason, Guy P. & Palasciano, Henry Antonio, 2026. "Forecasting UK consumer price inflation with RaGNAR: Random generalised network autoregressive processes," International Journal of Forecasting, Elsevier, vol. 42(1), pages 181-202.
    17. 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.
    18. Jan Prüser, 2021. "Forecasting US inflation using Markov dimension switching," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(3), pages 481-499, April.
    19. 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).
    20. Bańbura, Marta & Bobeica, Elena, 2023. "Does the Phillips curve help to forecast euro area inflation?," International Journal of Forecasting, Elsevier, vol. 39(1), pages 364-390.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • E31 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Price Level; Inflation; Deflation
    • E37 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Forecasting and Simulation: Models and Applications
    • C80 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - General
    • C89 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other

    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:zbw:espost:323613. 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: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://edirc.repec.org/data/zbwkide.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.