Solving path dependent PDEs with LSTM networks and path signatures

Marc Sabate‐Vidales, David Šiška, Łukasz SzprucharXiv 2020 · DOI

Abstract

Using a combination of recurrent neural networks and signature methods from the rough paths theory we design efficient algorithms for solving parametric families of path dependent partial differential equations (PPDEs) that arise in pricing and hedging of path-dependent derivatives or from use of non-Markovian model, such as rough volatility models in Jacquier and Oumgari, 2019. The solutions of PPDEs are functions of time, a continuous path (the asset price history) and model parameters. As the domain of the solution is infinite dimensional many recently developed deep learning techniques for solving PDEs do not apply. Similarly as in Vidales et al. 2018, we identify the objective function used to learn the PPDE by using martingale representation theorem. As a result we can de-bias and provide confidence intervals for then neural network-based algorithm. We validate our algorithm using classical models for pricing lookback and auto-callable options and report errors for approximating both prices and hedging strategies.

Introduction

In classical quantitative finance, the Black-Scholes framework allows for the pricing and hedging of derivatives through standard Partial Differential Equations (PDEs). However, modern financial products often feature payoffs that depend on the entire historical trajectory of an asset—such as the maximum price reached or the average price over time. These instruments are governed by Path Dependent Partial Differential Equations (PPDEs).

The primary challenge in solving PPDEs lies in their infinite-dimensional domain: the space of all possible continuous paths. Traditional numerical methods and standard deep learning PDE solvers struggle to ingest these histories efficiently. Furthermore, financial institutions require models that are "parametric," meaning they must solve these equations across a wide range of market conditions (e.g., varying volatility or interest rates) simultaneously to facilitate rapid calibration.

Methodology

This research introduces a "Deep PPDE" solver built upon three foundational pillars designed to handle the complexity of path-dependent data.

1. Path Encoding: Signatures and LSTMs

To map infinite-dimensional paths into a format suitable for neural networks, the authors utilize Path Signatures. Signatures are a collection of iterated integrals that provide a "top-down" summary of a path's geometry. To ensure the model respects the flow of time (non-anticipativity), the architecture incorporates Long Short-Term Memory (LSTM) networks.

A critical technical insight discovered during the study was the effectiveness of the lead-lag transform. By applying this transform to paths before calculating signatures, the model can capture the quadratic variation of the path, which is essential for accurate Ito calculus and volatility modeling.

2. Learning via Martingale Representation

While the model can learn by simply projecting payoffs (Orthogonal Projection), the authors propose a more robust strategy based on the Martingale Representation Theorem. In this approach, the network is trained to learn both the price and the hedging strategy (the gradient) simultaneously. This forces the network to satisfy the underlying financial structure of the problem, effectively using the physics of the market as a regularizer to improve accuracy and stability.

3. De-biasing with Control Variates

Neural network approximations are inherently subject to small biases. To provide the rigor required for financial applications, the authors use the learned hedging strategy as a control variate within a Monte Carlo simulation. This technique produces an unbiased estimate of the price and allows for the generation of rigorous confidence intervals.

Experimental Results

The framework was validated using synthetic datasets generated from two foundational stochastic models, trained over parametric ranges to ensure generalization across different market regimes.

  • Lookback Options (Black-Scholes): The model was tested on options where the payoff depends on the maximum price reached. The combined LSTM and Signature approach achieved integral errors as low as $4.45 \times 10^{-3}$ for standard volatility and remained robust even in high-volatility scenarios ($\sigma=1$).
  • Autocallable Options (Heston): Using the Heston model to simulate stochastic volatility, the authors priced complex structured products. The correlation ($\rho$) between the learned stochastic integral and the actual payoff consistently exceeded 0.99, indicating near-perfect capture of the underlying dynamics.
  • Hedging Accuracy: The model successfully learned hedging strategies with errors as low as $2.08 \times 10^{-4}$. This is a vital result for real-world risk management, where the accuracy of the "delta" (hedge) is often as important as the price itself.

Conclusion

By combining the geometric insights of Path Signatures with the sequential processing power of LSTMs, this framework offers a powerful solution for PPDEs. The use of the Martingale Representation Theorem ensures that the model remains faithful to financial theory, while the parametric training allows for near-instantaneous pricing across varying market conditions.

Future work may extend these methods to non-linear PPDEs, which arise in scenarios involving market impact or transaction costs, and further explore the limits of signature depth when applied to high-dimensional assets or "rough volatility" models where paths exhibit lower regularity.

Summary updated

BibTeX
@misc{sabatevidales2020solving,
  author = {Marc Sabate‐Vidales and David Šiška and Łukasz Szpruch},
  title = {{Solving path dependent PDEs with LSTM networks and path signatures}},
  year = {2020},
  eprint = {2011.10630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.10630},
}
Figure