All models

Neural SDE Hedging Network

A neural SDE calibrated to option prices, used to bound derivative prices and find hedging strategies.

Time series · 4,496 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 4,496 operations (3.3 MB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
59.2K
Operations
4,496
Framework
PyTorch
Recurrent
Yes
Published
2020
Cited by
24 (as of 31 October 2026)
Authors
Patryk Gierjatowicz, Marc Sabate-Vidales, David Šiška and others
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18827
Graph hash
d6f471ba1b077daafdc680dbea096672c87304928530f529a10dbfb5fc458616
Skeleton hash
7f748f740723abdad42ae11aeb4063e9f92b2c8b6c74e3bb39fd66126b954701
Architecture hash
a5f00286c514e13da0c580168adaecf4d209f5d1e04a12044106279d3efd93c5
Diagram SHA-256
05a04b704b2fed07d820013042705f3c80999754c7ade7a5973cf727ca2ed78b
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This neural SDE combines neural networks with a classical stochastic differential equation (SDE) risk model to find robust bounds for the prices of derivatives and the corresponding hedging strategies. The paper sets two approaches side by side: any given financial model is only a crude approximation to reality, while most machine learning models are black boxes whose individual parameters have no meaningful interpretation. Its stated aim is to combine the two.

The authors describe the neural SDE as an instantiation of generative models, closely linked with the theory of causal optimal transport. It can be calibrated consistently under both the risk-neutral and the real-world measures, so it can simulate the market scenarios needed for assessing risk profiles and hedging strategies.

The released code calibrates the model to target vanilla call option prices generated with a Heston model, for bi-monthly maturities up to 1 year and 21 strikes between K=0.8 and K=1.2. In its local stochastic volatility script, three functions of the SDE are feed-forward neural networks.

Key idea. Neural SDEs combine neural networks with classical SDE risk models to find robust bounds for derivative prices and the corresponding hedging strategies while incorporating market data.

  • Neural SDE
  • Neural SDE Hedging Network
  • robust pricing and hedging
  • robust_nsde
  • option pricing
  • hedging strategy
  • local stochastic volatility
  • local volatility
  • model calibration
  • derivatives pricing

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{gierjatowicz2020robustpricinghedgingneural,
      title={Robust pricing and hedging via neural SDEs}, 
      author={Patryk Gierjatowicz and Marc Sabate-Vidales and David Šiška and Lukasz Szpruch and Žan Žurič},
      year={2020},
      eprint={2007.04154},
      archivePrefix={arXiv},
      primaryClass={q-fin.MF},
      url={https://arxiv.org/abs/2007.04154}, 
}