Unbiased deep solvers for parametric PDEs

Marc Sabaté Vidales, David Šiška, Łukasz Szpruch

Abstract: We develop several deep learning algorithms for approximating families of parametric PDE solutions. The proposed algorithms approximate solutions together with their gradients, which in the context of mathematical finance means that the derivative prices and hedging strategies are computed simulatenously. Having approximated the gradient of the solution one can combine it with a Monte-Carlo simulation to remove the bias in the deep network approximation of the PDE solution (derivative price). This is achieved by leveraging the Martingale Representation Theorem and combining the Monte Carlo simulation with the neural network. The resulting algorithm is robust with respect to quality of the neural network approximation and consequently can be used as a black-box in case only limited a priori information about the underlying problem is available. We believe this is important as neural network based algorithms often require fair amount of tuning to produce satisfactory results. The methods are empirically shown to work for high-dimensional problems (e.g. 100 dimensions). We provide diagnostics that shed light on appropriate network architectures.

Introduction

Many real-world problems, particularly in mathematical finance like pricing complex derivatives, require solving Partial Differential Equations (PDEs) in very high dimensions. Traditional numerical methods, such as finite differences, suffer from the "curse of dimensionality"—the computational cost grows exponentially with the number of dimensions. While deep neural networks (DNNs) have recently shown promise in solving these PDEs, they often produce biased results and require extensive hyperparameter tuning to be reliable. Furthermore, practitioners need not just the "price" (the PDE solution) but also the "hedging strategy" (the gradient of the solution). This paper introduces a hybrid approach to solving high-dimensional parametric PDEs by combining deep learning with Monte Carlo simulations to ensure results are unbiased and robust.

Methodology

The authors propose three main classes of algorithms that learn the solution and its gradient simultaneously:

  1. Projection Solver: Treats the learning task as an $L^2$-projection, using the Feynman-Kac theorem to relate the PDE solution to a conditional expectation.
  2. Martingale Representation Solver: Inspired by "Deep BSDE" solvers, this approach views the PDE through the lens of Backward Stochastic Differential Equations, solving the problem iteratively across time steps.
  3. Martingale Control Variate Solver: The paper's most novel contribution. Instead of relying solely on the neural network's output, the network's predicted gradient is used to construct a control variate.

By wrapping the neural network inside a Monte Carlo (MC) simulation, the network reduces the variance of the simulation. Because the MC simulation is fundamentally unbiased, the final estimate remains unbiased even if the neural network is an imperfect approximation.

Experimental Results

The algorithms were evaluated using synthetic data from classic financial stochastic processes, including the Black-Scholes model, Exchange Options (using the Margrabe formula as a benchmark), and high-dimensional Basket Options.

Key results include:

  • Scaling to 100D: The algorithms successfully solved 100-dimensional basket option problems, a feat impossible for traditional grid-based methods.
  • Massive Variance Reduction: In the 100-asset test case, the proposed solvers achieved variance reduction factors of over 100x to 500x compared to standard Monte Carlo methods.
  • Superiority over DGM: The approach produced significantly lower empirical variance compared to the Deep Galerkin Method (e.g., $1.51 \times 10^{-4}$ vs $1.22 \times 10^{-3}$ in certain tests).
Distribution of the log squared error on the test set, demonstrating the high precision and consistency of the neural network approximation.

Discussion and Conclusion

A primary insight of this work is that pure deep learning solvers can fail silently as "black boxes." By using the network as a control variate for Monte Carlo, the only error remaining is the statistical sampling error, which is well-understood and quantifiable. Furthermore, these models are trained on a range of parameters, allowing for instant solutions across different market conditions without retraining.

While currently limited to linear parametric PDEs and subject to small discretization biases from the Euler-Maruyama scheme, the robustness of this method makes it a powerful "plug-and-play" tool for high-dimensional financial modeling. Future work will look toward extending these unbiased control variate approaches to non-linear PDEs.

Summary updated

Abstract

We develop several deep learning algorithms for approximating families of parametric PDE solutions. The proposed algorithms approximate solutions together with their gradients, which in the context of mathematical finance means that the derivative prices and hedging strategies are computed simulatenously. Having approximated the gradient of the solution one can combine it with a Monte-Carlo simulation to remove the bias in the deep network approximation of the PDE solution (derivative price). This is achieved by leveraging the Martingale Representation Theorem and combining the Monte Carlo simulation with the neural network. The resulting algorithm is robust with respect to quality of the neural network approximation and consequently can be used as a black-box in case only limited a priori information about the underlying problem is available. We believe this is important as neural network based algorithms often require fair amount of tuning to produce satisfactory results. The methods are empirically shown to work for high-dimensional problems (e.g. 100 dimensions). We provide diagnostics that shed light on appropriate network architectures.
BibTeX
@inproceedings{vidales2021unbiased,
  author = {Marc Sabaté Vidales and David Šiška and Łukasz Szpruch},
  title = {{Unbiased deep solvers for parametric PDEs}},
  booktitle = {Applied Mathematical Finance},
  year = {2021},
  doi = {10.1080/1350486x.2022.2030773},
}
Figure