A Neural RDE-based model for solving path-dependent PDEs

Hao Ni, Bowen Fang, Hao Ni 0001, Yue WuarXiv 2023 · DOI

Abstract

Path-dependent partial differential equations (PPDEs) are essential for modeling complex financial instruments where payoffs depend on the historical trajectory of underlying assets. However, the infinite-dimensional nature of path space poses significant computational challenges. This paper introduces the EL-NRDE model, which integrates Neural Rough Differential Equations (NRDEs) with an embedding layer and log-signature features. By leveraging rough path theory and the adjoint sensitivity method, the proposed model achieves superior accuracy, linear scalability with dimensionality, and constant memory efficiency. Evaluations on benchmarks like the Heston model with autocallable options demonstrate that EL-NRDE significantly outperforms traditional LSTM-based solvers.

Introduction

In financial mathematics, pricing exotic options—such as Asian, lookback, or barrier options—requires solving path-dependent PDEs (PPDEs). Unlike standard PDEs where the solution depends on the current state, PPDE solutions depend on the entire history of the asset's price path. This dependency transforms the "spatial" variable into a function, rendering the problem effectively infinite-dimensional and leading to the "curse of dimensionality."

Visualization of horizontal (left) and vertical (right) path perturbations used in path-dependent calculus.

The mathematical framework for PPDEs often relies on the functional Itô calculus, which defines derivatives based on horizontal and vertical perturbations of paths (as illustrated above). While deep learning approaches like LSTMs have been proposed to handle these dependencies, they often struggle with long-range correlations and high memory consumption in high-dimensional settings.

Methodology: The EL-NRDE Architecture

The authors propose the Embedding Layer - Neural Rough Differential Equation (EL-NRDE) model to address these limitations. The architecture is built on four pillars:

  1. Dimension Reduction (Embedding Layer): To handle high-dimensional inputs ($d$), the model first employs an embedding layer (typically an LSTM) to project the raw path into a lower-dimensional latent space.
  2. Log-Signature Features: Drawing from rough path theory, the model utilizes log-signatures to compress the path into a compact set of features. These features capture the essential geometric and analytical properties of the path, providing a robust representation for the neural network.
  3. Neural Rough Differential Equations (NRDE): The core solver treats the PPDE solution as a dynamical system governed by a Controlled Differential Equation (CDE). Using the "Log-ODE" method, the CDE is approximated by an autonomous ODE, which is then solved using standard neural ODE solvers.
  4. Adjoint Sensitivity Method: To ensure memory efficiency, the model employs the adjoint method for backpropagation. This allows for gradient calculation with constant memory cost, regardless of the path's sequence length.

The model is trained using two primary strategies: the Feynman-Kac formula, which interprets the solution as a conditional expectation, and the Martingale Representation Theorem, which allows for the simultaneous learning of the solution and its path-dependent derivative.

Experiments and Results

The EL-NRDE model was evaluated against three benchmarks: the path-dependent Heat Equation, the Black-Scholes model with lookback options, and the Heston model with autocallable options. Experiments spanned dimensions from $d=2$ to $d=64$.

Accuracy and Scalability

The model demonstrated remarkable precision in high-dimensional scenarios. In the $d=64$ Heat Equation test, EL-NRDE achieved an absolute error of 1.9610, a nearly 8-fold improvement over the 15.66 error recorded by the SigLSTM baseline. Furthermore, for the Black-Scholes model, the NRDE reduced approximation errors by 10% to 15% compared to state-of-the-art methods.

Efficiency and Stability

A key advantage of the EL-NRDE is its linear scalability. Unlike many traditional methods that struggle as dimensionality increases, this model maintains performance and efficiency. In Heston model experiments, the NRDE consumed only 63% of the memory required by SigLSTM. Additionally, the model exhibited lower variance in predictions, indicating superior robustness across different test batches.

Conclusion

The EL-NRDE model represents a significant advancement in solving path-dependent PDEs. By combining the mathematical rigor of rough path theory with the computational efficiency of Neural ODEs and embedding layers, the authors have created a framework that is both accurate and scalable. Future work will focus on improving path simulation for SDEs with irregular coefficients and further exploring the theoretical convergence properties of the NRDE solver.

Summary updated

BibTeX
@misc{ni2023neural,
  author = {Hao Ni and Bowen Fang and Hao Ni and Yue Wu},
  title = {{A Neural RDE-based model for solving path-dependent PDEs}},
  year = {2023},
  eprint = {2306.01123},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.01123},
}
Figure