atlas

Research map / Graph learning / Graph self-supervised learning

Graph Generative Pre-trained Transformer

ICML 2025 · Graph learning › Graph self-supervised learning · approach: Diffusion-based graph generation · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes G2PT, an autoregressive Transformer that generates graphs by next-token prediction over a node-and-edge token sequence, extended to goal-oriented generation (RFT, PPO) and molecular property prediction via fine-tuning.

Problem

Graph generation is usually done with adjacency matrices, which need quadratic computation and, for diffusion models, permutation-invariant networks and many denoising steps. The paper asks whether a compact edge-sequence representation with a generic autoregressive Transformer can match or beat the

Approach

Represent a graph as a token sequence listing all nodes (type, index) followed by edges (source, destination, type) in a degree-based edge order, and train a GPT-style decoder on it with next-token prediction. The sequence model is then adapted with rejection sampling fine-tuning and PPO for goal-oriented generation and with a classification head for property prediction.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use the G2PT edge-sequence representation instead of an adjacency-matrix sequenceTransformer graph generation on Planar · PlanarDeg. MMD: 8.6e-3 -> 4.7e-3Helped
pre-train G2PT on GuacaMol before MoleculeNet fine-tuning (ablation)G2PT-base · MoleculeNet averageROC-AUC: 64.9 -> 73.3Helped
increase model size from small to baseG2PT · MOSESValidity: 95.1 -> 96.4Helped
increase model size from base to largeG2PT · MOSESValidity: 96.4 -> 97.2Helped
increase model size from base to largeG2PT · MOSESNovelty: 86.0 -> 79.4Hurt
use the full Transformer rather than only the linear layer for prediction fine-tuning (ablation)G2PT property prediction · MoleculeNetROC-AUCHelped
use multiple sequences per graph for data augmentation rather than one sequence (ablation)G2PT pre-training · molecular datasetsvalidityHelped
use PPO fine-tuning instead of rejection-sampling fine-tuningG2PT goal-oriented generation · GSK3βtarget reward distributionHurt

Surprising findings

Limitations

Experimental setup

Datasets: QM9 MOSES GuacaMol Planar Tree Lobster SBM MoleculeNet

Benchmarks: Planar Tree Lobster SBM QM9 MOSES GuacaMol MoleculeNet

Metrics: MMD degree/clustering/orbit/spectral/wavelet V.U.N. validity FCD ROC-AUC

Baselines: GRAN BiGG DiGress BwR HSpectre GEEL DeFoG DisCo Cometh GraphMAE

Builds on: GraphRNN DeepGMG PPO GraphMAE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy