NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Constrained Goal-directed Planar Graph Generation with Grammar-based Reinforcement Learning

Nicolas Hochuli, Lorenzo Miele, Kristina Shea, Tino Stankovic

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Time Series, PDEs & Probabilistic ML › Diffusion and Transport Methods · Type: new method · Keywords: planar graph generation, constrained reinforcement learning, graph grammars, safe RL, graph embedding

Summary

A dataset-free method that uses parametric graph grammars and safe reinforcement learning to generate planar graph embeddings while satisfying hard structural and geometric constraints.

Explained to a 5-year-old

We want to draw pictures of networks where the lines never cross each other. Old methods could not make the shapes follow special rules or reach a goal. A new method uses simple building blocks and learns to pick the right pieces while staying safe. It makes sure the final picture is correct and matches what we need. This helps engineers and scientists draw better maps and designs.

Explained to a 5-year-old, longer

We often need to draw networks that look like roads or connections without the lines crossing. These drawings are called planar graphs because they can be drawn on a piece of paper without overlapping. Making such drawings that also follow special rules-like using only certain shapes or reaching a goal-is hard. Previous methods could only make simple drawings or sometimes broke the rules. The new idea uses a set of building blocks that describe how to add parts to the drawing. It also uses a learning process that tries many ways to add parts but only keeps the safe ones. The learning works like playing a game where each move must keep the drawing valid. A special trick makes sure each move stays inside the allowed area. This way the drawing is built step by step, always respecting the constraints. When the drawing is finished, it matches the desired goal, like a specific shape or property. The method works without needing any pre-made examples, so it can be used for many different problems. It also comes with a set of test problems so we can see how well it works compared to older methods.

For a technical reader

The paper presents a dataset-free framework that generates planar graph embeddings by combining a parametric graph grammar with safe reinforcement learning. It models the generation as a constrained Markov decision process and uses an action projection to enforce feasibility at each step. Empirical evaluation on a newly introduced benchmark suite shows consistent superiority over classical and deep generative baselines while satisfying hard constraints. The approach eliminates the need for large training datasets and provides a reusable evaluation environment for future research.

Problem

Generating planar graph embeddings that meet specific structural and geometric constraints while allowing goal-directed control is difficult, as existing generators either provide limited control or only weakly enforce constraints.

Method

The approach formulates generation as a constrained Markov decision process, uses a parametric graph grammar to define state and action spaces, and employs safe reinforcement learning with an action projection that maps actions to state-dependent feasible sets to satisfy constraints during construction.

Results

The approach consistently outperforms baseline methods on all benchmark tasks while satisfying the formulated constraints.

Contributions

It introduces a dataset-free generation framework that directly constructs feasible planar graph embeddings under hard constraints, formulates the problem as a constrained MDP, provides an action projection for safe learning, and supplies a benchmark suite for evaluation.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction