Accelerating PDE Surrogates via RL-Guided Mesh Optimization

Yang Meng, Ruoxi Jiang, Zhuokai Zhao, Chong Liu, Rebecca Willett, Yuxin Chen

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.

Introduction

Deep learning surrogates, such as Fourier Neural Operators (FNOs), have revolutionized scientific computing by providing near-instantaneous approximations of complex physical systems. However, these models suffer from significant "data hunger." Training typically requires thousands of high-fidelity numerical simulations on dense, structured grids, which is computationally expensive.

A major source of inefficiency is that most physical systems are spatially inhomogeneous. In fluid flow, for example, significant computation is often wasted on smooth regions, while critical features like shocks or high-gradient channels are undersampled. While classical numerical analysis utilizes Adaptive Mesh Refinement (AMR) for individual simulations, standard AI surrogate pipelines lack a mechanism to intelligently decide where to allocate simulation resources across an entire training dataset.

The RLMesh Framework

RLMesh addresses this by treating mesh point selection as a sequential decision-making problem. The framework optimizes the data generation process to "pick its battles," focusing resolution on the most informative regions of the domain.

Overview of the RLMesh framework, illustrating the RL-guided mesh selection pipeline and the proxy reward loop used to accelerate training.

RL-Guided Selection and Proxy Rewards

For every new PDE instance, a Reinforcement Learning (RL) agent—specifically a Deep Q-Network (DQN)—sequentially selects a budget of $B$ mesh points. The agent learns to place these points where they will most improve the surrogate's performance.

To avoid the prohibitive cost of retraining the full FNO surrogate for every RL step, RLMesh employs a lightweight proxy model (Kernel Ridge Regression). This proxy provides rapid reward estimates. Crucially, the error of this proxy model correlates highly with the full surrogate's error (Spearman correlation $\approx 0.99$), allowing the RL policy to improve without the massive overhead of deep learning retraining.

Non-Uniform Surrogate and Solver

Standard FNOs are designed for regular grids. RLMesh utilizes a modified FNO architecture incorporating Fourier feature encodings, multi-head self-attention, and a masked training strategy to learn effectively from sparse, irregular point clouds. To generate the training data, the authors developed a custom finite-volume solver capable of accurate solutions on these non-uniform, RL-optimized meshes.

Experimental Evaluation

The framework was evaluated on three physical benchmarks from the PDEBench suite: the 1D Burgers’ Equation (fluid mechanics with sharp shocks), 2D Darcy Flow (porous media flow with high-conductivity channels), and the Lorenz-96 System (a chaotic 1D lattice system).

Performance comparison of RLMesh against various baselines across (a) Burgers, (b) Darcy, and (c) Lorenz-96 benchmarks, showing Test RMSE vs. Iteration Number.

Key Results

  • Efficiency Gains: On the Burgers benchmark, RLMesh reached a target error of 0.02 RMSE using 33% to 50% fewer simulation queries than standard heuristic baselines, such as random or gradient-based sampling.
  • Wall-Clock Speedup: RLMesh achieved the 0.02 RMSE threshold in approximately 40 seconds of accumulated simulation time, whereas uniform or random baselines required over 150 seconds.
  • Approaching the "Full Info" Limit: Across all benchmarks, RL-guided sparse sampling consistently approached the accuracy of models trained on "full information" (dense grids), despite using only a fraction of the mesh points.

Conclusion

RLMesh demonstrates that moving intelligence into the data generation phase—specifically through solver-level spatial adaptivity—can significantly reduce the computational barrier to building AI physics emulators. By learning to track critical features like shocks and channels, the RL agent ensures that every simulation query is as informative as possible. Future work includes scaling the RL action space for complex 3D geometries and exploring the joint optimization of instance-level active learning with mesh-level selection.

Summary updated

BibTeX
@inproceedings{meng2026accelerating,
  author = {Yang Meng and Ruoxi Jiang and Zhuokai Zhao and Chong Liu and Rebecca Willett and Yuxin Chen},
  title = {{Accelerating PDE Surrogates via RL-Guided Mesh Optimization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=XPhYq5Hty8},
}
Figure