Flatten Graphs as Sequences: Transformers are Scalable Graph Generators
Dexiong Chen, Markus Krimmel, Karsten M. Borgwardt
摘要
We introduce AutoGraph, a scalable autoregressive model for attributed graph generation using decoder-only transformers. By flattening graphs into random sequences of tokens through a reversible process, AutoGraph enables modeling graphs as sequences without relying on additional node features that are expensive to compute, in contrast to diffusion-based approaches. This results in sampling complexity and sequence lengths that scale optimally linearly with the number of edges, making it scalable and efficient for large, sparse graphs. A key success factor of AutoGraph is that its sequence prefixes represent induced subgraphs, creating a direct link to sub-sentences in language modeling. Empirically, AutoGraph achieves state-of-the-art performance on synthetic and molecular benchmarks, with up to 100x faster generation and 3x faster training than leading diffusion models. It also supports substructure-conditioned generation without fine-tuning and shows promising transferability, bridging language modeling and graph generation to lay the groundwork for graph foundation models. Our code is available at https://github.com/BorgwardtLab/AutoGraph.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction 引用了 Language Models are Few-Shot Learners
- SimGFM: Simplifying Discrete Flow Matching for Graph Generation 引用了 PolyGraph Discrepancy: a classifier-based metric for graph generation
引用它的顶会 Paper4
- Refine Drugs, Don’t Complete Them: Uniform-Source Discrete Flows for Fragment-Based Drug DiscoveryBenno Kaech, Luis Wyss, Karsten Borgwardt, Gianvito GrassoICLR 2026 · 3 次引用
- PolyGraph Discrepancy: a classifier-based metric for graph generationMarkus Krimmel, Philip Hartout, Karsten M. Borgwardt, Dexiong ChenICLR 2026 · 3 次引用
- Hard-Constrained Graph Generation with Discrete-Projection DiffusionXuesong Zhang, Haifeng Sun, Qi Qi, Shengkuan Li 等ICML 2026
- SimGFM: Simplifying Discrete Flow Matching for Graph GenerationChunyu Luo, Yuankai Luo, Xiao-Ming Wu, Lei ShiICML 2026
它引用的 Paper32
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale PredictionKeyu Tian, Yi Jiang, Zehuan Yuan, Bingyue Peng 等NeurIPS 2024 · 1,199 次引用
- Equivariant Diffusion for Molecule Generation in 3DEmiel Hoogeboom, Victor Garcia Satorras, Clément Vignac, Max WellingICML 2022 · 865 次引用
- GraphAF: a Flow-based Autoregressive Model for Molecular Graph GenerationChence Shi, Minkai Xu, Zhaocheng Zhu, Weinan Zhang 等ICLR 2020 · 532 次引用
相关 Paper
- Pard: Permutation-Invariant Autoregressive Diffusion for Graph GenerationLingxiao Zhao, Xueying Ding, Leman AkogluNeurIPS 2024 · 33 次引用
- Graph Generative Pre-trained TransformerXiaohui Chen, Yinkai Wang, Jiaxing He, Yuanqi Du 等ICML 2025
- Autoregressive Diffusion Model for Graph GenerationLingkai Kong, Jiaming Cui, Haotian Sun, Yuchen Zhuang 等ICML 2023 · 105 次引用
- Scalable Deep Generative Modeling for Sparse GraphsHanjun Dai, Azade Nazi, Yujia Li, Bo Dai 等ICML 2020 · 95 次引用
- From Sequence to Structure: Uncovering Substructure Reasoning in TransformersXinnan Dai, Kai Yang, Jay Revolinsky, Kai Guo 等NeurIPS 2025 · 3 次引用
