[Paper Review] Long short-term memory networks and laglasso for bond yield forecasting: Peeping inside the black box
This paper proposes a novel LSTM-LagLasso methodology to forecast 10-year government bond yields using long short-term memory networks and explain their internal decision-making. It demonstrates that univariate LSTMs with memory outperform memory-free multilayer perceptrons, and reveals that LSTM units dynamically activate/deactivate based on yield ranges and features, with signals explainable by exogenous macroeconomic and market variables through the new LSTM-LagLasso framework.
Modern decision-making in fixed income asset management benefits from intelligent systems, which involve the use of state-of-the-art machine learning models and appropriate methodologies. We conduct the first study of bond yield forecasting using long short-term memory (LSTM) networks, validating its potential and identifying its memory advantage. Specifically, we model the 10-year bond yield using univariate LSTMs with three input sequences and five forecasting horizons. We compare those with multilayer perceptrons (MLP), univariate and with the most relevant features. To demystify the notion of black box associated with LSTMs, we conduct the first internal study of the model. To this end, we calculate the LSTM signals through time, at selected locations in the memory cell, using sequence-to-sequence architectures, uni and multivariate. We then proceed to explain the states' signals using exogenous information, for what we develop the LSTM-LagLasso methodology. The results show that the univariate LSTM model with additional memory is capable of achieving similar results as the multivariate MLP using macroeconomic and market information. Furthermore, shorter forecasting horizons require smaller input sequences and vice-versa. The most remarkable property found consistently in the LSTM signals, is the activation/deactivation of units through time, and the specialisation of units by yield range or feature. Those signals are complex but can be explained by exogenous variables. Additionally, some of the relevant features identified via LSTM-LagLasso are not commonly used in forecasting models. In conclusion, our work validates the potential of LSTMs and methodologies for bonds, providing additional tools for financial practitioners.
Motivation & Objective
- To evaluate the forecasting performance of LSTM networks on 10-year government bond yields compared to memory-free models like multilayer perceptrons.
- To demystify the black-box nature of LSTMs by analyzing internal signals in the memory cell and hidden states over time.
- To develop and validate a new explainability methodology, LSTM-LagLasso, that identifies relevant external features and their time lags influencing LSTM predictions.
- To identify non-conventional, yet predictive, macroeconomic and market indicators not commonly used in traditional bond yield forecasting models.
Proposed method
- Employs univariate and multivariate sequence-to-sequence LSTM architectures with 3 hidden units for interpretability, trained on 10-year yield and additional features.
- Extracts and analyzes time-series signals from key LSTM components: forget gate, input gate, cell state, hidden state, and output gate at selected memory cell locations.
- Introduces LSTM-LagLasso—a hybrid of Lasso and Kalman-LagLasso—using lagged exogenous variables to explain LSTM internal states and identify relevant features and lags.
- Applies the LSTM-LagLasso method to explain LSTM signals using macroeconomic and market data, identifying which external variables influence model behavior.
- Uses reduced architectures (3 hidden units) and short forecasting horizons (1–5 days) to enhance interpretability and trace signal dynamics.
- Validates results against multilayer perceptrons and evaluates performance across multiple input sequences and forecasting horizons.
Experimental results
Research questions
- RQ1Can univariate LSTMs with memory outperform memory-free models like multilayer perceptrons in forecasting 10-year government bond yields?
- RQ2How do LSTM internal states—such as cell and hidden states—evolve over time, and can these dynamics be explained by external economic or market variables?
- RQ3What features and time lags are most relevant in explaining the internal signals of an LSTM model for bond yield prediction?
- RQ4Are there non-conventional or less commonly used features that significantly contribute to LSTM-based yield forecasts?
- RQ5To what extent can the LSTM-LagLasso methodology identify meaningful, interpretable relationships between external variables and internal LSTM states?
Key findings
- The univariate LSTM model with additional memory achieves forecasting performance comparable to multivariate MLPs using macroeconomic and market data.
- Shorter forecasting horizons require smaller input sequences, while longer horizons require larger sequences, indicating a need to adapt architecture to forecasting time frame.
- LSTM units consistently exhibit dynamic activation and deactivation over time, with specialization based on yield ranges or input features.
- The LSTM-LagLasso methodology identifies both conventional and non-conventional features as relevant, including those not typically used in standard forecasting models.
- The most relevant lags identified are t, t−1, and t−5, indicating that recent and slightly delayed information is crucial for prediction.
- The internal signals of the LSTM—particularly in the cell and hidden states—are complex but explainable by exogenous macroeconomic and market variables, reducing the model's black-box nature.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.