mlsanityData to 14 Oct 2026

Flatten Graphs as Sequences: Transformers are Scalable Graph Generators

arXiv 2502.02216 ↗First posted 4 Feb 2025cs.LG stat.MLcited by 13

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 58 of its 76 references that are in the map. First posted on arXiv 4 Feb 2025.

Builds on

58 of 76 references.

References · 58

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  7. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  8. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
  9. 2020GLU Variants Improve Transformercited by 1,804
  10. 2019Root Mean Square Layer Normalizationcited by 1,480
  11. 2016Variational Graph Auto-Encoderscited by 1,382
  12. 2018Hierarchical Neural Story Generationcited by 1,193
38 more
  1. 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,051
  2. 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Predictioncited by 1,023
  3. 2022Equivariant Diffusion for Molecule Generation in 3Dcited by 677
  4. 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 652
  5. 2020Jukebox: A Generative Model for Musiccited by 542
  6. 2022DiGress: Discrete Denoising diffusion for graph generationcited by 520
  7. 2018GraphRNN: Generating Realistic Graphs with Deep Auto-regressive Modelscited by 413
  8. 2018GraphVAE: Towards Generation of Small Graphs Using Variational Autoencoderscited by 383
  9. 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 337
  10. 2020GraphAF: a Flow-based Autoregressive Model for Molecular Graph Generationcited by 305
  11. 2018GuacaMol: Benchmarking Models for De Novo Molecular Designcited by 297
  12. 2022Score-based Generative Modeling of Graphs via the System of Stochastic Differential Equationscited by 283
  13. 2018Molecular Sets (MOSES): A Benchmarking Platform for Molecular Generation Modelscited by 275
  14. 2020Permutation Invariant Graph Generation via Score-Based Generative Modelingcited by 270
  15. 2023AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Headcited by 265
  16. 2019Efficient Graph Generation with Graph Recurrent Attention Networkscited by 234
  17. 2018Learning Deep Generative Models of Graphscited by 229
  18. 2022Structure-Aware Transformer for Graph Representation Learningcited by 194
  19. 2021Inductive Representation Learning in Temporal Networks via Causal Anonymous Walkscited by 193
  20. 2024LLaGA: Large Language and Graph Assistantcited by 181
  21. 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 176
  22. 2021GraphiT: Encoding Graph Structure in Transformerscited by 147
  23. 2018NetGAN: Generating Graphs via Random Walkscited by 131
  24. 2022SPECTRE: Spectral Conditioning Helps to Overcome the Expressivity Limits of One-shot Graph Generatorscited by 99
  25. 2023Autoregressive Diffusion Model for Graph Generationcited by 83
  26. 2023Efficient and Degree-Guided Graph Generation via Discrete Diffusion Modelingcited by 80
  27. 2024Discrete-state Continuous-time Diffusion for Graph Generationcited by 76
  28. 2021Learning to Extend Molecular Scaffolds with Structural Motifscited by 71
  29. 2020GraphGen: A Scalable Approach to Domain-agnostic Labeled Graph Generationcited by 66
  30. 2020Scalable Deep Generative Modeling for Sparse Graphscited by 65
  31. 2018Generative Code Modeling with Graphscited by 60
  32. 2023Graph Generation with Diffusion Mixturecited by 55
  33. 2021Walking Out of the Weisfeiler Leman Hierarchy: Graph Learning Beyond Message Passingcited by 47
  34. 2022On Evaluation Metrics for Graph Generative Modelscited by 46
  35. 2021Evaluation Metrics for Graph Generative Models: Problems, Pitfalls, and Practical Solutionscited by 39
  36. 2020Convolutional Kernel Networks for Graph-Structured Datacited by 38
  37. 2023Efficient and Scalable Graph Generation through Iterative Local Expansioncited by 36
  38. 2021Order Matters: Probabilistic Modeling of Node Sequence for Graph Generationcited by 33

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 9.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026Factual and Edit-Sensitive Graph-to-Sequence Generation via Graph-Aware Adaptive Noising
  2. 2025From Sequence to Structure: Uncovering Substructure Reasoning in Transformers
  3. 2025Fast Graph Generation via Autoregressive Noisy Filtration Modeling
  4. 2025Diffusion-Free Graph Generation with Next-Scale Prediction
  5. 2024Exploring the Potential of Large Language Models in Graph Generation
  6. 2025TinyGraphEstimator: Adapting Lightweight Language Models for Graph Structure Inference
  7. 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability
  8. 2026Are Large Language Models Suitable for Graph Computation? Progress and Prospects