Hostname: page-component-76d6cb85b7-vdhp9 Total loading time: 0 Render date: 2026-07-16T11:05:21.744Z Has data issue: false hasContentIssue false

Learning collision operators from plasma phase space data using differentiable simulators

Published online by Cambridge University Press:  10 June 2026

Diogo D. Carvalho*
Affiliation:
GoLP/Instituto de Plasmas e Fusão Nuclear, Instituto Superior Técnico, Universidade de Lisboa, Lisbon 1049-001, Portugal Mani L. Bhaumik Institute for Theoretical Physics, University of California, Los Angeles, CA, USA
Pablo J. Bilbao
Affiliation:
GoLP/Instituto de Plasmas e Fusão Nuclear, Instituto Superior Técnico, Universidade de Lisboa, Lisbon 1049-001, Portugal The Rudolf Peierls Centre for Theoretical Physics, University of Oxford, Oxford OX1 3NP, UK
Warren B. Mori
Affiliation:
Department of Physics and Astronomy, University of California, Los Angeles, CA, USA
Luis O. Silva
Affiliation:
GoLP/Instituto de Plasmas e Fusão Nuclear, Instituto Superior Técnico, Universidade de Lisboa, Lisbon 1049-001, Portugal
E. Paulo Alves
Affiliation:
Mani L. Bhaumik Institute for Theoretical Physics, University of California, Los Angeles, CA, USA Department of Physics and Astronomy, University of California, Los Angeles, CA, USA
*
Corresponding author: Diogo D. Carvalho, diogo.d.carvalho@tecnico.ulisboa.pt

Abstract

We propose a methodology to infer collision operators from phase space data of plasma dynamics. Our approach combines a differentiable kinetic simulator, whose core component in this work is a differentiable Fokker–Planck solver, with a gradient-based optimisation method to learn the collisional operators that best describe the phase space dynamics. We test our method using data from two-dimensional particle-in-cell simulations of spatially uniform thermal plasmas, and learn the collision operator that captures the self-consistent electromagnetic interaction between finite-size charged particles over a wide variety of simulation parameters. We demonstrate that the learned operators are more accurate than alternative estimates based on particle tracks, while making no prior assumptions about the relevant time scales of the processes and significantly reducing memory requirements. We find that the retrieved operators, obtained in the non-relativistic regime, are in excellent agreement with theoretical predictions derived for electrostatic scenarios. Our results show that differentiable simulators offer a powerful and computational efficient approach to infer novel operators for a wide range of problems, such as electromagnetically dominated collisional dynamics and stochastic wave–particle interactions.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. Illustration of how advection and diffusion coefficients can be inferred from 2-D particle tracks. (a) By following a group of particles with similar initial velocities over time, we observe that advection leads to an average velocity drift ($\langle \Delta v_i\rangle$), while diffusion leads to an increased spread of the distribution ($\langle \Delta v_i\Delta v_j\rangle$). Drift is visible by noting that the average particle velocity (red line) is changing when compared with the initial velocity (dashed black line). Diffusion is clearly illustrated by the increased distribution spread (highlighted via the phase space histograms). (b) In practice, the advection–diffusion values are estimated by measuring the rate of change of $\langle \Delta v_i\rangle$ and $\langle \Delta v_i\Delta v_j\rangle$ with respect to a period of time where the evolution is linear. To obtain an accurate estimate of the coefficients it is crucial that statistics are computed during the linear evolution phase.

Figure 1

Figure 2. (a) Illustration of how advection and diffusion coefficients are inferred from the 2-D phase space evolution of $N_s$ subpopulations using a differentiable FP solver. The evolution of the phase space and the changes in the operator are exaggerated for visualisation purposes. (b) Using the FP solver and the current operator state, we advance the phase space over $N_u$ time steps and compare against the PIC results via a scalar error metric $\mathcal{L}$. This operation is performed over all training subpopulations $s\in [1, N_s]$ and initial time steps $t\in [0,N_t - N_u]$. (c) We then update the operator using the gradient-based optimiser Adam (Kingma 2014), to minimise the unrolled error across all subpopulations and time steps. The two operations are performed sequentially in a loop until the results have converged.

Figure 2

Figure 3. Advection and diffusion coefficients retrieved with different approaches for simulation $index=0$ ($N_{ppc}=4$, $m=1$, $\varDelta _x/\lambda _D=1, v_{th}=0.01c)$. Track operator is computed from statistics over all macroparticles, PS operators are computed from the phase space evolution of 9 subpopulations using a differentiable FP solver and a discrete (PS-Tensor) or continuous (PS-NN, PS-NN-Multi) approximator. Note that all these operators perform similarly when predicting the phase space evolution of most tested subpopulations. More examples for other simulation parameters are provided in Supplementary Material S8.

Figure 3

