A machine learning framework for efficiently solving Fokker–Planck equations | Computational and Applied Mathematics Skip to main content
Log in

A machine learning framework for efficiently solving Fokker–Planck equations

  • Published:
Computational and Applied Mathematics Aims and scope Submit manuscript

Abstract

This paper addresses the challenge of solving Fokker–Planck equations, which are prevalent mathematical models across a myriad of scientific fields. Due to factors like fractional-order derivatives and non-linearities, obtaining exact solutions to this problem can be complex. To overcome these challenges, our framework first discretizes the given equation using the Crank-Nicolson finite difference method, transforming it into a system of ordinary differential equations. Here, the approximation of time dynamics is done using forward difference or an L1 discretization technique for integer or fractional-order derivatives, respectively. Subsequently, these ordinary differential equations are solved using a novel strategy based on a kernel-based machine learning algorithm, named collocation least-squares support vector regression. The effectiveness of the proposed approach is demonstrated through multiple numerical experiments, highlighting its accuracy and efficiency. This performance establishes its potential as a valuable tool for tackling Fokker–Planck equations in diverse applications.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (Japan)

Instant access to the full article PDF.

Algorithm 1
Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Data availibility

Data sharing is not applicable to this article as no new data were created or analyzed in this study.

Notes

  1. https://github.com/alirezaafzalaghaei/fokker-planck.

