← Latest papers
📊 statistics

DiPhon: Diffusion on Graphons for Scalable Graph Generation

DiPhon is a scalable graph generation framework that leverages graphon theory and a Jacobi stochastic differential equation to enable diffusion models trained on small graphs to generate progressively larger graphs while preserving core topological properties without retraining.

Original authors: Sergio Rozada, Yiming Qin, Manuel Madeira, Pascal Frossard, Alejandro Ribeiro

Published 2026-07-09
📖 5 min read🧠 Deep dive

Original authors: Sergio Rozada, Yiming Qin, Manuel Madeira, Pascal Frossard, Alejandro Ribeiro

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Zoom" Issue

Imagine you have a recipe for baking a perfect small cake. You know exactly how much flour, sugar, and eggs to use for a 6-inch cake. Now, someone asks you to bake a 100-foot cake for a giant wedding.

If you just double or triple the ingredients, the cake might collapse. If you try to bake the small cake and then stretch it out like taffy, it breaks. This is the problem with current AI models that generate graphs (networks of connected points, like social networks or molecular structures). They work great on small networks, but when you try to generate a massive one, they fall apart. They have to be retrained from scratch for every new size, which is expensive and inefficient.

The Solution: The "Blueprint" (Graphons)

The authors, Sergio Rozada and his team, decided to stop thinking about individual cakes (specific graphs) and start thinking about the blueprint (the underlying rule that makes the cake a cake).

In math, this blueprint is called a Graphon.

  • The Analogy: Imagine a graphon is like a continuous, infinite map of a city. It doesn't care if you are looking at a neighborhood with 10 houses or a whole city with 10 million houses. The map just describes the probability of finding a road between any two points.
  • The Goal: If you learn the rules of this infinite map, you should be able to zoom in or out and generate a valid city (graph) of any size without changing the rules.

The Challenge: The "Fence" Problem

To generate these graphs, the team uses a technique called Diffusion. Think of diffusion like a sculptor slowly turning a block of marble into a statue.

  1. Forward Process: You start with a perfect statue (a real graph) and slowly add noise until it's just a random pile of dust.
  2. Reverse Process: You train an AI to take that pile of dust and slowly remove the noise to reveal the statue again.

The Catch: Most existing diffusion models use "Gaussian noise" (like static on an old TV). This noise has no boundaries; it can go infinitely high or low. But a graph is made of edges (connections), which are either there (1) or not there (0). You can't have a "0.5" edge in a real graph, and you certainly can't have a "-5" edge.

  • The Problem: If you use standard noise, the AI might try to generate an edge probability of 1.5 or -0.2. It breaks the "fence" of reality.

The Innovation: DiPhon (The "Bounded" Sculptor)

The team introduced DiPhon. Instead of using standard noise, they used a special mathematical tool called a Jacobi Stochastic Differential Equation (SDE).

  • The Analogy: Imagine the sculptor is working inside a glass box that is exactly 1 meter wide. No matter how hard they push the clay, the glass walls force the clay to stay between 0 and 1.
  • How it works: The Jacobi process is designed so that the "noise" naturally hits the walls (0 and 1) and bounces back, never escaping. This ensures the AI always stays within the realm of valid probabilities.

The Magic Trick: "Discretize-then-Diffuse"

The paper proves a clever mathematical trick.

  1. They define the "perfect" infinite blueprint (the Graphon) moving inside the glass box.
  2. They then chop this blueprint into a grid (like a pixelated image) to make it computable by a computer.
  3. The Result: They proved that even though they are working with a pixelated grid (a finite graph), the average behavior of their model matches the perfect infinite blueprint exactly.
    • First Moment (The Average): The average shape of the generated graph matches the blueprint perfectly.
    • Second Moment (The Variance): The "wiggles" or randomness are slightly different, but the difference is small, predictable, and disappears as the graph gets larger.

The Results: One Model, Any Size

The team tested this on three types of networks:

  1. Social Clusters (SBM): Groups of friends.
  2. Popular Hubs (PA): Networks where popular nodes get even more popular (like Twitter).
  3. Tree Structures: Branching networks (like family trees).

The Experiment:

  • They trained DiPhon on small graphs (e.g., 40 to 80 nodes).
  • They then asked it to generate huge graphs (up to 300 nodes) without retraining.

The Outcome:

  • Other Models: When asked to generate larger graphs, standard models (like DiGress or GDSS) started to fail. The structures collapsed, or the graphs looked nothing like the training data.
  • DiPhon: It kept working perfectly. It generated large trees, large social clusters, and large hub networks that looked exactly like the small ones it was trained on, just bigger.

Summary

Think of DiPhon as a universal translator for size.

  • Old Way: You need a different dictionary for every language size.
  • DiPhon Way: You learn the grammar of the language (the Graphon). Once you know the grammar, you can write a sentence of 5 words or 5,000 words, and it will still make sense.

By keeping the math "bounded" (inside the 0-to-1 glass box) and proving that the small-scale math matches the large-scale math, DiPhon allows AI to generate massive, complex networks using only the knowledge gained from small examples.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →