Using PINN Machine learning Method with DGM Network for Solving Time-Fractional Black–Scholes Models

Document Type : Research Paper

Authors
1 Department of mathematics, Azarbaijan Shahid Madani University, Tabriz, Iran
2 Department of Mathematics, Faculty of Basic Sciences,Lorestan University, 68137-17133, Khorramabad, Iran.
Abstract
The classical Black-Scholes model fails to capture crucial market features such as memory effects and non-Markovian behavior. The time-fractional Black-Scholes equation (TFBSM) has emerged as a powerful alternative that incorporates these phenomena through fractional calculus. However, accurate numerical solution of TFBSMs remains challenging due to the non-local nature of fractional derivatives, complex boundary conditions, and the singularity in fractional operators. Existing numerical methods often suffer from discretization limitations and computational ineffciency when handling these complexities. This paper introduces a novel hybrid framework that synergistically combines Physics-Informed Neural Networks (PINNs) with the Deep Galerkin Method (DGM) architecture. Our approach leverages the PINN methodology to directly embed the TFBSM governing equation, initial conditions, and boundary conditions into the optimization objective through a carefully designed loss function. The DGM network, with its specialized architecture resembling Long Short-Term Memory (LSTM) networks, provides enhanced capability for capturing long-term temporal dependencies essential for fractional calculus. The Caputo time-fractional derivative is accurately implemented using Gauss-Legendre quadrature with 100-300 nodes, ensuring precise computation of the fractional operator. Comprehensive numerical experiments on two benchmark problems with analytical solutions demonstrate the effectiveness of our approach. For Example 1 (fractional ODE), the method achieves relative L2 errors as low as 3.06 × 10−3 at t = 1.0 with α = 0.5. For Example 2 (TFBSM with nonhomogeneous boundary conditions), relative L2 errors remain below 2.40 × 10−2 across the entire time domain with α = 0.7. The method exhibits excellent stability, with smooth loss decay curves indicating robust convergence. This work presents the first successful integration of PINNs with DGM for solving time-fractional Black-Scholes equations. The key innovations include a novel PINN-DGM hybrid architecture specifically tailored for fractional PDEs, accurate implementation of Caputo derivatives using Gauss-Legendre quadrature within the neural network framework, comprehensive numerical validation demonstrating superior performance compared to conventional methods, and establishment of a robust, mesh-free paradigm for financial PDEs with memory effects. The numerical results demonstrate that the proposed method accurately approximates the solution of the time-fractional Black–Scholes equation, with improved stability and convergence.
Keywords
Subjects

