Abstract
The following work presents a new method to solve Poisson’s equation and, more generally, sparse linear systems using graph neural networks. We propose a supervised approach to solve the discretized representation of Poisson’s equation at every time step of a simulation. This new method will be applied to plasma physics simulations for Hall-Effect Thruster’s modeling, where the electric potential gradient must be computed to get the electric field necessary to model the plasma’s behavior. Solving Poisson’s equation using classical iterative methods represents a major part of the computational costs in this setting. This is even more critical for unstructured meshes, increasing the problem’s complexity. To accelerate the computational process, we propose a graph neural network to give an initial guess of Poisson’s equation solution. The new method introduced in this article has been designed to handle any meshing structure, including structured and unstructured grids and sparse linear systems. Once trained, the neural network would be used inside a numerical simulation in inference to give an initial guess of the solution for each simulation time step for all right-hand sides of the linear system and all previous time step solutions. In most industrial cases, Hall-Effect thrusters’ modeling requires a large unstructured mesh that one single processor cannot hold regarding memory capacity. We then propose a partitioning strategy to tackle the challenge of solving linear systems on large unstructured grids when they cannot be on a single processor.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Luz, I., Galun, M., Maron, H., Basri, R., Yavneh, I.: Learning algebraic multigrid using graph neural networks. In: International Conference on Machine Learning, pp. 6489–6499. PMLR (2020)
Jiang, Z., Jiang, J., Yao, Q., et al.: A neural network-based PDE solving algorithm with high precision. Sci. Rep. 13, 4479 (2023). https://doi.org/10.1038/s41598-023-31236-0
Paszke, A., et al.: PyTorch: an imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems, vol. 32, pp. 8024–8035. Curran Associates, Inc. (2019)
Li, S. et al.: PyTorch distributed: experiences on accelerating data parallel training, In: VLDB Endowment, vol. 13, no. 12 (2020). https://doi.org/10.14778/3415478.3415530
Fey, M., Lenssen, J.E.: Fast graph representation learning with PyTorch geometric. In: ICLR Workshop on Representation Learning on Graphs and Manifolds (2019)
Pfaff, T., Fortunato, M., Sanchez-Gonzalez, A., Battaglia, P.: Learning mesh-based simulation with graph networks. In: the International Conference on Learning Representations (2020)
Raissi, M., Perdikaris, P., Karniadakis, G.E.: Physics informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. physi. 378, 686–707 (2019). https://doi.org/10.1016/j.jcp.2018.10.045
Saad, Y., Zhang, J.: Enhanced multi-level block ILU preconditioning strategies for general sparse linear systems. J. Comput. Appl. Math. 130(1), 99–118 (2001). ISSN 0377-0427, https://doi.org/10.1016/S0377-0427(99)00388-X
Chen, J., Schäfer, F., Huang, J., Desbrun, M.: Multiscale Cholesky preconditioning for ill-conditioned problems. ACM Trans. Graph. 40(4), (2021). ISSN 0730-0301, https://doi.org/10.1145/3450626.3459851
Balay, S., Gropp, W.D., Curfman McInnes, L., Smith, B.F.: Efficient management of parallelism in object oriented numerical software libraries, In: Modern Software Tools in Scientific Computing, pp. 163–202 (1997). https://doi.org/10.1007/978-1-4612-1986-6_8
Agullo, E., Giraud, L., Guermouche, A., Roman, J.: Parallel hierarchical hybrid linear solvers for emerging computing platforms. C. R. Mécanique 339(2–3), 96–103 (2011). ISSN 1631-072, https://doi.org/10.1016/j.crme.2010.11.005
Gourdain, N.: Prediction of the unsteady turbulent flow in an axial compressor stage. Comput. Fluids (2015). https://doi.org/10.1016/j.compfluid.2014.09.052
Sanchez-Gonzalez, A., Godwin, J., Pfaff, T., Ying, R., Leskovec, J., Battaglia, P.: Learning to simulate complex physics with graph networks. In: International Conference on Machine Learning, pp. 8459–8468. PMLR (2020)
Sappl, J., Seiler, L., Harders, M., Rauch, W.: Deep learning of preconditioners for conjugate gradient solvers in urban water related problems (2019). https://arxiv.org/abs/1906.06925
Schäfer, F., Katzfuss, M., Owhadi, H.: Sparse Cholesky factorization by Kullback-Leibler minimization. SIAM J. Sci. Comput. 43(3), A2019–A2046 (2021). https://doi.org/10.1137/20M1336254
Kopaničáková, A., Karniadakis, G.E.: DeepOnet based preconditioning strategies for solving parametric linear systems of equations (2024). arXiv:2401.02016
Li, Y., Chen, P.Y., Du, T., Matusik, W.: Learning preconditioner for conjugate gradient PDE solvers. In: International Conference on Machine Learning Computer Science, Mathematics, Engineering (2023). https://proceedings.mlr.press/v202/li23e.html
Stanziola, A., Arridge, S.R., Cox, B.T., Treeby, B.E.: A Helmholtz equation solver using unsupervised learning: application to transcranial ultrasound. J. Comput. Phys. 441 (2021). https://doi.org/10.1016/j.jcp.2021.110430
Hamilton, W.L., Ying, R., Leskovec, J.: Inductive representation learning on Large graphs. In: 31st International Conference on Neural Information Processing Systems (NIPS) (2017)
He, K., Zhang, X., Ren, S., Sun, J.: Delving deep into rectifiers: surpassing human-level performance on ImageNet classification. In: International Conference on Computer Vision (2015). https://doi.org/10.1109/ICCV.2015.123
Ba, J.L., Kiros, J.R., Hinton, G.E.: Layer normalization. In: Neural Information Processing System (2016)
Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization, arXiv preprint arXiv:1412.6980 (2014)
Glorot, X., Bengio, Y.: Understanding the difficulty of training deep feedforward neural networks, In: Proceedings of the thirteenth international conference on artificial intelligence and statistics, JMLR Workshop and Conference Proceedings, pp. 249–256 (2010)
Chiang, W.L., Liu, X., Si, S., Li, Y., Bengio, S., Hsieh, C.J.: Cluster-GCN: an efficient algorithm for training deep and large graph convolutional networks, In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 257–266 (July 2019). https://doi.org/10.1145/3292500.3330925
Karypis, G., Kumar, V.: A fast and high-quality multilevel scheme for partitioning irregular graphs. SIAMJ. Sci. Comput. 20(1), 359–392 (1998). https://doi.org/10.1137/S1064827595287997
Villafana, W., et al.: 2D radial-azimuthal particle-in-cell benchmark for E\(\times \)B discharges, In: Plasma Sources Science and Technology, vol. 30, no. 7 (2021). https://doi.org/10.1088/1361-6595/ac0a4a
Villafana, W., Fubiani, G., Garrigues, L., Vigot, G., Cuenot, B., Vermorel, O.: 3D Particle-In-Cell modeling of anomalous transport driven by the electron drift instability in hall thrusters, In: \(37^{th}\) International Electric Propulsion Conference, MIT (2022)
Acknowledgments
This research has been realized under the supervision of Bénédicte Cuenot and Olivier Vermorel (senior researchers at CERFACS). Gabriel Vigot acknowledges the support of Luciano Drozda (senior researcher at CERFACS) in conceiving and validating this present article for the machine learning part. Gabriel Vigot also acknowledges the support of Luc Giraud (senior researcher at INRIA) in conceiving and validating this present article for the part concerning linear algebra.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Ethics declarations
Disclosure of Interests
The present authors have no competing interests with the participants of this article. Gabriel Vigot acknowledges the financial support from Safran Spacecraft Propulsion, under the supervision of Benjamin Laurent, and the French Space Agency (CNES: Centre National d’Études Spatiales), under the supervision of Ulysse Weller, under the EPIC convention. This work is introduced within the CHEOPS project.
6 Appendix
6 Appendix
(a) 2D map along the simulation time line t in microseconds. From the first to the fourth row is the update \(\mathrm {\Phi }\), the solution of reference \(\mathrm {\Phi _{ref}}\), the absolute difference \(|\mathrm {\Phi - \Phi _{ref}}|\), and \(\textrm{RHS}\) the right-hand side of the Poisson’s equation.
(b) Neural network predictions \(\mathrm {\Phi }\) with the same variable order as in Fig. (6a)
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Vigot, G., Cuenot, B., Vermorel, O. (2024). Solving Sparse Linear Systems on Large Unstructured Grids with Graph Neural Networks: Application to Solve the Poisson’s Equation in Hall-Effect Thrusters Simulations. In: Franco, L., de Mulatier, C., Paszynski, M., Krzhizhanovskaya, V.V., Dongarra, J.J., Sloot, P.M.A. (eds) Computational Science – ICCS 2024. ICCS 2024. Lecture Notes in Computer Science, vol 14834. Springer, Cham. https://doi.org/10.1007/978-3-031-63759-9_41
Download citation
DOI: https://doi.org/10.1007/978-3-031-63759-9_41
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-63758-2
Online ISBN: 978-3-031-63759-9
eBook Packages: Computer ScienceComputer Science (R0)