Research Article

ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS

Volume: 25 Number: 4 December 27, 2024
EN

ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS

Abstract

Deep learning, a powerful machine learning technique leveraging artificial neural networks, excels in identifying complex patterns and relationships within data. Among its innovations is the emergence of Physics-Informed Neural Networks (PINNs), which have revolutionized the field of applied mathematics by enabling the solution and discovery of differential equations through neural networks. PINNs address two key challenges: data-driven solutions, where the model approximates the hidden solutions of differential equations with fixed parameters, and data-driven discovery, where the network learns parameters that best describe observed data. This study explores the implementation of PINNs within the R programming environment to solve two differential equations: one with boundary conditions y^'-y=0 with y(0)=0 and y(e)=1 boundaries and the Burgers’ Equation. The research utilizes R libraries, including reticulate for Python integration and torch for neural network operations, to demonstrate the versatility and efficacy of PINNs in addressing both data-centric solutions and parameter discovery. The results showcase the ability of PINNs to handle complex, high-dimensional problems, offering a promising alternative to traditional numerical methods for solving differential equations.

Keywords

Physics-Informed Neural Networks (PINNs), Differential Equations, R-programming language, Burgers’ Equation

Thanks

I would like to thanks to Brown University, Department of Applied Math and Prof.Dr. George Karniadakis.

References

  1. [1] Lagaris I, Likas A, Fotiadis D. Artificial neural networks for solving ordinary and partial differential equations. IEEE Transactions on Neural Networks, 1998; 9(5): 987–1000. doi: 10.1109/72.712178.
  2. [2] Cheng T, Lewis FL, Abu-Khalaf M. A neural network solution for fixed-final time optimal control of nonlinear systems. Automatica, 2007; 43(3): 482–490. doi: https://doi.org/10.1016/j.automatica.2006.09.021. URL https://www.sciencedirect.com/science/article/pii/S0005109806004250.
  3. [3] Raissi M, Perdikaris P, Karniadaksi GM. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 2019; pages 686–707.
  4. [4] Raissi M, Perdikaris P, Karniadaksi GM. Physics informed deep learning (part i): Data-driven solutions of nonlinear partial differential equations. arXiv preprint. arXiv:1711.10561. 2017a.
  5. [5] Raissi M, Perdikaris P, Karniadaksi GM. Physics informed deep learning (part ii): Data-driven discovery of nonlinear partial differential equations. arXiv preprint. preprint arXiv:1711.10566. 2017b.
  6. [6] Soetaert K, Petzoldt T, Setzer RW. Solving differential equations in R: Package deSolve. Journal of Statistical Software, 2010; 33(9): 1–25. doi: 10.18637/jss.v033.i09.
  7. [7] Soetaert K, Meysman F. R-package reactran : Reactive transport modelling in r. 2010.
  8. [8] Soetaert K. rootSolve: Nonlinear root finding, equilibrium and steady-state analysis of ordinary differential equations. R package 1.6. 2009.
  9. [9] Paszke A, Gross S, Massa F, Lerer A, Bradbury J, Chanan G, et al. Pytorch: An imperative style, high-performance deep learning library. In: Wallach H, Larochelle H, Beygelzimer A, d'Alché-Buc F, Fox E, Garnett R, editors. Advances in Neural Information Processing Systems 32. Curran Associates, Inc.; 2019. pages 8024–8035.
  10. [10] Abadi M, Agarwal A, Barham P, Brevdo E, Chen Z, Citro C, et al. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL https://www.tensorflow.org/. Software available from tensorflow.org.
APA
Agraz, M. (2024). ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS. Eskişehir Technical University Journal of Science and Technology A - Applied Sciences and Engineering, 25(4), 530-541. https://doi.org/10.18038/estubtda.1470050
AMA
1.Agraz M. ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS. Estuscience - Se. 2024;25(4):530-541. doi:10.18038/estubtda.1470050
Chicago
Agraz, Melih. 2024. “ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS”. Eskişehir Technical University Journal of Science and Technology A - Applied Sciences and Engineering 25 (4): 530-41. https://doi.org/10.18038/estubtda.1470050.
EndNote
Agraz M (December 1, 2024) ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS. Eskişehir Technical University Journal of Science and Technology A - Applied Sciences and Engineering 25 4 530–541.
IEEE
[1]M. Agraz, “ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS”, Estuscience - Se, vol. 25, no. 4, pp. 530–541, Dec. 2024, doi: 10.18038/estubtda.1470050.
ISNAD
Agraz, Melih. “ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS”. Eskişehir Technical University Journal of Science and Technology A - Applied Sciences and Engineering 25/4 (December 1, 2024): 530-541. https://doi.org/10.18038/estubtda.1470050.
JAMA
1.Agraz M. ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS. Estuscience - Se. 2024;25:530–541.
MLA
Agraz, Melih. “ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS”. Eskişehir Technical University Journal of Science and Technology A - Applied Sciences and Engineering, vol. 25, no. 4, Dec. 2024, pp. 530-41, doi:10.18038/estubtda.1470050.
Vancouver
1.Melih Agraz. ADVANCED APPLICATIONS OF PHYSICS-INFORMED NEURAL NETWORKS (PINNS) IN R FOR SOLVING DIFFERENTIAL EQUATIONS. Estuscience - Se. 2024 Dec. 1;25(4):530-41. doi:10.18038/estubtda.1470050