Leveraging Graph Diffusion Models for Network Refinement Tasks

Puja Trivedi, Ryan A. Rossi, David Arbour, Tong Yu, Franck Dernoncourt, Sungchul Kim, Nedim Lipka, Namyong Park, Nesreen K. Ahmed, Danai KoutraarXiv 2023

TL;DR

The authors introduce SGDM (Subgraph-based Diffusion Model), a framework that brings the power of image "in-painting" to large-scale networks. By training on sampled subgraphs and leveraging global context, SGDM enables scalable denoising, expansion, and style transfer for single, noisy, real-world graphs.

What Problem Does This Paper Address?

Real-world networks—from social connections to citation indices—are rarely perfect; they are often noisy, incomplete samples of an underlying "true" distribution. While Denoising Diffusion Models (DMs) have revolutionized image editing (e.g., removing artifacts or filling in missing pixels), applying them to graphs is notoriously difficult.

Standard Graph Denoising Diffusion Models (GDDMs) suffer from two major issues:

  1. Scalability: They typically have quadratic complexity relative to the number of nodes, limiting them to small graphs of a few hundred nodes.
  2. Single-Graph Learning: Most models are designed to learn from a large dataset of many small graphs, whereas many practical problems involve refining a single, massive, partially-observed network.

Methods

The core innovation is the SGDM framework, which shifts the learning task from the entire network to a collection of its subgraphs.

  • Subgraph Sampling & Stitching: The model is trained on overlapping subgraphs sampled from the large target network. This allows the use of expressive but memory-intensive architectures (like graph transformers) that would otherwise crash on large graphs. A "stitching" process then reconstructs the full refined graph.
  • Global & Local Context: To ensure subgraphs are consistent with their surroundings, SGDM uses Laplacian Positional Encodings (LPEs) as global context. This helps the model distinguish between structurally similar subgraphs located in different parts of the network.
  • Refinement Tasks: The authors formalize three editing tasks:
  • (T1) Expansion: Recovering missing edges (graph in-painting).
  • (T2) Denoising: Removing extraneous, noisy edges.
  • (T3) Style Transfer: Adapting graph attributes (e.g., changing the maximum degree) using classifier guidance.
Figure 1: Overview of Subgraph-Diffusion Mod- els and Editing Tasks. SGDM uses subgraph sam- pling to flexibly support three useful editing tasks for refining a single, partially observable network.

Datasets

The framework was evaluated on three large single networks, corrupted with either random or structured noise:

  • BA-Shapes: A synthetic Barabási-Albert graph with 80 house-shaped motifs attached, used to test if the model can recover specific structural patterns.
  • PolBlogs: A network of political blogs and their hyperlinks.
  • CORA: A standard citation network.

The authors also introduced a new evaluation protocol featuring metrics like Consensus (agreement among generated samples on missing edges) and Edge Overlap.

Key Insights and Ideas

  • Locality is Sufficient: You don't need to process a million-node graph all at once to learn its generative rules. Learning from a diverse set of local subgraphs, when guided by global positioning, is highly effective.
  • Context is King: Global context is essential for "stitching." Without it, the model cannot maintain global consistency, leading to poor reconstruction of the full network.
  • Backbone Agnostic: SGDM acts as a wrapper. It can utilize various existing diffusion backbones (like DiGRESS, EDGE, or GDSS), making it a flexible tool for the research community.

Key Results

  • Performance Boost: SGDM significantly outperformed single-graph baselines like EDGE on denoising and expansion tasks. For example, on the BA-Shapes dataset, SGDM variants achieved much higher Edge Overlap and Diversity scores.
  • Backbone Comparison: The choice of underlying model matters. Backbones like DiGRESS and GDSS, when used within the SGDM framework, showed superior Consensus and Diversity compared to degree-guided models.
  • Successful Style Transfer: The model effectively adapted graph properties. Incorporating global context reduced the Mean Absolute Error (MAE) for Sum-Degree and Max-Degree tasks by nearly 50% in some experiments.
Figure 2: Comparison of different diffusion backbones within the SGDM framework across various metrics.

Limitations and Future Work

The authors noted that while structural edits like degree changes were successful, modifying properties like the number of triangles proved more difficult. They suggest that the positional encodings used for global context might "lock in" certain local structures, making them resistant to change.

Future work will focus on:

  1. Evaluating how these refinements improve performance on downstream tasks like node classification.
  2. Extending the framework to handle dynamic graphs that evolve over time.

Summary updated

BibTeX
@misc{trivedi2023leveraging,
  author = {Puja Trivedi and Ryan A. Rossi and David Arbour and Tong Yu and Franck Dernoncourt and Sungchul Kim and Nedim Lipka and Namyong Park and Nesreen K. Ahmed and Danai Koutra},
  title = {{Leveraging Graph Diffusion Models for Network Refinement Tasks}},
  year = {2023},
  eprint = {2311.17856},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.17856},
}
Figure