Beyond Node Sequences: Relational Diffusion for Unified Graph Learning
Xianan Wang, Wenji Hu, Chunyu Wei, Yueguo Chen
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Graph Diffusion and Positional Encodings · Type: new method · Keywords: graph foundation models, edge modeling, discrete diffusion, permutation equivariance, unified graph tasks
Areas: Model Architectures & Sequence Modeling › Dynamic and relational architectures › Graph Structural Encoding; Graph Learning › Graph Analysis Methods › Structural Encoding
Summary
Relational diffusion is a graph foundation model that models edges via discrete diffusion to preserve relational semantics and permutation equivariance, unifying node, link, and graph classification.
Explained to a 5-year-old
We look at graphs as networks of connections. Instead of reading the nodes one by one, we look at the connections themselves. We learn how connections appear together using a special process. This helps the model understand the graph no matter how we reorder the nodes. It can solve different problems like labeling nodes, predicting links, and classifying whole graphs.
Explained to a 5-year-old, longer
Graphs are like drawings of things that are connected, such as friends in a social network. Usually people turn these drawings into a list of items, like a line of LEGO bricks. This way of making a list can forget the important connections between the items. The new idea is to focus on the connections themselves instead of the items. It treats each connection as a building block and learns how they appear together. By doing this, the model can see the shape of the whole network more clearly. It also works the same even if you move the items around, because the connections stay the same. The method adds extra information about how far apart the connections are, which helps understand the structure. It then uses these connection ideas to solve different tasks, like labeling a node, guessing a missing link, or classifying an entire graph. This way the model can handle many kinds of graph problems with one unified approach. It makes the learning process more natural for graphs because graphs are really about relationships. As a result, the model performs well on many tasks without needing to redesign for each one.
For a technical reader
Relational diffusion reframes graph foundation models by modeling edges as the primary units rather than flattening graphs into node sequences. It learns the joint distribution of edges using discrete diffusion, which naturally respects permutation equivariance and preserves relational semantics. The approach adds topological edge tokenization to inject multi-hop context and uses relational prompt completion to turn node classification, link prediction, and graph classification into sequence-completion tasks over edge representations. Experiments show that this edge-centric framework achieves strong performance across diverse structural tasks while providing a principled, scalable foundation for graph AI. In practice, developers can integrate relational diffusion as a drop-in replacement for existing graph transformers to obtain more robust and generalizable models.
Problem
Existing graph foundation models often serialize graphs into node sequences, which disrupts the relation-centric nature of graphs and breaks permutation equivariance, limiting generalization across structural tasks.
Method
The approach treats edges as fundamental units and learns their joint distribution using discrete diffusion processes, enriches edge representations with multi-hop structural context via topological edge tokenization, and unifies various tasks as sequence completion over edge representations using relational prompt completion.
Results
The approach shows strong performance across multiple structural tasks, validating its alignment with graph relational semantics.
Contributions
It introduces edge-centric modeling via discrete diffusion, topological edge tokenization for multi-hop context, and relational prompt completion to unify graph tasks, offering a permutation-equivariant foundation for graph foundation models.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction