Manuscript Offprint
arXiv:2610.24525Reconstruction of Unobserved Core Electron Density in Tokamak Plasmas with a Neural Operator Transport Surrogate and Uncertainty Quantification
Abstract
Real-time control of tokamak plasmas requires the electron density profile. However, in a reactor-relevant device, diagnostic port access is limited and the profile can be observed only partially. In the present work we reconstruct the density profile by inferring the coefficients of a physics-based one-dimensional particle transport equation, using a Fourier Neural Operator (FNO) surrogate of the transport solver as a fast differentiable forward model. The surrogate enables realtime-compatible gradient-based reconstruction and uncertainty quantification from the reflectometry and interferometry measurements. We compare four uncertainty quantification methods — multi-seed ensembles, the Laplace approximation, Metropolis–Hastings, and a Gaussian method independent of the reconstruction fit. The resulting uncertainty is scored with CRPS and coverage calibration, separately on the observed and unobserved regions. We further demonstrate advantage of our approach over standard analytical function fit on synthetic and experimental DIII-D discharges.
1 Introduction
Tokamak plasma operation relies on knowledge of the radial electron density profile , where is the normalised radius. In a future fusion power plant, however, the available density diagnostics can constrain the profile only partially. This restriction is not incidental: the future fusion power plant must minimize the number of dedicated diagnostic ports in a neutron-shielded, tritium-breeding vessel, which rules out multi-view techniques such as Thomson scattering or multiple interferometer chords. Therefore we restrict the observation set to a single central interferometer chord (line-averaged density) and reflectometry (profile outside the pedestal top), both of which need minimal port access.
Standard practice in profile reconstruction is to fit a parametric pedestal shape (modified hyperbolic tangent, mtanh Groebner and Osborne [1998]) to each time slice independently, which extrapolates into the core without any physical constraint. However, the density profile evolution must obey a particle transport equation with diffusivity, pinch velocity, and particle source coefficients. In this work, we infer these coefficients from the observations and evolve the equation forward to reconstruct the full profile, with uncertainty inherited from the posterior distribution over the coefficients. This is the integrated-data-analysis viewpoint Fischer et al. [2010], made tractable here by replacing the PDE solver with a Fourier Neural Operator Li et al. [2021] surrogate: a single forward model evaluation becomes a GPU-friendly network pass, gradients and Hessians come from automatic differentiation, and posterior sampling requiring forward evaluations becomes feasible. The approach is complementary to differentiable transport solvers such as TORAX Citrin et al. [2024] and to control-oriented transport modelling Felici and Sauter [2012], Blanken et al. [2018].
*Corresponding author: ds@nextfusion.org
40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Sim2Science.
Our contributions are: (i) a FNO surrogate of the particle transport equation with realistic flux-surface geometry, used as the forward model for Bayesian inference of transport and source parameters from control-relevant observations (line-averaged density plus edge profile); (ii) a systematic comparison of four posterior approximations, scored with proper scoring rules and coverage separately on observed and unobserved regions; (iii) benchmarks against classical mtanh approach on synthetic and experimental data.
where is the flux-surface volume derivative and , are geometric coefficients computed from the magnetic equilibrium (EFIT Lao et al. [1985] for DIII-D discharges). Boundary conditions are zero flux at the axis and fixed density at the separatrix. The diffusivity and pinch velocity are piecewise-linear with a single interior breakpoint Blanken et al. [2018]; the source is a superposition of an exponential wall-fuelling term with amplitude and decay length , and a Gaussian core term with amplitude , center , and width . The resulting parameter vector collects six transport and five source parameters, with a uniform box prior set by physically admissible ranges.
Observation model. At each output time , the observation operators are the line-averaged density and the edge profile:
where the line average is along a horizontal midplane interferometer chord with proportional to the chord-length interval between consecutive flux ( ) surfaces. The core region is unobserved and is reconstructed only through the transport constraint (1) and the interferometer observation.
Noise model. The following noise model corrupts (2) for synthetic training and evaluation trajectories:
The dominant interferometer error is a per-discharge calibration error, a multiplicative scale factor shared across within a discharge. The reflectometry error is dominated by a radial position shift, modelled as a rigid two-component shift:
where stems from toroidal-field (density cutoff localisation) uncertainty and from separatrix detection error; typical DIII-D magnitudes are , in units.
3 Method
FNO surrogate. The forward model is a one-dimensional FNO Li et al. [2021] trained on Eq. (1) trajectories obtained by implicit Euler solver. Inputs are eight channels on the grid: initial profile ( ), geometry ( , , , see Blanken et al. [2018]), spatial coordinate ( ), and transport/source profiles , , (parametrized by ); the output is the profile at the next 64 time steps spanning 0.5 s. On held-out trajectories a single trained network reaches relative error. One rollout evaluates in 3.0 ms versus 155.4 ms for the solver ( speedup), both on a single GPU (batch size 1).
Training loss. The FNO is trained with a physics-informed loss combining a supervised data term and a physics-residual term, , where is the network's predicted trajectory, the solver's, and is the strong-form residual of Eq. (1) evaluated on the network's own output via finite differences in and . We use and .
Reconstruction loss. Reconstruction optimizes the transport and source parameters by minimizing a sum of squared residuals over time and observation points,
where , are the observation operators (2) applied to the predicted profile (line average and profile evaluated at the nominal, unshifted ), while , are the corresponding measured values – either real DIII-D data, or synthetic data drawn once from the noise model (3) and held fixed. Either way the noise ( , , or real instrumental noise) belongs only to that fixed target, never to the prediction. The sums run over all time steps and, for the edge term, all observed .
Posterior approximations. We compare four approximations of :
• Multi-seed ensemble: the set of reconstructed solutions , a deep-ensemble style estimate of multi-modality.
• Laplace MacKay [1992]: a Gaussian with , where is the Hessian of at from automatic differentiation through the surrogate. Eigenvalues are clamped at a fixed condition number to regularise flat directions.
• Markov Chain Monte Carlo (MCMC): Metropolis–Hastings algorithm with isotropic random-walk proposals in normalized parameter space, acceptance , where is a tuned temperature.
• Gaussian method: an isotropic Gaussian , independent of the reconstruction fit, with calibrated once against held-out discharges ( ).
Each approximation yields parameter samples; pushing them through the forward model gives an ensemble of profile evolutions from which we compute predictive bands.
Physics-free baseline. As the representative of current practice we fit a modified hyperbolic tangent profile Groebner and Osborne [1998] to each time slice independently, given exactly the same measured values : mtanh parameters minimize the same objective above, via the same Adam procedure (Appendix A). This baseline has no temporal or transport coupling.
Metrics. Point accuracy is reported separately on the unobserved axis ( ), core ( ) and the full profile as the relative error of the reconstruction against the ground-truth (synthetic) or measured (DIII-D) profile evolution. Predicted uncertainty is ranked by the CRPS Gneiting and Raftery [2007], a scoring rule that for an ensemble forecast reduces to , where , are independent draws from the predictive ensemble and is the truth: the first term rewards proximity to the truth, the second penalizes an unnecessarily wide (undersharp) ensemble, so a lower score jointly rewards calibration and sharpness without requiring a parametric predictive distribution. We additionally report the empirical coverage of the exact central predictive intervals (0.6827 / 0.9545).
4 Experiments
Setup. Synthetic evaluation dataset contains 100 discharges generated by the implicit-Euler solver with transport and source parameters drawn from the prior and observation noise . DIII-D dataset contains 13 discharges (L- and H-mode), with density profiles reconstructed from Thomson scattering measurements.
Reconstruction accuracy. Relative error of density profile reconstruction is shown in Fig. 1 and Table 1. On both the synthetic and experimental datasets, the transport-based FNO model outperforms the mtanh baseline at the magnetic axis by a significant margin: 0.057 against mtanh's 0.080 (29% lower) on the synthetic dataset, and 0.103 against 0.161 (36% lower) on DIII-D discharges. At the core and full-profile regions FNO underperforms mtanh instead (by 8–15% on synthetic, 13–23% on DIII-D) since mtanh fits 5 parameters per time slice (roughly 320 total over a typical reconstruction window) directly against the observed edge and line-integrated interferometer signal, against FNO's
11 transport/source parameters shared across the whole discharge – far more flexibility to fit the data, at the cost of any physical constraint on the unobserved core.
Table 1: MAP relative error, for the realistic-noise synthetic dataset with hidden plasma core (100 discharges) and for 13 experimental DIII-D discharges. core = (unobserved); axis = (unobserved).
| Method | axis | core | full |
|---|---|---|---|
| Synthetic | |||
| FNO | |||
| mtanh | |||
| DIII-D | |||
| FNO | |||
| mtanh | |||
Fig. 1 shows the reconstructed profile's time evolution with uncertainty bands, confirming the transport-based model identifies coefficients that reproduce the observed behaviour on both synthetic and experimental discharges.


