Arbitrage-Free Bond and Yield Curve Forecasting with Neural Filters under HJM Constraints

Xiang Gao, Cody Hyndman
11/22/2025
q-fin.MFcs.LGq-fin.CP

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gao2025arbitragefree,
  title  = {Arbitrage-Free Bond and Yield Curve Forecasting with Neural Filters under HJM Constraints},
  author = {Xiang Gao and Cody Hyndman},
  year   = {2025},
  eprint = {2511.17892},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.17892v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.17892.svg)](https://codeofpaper.com/paper/2511.17892)

Discussion