IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2512.21031.html

Learning the Macroeconomic Language

Author

Listed:
  • Siddhartha Chib
  • Fei Tan

Abstract

We show how state-of-the-art large language models (LLMs), seemingly inapplicable to the small samples typical of macroeconomics, can be trained effectively for macroeconomic forecasting. We estimate a dynamic stochastic general equilibrium (DSGE) model on an initial segment of the data to obtain a posterior distribution over structural parameters. We sample from this posterior to generate millions of theory-consistent synthetic panels that, when mixed with actual macroeconomic data, form the training corpus for a time-series transformer with attention. The trained model is then used to forecast out-of-sample through 2025. The results show that this hybrid forecaster, which combines the theoretical coherence of DSGE models with the representational power of modern LLMs, learns key features of the macroeconomic language.

Suggested Citation

  • Siddhartha Chib & Fei Tan, 2025. "Learning the Macroeconomic Language," Papers 2512.21031, arXiv.org, revised Dec 2025.
  • Handle: RePEc:arx:papers:2512.21031
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Del Negro, Marco & Schorfheide, Frank & Smets, Frank & Wouters, Rafael, 2007. "On the Fit of New Keynesian Models," Journal of Business & Economic Statistics, American Statistical Association, vol. 25, pages 123-143, April.
    2. Frank Smets & Rafael Wouters, 2007. "Shocks and Frictions in US Business Cycles: A Bayesian DSGE Approach," American Economic Review, American Economic Association, vol. 97(3), pages 586-606, June.
    3. Yu Shi & Zongliang Fu & Shuo Chen & Bohan Zhao & Wei Xu & Changshui Zhang & Jian Li, 2025. "Kronos: A Foundation Model for the Language of Financial Markets," Papers 2508.02739, arXiv.org.
    4. Marco Del Negro & Frank Schorfheide, 2004. "Priors from General Equilibrium Models for VARS," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 45(2), pages 643-673, May.
    5. Ingram, Beth F. & Whiteman, Charles H., 1994. "Supplanting the 'Minnesota' prior: Forecasting macroeconomic time series using real business cycle model priors," Journal of Monetary Economics, Elsevier, vol. 34(3), pages 497-510, December.
    6. Siddhartha Chib & Minchul Shin & Fei Tan, 2023. "DSGE-SVt: An Econometric Toolkit for High-Dimensional DSGE Models with SV and t Errors," Computational Economics, Springer;Society for Computational Economics, vol. 61(1), pages 69-111, January.
    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. Warne, Anders & Coenen, Günter & Christoffel, Kai, 2010. "Forecasting with DSGE models," Working Paper Series 1185, European Central Bank.
    2. Paccagnini, Alessia, 2017. "Dealing with Misspecification in DSGE Models: A Survey," MPRA Paper 82914, University Library of Munich, Germany.
    3. Özer Karagedikli & Troy Matheson & Christie Smith & Shaun P. Vahey, 2010. "RBCs AND DSGEs: THE COMPUTATIONAL APPROACH TO BUSINESS CYCLE THEORY AND EVIDENCE," Journal of Economic Surveys, Wiley Blackwell, vol. 24(1), pages 113-136, February.
    4. Bekiros, Stelios D. & Paccagnini, Alessia, 2014. "Bayesian forecasting with small and medium scale factor-augmented vector autoregressive DSGE models," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 298-323.
    5. Maik H. Wolters, 2015. "Evaluating Point and Density Forecasts of DSGE Models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 30(1), pages 74-96, January.
    6. Negro, Marco Del & Schorfheide, Frank, 2013. "DSGE Model-Based Forecasting," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 57-140, Elsevier.
    7. Ghent, Andra C., 2009. "Comparing DSGE-VAR forecasting models: How big are the differences?," Journal of Economic Dynamics and Control, Elsevier, vol. 33(4), pages 864-882, April.
    8. Bekiros Stelios & Paccagnini Alessia, 2015. "Estimating point and density forecasts for the US economy with a factor-augmented vector autoregressive DSGE model," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 19(2), pages 107-136, April.
    9. De Luigi, Clara & Huber, Florian, 2018. "Debt regimes and the effectiveness of monetary policy," Journal of Economic Dynamics and Control, Elsevier, vol. 93(C), pages 218-238.
    10. 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.
    11. Chin, Kuo-Hsuan & Li, Xue, 2019. "Bayesian forecast combination in VAR-DSGE models," Journal of Macroeconomics, Elsevier, vol. 59(C), pages 278-298.
    12. Mauro Costantini & Ulrich Gunter & Robert M. Kunst, 2017. "Forecast Combinations in a DSGE‐VAR Lab," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 36(3), pages 305-324, April.
    13. Aruoba, S. Borağan & Bocola, Luigi & Schorfheide, Frank, 2017. "Assessing DSGE model nonlinearities," Journal of Economic Dynamics and Control, Elsevier, vol. 83(C), pages 34-54.
    14. Cristiano Cantore & Vasco J. Gabriel & Paul Levine & Joseph Pearlman & Bo Yang, 2013. "The science and art of DSGE modelling: II – model comparisons, model validation, policy analysis and general discussion," Chapters, in: Nigar Hashimzade & Michael A. Thornton (ed.), Handbook of Research Methods and Applications in Empirical Macroeconomics, chapter 19, pages 441-463, Edward Elgar Publishing.
    15. Kriwoluzky, Alexander, 2008. "Matching theory and data: Bayesian vector autoregression and dynamic stochastic general equilibrium models," SFB 649 Discussion Papers 2008-060, Humboldt University Berlin, Collaborative Research Center 649: Economic Risk.
    16. Rangan Gupta & Rudi Steinbach, 2010. "Forecasting Key Macroeconomic Variables of the South African Economy: A Small Open Economy New Keynesian DSGE-VAR Model," Working Papers 201019, University of Pretoria, Department of Economics.
    17. Marco Del Negro & Frank Schorfheide, 2009. "Monetary Policy Analysis with Potentially Misspecified Models," American Economic Review, American Economic Association, vol. 99(4), pages 1415-1450, September.
    18. Luca Fanelli, 2009. "Estimation of quasi-rational DSGE monetary models," Quaderni di Dipartimento 3, Department of Statistics, University of Bologna.
    19. Kim, Kun Ho, 2011. "Density forecasting through disaggregation," International Journal of Forecasting, Elsevier, vol. 27(2), pages 394-412.
    20. Inoue, Atsushi & Kuo, Chun-Hung & Rossi, Barbara, 2020. "Identifying the sources of model misspecification," Journal of Monetary Economics, Elsevier, vol. 110(C), pages 1-18.

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