Arbitrage-Free Bond and Yield Curve Forecasting with Neural Filters under HJM Constraints
Xiang Gao, Cody Hyndman
TL;DR
This paper addresses the tension between economic consistency and predictive accuracy in fixed-income forecasting by embedding no-arbitrage constraints into a neural, filter-based framework grounded in the HJM forward-rate model and a dynamic Nelson–Siegel specification. An arbitrage-regularization penalty, $\Lambda^{(p)}$, is trained alongside a neural encoder that parameterizes time-varying factors $(\kappa_t,\theta_t,\sigma_t)$ and latent state $X_t$, using Kalman, extended Kalman, and particle filters to forecast yields and bond prices. Empirically, arbitrage-regularized forecasts improve market-consistency and short-horizon accuracy, with the strongest gains at 5 days and short maturities, particularly in yield-space (KF); price-space forecasts (EKF/PF) show more modest improvements but benefit from robust error modeling via a multivariate generalized Gaussian. The framework bridges classical term-structure theory with neural encoders and differentiable filters, offering a scalable, arbitrage-consistent approach for day-to-day pricing and risk management, with future extensions to jumps, macro factors, and KalmanNet-style filtering.
Abstract
We develop an arbitrage-free deep learning framework for yield curve and bond price forecasting based on the Heath-Jarrow-Morton (HJM) term-structure model and a dynamic Nelson-Siegel parameterization of forward rates. Our approach embeds a no-arbitrage drift restriction into a neural state-space architecture by combining Kalman, extended Kalman, and particle filters with recurrent neural networks (LSTM/CLSTM), and introduces an explicit arbitrage error regularization (AER) term during training. The model is applied to U.S. Treasury and corporate bond data, and its performance is evaluated for both yield-space and price-space predictions at 1-day and 5-day horizons. Empirically, arbitrage regularization leads to its strongest improvements at short maturities, particularly in 5-day-ahead forecasts, increasing market-consistency as measured by bid-ask hit rates and reducing dollar-denominated prediction errors.
