English

Graph-GRPO: Training Graph Flow Models with Reinforcement Learning

Machine Learning 2026-03-12 v1

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.

Keywords

Cite

@article{arxiv.2603.10395,
  title  = {Graph-GRPO: Training Graph Flow Models with Reinforcement Learning},
  author = {Baoheng Zhu and Deyu Bo and Delvin Ce Zhang and Xiao Wang},
  journal= {arXiv preprint arXiv:2603.10395},
  year   = {2026}
}

Comments

Under Review

R2 v1 2026-07-01T11:14:06.968Z