SSRN 4598180
SSRN 4598180
Finance
Miquel Noguer i Alonso
Julián Antolı́n Camarena
Abstract
Physics-Informed Neural Networks (PINNs) provide a framework to
embed the Heston model dynamics directly into the learning process.
This ensures that predictions are not only data-consistent but also obey
the underlying stochastic differential equations. Physics-Informed Neural
Networks offer an innovative way to embed financial rules and physics
directly into the learning process of neural networks. By doing so, PINNs
not only provide accurate predictions but also ensure that these predic-
tions are consistent with known financial rules and structures. We test
the architecture with Black-Scholes and the Heston models as parametric
models. The architecture seems to learn them correctly.
1 Introduction
Finance is a field that often relies on differential equations, particularly partial
and stochastic differential equations (PDEs and SDEs, respectively), to model
various phenomena such as options pricing. Physics-Informed Neural Networks
(PINNs) provide a promising methodology to solve these PDEs by embedding
the physics directly into the architecture and training process.The architecture
was invented by [Raissi et al., 2019].
∂V 1 ∂2V ∂V
+ σ 2 S 2 2 + rS − rV = 0 (6)
∂t 2 ∂S ∂S
where V (S, t) is the option price, S is the stock price, σ is the volatility, and
r is the risk-free interest rate.
L = Ldata + Lphysics
Where:
2 2
dfθS dfθv
− rfθS − fθv fθS − κ(θ − fθv ) − ξ fθv
p p
Lphysics = +
dt dt
4.2 Experiments
The PINN was trained on 10,000 trajectories of simulated asset price-volatility
pairs of length 252 days. This is to simulate one year of market data, assuming
252 trading days per year. The Wiener process was simulated with correlated
Gaussian noise with correlation coefficient ρ = 0.5, drift µ = 0.01, asset price
standard deviation σS = 2.0, volatility standard deviation ξ = 0.1, long-term
mean of volatility of θ = 0.2, mean reversion rate of κ = 0.075. The experiment
was repeated 100 times for statistically meaningful results.
4.3 Results
We find that the PINNs train the Heston model adequately, as evidenced in
Fig. 2. The estimated mean is largely within one daily standard deviation of
the ground truth, indicating that the Heston model is being learned relatively
well. This is largely due to the simple structure of the Heston model, but also
alludes to the power of the PINN approach.
Figure 3 shows a typical realization of the Heston price-volatility pair (top
and bottom panels, respectively). The ground truth is shown in blue, the PINN
estimate is shown in black, and the red dotted curves show the mean absolute
error (MAE) averaged over all trajectories at each time step. Table 1 shows
quantitatively these results.
5 Conclusion
Physics-Informed Neural Networks (PINNs) provide a framework to embed the
Heston model dynamics directly into the learning process. This ensures that
predictions are not only data-consistent but also obey the underlying stochastic
differential equations. Physics-Informed Neural Networks offer an innovative
way to embed financial rules and physics directly into the learning process of
neural networks. By doing so, PINNs not only provide accurate predictions but
also ensure that these predictions are consistent with known financial rules and
structures.We test the architecture with Black-Scholes and the Heston models
as parametric models. The architecture seems to correctly learn them.
References
[Black and Scholes, 1973] Black, F. and Scholes, M. (1973). The pricing of
options and corporate liabilities. Journal of Political Economy, 81(3):637–
654.
[Heston, 1993] Heston, S. L. (1993). A closed-form solution for options with
stochastic volatility with applications to bond and currency options. The
Review of Financial Studies, 6(2):327–343.
[Patrick Kidger and Lyons, 2021] Patrick Kidger, James Foster, X. L. H. O. and
Lyons, T. (2021). Neural sdes as infinite-dimensional gans. arXiv preprint
arxiv:2102.03657.