Figure 1: Reconstruction of the unobserved core over time, for synthetic discharge (left) and DIII-D discharge (right). Solid: true profile; dashed: FNO MAP reconstruction; shaded bands: posterior spread (multi-seed ensemble); color encodes time within the reconstructed window. Shaded region: observed edge ().
Uncertainty quantification. We calibrate each method's free parameter(s) against 10 held-out synthetic trajectories using coverage at nominal level , the empirical fraction of held-out truth values falling inside the ensemble's -central interval, e.g. between the and quantiles. A well-calibrated method has coverage equal to ; below is overconfident (too narrow), above is underconfident (too wide). Gaussian method's , MCMC's proposal step size and Laplace's noise variance and Hessian clamp ratio are all calibrated by directly minimizing mean calibration error averaged over with Optuna. MCMC's chain temperature self-calibrates per shot as (the MAP loss), independently of the calibrated proposal step size, so a poorer-fitting shot automatically samples a more diffuse chain.
Table 2 reports CRPS and coverage for FNO's four UQ methods. On the synthetic dataset, the Gaussian method achieves the best CRPS and the coverage closest to nominal in every column; multi-seed, Laplace, and MCMC are all underconfident in the unobserved core at , and the gap widens toward the axis. On the DIII-D discharges the pattern is more mixed: the Gaussian method still wins CRPS in both regions and edge coverage at , but Laplace is closest to nominal for core coverage and both regions, despite it was tuned only on synthetic data.
Fig. 2 shows the Gaussian method's calibration profile across : at the nominal levels, coverage on the synthetic sweep tracks its nominal level near the axis but becomes increasingly overconfident (coverage well below nominal) past the observed edge boundary at ; on the DIII-D discharges the pattern inverts near the axis (overconfident there too), with better-calibrated
Table 2: Reconstruction and UQ quality, median std over 100 synthetic discharges (top) and 13 DIII-D discharges (bottom), FNO only. Core = unobserved ; axis = , the deepest extrapolation from the observed window; edge = observed . Best per column in bold. Both MCMC and Laplace are underconfident in the unobserved core at . Reconstruction accuracy (rel. err) is identical across UQ methods within each model (shared MAP fit) and is reported in Table 1.
| Method | CRPS | cov. 1 (0.68) | cov. 2 (0.95) | |||
|---|---|---|---|---|---|---|
| core | edge | core | edge | core | edge | |
| FNO () | ||||||
| Multi-seed | ||||||
| Laplace | ||||||
| MCMC | ||||||
| Gaussian control | ||||||
| FNO, DIII-D discharges () | ||||||
| Multi-seed | ||||||
| Laplace | ||||||
| MCMC | ||||||
| Gaussian control | ||||||

