atlas

Research map / Graph learning / Graph self-supervised learning

Flatten Graphs as Sequences: Transformers are Scalable Graph Generators

NeurIPS 2025 · Graph learning › Graph self-supervised learning · approach: Diffusion-based graph generation · 0 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 AutoGraph, which flattens attributed graphs into random segmented Eulerian neighborhood trail token sequences and models them autoregressively with a decoder-only transformer, achieving SOTA MMD/VUN on synthetic and molecular graph benchmarks with much faster sampling and training than diffusion models.

Problem

Graph generation with diffusion models is slow and memory-hungry (quadratic adjacency operations, expensive node features), while prior autoregressive graph models use specialized RNN architectures and do not produce token sequences that LLMs can model directly.

Approach

Reversibly flatten graphs into random segmented Eulerian neighborhood trails (SENTs) with neighborhood sets, reindex nodes by first occurrence, and tokenize them so that a standard decoder-only language model learns next-token prediction; causal Hamiltonian/semi-Hamiltonian SENTs make prefixes induced subgraphs, enabling linear-in-edges sampling and substructure conditioning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use AutoGraph instead of GruMsmall synthetic graph generation · SBMVUN: 85.0 -> 92.5Helped
use AutoGraph instead of the strongest reported baselinegraph generation · PlanarVUN: 95.0 -> 87.5Hurt
use AutoGraph instead of ESGGlarge graph generation · ProteinsRatio: 4.7 -> 2.3Helped
use AutoGraph instead of ESGGlarge graph generation · Point CloudsRatio: 6.8 -> 3.0Helped
use AutoGraph instead of DiGressmolecular generation · QM9 with hydrogen atomsValid: 95.4 -> 97.7Helped
use AutoGraph instead of DiGressmolecular generation · MOSESFCD: 1.19 -> 0.91Helped
pre-train AutoGraph on PubChem-10M before GuacaMol training (ablation)AutoGraph · GuacaMolFCD: 79.2 -> 91.4Helped
replace LLaMA with GPT-2 (ablation)AutoGraph · PlanarVUN: 90.0 -> 85.0Hurt
replace LLaMA with Mamba (ablation)AutoGraph · PlanarVUN: 90.0 -> 55.0Hurt
use a smaller top-k (ablation)AutoGraph inference · PlanarVUNHelped
use a smaller top-k (ablation)AutoGraph inference · SBMVUNNo clear effect
increase top-k (ablation)AutoGraph inference · Planar and SBMRatioHelped

Surprising findings

Limitations

Experimental setup

Datasets: Planar SBM Proteins Point Clouds QM9 MOSES GuacaMol NetworkX PubChem-10M

Benchmarks: Planar SBM Proteins Point Clouds QM9 MOSES GuacaMol

Metrics: MMD degree MMD clustering MMD orbit MMD spectrum MMD ratio VUN validity uniqueness novelty FCD

Baselines: GraphRNN GRAN SPECTRE EDGE GraphGen BiGG DiGress GruM GEEL ESGG

Builds on: GraphRNN LLaMA GPT-2 Mamba DiGress

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