🤖 AI Summary
Existing graph generation methods struggle to effectively model the complex structural dependencies, variable sizes, and class-specific connectivity patterns inherent in real-world graphs, particularly due to challenges posed by discreteness and sparsity. This work proposes a density-aware conditional graph generation framework built upon Wasserstein GANs, which replaces conventional stochastic edge sampling with a differentiable distance-driven edge predictor. Edges are adaptively generated based on node embedding proximity, while a density-aware mechanism dynamically adjusts graph sparsity to align with the target class distribution. By overcoming the limitations of fixed-probability edge sampling, the proposed approach achieves significantly improved structural consistency, class alignment, and topological realism across multiple benchmark datasets, offers more stable training dynamics, and enables controllable graph synthesis and data augmentation.
📝 Abstract
Generating realistic graph-structured data is challenging due to discrete structures, variable sizes, and class-specific connectivity patterns that resist conventional generative modelling. While recent graph generation methods employ generative adversarial network (GAN) frameworks to handle permutation invariance and irregular topologies, they typically rely on random edge sampling with fixed probabilities, limiting their capacity to capture complex structural dependencies between nodes. We propose a density-aware conditional graph generation framework using Wasserstein GANs (WGAN) that replaces random sampling with a learnable distance-based edge predictor. Our approach embeds nodes into a latent space where proximity correlates with edge likelihood, enabling the generator to learn meaningful connectivity patterns. A differentiable edge predictor determines pairwise relationships directly from node embeddings, while a density-aware selection mechanism adaptively controls edge density to match class-specific sparsity distributions observed in real graphs. We train the model using a WGAN with gradient penalty, employing a GCN-based critic to ensure generated graphs exhibit realistic topology and align with target class distributions. Experiments on benchmark datasets demonstrate that our method produces graphs with superior structural coherence and class-consistent connectivity compared to existing baselines. The learned edge predictor captures complex relational patterns beyond simple heuristics, generating graphs whose density and topology closely match real structural distributions. Our results show improved training stability and controllable synthesis, making the framework effective for realistic graph generation and data augmentation. Source code is publicly available at https://github.com/ava-12/Density_Aware_WGAN.git.