Figure 2: Gaussian-method empirical vs. nominal coverage at the 50/70/90% levels, as a function of (median per level, binned into intervals; shaded region marks the observed edge, ), comparing the 100 synthetic discharges (left) against the 13 DIII-D discharges (right). IQR bands are omitted for readability – per-shot spread is wide and reported numerically as the std in Table 2.
coverage through the mid-profile before falling again at the deepest edge. The Gaussian method's calibration is thus not uniform in , nor does it transfer as-is from synthetic to experimental data.
5 Conclusion and Limitations
We presented a differentiable FNO surrogate for transport-based reconstruction of the unobserved plasma core, with four posterior approximations compared against a physics-free mtanh baseline on synthetic and 13 DIII-D discharges. The transport, source, and geometry models are fixed, low-dimensional parametric forms (piecewise-linear diffusivity/pinch, exponential wall-fuelling plus Gaussian core source, static EFIT-derived geometry); a true profile shaped outside these families cannot be represented regardless of how well is inferred, and time-varying geometry within a discharge is not modelled. Ongoing work extends the forward model to coupled density and temperature transport with a Bohm/gyro-Bohm closure Erba et al. [1998] for inference of its dimensionless coefficients on DIII-D, and compares the surrogate against direct differentiation of the implicit solver.
References
R. J. Groebner and T. H. Osborne. Scaling studies of the high mode pedestal. Physics of Plasmas, 5(5):1800–1806, May 1998. ISSN 1089-7674. doi: 10.1063/1.872849. URL http://dx.doi.org/10.1063/1.872849.
R. Fischer, C. J. Fuchs, B. Kurzan, W. Suttrop, and E. and Wolfrum. Integrated data analysis of profile diagnostics at asdex upgrade. Fusion Science and Technology, 58(2):675–684, October 2010. ISSN 1943-7641. doi: 10.13182/fst10-110. URL http://dx.doi.org/10.13182/FST10-110.
Zongyi Li, Nikola Borislavov Kovachki, Kamyar Azizzadenesheli, Burigede Liu, Kaushik Bhattacharya, Andrew M. Stuart, and Anima Anandkumar. Fourier neural operator for parametric partial differential equations. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021. URL https://openreview.net/forum?id=c8P9NQVtmn0.
Jonathan Citrin, Ian Goodfellow, Akhil Raju, Jeremy Chen, Jonas Degrave, Craig Donner, Federico Felici, Philippe Hamel, Andrea Huber, Dmitry Nikulin, David Pfau, Brendan Tracey, Martin Riedmiller, and Pushmeet Kohli. Torax: A fast and differentiable tokamak transport simulator in jax, 2024. URL https://arxiv.org/abs/2406.06718.
F Felici and O Sauter. Non-linear model-based optimization of actuator trajectories for tokamak plasma profile control. Plasma Physics and Controlled Fusion, 54(2):025002, January 2012. ISSN 1361-6587. doi: 10.1088/0741-3335/54/2/025002. URL http://dx.doi.org/10.1088/0741-3335/54/2/025002.
T.C. Blanken, F. Felici, C.J. Rapson, M.R. de Baar, and W.P.M.H. Heemels. Control-oriented modeling of the plasma particle density in tokamaks and application to real-time density profile reconstruction. Fusion Engineering and Design, 126:87–103, January 2018. ISSN 0920-3796. doi:10.1016/j.fusengdes.2017.11.006. URL http://dx.doi.org/10.1016/j.fusengdes.2017.11.006.
G.V. Pereverzev, P.N. Yushmanov, A. Yu. Dnestrovskii, A.R. Polevoi, K.N. Tarasjan, L.E. Zakharov, and Garching (Germany) Max-Planck-Institut fuer Plasmaphysik. Astra - an automatic system for transport analysis in a tokamak. August 1991.
L.L. Lao, H. St. John, R.D. Stambaugh, A.G. Kellman, and W. Pfeiffer. Reconstruction of current profile parameters and plasma shapes in tokamaks. Nuclear Fusion, 25(11):1611–1622, November 1985. ISSN 1741-4326. doi: 10.1088/0029-5515/25/11/007. URL http://dx.doi.org/10.1088/0029-5515/25/11/007.
David J. C. MacKay. A practical bayesian framework for backpropagation networks. Neural Computation, 4(3):448–472, May 1992. ISSN 1530-888X. doi: 10.1162/neco.1992.4.3.448. URL http://dx.doi.org/10.1162/neco.1992.4.3.448.
Tilmann Gneiting and Adrian E Raftery. Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association, 102(477):359–378, March 2007. ISSN 1537-274X. doi:10.1198/016214506000001437. URL http://dx.doi.org/10.1198/016214506000001437.
M Erba, T Aniel, V Basiuk, A Becoulet, and X Litaudon. Validation of a new mixed bohm/gyro-bohm model for electron and ion heat transport against the iter, tore supra and start database discharges. Nuclear Fusion, 38(7):1013–1028, 1998. ISSN 0029-5515. doi: 10.1088/0029-5515/38/7/305. URL http://dx.doi.org/10.1088/0029-5515/38/7/305.
A Reproducibility details
Solver and training data. Training trajectories are generated with an implicit-Euler, LU-factored solve of Eq. (1) on a grid of 128 -points 64 time steps per 0.5 s segment. 1000 training, 200 validation, and 200 test trajectories are drawn by sampling transport/source coefficients and geometry coefficients uniformly from the prior ranges in Table 3; initial conditions are sampled from a pool of EFIT reconstructed real DIII-D shots.
Table 3: Prior ranges for the transport/source coefficients .
| Group | Parameter | Range |
|---|---|---|
| diffusion | [0.7, 0.9] | |
| [0.3, 3.0] | ||
| [0.3, 2.0] | ||
| [0.05, 0.5] | ||
| pinch | 0 (fixed) | |
| [-0.5, 0.5] | ||
| [-2.0, 2.0] | ||
| wall source | amplitude | [0.0, 500.0] |
| decay length | [0.002, 0.08] | |
| core source | amplitude | [0.0, 50.0] |
| center | [0.0, 0.5] | |
| width | [0.01, 0.5] |
FNO architecture and training. 16 Fourier modes, 128 hidden channels, 4 layers, projection channel ratio 2. Trained for 1000 epochs, batch size 32, Adam with and weight decay , one-cycle learning-rate schedule (max , 5% warmup, div factor 10, final div factor 1000). Loss weights , (Eq. in §3). Training completes in minutes on a single GPU.
Reconstruction optimizer. MAP fitting uses Adam with and 5 random restarts (the best of which is kept as ). FNO converges in 500 steps; mtanh's per-slice fit (5 parameters 64 time steps 320 free parameters for a single 0.5 s segment) needs 5000 steps to converge.
UQ settings. Multi-seed method estimates uncertainty from the 5 restart solutions directly. The Gaussian method draws 500 samples with an isotropic width (4.5% of the prior range). MCMC runs 5000 Metropolis–Hastings steps, retaining 500 samples, with the chain temperature self-calibrating per shot (), with the proposal step size . Laplace draws 500 samples from a Hessian-based Gaussian with eigenvalues floored at a clamp ratio of the largest eigenvalue ratio and noise variance . The Gaussian, MCMC, and Laplace parameters above were calibrated with Optuna by directly minimizing mean calibration error on the same held-out trajectories.
Hardware and runtimes. All training and reconstruction runs on a single GPU. FNO training: minutes for 1000 epochs. A single FNO rollout: 3.0 ms versus 155.4 ms for the implicit-Euler solver (51.3× speedup, batch size 1). Full reconstruction (MAP fit plus all four UQ methods) per DIII-D discharge: minutes for FNO, minutes for mtanh (MCMC's 5000 sampling steps dominate regardless of the forward model's own cost). The full sweep reported in §4 (100 synthetic + 13 DIII-D discharges, both models) took hours (FNO) and hours (mtanh) wall-clock.