References

  • Afzal Aghaei A, Parand K (2024) Hyperparameter optimization of orthogonal functions in the numerical solution of differential equations, Math. Meth. Appl. Sci. 1–21. https://doi.org/10.1002/mma.10346

  • Barkai E (2001) Fractional Fokker-Planck equation, solution, and application. Phys Rev E 63(4):046118

    Article  MathSciNet  Google Scholar 

  • Bogachev Vladimir I, Krylov Nicolai V, öckner Michael R, Shaposhnikov Stanislav V (2022) Fokker–Planck–Kolmogorov Equations, volume 207. American Mathematical Society

  • Buades A, Coll B, Morel J (2006) Image enhancement by non-local reverse heat equation. Preprint CMLA 22:2006

    Google Scholar 

  • Cao J, Li C, Chen Y (2015) High-order approximation to Caputo derivatives and Caputo-type advection–diffusion equations (II). Fract Calc Appl Anal 18(3):735–761

    Article  MathSciNet  Google Scholar 

  • Carrillo JA, Cordier S, Mancini S (2011) A decision-making Fokker-Planck model in computational neuroscience. J Math Biol 63:801–830

    Article  MathSciNet  Google Scholar 

  • Cheng AD, Golberg MA, Kansa EJ, Zammito G (2003) Exponential convergence and H-c multiquadric collocation method for partial differential equations. Numer Methods Par Differ Eqs 19(5):571–594

    Article  MathSciNet  Google Scholar 

  • Elliott Matthew, Ginossar Eran (2016) Applications of the fokker-planck equation in circuit quantum electrodynamics. Phys Rev A 94(4):043840

    Article  Google Scholar 

  • Firoozsalari Ali Nosrati, Mazraeh Hassan Dana, Aghaei Alireza Afzal, Parand Kourosh (2023) deepfdenet: A novel neural network architecture for solving fractional differential equations. arXiv preprint arXiv:2309.07684

  • Frank Till Daniel (2005) Nonlinear Fokker-Planck equations: fundamentals and applications. Springer Science & Business Media

  • Freihet A, Hasan S, Alaroud M, Al-Smadi M, Ahmad RR, Salma Din UK (2019) Toward computational algorithm for time-fractional Fokker–Planck models. Adv Mech Eng 11(10):1687814019881039

    Article  Google Scholar 

  • Furioli G, Pulvirenti A, Terraneo E, Toscani G (2020) Non-Maxwellian kinetic equations modeling the dynamics of wealth distribution. Math Models Methods Appl Sci 30(04):685–725

    Article  MathSciNet  Google Scholar 

  • Habenom H, Suthar DL (2020) Numerical solution for the time-fractional Fokker–Planck equation via shifted Chebyshev polynomials of the fourth kind. Adv Differ Eqs 2020(1):1–16

    Google Scholar 

  • Habenom HAILE, Suthar DL, Aychluh MULUALEM (2019) Solution of fractional fokker planck equation using fractional power series method. J Sci Arts 48(3):593–600

    Google Scholar 

  • Hindriks R, Bijma F, Van Der Vaart AW (2010) Fokker-planck dynamics of macroscopic cortical activity as measured with meg. In Frontiers in Neuroscience Conference Abstract: Biomag 2010 - 17th International Conference on Biomagnetism

  • Huang Guang-Bin, Zhu Qin-Yu, Siew Chee-Kheong (2006) Extreme learning machine: theory and applications. Neurocomputing 70(1–3):489–501

    Article  Google Scholar 

  • Hu J, Jin s, Shu R (2018) A stochastic Galerkin method for the Fokker–Planck–Landau equation with random uncertainties. In Theory, Numerics and Applications of Hyperbolic Problems II: Aachen, Germany, August 2016, pages 1–19. Springer

  • Jumarie G (2004) Fractional Brownian motions via random walk in the complex plane and via fractional derivative. Comparison and further results on their Fokker–Planck equations. Chaos, Solitons & Fractals, 22(4):907–925

  • Kazem S, Rad JA, Parand K (2012) Radial basis functions methods for solving Fokker–Planck equation. Eng Anal Boundary Elements 36(2):181–189

    Article  MathSciNet  Google Scholar 

  • Khattak AJ, Tirmizi SIA et al (2009) Application of meshfree collocation method to a class of nonlinear partial differential equations. Eng Anal Boundary Elements 33(5):661–667

    Article  MathSciNet  Google Scholar 

  • Kopp A, Büsching I, Strauss RD, Potgieter MS (2012) A stochastic differential equation code for multidimensional Fokker–Planck type problems. Comput Phys Commun 183(3):530–542

    Article  MathSciNet  Google Scholar 

  • Moghaddam Mahdi Movahedian, Aghaei Alireza Afzal, Parand Kourosh (2024) Rational jacobi kernel functions: A novel massively parallelizable orthogonal kernel for support vector machines. In 2024 Third International Conference on Distributed Computing and High Performance Computing (DCHPC), pages 1–8. IEEE

  • Molmer K (1994) The optimum Fokker–Planck equation for laser cooling. J Phys B 27(9):1889

    Article  Google Scholar 

  • Morgan Kaye S, Paganin David M (2019) Applying the fokker-planck equation to grating-based x-ray phase and dark-field imaging. Sci Rep 9(1):17465

    Article  Google Scholar 

  • Morgul O (1994) A dynamic control law for the wave equation. Automatica 30(11):1785–1792

    Article  MathSciNet  Google Scholar 

  • Odibat Z, Momani S (2007) Numerical solution of Fokker-Planck equation with space-and time-fractional derivatives. Phys Lett A 369(5–6):349–358

    Article  Google Scholar 

  • Olbrant Edgar, Frank Martin (2010) Generalized fokker-planck theory for electron and photon transport in biological tissues: application to radiotherapy. Comput Math Methods Med 11(4):313–339

    Article  MathSciNet  Google Scholar 

  • Oldham KB, Spanier J (1974) The Fractional Calculus. In The Fractional Calculus, volume 111 of Mathematics in Science and Engineering. Elsevier

  • Panju Maysum, Parand Kourosh, Ghodsi Ali (2020) Symbolically solving partial differential equations using deep learning. arXiv preprint arXiv:2011.06673

  • Parand K, Latifi S, Moayeri MM, Delkhosh M (2018) Generalized lagrange jacobi gauss-lobatto (gljgl) collocation method for solving linear and nonlinear Fokker–Planck equations. Commun Theoretical Phys 69(5):519

    Article  MathSciNet  Google Scholar 

  • Parand K, Aghaei AA, Jani M, Ghodsi A (2021) Parallel LS-SVM for the numerical simulation of fractional Volterra’s population model. Alexandria Eng J 60(6):5637–5647

    Article  Google Scholar 

  • Parand K, Aghaei AA, Kiani S, Zadeh T Ilkhas, Khosravi Z (2023) A neural network approach for solving nonlinear differential equations of lane–emden type. Engineering with Computers, pages 1–17

  • Pareschi L, Russo G, Toscani G (2000) Fast spectral methods for the Fokker–Planck–Landau collision operator. J Comput Phys 165(1):216–236

    Article  MathSciNet  Google Scholar 

  • Rad JA, Parand K, Chakraverty S (2023) Learning with Fractional Orthogonal Kernel Classifiers in Support Vector Machines: Theory. Algorithms and Applications. Industrial and Applied Mathematics, Springer Nature Singapore

    Book  Google Scholar 

  • Raissi Maziar, Perdikaris Paris, Karniadakis George E (2019) Physics-informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J Comput Phys 378:686–707

    Article  MathSciNet  Google Scholar 

  • Risken Hannes, Risken Hannes (1996) Fokker-planck equation. Springer

  • Safdari-Vaighani A, Heryudono A, Larsson E (2015) A radial basis function partition of unity collocation method for convection-diffusion equations arising in financial applications. J Sci Comput 64(2):341–367

    Article  MathSciNet  Google Scholar 

  • Schienbein Manfred, Gruler Hans (1993) Langevin equation, Fokker–Planck equation and cell migration. Bull Math Biol 55(3):585–608

    Article  Google Scholar 

  • Sepehrian B, Shamohammadi Z (2022) Solution of the Liouville–Caputo time-and Riesz spcae-fractional Fokker–Planck equation via radial basis functions. Asian-European Journal of Mathematics, page 2250195

  • Shaeri Pouya, Katanforoush Ali (2023) A semi-supervised fake news detection using sentiment encoding and lstm with self-attention. In 2023 13th International Conference on Computer and Knowledge Engineering (ICCKE), pages 590–595. IEEE

  • Taheri Tayebeh, Aghaei Alireza Afzal, Parand Kourosh (2023) Bridging machine learning and weighted residual methods for delay differential equations of fractional order. Appl Soft Comput 149:110936

    Article  Google Scholar 

  • Tang Xun, Ying Lexing (2024) Solving high-dimensional Fokker–Planck equation with functional hierarchical tensor. J Comput Phys 511:113110

    Article  MathSciNet  Google Scholar 

  • Xu Y, Ren F-Y, Liang J-R, Qiu W-Y (2004) Stretched Gaussian asymptotic behavior for fractional Fokker–Planck equation on fractal structure in external force fields. Chaos Solitons Fractals 20(3):581–586

    Article  Google Scholar 

  • Xu Y, Zhang H, Li Y, Zhou K, Liu Q, Kurths J (2020) Solving Fokker-Planck equation using deep learning. Chaos: An Interdisciplinary Journal of Nonlinear Science, 30(1):013133

  • Zhai J, Dobson M, Li Y (2022) A deep learning method for solving Fokker-Planck equations. In Mathematical and Scientific Machine Learning, pages 568–597. PMLR

  • Zhang Run-Fa, Bilige Sudao (2019) Bilinear neural network method to obtain the exact analytical solutions of nonlinear partial differential equations and its application to p-gbkp equation. Nonlinear Dyn 95:3041–3048

    Article  Google Scholar 

  • Zhang Run-Fa, Li Ming-Chu (2022) Bilinear residual network method for solving the exactly explicit solutions of nonlinear evolution equations. Nonlinear Dyn 108(1):521–531

    Article  Google Scholar 

  • Zhang Run-Fa, Bilige Sudao, Liu Jian-Guo, Li Mingchu (2020) Bright-dark solitons and interaction phenomenon for p-gbkp equation by using bilinear neural network method. Physica Scripta 96(2):025224

    Article  Google Scholar 

  • Zhang Runfa, Bilige Sudao, Chaolu Temuer (2021) Fractal solitons, arbitrary function solutions, exact periodic wave and breathers for a nonlinear partial differential equation by using bilinear neural network method. J Syst Sci Complexity 34(1):122–139

    Article  MathSciNet  Google Scholar 

  • Zhang Run-Fa, Li Ming-Chu, Yin Hui-Min (2021) Rogue wave solutions and the bright and dark solitons of the (3+ 1)-dimensional jimbo-miwa equation. Nonlinear Dyn 103(1):1071–1079

    Article  Google Scholar 

  • Zhang Run-Fa, Li Ming-Chu, Albishari Mohammed, Zheng Fu-Chang, Lan Zhong-Zhou (2021) Generalized lump solutions, classical lump solutions and rogue waves of the (2+ 1)-dimensional caudrey-dodd-gibbon-kotera-sawada-like equation. Appl Math Comput 403:126201

    MathSciNet  Google Scholar 

  • Zhang Run-Fa, Li Ming-Chu, Gan Jian-Yuan, Li Qing, Lan Zhong-Zhou (2022) Novel trial functions and rogue waves of generalized breaking soliton equation via bilinear neural network method. Chaos Solitons Fractals 154:111692

    Article  MathSciNet  Google Scholar 

  • Zhang Run-Fa, Li Ming-Chu, Cherraf Amina, Vadyala Shashank Reddy (2023) The interference wave and the bright and dark soliton for two integro-differential equation by using bnnm. Nonlinear Dyn 111(9):8637–8646

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Contributions

ANF: writing—original draft, resources, software AAA: formal analysis, software, writing—review & editing KP: supervision.

Corresponding author

Correspondence to Kourosh Parand.

Ethics declarations

Conflict of interest

The authors declare that there are no Conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Firoozsalari, A.N., Aghaei, A.A. & Parand, K. A machine learning framework for efficiently solving Fokker–Planck equations. Comp. Appl. Math. 43, 389 (2024). https://doi.org/10.1007/s40314-024-02899-w

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s40314-024-02899-w

Keywords

Navigation