[1] Arwa Aldweesh, Abdelouahid Derhab, and Ahmed Z Emam, Deep learning approaches for anomaly-based intrusion detection systems: A survey, taxonomy, and open issues, Knowledge-Based Systems 189 (2020), 105124.
[2] Md Zahangir Alom, Tarek M Taha, Chris Yakopcic, Stefan Westberg, Paheding Sidike, Mst Shamima Nasrin, Mahmudul Hasan, Brian C Van Essen, Abdul AS Awwal, and Vijayan K Asari, A state-of-the-art survey on deep learning theory and architectures, electronics 8 (2019), no. 3, 292.
[3] Jens Berg and Kaj Nyström, A unified deep artificial neural network approach to partial differential equations in complex geometries, Neurocomputing 317 (2018), 28–41.
[4] Svetlana I Boyarchenko et al. , Non-gaussian merton-black-scholes theory, vol. 9, World scientific, 2002.
[5] Peter Carr, Hélyette Geman, Dilip B Madan, and Marc Yor, Stochastic volatility for lévy processes, Mathematical finance 13 (2003), no. 3, 345–382.
[6] Alvaro Cartea and Diego del Castillo-Negrete, Fractional diffusion models of option prices in markets with jumps, Physica A: Statistical Mechanics and its Applications 374 (2007), no. 2, 749–763.
[7] Wenting Chen, Xiang Xu, and Song-ping Zhu, Analytically pricing european-style options under the modified black-scholes equation with a spatial-fractional derivative, Quarterly of Applied Mathematics 72 (2014), no. 3, 597–611.
[8] Wenting Chen, Xiang Xu, and Song-Ping Zhu, Analytically pricing double barrier options based on a time-fractional black–scholes equation, Computers & Mathematics with Applications 69 (2015), no. 12, 1407–1419.
[9] Salvatore Cuomo, Vincenzo Schiano Di Cola, Fabio Giampaolo, Gianluigi Rozza, Maziar Raissi, and Francesco Piccialli, Scientific machine learning through physics–informed neural networks: Where we are and what’s next, Journal of Scientific Computing 92 (2022), no. 3, 88.
[10] Kai Diethelm and Neville J Ford, Analysis of fractional differential equations, Journal of Mathematical Analysis and Applications 265 (2002), no. 2, 229–248.
[11] MWM Gamini Dissanayake and Nhan Phan-Thien, Neural-network-based approximations for solving partial differential equations, communications in Numerical Methods in Engineering 10 (1994), no. 3, 195–201.
[12] G Hariharan, S Padma, and P Pirabaharan, An efficient wavelet based approximation method to time fractional black–scholes european option pricing problem arising in financial market, Applied Mathematical Sciences 7 (2013), no. 69, 3445–3456.
[13] Steven L Heston, A closed-form solution for options with stochastic volatility with applications to bond and currency options, The review of financial studies 6 (1993), no. 2, 327–343.
[14] Sepp Hochreiter and Jürgen Schmidhuber, Long short-term memory, Neural computation 9 (1997), no. 8, 1735–1780.
[15] Kurt Hornik, Maxwell Stinchcombe, and Halbert White, Universal approximation of an unknown mapping and its derivatives using multilayer feedforward networks, Neural networks 3 (1990), no. 5, 551–560.
[16] John Hull and Alan White, The pricing of options on assets with stochastic volatilities, The journal of finance 42 (1987), no. 2, 281–300.
[17] Guy Jumarie, Stock exchange fractional dynamics defined as fractional exponential growth driven by (usual) gaussian white noise. application to fractional black–scholes equations, Insurance: Mathematics and Economics 42 (2008), no. 1, 271–287.
[18] Guy Jumarie, Derivation and solutions of some fractional black–scholes equations in coarse-grained space and time. application to merton’s optimal portfolio, Computers & mathematics with applications 59 (2010), no. 3, 1142–1164.
[19] Anatoly A. Kilbas, H. M. Srivastava, and J. J. Trujillo, Theory and applications of fractional differential equations, North-Holland Mathematics Studies, Elsevier Science & Tech, 2006.
[20] Ismo Koponen, Analytic approach to the problem of convergence of truncated lévy flights towards the gaussian stochastic process, Physical Review E 52 (1995), no. 1, 1197.
[21] Steven G Kou, A jump-diffusion model for option pricing, Management science 48 (2002), no. 8, 1086–1101.
[22] Sunil Kumar, Ahmet Yildirim, Yasir Khan, Hossein Jafari, Khosro Sayevand, and Leilei Wei, Analytical solution of fractional black-scholes european option pricing equation by using laplace transform, Journal of fractional calculus and Applications 2 (2012), no. 8, 1–9.
[23] Isaac E Lagaris, Aristidis Likas, and Dimitrios I Fotiadis, Artificial neural networks for solving ordinary and partial differential equations, IEEE transactions on neural networks 9 (1998), no. 5, 987–1000.
[24] Isaac E Lagaris, Aristidis C Likas, and Dimitris G Papageorgiou, Neural-network methods for boundary value problems with irregular boundaries, IEEE transactions on Neural Networks 11 (2000), no. 5, 1041–1049.
[25] Yann LeCun, Yoshua Bengio, and Geoffrey Hinton, Deep learning, nature 521 (2015), no. 7553, 436–444.
[26] Jin-Rong Liang, Jun Wang, Wen-Jun Zhang, Wei-Yuan Qiu, and Fu-Yao Ren, The solution to a bi-fractional black-scholes-merton differential equation, International Journal of Pure and Applied Mathematics 58 (2010), no. 1, 99–112.
[27] Lu Lu, Xuhui Meng, Zhiping Mao, and George Em Karniadakis, Deepxde: A deep learning library for solving differential equations, SIAM review 63 (2021), no. 1, 208–228.
[28] Yulong Lu and Jianfeng Lu, A universal approximation theorem of deep neural networks for expressing probability distributions, Advances in neural information processing systems 33 (2020), 3094–3105.
[29] Benoit B Mandelbrot and Benoit B Mandelbrot, The variation of certain speculative prices, Springer, 1997.
[30] Robert C Merton, Option pricing when underlying stock returns are discontinuous, Journal of financial economics 3 (1976), no. 1-2, 125–144.
[31] P Phaochoo, A Luadsong, and N Aschariyaphotha, The meshless local petrov–galerkin based on moving kriging interpolation for solving fractional black–scholes model, Journal of King Saud University-Science 28 (2016), no. 1, 111–117.
[32] Maziar Raissi, Paris Perdikaris, and George E Karniadakis, Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, Journal of Computational physics 378 (2019), 686–707.
[33] Justin Sirignano and Konstantinos Spiliopoulos, Dgm: A deep learning algorithm for solving partial differential equations, Journal of computational physics 375 (2018), 1339–1364.
[34] B Ph van Milligen, V Tribaldos, and JA Jiménez, Neural network differential equation and plasma equilibrium solver, Physical review letters 75 (1995), no. 20, 3594.
[35] Felipe AC Viana, Renato G Nascimento, Arinan Dourado, and Yigit A Yucesan, Estimating model inadequacy in ordinary differential equations with physics-informed neural networks, Computers & Structures 245 (2021), 106458.
[36] Walter Wyss, The fractional black-scholes equation, An International Jornal for theory and Application 3 (2000), 51–61.
[37] Hongmei Zhang, Fawang Liu, Ian Turner, and Qianqian Yang, Numerical solution of the time fractional black–scholes model governing european options, Computers & Mathematics with Applications 71 (2016), no. 9, 1772–1783.
[38] Hongmei Zhang, Mengchen Zhang, Fawang Liu, and Ming Shen, Review of the fractional black-scholes equations and their solution techniques, Fractal and Fractional 8 (2024), no. 2, 101.
[39] Xiaoning Zhang, Jianhui Yang, and Yuxin Zhao, Numerical solution of time fractional black–scholes model based on legendre wavelet neural network with extreme learning machine, Fractal and Fractional 6 (2022), no. 7, 401.
[40] Qiming Zhu, Zeliang Liu, and Jinhui Yan, Machine learning for metal additive manufacturing: predicting temperature and melt pool fluid dynamics using physics-informed neural networks, Computational Mechanics 67 (2021), 619–635.
Volume 17, Issue 9
September 2026
Pages 79-95

  • Receive Date 01 September 2025
  • Revise Date 23 February 2026
  • Accept Date 06 May 2026