Optimization of a Triangular Delaunay Mesh Generator using Reinforcement Learning
Will Thacher, Per-Olof Persson, Yulong Pan
TL;DR
This work presents a reinforcement learning framework for triangular mesh generation that combines a graph neural network based vertex updater with Delaunay triangulation to produce high quality 2D meshes. By optimizing a mesh quality score through PPO and policy gradient methods, the approach supports mesh generation, mesh improvement, and variable resolution meshes, achieving results comparable to Triangle and DistMesh. The method demonstrates flexibility through curriculum learning, reward design, and size function integration, and shows potential for extension to higher dimensions and end-to-end learned triangulation. Overall, it provides a promising proof of concept that RL can learn effective meshing strategies that adapt to diverse domain shapes and resolution requirements.
Abstract
In this work we introduce a triangular Delaunay mesh generator that can be trained using reinforcement learning to maximize a given mesh quality metric. Our mesh generator consists of a graph neural network that distributes and modifies vertices, and a standard Delaunay algorithm to triangulate the vertices. We explore various design choices and evaluate our mesh generator on various tasks including mesh generation, mesh improvement, and producing variable resolution meshes. The learned mesh generator outputs meshes that are comparable to those produced by Triangle and DistMesh, two popular Delaunay-based mesh generators.
