arXiv:2610.27317physics.comp-phOct 2026

Manuscript Offprint

arXiv:2610.27317

Machine-learned spectral PDE solvers for fluids and plasmas

Mellow Baixuan Chen, Alan A. Kaptanoglu

Abstract

Sparse regression methods for discovering governing partial differential equations (PDEs) from data are sensitive to observation noise and are not constrained to reproduce the data under forward integration. We address both limitations by performing weak-form discovery in the spatial discretization in which the PDE is solved, learned by differentiating through multistep rollouts anchored at the observed states. The new method, Weak-form Anchored Rollout for PDEs (WARP), produces a machine-learned PDE solver. In this work, we focus on systems amenable to a spectral Galerkin solver. Across eight benchmark fluid and plasma systems, including high-dimensional turbulent simulations, WARP produces numerically stable rollouts from new random initial conditions and substantially improves coefficient recovery, rollout accuracy, and statistical measures compared with a single-step weak-form SINDy baseline.

Keywords. PDE discovery; weak-form sparse regression; spectral Galerkin methods; differentiable solvers; multistep rollout training; plasma turbulence; scientific machine learning

1 Introduction

Discovering governing partial differential equations (PDEs) from spatiotemporal data is a central task in scientific machine learning. It is also a difficult inverse problem. A finite trajectory visits only a small part of state space, candidate operators can be strongly correlated along that path, and distinct equations can fit the same local data. Measurement noise, differentiation error, missing fields, discretization bias, and unresolved closure terms further confound the coefficients. For nonlinear and chaotic systems, small structural or coefficient errors feed back through the dynamics and eventually prevent accurate forecasts over sufficiently long time horizons. Successful identification therefore requires information-rich training data, an identifiable representation, a suitable closure, and a learned model that remains usable under forward integration [1–4].

Traditional SINDy or other single-step prediction (derivative fitting) methods present a second problem beyond noise sensitivity. A small instantaneous residual does not enforce dissipation, invariants, boundedness, or correct behavior away from the observed states. Small spurious terms can create anti-diffusion or energy production, so models that fit derivatives accurately may diverge when integrated from the training state or a new initial condition [5–10]; Appendix E tests this on our benchmarks. Other approaches enforce stability through physics constraints, Lyapunov conditions, bounded quadratic model classes, or stability-promoting regularization [7, 9, 11–13].

We combine weak spatial projection with solver-in-the-loop coefficient training. The unknown PDE is discretized as a spectral Galerkin solver, using an orthonormal Fourier basis to represent the state and test the weak form. The resulting modal ordinary differential equation (ODE) is integrated from observed anchor states, and its candidate coefficients are optimized by differentiating through adaptive Dormand–Prince rollouts. We call the method Weak-form Anchored Rollout for PDEs (WARP). Its output consists of explicit PDE coefficients and an autonomous solver in the same finite-dimensional weak formulation used during training. We emphasize that the foundation presented here (i.e. identifying the equations by direct forward integration in a Galerkin formulation) can be extended to arbitrary PDEs and boundary conditions, different test function bases, and a variety of ODE integrators.

We will motivate WARP by applying it to increasingly complex periodic fluid and plasma systems, from scalar nonlinear and dispersive equations to coupled turbulent and magnetohydrodynamic (MHD) dynamics. The physical role and numerical setup of each benchmark are introduced with its results in Sec. 4. Every fit

uses a single observed training trajectory. This is a different data regime from large multi-trajectory neural-operator benchmarks [14, 15], although rollout-based operator inference also explicitly addresses scarce and noisy data [16]. Across eight systems, WARP improves coefficient recovery and, typically, autonomous rollout accuracy over a single-step weak-formulation comparison. Because both methods use the same weak spatial projection, the comparison isolates the benefit of multistep rollout.

References (84)