Forecasting the U.S. Treasury Yield Curve Using the Hybrid Dynamic Nelson-Siegel and Long Short-Term Memory (LSTM) Method
Abstract
U.S. Treasury (UST) securities are widely regarded as safe-haven assets and serve as global financial benchmarks, making the U.S. Treasury yield curve a key indicator of market expectations and economic risks, including recession probabilities. For Indonesia, where foreign exchange reserves are partly allocated to UST securities, accurate yield curve forecasts are essential for effective reserve management and monetary policy formulation. This study proposes a hybrid forecasting framework that integrates the dynamic Nelson–Siegel (DNS) model with long short-term memory (LSTM) networks to improve the accuracy and stability of U.S. Treasury yield curve forecasts. The decay parameter in the DNS model is estimated using the Newton–Raphson method, while the remaining parameters are estimated using ordinary least squares (OLS). The resulting DNS latent factors are subsequently used as input features for the LSTM model under various hyperparameter configurations. Forecasting performance is evaluated using the root mean squared error (RMSE) and benchmarked against a DNS–ARIMA model. The empirical results demonstrate that the proposed DNS-LSTM approach consistently outperforms DNS-ARIMA across all maturities, yielding lower forecasting errors and greater flexibility in capturing yield curve dynamics, particularly during the post-pandemic period. Overall, the DNS-LSTM model offers a more robust and data-driven alternative to traditional yield curve forecasting methods. These findings have practical implications for foreign reserve management, exchange rate stabilization, and investment decision-making. Future research may extend this framework by incorporating macroeconomic variables and exploring longer forecast horizons.
Keywords: Bonds, yield, dynamic Nelson-Siegel, long short-term memory, U.S. TreasuryFull Text:
PDFReferences
Z. Li, B. Wang, and Y. Chen, “Incorporating economic indicators and market sentiment effect into US Treasury bond yield prediction with machine learning,” J. Infrastructure, Policy Dev., vol. 8, no. 9, p. 7671, 2024, doi: https://doi.org/10.24294/jipd.v8i9.7671.
S. B. Hager, “A global bond: explaining the safe-haven status of US Treasury securities,” Eur. J. Int. Relations, vol. 23, no. 3, pp. 557–580, 2017, doi: https://doi.org/10.1177/1354066116657400.
D. Cooper, J. Fuhrer, and G. Olivei, “Predicting recessions using the yield curve: the role of the stance of monetary policy,” Fed. Reserv. Bank Bost., pp. 1–18, 2020, [Online]. Available: https://www.bostonfed.org/publications/current-policy-perspectives/2020/predicting-recessions-using-the-yield-curve.aspx
C. R. Nelson and A. F. Siegel, “Parsimonious modeling of yield curves,” The Journal of Business, vol. 60, no. 4. p. 473, 1987. doi: https://doi.org/10.1086/296409.
F. X. Diebold and C. Li, “Forecasting the term structure of government bond yields,” J. Econom., vol. 130, pp. 337–364, 2006. doi: https://doi.org/10.1016/j.jeconom.2005.03.005.
S. Fatimah, “Implementasi model dinamik Nelson Siegel pada peramalan yield to maturity,” Fak. Mat. Dan Ilmu Pengetah. Alam Univ. Indones., no. January, 2014, doi: https://doi.org/10.13140/RG.2.2.24123.21281.
F. X. Diebold, G. D. Rudebusch, and B. Aruoba, “The macroeconomy and the yield curve: a dynamic latent factor approach,” J. Econom., vol. 131, pp. 309–338, 2006. doi: https://doi.org/10.1016/j.jeconom.2005.01.011.
D. C. Montgomery, E. A. Peck, and G. G. Vining, “Introduction to Linear Regression Analysis,” 3rd ed., Canada: John Wiley & Sons, Inc, 2021.
G. E. P. Box, G. M. Jenkins, G. C. Reinsel, and G. M. Ljung, "Time Series Analysis: Forecasting and Control," 5th ed. Hoboken, NJ, USA: John Wiley & Sons, 2015.
R. J. Hyndman and G. Athanasopoulos, "Forecasting: Principles and Practice," 3rd ed. Melbourne: OTEXT, 2021. [Online]. Available: https://otexts.com/fpp3/
S. Shahi, F. H. Fenton, and E. M. Cherry, “Prediction of chaotic time series using recurrent neural networks and reservoir computing techniques: a comparative study,” Mach. Learn. with Appl., vol. 8, no. December 2021, p. 100300, 2022, doi: https://doi.org/10.1016/j.mlwa.2022.100300.
A. Zhang, Z. C. Lipton, M. Li, and A. J. Smola, "Dive into Deep Learning," Cambridge: Cambridge University Press, 2023. [Online]. Available: https://d2l.ai/chapter_recurrent-modern/lstm.html
M. Kuhn and K. Johnson, "Applied Predictive Modeling with Applications in R," vol. 26. 2013. [Online]. Available: http://appliedpredictivemodeling.com/s/Applied_Predictive_Modeling_in_R.pdf
Izzuddin, “Analisis model LSTM dalam peramalan sistem dinamis chaotic persamaan diferensial keuangan,” Repository.Uinjkt.Ac.Id, 2023, [Online]. Available: https://repository.uinjkt.ac.id/dspace/handle/123456789/66776.
M. Choudhry, Analysing and Interpreting the Yield Curve, Second Ed. Chichester: John Wiley & Sons, Inc, 2019.
R. Ronaldo and R. Y. Siregar, “Forecasting Indonesia’s Government Bond: machine learning & dynamic Nelson Siegel (DNS) model,” vol. 14, no. 2, pp. 109–117, 2017, [Online]. Available: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4923808.
Refbacks
- There are currently no refbacks.

.jpg)






