Skip to content
AI.info

Research

Accelerating PDE Surrogates via RL-Guided Mesh Optimization

Accelerating PDE Surrogates via RL-Guided Mesh Optimization Overview Research area: Machine learning for scientific computing — specifically, active learning and reinforcement learning for neural oper

arXiv
2603.02066
Published
2026-03-02
Authors
Yang Meng, Ruoxi Jiang, Zhuokai Zhao, Chong Liu, Rebecca Willett, Yuxin Chen

AI summary

Accelerating PDE Surrogates via RL-Guided Mesh Optimization

Overview

  • Research area: Machine learning for scientific computing — specifically, active learning and reinforcement learning for neural operator (PDE) surrogate models.
  • Technical level: Advanced. The paper assumes familiarity with neural operators (FNOs), Markov decision processes, deep Q-learning, and kernel ridge regression.
  • Scope: A single-paper empirical study introducing RLMesh, an end-to-end framework that uses reinforcement learning to pick a small budget of mesh grid points per PDE instance, together with a lightweight proxy reward model, so that an FNO surrogate can be trained on far fewer solver queries.

What This Paper Is About

Deep surrogate models for parametric PDEs are accurate but data-hungry: training them usually requires thousands of high-fidelity simulations on dense, structured grids, even when the solution is strongly inhomogeneous (shocks in Burgers' equation, high-conductivity channels in Darcy flow). Existing active-learning and irregular-mesh methods decide which instances or which global resolution to simulate, but never decide where inside a given instance the solver should be queried. The paper asks whether per-instance, budgeted mesh-point selection can be learned so that surrogate training stays accurate while using substantially fewer solver calls.

Key Contributions

  1. A new problem formulation. Adaptive, budget-constrained mesh-point selection for PDE surrogates is cast as a sequential decision problem (a finite-horizon MDP) in which an agent chooses grid points one at a time under a per-instance budget B.
  2. An end-to-end RL-guided active surrogate learning framework (RLMesh). A reinforcement learning policy selects mesh points, and a lightweight kernel ridge regression proxy model approximates downstream surrogate improvement so that rewards can be assigned without retraining the far more expensive FNO surrogate.
  3. A non-uniform-capable surrogate pipeline. The FNO surrogate is modified to handle irregular inputs (Fourier feature encoding, batch normalization on Fourier features, 49 Fourier modes instead of a typical 16, and a multi-head self-attention layer with residual connections), and trained with a simple set-to-grid interface plus a masked training strategy in which gradient updates are computed only on selected mesh grid points.
  4. Empirical demonstration. Across three benchmarks — 1D Burgers (terminal-time prediction), 2D Darcy (steady mapping), and the Lorenz-96 chaotic lattice system — RLMesh outperforms uniform, random, gradient, variance, and intensity heuristics under equal query budgets.

Main Findings

  • Proxy alignment: The RBF kernel ridge proxy shows near-perfect monotonic agreement with the FNO surrogate error across subset sizes, with Spearman ρ = 0.9908, meaning reward signals stay aligned with true generalization improvement without frequent full retraining. The proxy is used only after a pretraining phase on 100 fully observed instances.

  • Faster error reduction on Burgers: RLMesh reaches an RMSE of 0.02 by approximately iteration 6, while variance, intensity, and gradient heuristics require 9–10 iterations and uniform or random selection require 12 or more — a 33% ~ 50% reduction in total labeling cost.

  • Consistent gains across benchmarks: On Darcy and Lorenz-96, the same qualitative behavior holds, with the RL policy improving faster and attaining lower error than heuristics, and consistently approaching the full-information curve (which is described as an information-theoretic lower bound on test error). Largest gains appear in the early-to-mid acquisition stages, where heuristics plateau.

  • Wall-clock efficiency: To reach the 0.02 error threshold, RLMesh requires about 40 seconds of accumulated simulation, whereas variance, intensity, and gradient heuristics require roughly 80–120 seconds and uniform or random baselines require well over 150 seconds.

  • Budget matters, but with diminishing returns: With only 20 or 40 grid points the RL policy cannot drive error down substantially and both curves plateau at relatively high RMSE — primarily a limitation of FNO capacity rather than the RL policy. Once the budget reaches 60 grid points, loss drops quickly and converges to the same level as the 80- and 100-grid-point settings. Variance bands narrow with increasing budget. 60 grid points is identified as the most cost-efficient operating regime, and 60 is also adopted as the practical regime for simulator-assisted acquisition in the fixed 10,000-point total budget analysis.

  • Per-instance adaptivity is real: Visualizations on Burgers show selections concentrating around steep shock fronts and turning points while maintaining scaffolding in smooth ramp regions; on Darcy, grid points cluster along high-contrast channels and near boundary layers, with coverage in homogeneous areas. Patterns shift across instances, confirming adaptivity rather than a static mask. No such visualization is given for Lorenz-96, since it lacks continuous spatial geometry.

  • Mesh-level beats instance-level: Against instance-level active learning baselines (a mutual-information selector Self-MI adapted from MRA-FNO and LCMD, the strongest reported AL4PDE heuristic for Burgers) under equalized total query budgets, RLMesh attains lower RMSE at every measured iteration on Burgers:

    Iteration RLMesh Self-MI LCMD
    1 0.0439 ± 0.0047 0.0489 ± 0.0108 0.0464 ± 0.0169
    6 0.0109 ± 0.0021 0.0146 ± 0.0014 0.0126 ± 0.0007
    12 0.00566 ± 0.00128 0.00697 ± 0.00084 0.00618 ± 0.00041
    18 0.00364 ± 0.00067 0.00418 ± 0.00038 0.00384 ± 0.00010
  • Error reduction is spatially targeted: On Burgers, going from pretraining to 100 samples eliminates large bias and smooths oscillatory error, with residual error confined to a narrow neighborhood around shock/turning points; by 900 samples the curve is visually indistinguishable from ground truth except for tiny boundary artifacts. On Darcy, pretraining captures coarse structure but misses high-contrast channels; by 900 samples error ridges thin and weaken, especially around permeability contrasts and boundary layers — later acquisitions act as local refinements rather than global corrections.

Methodology in Plain English

The pipeline is an iterative loop. A PDE input state (such as an initial condition) is sampled from a prior distribution and handed to a reinforcement learning policy. The policy acts over B steps, each step picking one grid cell that has not yet been selected, so that each episode corresponds to one PDE instance and lasts B steps. The state given to the agent concatenates a binary mask of already-selected cells with a normalized encoding of the PDE input.

Rather than giving the agent feedback at every step, the environment issues a single terminal reward after all B points are chosen. Computing that reward by actually retraining the surrogate would be far too expensive, so the authors fit a lightweight proxy model — kernel ridge regression with a closed-form solution and an RBF kernel — that predicts the surrogate's generalization error. The reward is the negative of the proxy-predicted change in error, r = −κ(ε_new − ε_old), rescaled to [−1, 1] to stabilize learning. This directly targets improved surrogate accuracy and avoids hand-crafted local heuristics such as uncertainty sampling.

The policy itself is trained with a value-based method, instantiated as a deep Q-network with experience replay and a target network under a greedy exploration schedule. The solver is queried only at the selected points, yielding sparse observations on a non-uniform mesh that are appended to the training set. The FNO surrogate is retrained only periodically (every L iterations) on the accumulated non-uniform data, amortizing its cost; the proxy is retrained each iteration. A custom finite-volume solver with a geometry augmentation step (inserting virtual midpoints to cap maximum gaps under sparse selection) provides accurate solutions on those irregular meshes, and interpolation guarantees accurate values at queried locations.

Evaluations used 1,000 training instances and 200 held-out test instances per dataset; of the training set, 100 instances are reserved for surrogate pretraining and 900 are used for active acquisition across 18 iterations of 50 instances each. Results are averaged over five independent runs with different seeds and constant train/test splits, reported as mean ± std, with RMSE on a dense evaluation grid as the primary metric. To disentangle algorithmic differences from solver artifacts, the main accuracy comparisons (Figure 3) use an oracle uniform solver; the time–error comparisons (Figure 5) use the custom non-uniform solver, with each figure using a single shared solver across all methods. The FNO ensemble consists of five models trained with negative log-likelihood loss for 250 epochs (batch size 32, Adam with learning rate 1×10⁻³), width 64 channels, and 49 Fourier modes on a 129-point grid resolution.

Why This Matters

The work shifts adaptive meshing from solver time to training time. Classical adaptive mesh refinement and prior RL-for-AMR work refine a mesh to solve one PDE accurately; RLMesh instead adapts sampling to improve learning efficiency across many instances, and replaces PDE-residual feedback with proxy-predicted surrogate improvement. It also opens an axis of adaptivity — per-instance spatial point selection under a strict local query budget — that instance-level active learning frameworks such as MRA-FNO and AL4PDE do not address.

Real-world applications:

  • Scientific simulation surrogates: Training FNO-style surrogate models for fluid, transport, or porous-media problems when each high-fidelity solve is expensive.
  • Design and optimization loops: Engineering workflows that repeatedly query a surrogate inside an outer optimization loop benefit directly from lower per-instance simulation cost.
  • Weather and climate-adjacent dynamical systems: The Lorenz-96 results suggest the approach transfers to chaotic lattice systems, not just spatially structured PDEs.
  • Budget-constrained computational campaigns: Settings where a fixed allocation of solver time or HPC credits must be converted into the best possible model accuracy.

Industry relevance: any organization whose bottleneck is the number of expensive numerical simulations rather than model capacity — including energy, aerospace, materials, and computational engineering — stands to gain. The reported 33%–50% reduction in labeling cost on Burgers, and reaching the same 0.02 error threshold in roughly 40 seconds instead of 80–150+ seconds of accumulated simulation, is the kind of trade-off that maps onto real compute budgets.

Future Directions

  1. Space–time sensing and multi-fidelity costs. Extending the framework beyond fixed spatial grid selection to time-dependent sensing and solver calls of varying fidelity.
  2. Higher-dimensional and irregular geometries. Scaling with geometry-aware operators beyond the 1D and 2D settings studied.
  3. Joint instance-plus-grid-point selection. Combining instance-level acquisition (the focus of MRA-FNO and AL4PDE) with per-instance spatial selection.
  4. Theoretical guarantees. Establishing sample-efficiency guarantees for the proposed adaptive acquisition approach.
  5. Open question on policy vs. capacity: The authors report that the 20- and 40-grid-point plateaus stem primarily from FNO capacity rather than the RL policy, which leaves room to explore whether a stronger surrogate architecture changes the budget-accuracy frontier.

Target Audience

Researchers and practitioners in scientific machine learning and computational physics who train neural surrogates for parametric PDEs, particularly those working on active learning, neural operators, or RL for scientific systems. It is also relevant to numerical analysts interested in how learned, non-uniform sampling interacts with mesh-based solvers, and to applied engineers who need to allocate a fixed simulation budget efficiently. Readers without background in reinforcement learning or operator learning will find the paper's mathematical setup (MDP formulation, kernel ridge proxy, DQN training) demanding.

Authors’ abstract

Deep surrogate models for parametric partial differential equations (PDEs) can deliver high-fidelity approximations but remain prohibitively data-hungry: training often requires thousands of fine-grid simulations, each incurring substantial computational cost. To address this challenge, we introduce RLMesh, an end-to-end framework for efficient surrogate training under limited simulation budget. The key idea is to use reinforcement learning (RL) to adaptively allocate mesh grid points non-uniformly within each simulation domain, focusing numerical resolution in regions most critical for accurate PDE solutions. A lightweight proxy model further accelerates RL training by providing efficient reward estimates without full surrogate retraining. Experiments on PDE benchmarks demonstrate that RLMesh achieves competitive accuracy to baselines but with substantially fewer simulation queries. These results show that solver-level spatial adaptivity can dramatically improve the efficiency of surrogate training pipelines, enabling practical deployment of learning-based PDE surrogates across a wide range of problems.

Read the original paper