cs.LGMar 11, 2026

Graph-GRPO: Training Graph Flow Models with Reinforcement Learning

Authors: Baoheng Zhu, Deyu Bo, Delvin Ce Zhang, Xiao Wang

Organizations: Beijing University of Posts and Telecommunications · National University of Singapore · University of Sheffield · Beihang University

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.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Hierarchical Discrete Flow Matching for Graph Generation

    Mar 31, 2026Yoann Boget, Pablo Strasser, Alexandros KalousisGraph GenerationFlow-Based Generative Modeling

  2. Latent Flow Matching for Molecular Graph Generation

    Oct 5, 2026Mathis Goupillon, Roman Bresson, Konstantinos Divriotis +1Flow MatchingMolecular Graph Generation

  3. Scaling Novel Graph Generation via Lightweight Structure-Guided Autoregressive Models

    Jun 2, 2026Alessio Barboni, Massimiliano Lupo Pasini, Bishal Lakha +1Graph GenerationGenerative Modeling