Implicit Graphon Neural Representation

Xinyue Xia, Gal Mishne, Yusu Wang

Abstract

Graphons are general and powerful models for generating graphs of varying size. In this paper, we propose to directly model graphons using neural networks, obtaining Implicit Graphon Neural Representation (IGNR). Existing work in modeling and reconstructing graphons often approximates a target graphon by a fixed resolution piece-wise constant representation. Our IGNR has the benefit that it can represent graphons up to arbitrary resolutions, and enables natural and efficient generation of arbitrary sized graphs with desired structure once the model is learned. Furthermore, we allow the input graph data to be unaligned and have different sizes by leveraging the Gromov-Wasserstein distance. We first demonstrate the effectiveness of our model by showing its superior performance on a graphon learning task. We then propose an extension of IGNR that can be incorporated into an auto-encoder framework, and demonstrate its good performance under a more general setting of graphon learning. We also show that our model is suitable for graph representation learning and graph generation.

Introduction

In network science, graphons serve as powerful non-parametric tools for representing the underlying structure of graph populations. Formally, a graphon is a symmetric function $W: [0, 1]^2 \to [0, 1]$ defining the edge probability between nodes. However, learning graphons from real-world data presents two major challenges: the resolution bottleneck of traditional "step function" approximations and the difficulty of aligning graphs of varying sizes. This paper introduces Implicit Graphon Neural Representation (IGNR), a framework that leverages neural networks to model graphons as continuous functions, enabling resolution-free graph generation and structural learning without node alignment.

Methodology

The core of our approach is treating the graphon as an Implicit Neural Representation (INR). Instead of a discrete matrix, we train a multilayer perceptron (MLP) to represent the function $W$.

IGNR and c-IGNR Architectures

We utilize Sinusoidal Representation Networks (SIREN) to capture complex, high-frequency structural details. To handle unaligned graphs of varying sizes, we employ the Gromov-Wasserstein (GW) distance as a reconstruction loss. GW distance is permutation-invariant, comparing structural similarity without requiring node correspondences.

For learning graph families, we propose Conditional-IGNR (c-IGNR). This auto-encoder framework uses a Graph Neural Network (GNN) to encode input graphs into a latent vector $z$, which then modulates the IGNR to generate a specific graphon instance. This approach is inductive, allowing for efficient mapping of new graphs to the latent space.

Overview of the IGNR framework: (a) basic IGNR for single graphon reconstruction; (b) conditional IGNR (c-IGNR) for learning graph families; (c) architectural details of the SIREN-based MLP.

Experiments and Results

We evaluated IGNR across synthetic and real-world datasets, including 13 standard graphon types and real-world social networks like IMDB-Binary.

Reconstruction and Generation

IGNR consistently outperformed baselines like Sorting-and-Smoothing (SAS) and Gromov-Wasserstein Barycenters (GWB) in reconstruction tasks. Notably, it excelled in "hard-to-align" scenarios where node degrees are constant. A primary advantage of IGNR is its resolution independence: because the graphon is stored as a continuous neural function, it can be sampled at any resolution. For instance, a model trained on graphs of size 50 and 100 can generate structurally consistent graphs of size 1000 without further training.

Visualization of a noisy ring graph ($\alpha=0.1$) from the synthetic benchmarks, demonstrating the model's generation capabilities.

Representation Learning and Efficiency

In parameterized tasks, c-IGNR successfully organized graphs in the latent space according to their underlying parameters, effectively discovering the data manifold. Furthermore, IGNR is highly parameter-efficient; while a high-resolution discrete approximation requires $O(K^2)$ parameters, the IGNR's parameter count is independent of output resolution, often achieving higher accuracy with a smaller footprint. For graph classification, the unsupervised embeddings from c-IGNR achieved 72.00% accuracy on IMDB-Binary, outperforming specialized dictionary learning methods.

Conclusion

IGNR provides a flexible, resolution-free approach to graphon modeling. By leveraging the GW distance and implicit representations, it overcomes traditional limitations in alignment and discretization. While computational complexity remains a factor for large-scale training, the model's parameter efficiency and inductive nature offer a promising direction for future research in graph representation and generation.

Summary updated

BibTeX
@inproceedings{xia2023implicit,
  author = {Xinyue Xia and Gal Mishne and Yusu Wang},
  title = {{Implicit Graphon Neural Representation}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=2Oi9dfxBcK},
}
Figure