Hostname: page-component-74656f9884-rdgjk Total loading time: 0 Render date: 2026-11-07T14:49:01.186Z Has data issue: false hasContentIssue false

Encoder–decoder neural network for solving the nonlinear Fokker–Planck–Landau collision operator in XGC

Published online by Cambridge University Press:  24 March 2021

M. A. Miller*
Affiliation:
Plasma Physics Laboratory, 100 Stellarator Road, Princeton, NJ 08540, USA Applied Physics and Applied Mathematics Department, Columbia University, New York, NY 10027, USA Department of Nuclear Science & Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
R. M. Churchill
Affiliation:
Plasma Physics Laboratory, 100 Stellarator Road, Princeton, NJ 08540, USA
A. Dener
Affiliation:
Argonne National Laboratory, 9700 S Cass Avenue, Lemont, IL 60439, USA
C. S. Chang
Affiliation:
Plasma Physics Laboratory, 100 Stellarator Road, Princeton, NJ 08540, USA
T. Munson
Affiliation:
Argonne National Laboratory, 9700 S Cass Avenue, Lemont, IL 60439, USA
R. Hager
Affiliation:
Plasma Physics Laboratory, 100 Stellarator Road, Princeton, NJ 08540, USA
*
†Email address for correspondence: mam2510@columbia.edu
Rights & Permissions [Opens in a new window]

Abstract

An encoder–decoder neural network has been used to examine the possibility for acceleration of a partial integro-differential equation, the Fokker–Planck–Landau collision operator. This is part of the governing equation in the massively parallel particle-in-cell code XGC, which is used to study turbulence in fusion energy devices. The neural network emphasizes physics-inspired learning, where it is taught to respect physical conservation constraints of the collision operator by including them in the training loss, along with the $\ell _2$ loss. In particular, network architectures used for the computer vision task of semantic segmentation have been used for training. A penalization method is used to enforce the ‘soft’ constraints of the system and integrate error in the conservation properties into the loss function. During training, quantities representing the particle density, momentum and energy for all species of the system are calculated at each configuration vertex, mirroring the procedure in XGC. This simple training has produced a median relative loss, across configuration space, of the order of $10^{-4}$, which is low enough if the error is of random nature, but not if it is of drift nature in time steps. The run time for the current Picard iterative solver of the operator is $O(n^2)$, where $n$ is the number of plasma species. As the XGC1 code begins to attack problems including a larger number of species, the collision operator will become expensive computationally, making the neural network solver even more important, especially since its training only scales as $O(n)$. A wide enough range of collisionality has been considered in the training data to ensure the full domain of collision physics is captured. An advanced technique to decrease the losses further will be subject of a subsequent report. Eventual work will include expansion of the network to include multiple plasma species.

Information

Type
Research Article
Copyright
Copyright © The Author(s), 2021. Published by Cambridge University Press
Figure 0

Figure 1. Example image of semantic segmentation being used to identify all cars and people in an image. Each object in (b) corresponds to a class prediction by the neural network, for the input image in (a). (Original photograph courtesy of A. Gnaedinger.)

Figure 1

Figure 2. Schematic of the training processes used for collision prediction.

Figure 2

Figure 3. Schematic of ReSeg, a neural network architecture used for semantic segmentation, showing an example input $f_e, f_i$ and output $\delta f_i$. The inputs $f_e$ and $f_i$ are concatenated to form a tensor of depth 2.

Figure 3

Figure 4. Training results on JET data for 100 epochs and four toroidal planes showing $(a)$ overall training and validation, as well as $\ell _2$ and conservation loss, and $(b)$ the three components of the conservation loss separately.

Figure 4

Figure 5. Comparison of $\Delta f_{\textrm {col}}$ prediction in two different regimes of collisionality. The $x$ and $y$ axes represent bins in velocity space (parallel and perpendicular, respectively). The index $I$, representing $v_\parallel$, ranges from $[-15, 15]$, totalling 31 bins in the parallel direction, and the index $J$, representing $v_\perp$, ranges from [0, 31], totalling 32 bins in the perpendicular direction. Plotted $\Delta f_{\textrm {col}}$ actually includes a volume factor related to XGC normalizations not removed here.

Figure 5

Figure 6. Comparison of conservation properties from XGC and from test set of neural network using machine learning (ML). The black vertical dashed lines represent the median value for the specific quantity. The red ones represent the target value (see (4.7)). Note that the $x$ axes (and $y$ axes) are different in both sets of plots.