Figure 4. Phase space evolution for a ring subpopulation using operators recovered in figure 3. This subpopulation was not used during the training of PS-Tensor, PS-NN and PS-NN-Multi models. The top row corresponds to the observed dynamics in the PIC simulation ($f^{(t)}$). The remaining rows represent the predicted phase space evolution on the left ($\hat {f}^{(t)}$ for $v_x/v_{th}\in [-5,0]$) and the difference to the PIC data on the right ($\hat {f}^{(t)} - f^{(t)}$ for $v_x/v_{th}\in [0,5]$). Values are normalised to the peak of the PIC distribution function at time $t$ ($f^{(t)}_{max}$). All operators approximate the dynamics relatively well, and overall, the random distribution of errors can be attributed to the granularity of the original distribution function. However, both Tracks and PS-NN-Multi seem to systematically slightly underestimate advection (central blue error region and outer red halo). Examples for other subpopulations are provided in Supplementary Material S8.

Figure 4

Figure 5. Distribution of rollout errors for advection and diffusion models obtained from particle tracks (Tracks) or phase space evolution of subpopulations (PS-Tensor, PS-NN, PS-NN-Multi). Boxplots represent statistics over the full dataset of PIC simulations (see table S1 for more details) averaged over initial subpopulations (Train – 9 subpopulations; Test – 19 subpopulations, more information in Supplementary Material S3). The mean error is shown with a dashed line, the median with a full line. The filled area corresponds to values between the first and third quartiles ($Q_1$ and $Q_3$). Whiskers represent the lowest values up to $Q_1 - 1.5(Q_3 - Q_1)$ and $Q_3 + 1.5(Q_3 - Q_1)$. Dots represent values outside this range. The performance of the different methods is, on average, equivalent on the test data. These results demonstrate that estimating the operators from phase space information using a differentiable simulator is a viable alternative approach to particle tracks.

Figure 5

Figure 6. Impact of maximum temporal unroll length during training ($N_u^{max}$) on the long-term rollout error of different models. Rollout length is $N_t \approx 100$ across the full dataset of subpopulations and simulations. Larger temporal unrolling at train time consistently leads to improved rollout performance across all models, showcasing the importance of optimising the operators for long-term prediction.

Figure 6

Figure 7. Illustration of the impact of maximum training temporal unroll length on PS-Tensor models. The example shown corresponds to simulation $index=0$ ($N_{ppc}=4$, $m=1$, $\varDelta _x/\lambda _D=1,v_{th}=0.01c)$. It is clear that increasing $N_u^{max}$ leads to a smoother operator defined over a larger region of the phase space while also significantly changing the average advection and diffusion values in regions of $v\approx 0$.

Figure 7

Figure 8. Impact of enforcing increasingly stricter symmetries on the rollout error. Introducing symmetries can lead to a slight increase in training error (removing some possible overfit), but consistently reduces the average test error and mitigates the appearance of outliers.

Figure 8

Figure 9. Impact of enforcing symmetries into Tensor models. Example shown corresponds to simulation $index=0$ ($N_{ppc}=4$, $m=1$, $\varDelta _x/\lambda _D=1, v_{th}=0.01c)$. Enforcing symmetries allows us to recover smoother and more accurate coefficients for a larger phase space region. Artefacts are nonetheless present at high $v$ regions since very limited statistics are available at train time.

Figure 9

Figure 10. Comparison between theoretical values for advection/diffusion coefficients and those obtained from particle tracks and the PS-Tensor method for different shape functions and grid resolutions. All simulations shown use $N_{ppc}=25$ and $v_{th} = 0.01c$. There is overall an excellent agreement with theory, particularly up to $v/v_{th} = 3$. PS-Tensor is expected to not correctly capture well values above this threshold since training data did not contain significant statistics. Particle tracks measurements are also noisier after this value similarly due to lack of statistics.

Figure 10

Figure 11. Comparison between $\mathrm{AD}_{\parallel \perp }$ operators for PS-Tensor and PS-NN models in function of the number of particles per cell. Curves are shown for $m=2$, $v_{th}=0.01c$ and varied grid resolutions. We observe that the advection and diffusion coefficients are inversely proportional to $N_{Dmac}$ as predicted by the theory (Langdon 1970; Langdon & Birdsall 1970; Touati et al. 2022).

Figure 11

Figure 12. Comparison between $\mathrm{AD}_{\parallel \perp }$ operators for PS-Tensor and PS-NN models in function of $v_{th}$. Curves are shown for $N_{ppc}=25$, $m=2$ and varied grid resolutions. We observe that advection is proportional to $v_{th}$ and diffusion is proportional to $v_{th}^2$ as predicted by the theory (Langdon 1970; Langdon & Birdsall 1970; Touati et al. 2022).

Supplementary material: File

Carvalho et al. supplementary material

Carvalho et al. supplementary material
Download Carvalho et al. supplementary material(File)
File 10.7 MB