IDEAS home Printed from https://ideas.repec.org/p/tin/wpaper/20260007.html

Self-driving neural networks for term structure modeling

Author

Listed:
  • Sicco Kooiker

    (Vrije Universiteit Amsterdam)

  • Janneke van Brummelen

    (Vrije Universiteit Amsterdam)

  • Julia Schaumburg

    (Vrije Universiteit Amsterdam)

  • Marcin Zamojski

    (Vrije Universiteit Amsterdam)

Abstract

We propose a factor model with time-varying loadings for term structure modeling and forecasting. While maintaining the interpretation of the factors as level, slope, and curvature through explicit identification restrictions, we allow the loadings to take flexible shapes by specifying them as neural networks that evolve over time using a “self-driving†updating scheme based on past forecast errors, with gradient scaling to improve robustness. Using an empirically calibrated simulation study and an application to U.S. Treasury yields across 24 maturities, we show that flexible and dynamic factor loadings improve forecasting performance relative to standard benchmarks, including Nelson-Siegel models and the random walk. The gains are strongest at medium maturities and shorter forecast horizons, highlighting the importance of capturing curvature dynamics. In-sample results further illustrate how time-varying loadings provide insight into changes in yield curve shape beyond traditional parametric specifications.

Suggested Citation

  • Sicco Kooiker & Janneke van Brummelen & Julia Schaumburg & Marcin Zamojski, 2026. "Self-driving neural networks for term structure modeling," Tinbergen Institute Discussion Papers 26-007/III, Tinbergen Institute.
  • Handle: RePEc:tin:wpaper:20260007
    as

    Download full text from publisher

    File URL: https://papers.tinbergen.nl/26007.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Francis X. Diebold & Monika Piazzesi & Glenn D. Rudebusch, 2005. "Modeling Bond Yields in Finance and Macroeconomics," American Economic Review, American Economic Association, vol. 95(2), pages 415-420, May.
    2. Luyang Chen & Markus Pelger & Jason Zhu, 2024. "Deep Learning in Asset Pricing," Management Science, INFORMS, vol. 70(2), pages 714-750, February.
    3. Koopman, Siem Jan & Mallee, Max I. P. & Van der Wel, Michel, 2010. "Analyzing the Term Structure of Interest Rates Using the Dynamic Nelson–Siegel Model With Time-Varying Parameters," Journal of Business & Economic Statistics, American Statistical Association, vol. 28(3), pages 329-343.
    4. Ying Lun Cheung, 2024. "Identification of Time-Varying Factor Models," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 42(1), pages 76-94, January.
    5. Daniele Bianchi & Matthias Büchner & Andrea Tamoni, 2021. "Bond Risk Premiums with Machine Learning [Quadratic term structure models: Theory and evidence]," The Review of Financial Studies, Society for Financial Studies, vol. 34(2), pages 1046-1089.
    6. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," Review of Finance, European Finance Association, vol. 33(5), pages 2223-2273.
    7. Mikkelsen, Jakob Guldbæk & Hillebrand, Eric & Urga, Giovanni, 2019. "Consistent estimation of time-varying loadings in high-dimensional factor models," Journal of Econometrics, Elsevier, vol. 208(2), pages 535-562.
    8. Creal, Drew & Koopman, Siem Jan & Lucas, André & Zamojski, Marcin, 2024. "Observation-driven filtering of time-varying parameters using moment conditions," Journal of Econometrics, Elsevier, vol. 238(2).
    9. Peter R. Hansen & Asger Lunde & James M. Nason, 2011. "The Model Confidence Set," Econometrica, Econometric Society, vol. 79(2), pages 453-497, March.
    10. Marco Del Negro & Christopher Otrok, 2008. "Dynamic factor models with time-varying parameters: measuring changes in international business cycles," Staff Reports 326, Federal Reserve Bank of New York.
    11. Gu, Shihao & Kelly, Bryan & Xiu, Dacheng, 2021. "Autoencoder asset pricing models," Journal of Econometrics, Elsevier, vol. 222(1), pages 429-450.
    12. Catherine Doz & Domenico Giannone & Lucrezia Reichlin, 2012. "A Quasi–Maximum Likelihood Approach for Large, Approximate Dynamic Factor Models," The Review of Economics and Statistics, MIT Press, vol. 94(4), pages 1014-1024, November.
    13. Borus Jungbacker & Siem Jan Koopman, 2015. "Likelihood‐based dynamic factor analysis for measurement and forecasting," Econometrics Journal, Royal Economic Society, vol. 18(2), pages 1-21, June.
    14. Liu, Yan & Wu, Jing Cynthia, 2021. "Reconstructing the yield curve," Journal of Financial Economics, Elsevier, vol. 142(3), pages 1395-1425.
    15. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," The Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    16. Bai, Jushan & Ng, Serena, 2013. "Principal components estimation and identification of static factors," Journal of Econometrics, Elsevier, vol. 176(1), pages 18-29.
    17. Doron Avramov & Si Cheng & Lior Metzker, 2023. "Machine Learning vs. Economic Restrictions: Evidence from Stock Return Predictability," Management Science, INFORMS, vol. 69(5), pages 2587-2619, May.
    18. Rogier Quaedvlieg, 2021. "Multi-Horizon Forecast Comparison," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 39(1), pages 40-53, January.
    19. Diebold, Francis X. & Li, Canlin, 2006. "Forecasting the term structure of government bond yields," Journal of Econometrics, Elsevier, vol. 130(2), pages 337-364, February.
    20. Su, Liangjun & Wang, Xia, 2017. "On time-varying factor models: Estimation and testing," Journal of Econometrics, Elsevier, vol. 198(1), pages 84-101.
    21. M. Ayhan Kose & Christopher Otrok & Charles H. Whiteman, 2003. "International Business Cycles: World, Region, and Country-Specific Factors," American Economic Review, American Economic Association, vol. 93(4), pages 1216-1239, September.
    22. Harvey, David & Leybourne, Stephen & Newbold, Paul, 1997. "Testing the equality of prediction mean squared errors," International Journal of Forecasting, Elsevier, vol. 13(2), pages 281-291, June.
    23. Nelson, Charles R & Siegel, Andrew F, 1987. "Parsimonious Modeling of Yield Curves," The Journal of Business, University of Chicago Press, vol. 60(4), pages 473-489, October.
    24. Drew Creal & Siem Jan Koopman & André Lucas, 2013. "Generalized Autoregressive Score Models With Applications," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 28(5), pages 777-795, August.
    25. G. Elliott & C. Granger & A. Timmermann (ed.), 2006. "Handbook of Economic Forecasting," Handbook of Economic Forecasting, Elsevier, edition 1, volume 1, number 1.
    26. Stock J.H. & Watson M.W., 2002. "Forecasting Using Principal Components From a Large Number of Predictors," Journal of the American Statistical Association, American Statistical Association, vol. 97, pages 1167-1179, December.
    27. Christensen, Jens H.E. & Diebold, Francis X. & Rudebusch, Glenn D., 2011. "The affine arbitrage-free class of Nelson-Siegel term structure models," Journal of Econometrics, Elsevier, vol. 164(1), pages 4-20, September.
    28. Jushan Bai & Peng Wang, 2015. "Identification and Bayesian Estimation of Dynamic Factor Models," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 33(2), pages 221-240, April.
    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. Poncela, Pilar & Ruiz, Esther & Miranda, Karen, 2021. "Factor extraction using Kalman filter and smoothing: This is not just another survey," International Journal of Forecasting, Elsevier, vol. 37(4), pages 1399-1425.
    2. Christian Fieberg & Gerrit Liedtke & Thorsten Poddig, 2025. "Recurrent double-conditional factor model," OR Spectrum: Quantitative Approaches in Management, Springer;Gesellschaft für Operations Research e.V., vol. 47(1), pages 205-254, March.
    3. Cheng, Tingting & Dong, Chaohua & Gao, Jiti & Linton, Oliver, 2024. "GMM estimation for high-dimensional panel data models," Journal of Econometrics, Elsevier, vol. 244(1).
    4. Cong, Lin William & Feng, Guanhao & He, Jingyu & He, Xin, 2025. "Growing the efficient frontier on panel trees," Journal of Financial Economics, Elsevier, vol. 167(C).
    5. Cakici, Nusret & Zaremba, Adam, 2024. "What drives stock returns across countries? Insights from machine learning models," International Review of Financial Analysis, Elsevier, vol. 96(PA).
    6. Helena Chuliá & Sabuhi Khalili & Jorge M. Uribe, 2024. "Monitoring time-varying systemic risk in sovereign debt and currency markets with generative AI," IREA Working Papers 202402, University of Barcelona, Research Institute of Applied Economics, revised Feb 2024.
    7. Eric Hillebrand & Huiyu Huang & Tae-Hwy Lee & Canlin Li, 2018. "Using the Entire Yield Curve in Forecasting Output and Inflation," Econometrics, MDPI, vol. 6(3), pages 1-27, August.
    8. Chai, Bailin & Jiang, Fuwei & Lin, Yihao & You, Tian, 2025. "Predicting bond risk premiums with machine learning: Evidence from China," Pacific-Basin Finance Journal, Elsevier, vol. 93(C).
    9. Eghbal Rahimikia & Stefan Zohren & Ser-Huang Poon, 2021. "Realised Volatility Forecasting: Machine Learning via Financial Word Embedding," Papers 2108.00480, arXiv.org, revised Apr 2026.
    10. Bennedsen, Mikkel & Hillebrand, Eric & Koopman, Siem Jan, 2021. "Modeling, forecasting, and nowcasting U.S. CO2 emissions using many macroeconomic predictors," Energy Economics, Elsevier, vol. 96(C).
    11. Zhao, Albert Bo & Cheng, Tingting, 2022. "Stock return prediction: Stacking a variety of models," Journal of Empirical Finance, Elsevier, vol. 67(C), pages 288-317.
    12. Stock, J.H. & Watson, M.W., 2016. "Dynamic Factor Models, Factor-Augmented Vector Autoregressions, and Structural Vector Autoregressions in Macroeconomics," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 415-525, Elsevier.
    13. Daniel Borup & Jonas N. Eriksen & Mads M. Kjær & Martin Thyrsgaard, 2024. "Predicting Bond Return Predictability," Management Science, INFORMS, vol. 70(2), pages 931-951, February.
    14. Maung, Kenwin & Swanson, Norman R., 2025. "A survey of models and methods used for forecasting when investing in financial markets," International Journal of Forecasting, Elsevier, vol. 41(4), pages 1355-1382.
    15. Caio Almeida & Kym Ardison & Daniela Kubudi & Axel Simonsen & José Vicente, 2018. "Forecasting Bond Yields with Segmented Term Structure Models," Journal of Financial Econometrics, Oxford University Press, vol. 16(1), pages 1-33.
    16. Sergio Consoli & Luca Tiozzo Pezzoli & Elisa Tosetti, 2022. "Neural forecasting of the Italian sovereign bond market with economic news," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 185(S2), pages 197-224, December.
    17. Norman R. Swanson & Weiqi Xiong & Xiye Yang, 2020. "Predicting interest rates using shrinkage methods, real‐time diffusion indexes, and model combinations," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 35(5), pages 587-613, August.
    18. Lin William Cong & Guanhao Feng & Jingyu He & Xin He, 2022. "Growing the Efficient Frontier on Panel Trees," NBER Working Papers 30805, National Bureau of Economic Research, Inc.
    19. Fang, Yvonne & Hu, Xiaolu & Zhong, Angel & Pan, Zheyao & Cao, Youdan, 2026. "Machine learning in corporate bonds: Evidence from China," Journal of Banking & Finance, Elsevier, vol. 184(C).
    20. Shen, Jiancheng & Wang, Jia & Ma, Xuejun & Chen, Xin & Cang, Han, 2026. "Volatility and skewness predictability with deep learning and big data: Chinese futures market case," Pacific-Basin Finance Journal, Elsevier, vol. 96(C).

    More about this item

    Keywords

    ;
    ;
    ;

    JEL classification:

    • C38 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Classification Methdos; Cluster Analysis; Principal Components; Factor Analysis
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • E43 - Macroeconomics and Monetary Economics - - Money and Interest Rates - - - Interest Rates: Determination, Term Structure, and Effects

    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:tin:wpaper:20260007. 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: Tinbergen Office +31 (0)10-4088900 (email available below). General contact details of provider: https://edirc.repec.org/data/tinbenl.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.