Graph-GRPO: Training Graph Flow Models with Reinforcement Learning

Baoheng Zhu, Deyu Bo, Delvin Ce Zhang, Xiao Wang
3/11/2026
cs.LG

No official code found. Best implementation: Zhubaoheng/Graph-GRPO (9 stars, MIT, last commit 2026-05-14).

Abstract

Graph generation is a fundamental task with broad applications, such as drug discovery. Recently, discrete flow matching-based graph generation, \aka, graph flow model (GFM), has emerged due to its superior performance and flexible sampling. However, effectively aligning GFMs with complex human preferences or task-specific objectives remains a significant challenge. In this paper, we propose Graph-GRPO, an online reinforcement learning (RL) framework for training GFMs under verifiable rewards. Our method makes two key contributions: (1) We derive an analytical expression for the transition probability of GFMs, replacing the Monte Carlo sampling and enabling fully differentiable rollouts for RL training; (2) We propose a refinement strategy that randomly perturbs specific nodes and edges in a graph, and regenerates them, allowing for localized exploration and self-improvement of generation quality. Extensive experiments on both synthetic and real datasets demonstrate the effectiveness of Graph-GRPO. With only 50 denoising steps, our method achieves 95.0\% and 97.5\% Valid-Unique-Novelty scores on the planar and tree datasets, respectively. Moreover, Graph-GRPO achieves state-of-the-art performance on the molecular optimization tasks, outperforming graph-based and fragment-based RL methods as well as classic genetic algorithms.

View on arXivView PDF

Code Implementations(1)

MIT

Graph-GRPO: Training Graph Flow Models with Reinforcement Learning (ICML 2026)

90C++, ShellMay 14, 20265 months agoMIT

Similar Papers

Cite this paper

@article{zhu2026graphgrpo,
  title  = {Graph-GRPO: Training Graph Flow Models with Reinforcement Learning},
  author = {Baoheng Zhu and Deyu Bo and Delvin Ce Zhang and Xiao Wang},
  year   = {2026},
  eprint = {2603.10395},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.10395v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.10395.svg)](https://codeofpaper.com/paper/2603.10395)

Discussion