# Learning robust marking policies for adaptive mesh refinement

arXiv: https://arxiv.org/abs/2207.06339 · HTML: https://mlsanity.com/paper/2207.06339/

## Key facts

- Cited by 9 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 67 references that are in the map.
- First posted on arXiv 13 Jul 2022.

## Builds on (most cited first, 13 of 13)

- [Proximal Policy Optimization Algorithms](https://mlsanity.com/paper/1707.06347/) (2017)
- [Trust Region Policy Optimization](https://mlsanity.com/paper/1502.05477/) (2015)
- [Learning Mesh-Based Simulation with Graph Networks](https://mlsanity.com/paper/2010.03409/) (2020)
- [Ray: A Distributed Framework for Emerging AI Applications](https://mlsanity.com/paper/1712.05889/) (2017)
- [Reinforcement Learning for Adaptive Mesh Refinement](https://mlsanity.com/paper/2103.01342/) (2021)
- [MeshingNet: A New Mesh Generation Method based on Deep Learning](https://mlsanity.com/paper/2004.07016/) (2020)
- [Optimization-Based Algebraic Multigrid Coarsening Using Reinforcement Learning](https://mlsanity.com/paper/2106.01854/) (2021)
- [M2N: Mesh Movement Networks for PDE Solvers](https://mlsanity.com/paper/2204.11188/) (2022)
- [Machine Learning-Based Optimal Mesh Generation in Computational Fluid Dynamics](https://mlsanity.com/paper/2102.12923/) (2021)
- [Refinement of polygonal grids using Convolutional Neural Networks with applications to polygonal Discontinuous Galerkin and Virtual Element methods](https://mlsanity.com/paper/2102.05738/) (2021)
- [Evaluating the Quality of Finite Element Meshes with Machine Learning](https://mlsanity.com/paper/2107.10507/) (2021)
- [Efficient time stepping for numerical integration using reinforcement learning](https://mlsanity.com/paper/2104.03562/) (2021)
- [Multigoal-oriented dual-weighted-residual error estimation using deep neural networks](https://mlsanity.com/paper/2112.11360/) (2021)

## Built on by (most cited first, 9 of 9)

- [Swarm Reinforcement Learning For Adaptive Mesh Refinement](https://mlsanity.com/paper/2304.00818/) (2023)
- [Machine learning for modelling unstructured grid data in computational physics: a review](https://mlsanity.com/paper/2502.09346/) (2025)
- [Spectral-Refiner: Accurate Fine-Tuning of Spatiotemporal Fourier Neural Operator for Turbulent Flows](https://mlsanity.com/paper/2405.17211/) (2024)
- [Multi-Agent Reinforcement Learning for Adaptive Mesh Refinement](https://mlsanity.com/paper/2211.00801/) (2022)
- [RL-PINNs: Reinforcement Learning-Driven Adaptive Sampling for Efficient Training of PINNs](https://mlsanity.com/paper/2504.12949/) (2025)
- [UGM2N: An Unsupervised and Generalizable Mesh Movement Network via M-Uniform Loss](https://mlsanity.com/paper/2508.08615/) (2025)
- [Multilevel CNNs for Parametric PDEs based on Adaptive Finite Elements](https://mlsanity.com/paper/2408.10838/) (2024)
- [Pruning AMR: Efficient Visualization of Implicit Neural Representations via Weight Matrix Analysis](https://mlsanity.com/paper/2512.02967/) (2025)
- [MeshTok: Efficient Multi-Scale Tokenization for Scalable PDE Transformers](https://mlsanity.com/paper/2606.04366/) (2026)

## Abstract (arXiv)

In this work, we revisit the marking decisions made in the standard adaptive finite element method (AFEM). Experience shows that a na"ive marking policy leads to inefficient use of computational resources for adaptive mesh refinement (AMR). Consequently, using AFEM in practice often involves ad-hoc or time-consuming offline parameter tuning to set appropriate parameters for the marking subroutine. To address these practical concerns, we recast AMR as a Markov decision process in which refinement parameters can be selected on-the-fly at run time, without the need for pre-tuning by expert users. In this new paradigm, the refinement parameters are also chosen adaptively via a marking policy that can be optimized using methods from reinforcement learning. We use the Poisson equation to demonstrate our techniques on h- and hp-refinement benchmark problems, and our experiments suggest that superior marking policies remain undiscovered for many classical AFEM applications. Furthermore, an unexpected observation from this work is that marking policies trained on one family of PDEs are sometimes robust enough to perform well on problems far outside the training family. For illustration, we show that a simple hp-refinement policy trained on 2D domains with only a single re-entrant corner can be deployed on far more complicated 2D domains, and even 3D domains, without significant performance loss. For reproduction and broader adoption, we accompany this work with an open-source implementation of our methods.
