Particle-based plasma simulation using a graph neural network
Marin Mlinarević, George K. Holt, Adriano Agnello
TL;DR
The paper tackles the computational challenge of simulating plasma dynamics by learning a differentiable surrogate for particle-in-cell simulations. It uses a graph network-based simulator (GNS) that encodes particles and (optionally) field grid points as nodes and learns accelerations and electric fields through message passing in an encoder–processor–decoder architecture. The approach reproduces the two-stream instability in 1D counterpropagating electron beams and achieves high accuracy for densities, fields, and phase-space evolution, even with time steps two orders of magnitude larger than conventional PIC; growth rates align with linear theory. This surrogate offers a path toward faster, differentiable forward/inverse plasma solvers and could enable optimization, control, and discovery tasks in plasma physics, albeit with attention to error accumulation and resource requirements.
Abstract
A surrogate model for particle-in-cell plasma simulations based on a graph neural network is presented. The graph is constructed in such a way as to enable the representation of electromagnetic fields on a fixed spatial grid. The model is applied to simulate beams of electrons in one dimension over a wide range of temperatures, drift momenta and densities, and is shown to reproduce two-stream instabilities - a common and fundamental plasma instability. Qualitatively, the characteristic phase-space mixing of counterpropagating electron beams is observed. Quantitatively, the model's performance is evaluated in terms of the accuracy of its predictions of number density distributions, the electric field, and their Fourier decompositions, particularly the growth rate of the fastest-growing unstable mode, as well as particle position, momentum distributions, energy conservation and run time. The model achieves high accuracy with a time step longer than conventional simulation by two orders of magnitude. This work demonstrates that complex plasma dynamics can be learned and shows promise for the development of fast differentiable simulators suitable for solving forward and inverse problems in plasma physics.
