cs.LGAug 19, 2026

GraphK: Variable-Size Graph Generation with Efficient Edge Construction

Authors: Resul Tugay, Eren Oluğ, Elif Ak, Sule Gunduz Oguducu

Organizations: Department of Artificial Intelligence and Data Engineering Ataturk University, Turkey · Department of Artificial Intelligence and Data Engineering ITU AI Research and Application Center Istanbul Technical University, Turkey · Faculty of Engineering and Applied Science Memorial University, Canada

Abstract

Graph generation models have advanced significantly with deep learning, yet they remain limited in scalability, flexibility, and ability to model underlying structures. We present GraphK, a novel encoder-sampler-decoder framework for graph generation that overcomes these challenges through structural flexibility and computational efficiency. Unlike autoregressive approaches constrained by vocabulary size (i.e. number of nodes in graph generation), GraphK allows for both upscaling (generating graphs with more nodes than the input) and downscaling, providing a flexible control over output graph size. By learning permutation-invariant latent representations and sampling new node embeddings via maximum likelihood estimation, GraphK generalizes across graph sizes and structures. For edge generation, we employ edge prediction with a KDTree-based top-k neighbor search in the latent space, reducing computational cost. Based on the manifold smoothness assumption, our method effectively captures graph properties. Experiments on synthetic and real-world datasets show that GraphK outperforms existing methods, accurately learns graph structures, and generates synthetic graphs without explicit definitions.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

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

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

  2. FLAGG: Flexible Autoregressive Graph Generation

    Jun 3, 2026Samuel Cognolato, Alessandro Sperduti, Luciano SerafiniGraph GenerationAutoregressive Generation

  3. DiPhon: Diffusion on Graphons for Scalable Graph Generation

    Jul 8, 2026Sergio Rozada, Yiming Qin, Manuel Madeira +2Graph GenerationGraph Diffusion