acceptodds
Published as a conference paper at NeurIPS 2026

Beyond Node Sequences: Relational Diffusion for Unified Graph Learning

Xianan Wang, Wenji Hu, Chunyu Wei, Yueguo Chen

Abstract

Graph foundation models have emerged as a promising paradigm for generalizing across diverse structural tasks. Current approaches serialize graphs into node token sequences and apply autoregressive or masked prediction, yet this node sequential modeling disrupts the relation-centric nature of graphs and violates permutation equivariance. We propose relational diffusion , a framework that reconceptualizes graph modeling through edge co-occurrence modeling. By treating edges as fundamental modeling units and learning their joint distribution via discrete diffusion processes, our approach naturally respects the relational semantics of graphs while maintaining permutation equivariance. We introduce topological edge tokenization to enrich edge representations with multi-hop structural context, and relational prompt completion to unify node classification, link prediction, and graph classification as sequence completion problems over edge representations. Through extensive experiments, we demonstrate that relational diffusion achieves strong performance while providing a principled foundation aligned with the relational nature of graphs.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.67 over 3 reviews, above 4% of the others.
Reviewer_SsCyOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
2
Significance
3
Read review
Summary

This paper introduces a permutation-equivariant and relation-centric graph foundation model by shifting the modeling primitive from node sequences to edge co-occurrences. The authors propose "Relational Diffusion," a framework that treats edges as the fundamental units and learns their joint distribution through a diffusion process over continuous edge representations. By introducing topological edge tokenization (via GNN message passing) to enrich edge features and utilizing relational prompt completion, the model successfully unifies node classification, link prediction, and graph classification as sequence completion problems.

Strengths and weaknesses

Strengths

  1. Shifting the graph foundation model paradigm from arbitrary node serialization to edge co-occurrence is a mathematically good idea. The paper rigorously proves (Theorem 5.1) why edge joint distribution modeling has a tighter approximation bound and naturally preserves permutation equivariance without losing structural information.
  2. The proposed "Relational Prompt Completion" elegantly unifies heterogeneous tasks (node, link, and graph level) into a single generative sequence completion interface, offering a clean and general-purpose graph reasoning pipeline.
  3. The model sits squarely on the Pareto frontier of accuracy versus latency (Figure 5) with a surprisingly small number of parameters (2.5M, excluding the frozen language model), significantly outperforming larger baseline models on most benchmarks.

Weaknesses

  1. As discussed in Section 7, the current framework treats all edges as homogeneous tokens. This strictly limits its expressiveness on multi-relational graphs.
  2. The diffusion Transformer applies self-attention over the set of edge tokens. For dense or large subgraphs where the number of edges is high, quadratic complexity of self-attention becomes a severe scalability bottleneck.
  3. Each node’s text features are encoded using a frozen Llama-3.1-8B model to generate 4096-dimensional embeddings. While the claims of the paper regarding superior performance are empirically validated, it remains unclear how much of the gain stems from the powerful pre-trained language model features versus the proposed relational diffusion mechanism itself.
Questions
  1. How do you plan to extend the "Relational Diffusion" framework to support heterogeneous edge types without exponentially increasing the token vocabulary or breaking the joint denoising structure?
  2. Can the quadratic self-attention cost over edge tokens be addressed using linear attention mechanisms (such as Performer or FlashAttention) in the diffusion Transformer while strictly maintaining the permutation equivariance property?
  3. Could you provide an ablation study where node embeddings are initialized randomly or with simple structural metrics (like PageRank/node degrees) instead of the frozen Llama-3.1-8B textual features? This would help isolate the exact empirical contribution of the relational diffusion architecture.
Limitations

See Questions and Weaknesses.

Paper formatting concerns

No Paper Formatting Concerns.

1 comment

We sincerely thank Reviewer SsCy for the thoughtful evaluation. We are encouraged by the recognition of our mathematical rigor (Theorem 5.1), the elegance of relational prompt completion for task unification, and the strong Pareto efficiency of our model. Below we address each concern.

W1 & Q1: Homogeneous Edge Treatment and Extension to Heterogeneous Graphs

We appreciate this observation, which we ourselves flagged as a limitation (Section 7, lines 345–347). This work addresses the central challenge of establishing edge co-occurrence as a viable and principled alternative to node-sequential modeling; extending to heterogeneous edges is a natural next step that we are actively pursuing.

Concretely, we plan a relation-typed projection approach that avoids vocabulary explosion and preserves the joint denoising structure: emhet=em+rk(m)\mathbf{e}_m^{\mathrm{het}} = \mathbf{e}_m + \mathbf{r}_{k(m)}, where rk∈Rde\mathbf{r}_k \in \mathbb{R}^{d_e} is a learnable relation-type embedding. This keeps the token vocabulary unchanged (no exponential blowup), preserves the permutation-equivariant self-attention structure, and allows the diffusion model to learn relation-conditioned co-occurrence patterns. Importantly, this adds only O(Kde)O(Kd_e) parameters for KK relation types, a negligible overhead.

W2 & Q2: Quadratic Self-Attention Scalability

We agree that O(M2)O(M^2) attention cost is a theoretical concern for very dense graphs. Two contextual points:

Practical impact is modest for our benchmarks. We cap edge sequences at Lmax⁡=2,048L_{\max}=2{,}048 tokens (Appendix C, lines 770–774), and only ogbn-Arxiv requires neighborhood sampling. For molecular graphs (M≈27M \approx 27 on average) and ego-net subgraphs, the quadratic cost is negligible. Our reported latency of 15.2 ms/sample (Section 6.3) empirically confirms this.

Linear attention preserves permutation equivariance. The key requirement is that the attention mechanism treats edge tokens as an unordered set (no positional encodings). Standard linear attention kernels (e.g., Performer's random feature maps) are permutation-equivariant by construction—the kernel map ϕ(q)ϕ(k)⊤\phi(\mathbf{q})\phi(\mathbf{k})^\top depends only on token content, not position. FlashAttention is an exact-computation optimization that also preserves equivariance. Both are drop-in replacements compatible with our framework.

W3 & Q3: Disentangling LLM Features from Relational Diffusion

This is an important question. The claims of the paper regarding the contribution of relational diffusion are already partially supported by our experimental design: all baselines receive the exact same frozen Llama-3.1-8B features (Section 6, lines 249–256; Table 7), so performance gaps are attributable to architectural differences.

To further isolate the contribution, we ran the requested ablation using (a) random embeddings and (b) structural features (degree + PageRank):

Node FeaturesMethodCora Acc. (%)WN18RR MRR (%)PCBA AP (%)
Random initGAT67.8370.4215.64
Random initGraphormer70.9173.2521.13
Random initRel. Diffusion73.6276.4322.74
Structural (deg+PR)GAT72.1474.6317.82
Structural (deg+PR)Graphormer74.6577.4823.37
Structural (deg+PR)Rel. Diffusion79.0682.7227.14
Llama-3.1-8BGAT82.3581.9320.17
Llama-3.1-8BGraphormer83.4584.7829.74
Llama-3.1-8BRel. Diffusion88.7189.4230.63

Relational Diffusion consistently outperforms baselines across all feature regimes. The relative advantage is preserved and in some cases amplified when LLM features are removed (e.g., on WN18RR: +3.18 over Graphormer with random features, +5.24 with structural features, +4.64 with Llama). This confirms that our architecture can extract stronger relational signal from graph structure itself, independent of the text encoder.

Reviewer_oenUOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

This paper proposes an edge-centric diffusion-based graph foundation model for graph tasks. The method first uses GNN/GAT to encode graph edges into topology-enhanced edge tokens and then performs diffusion-based denoising and pre-training over the edge-token sequence to learn edge co-occurrence structures. In the downstream stage, the paper introduces relational prompt completion, which unifies node classification, link prediction, and graph classification as a completion problem over edge tokens, task prompts, and result tokens. The paper conducts experiments on eight benchmarks, and the results show that the proposed method achieves the best performance on seven datasets. Ablation studies demonstrate the contribution of each component to the overall performance.

Strengths and weaknesses

Strengths:

  1. The paper enables the model to directly focus on joint dependencies among edge sets, and attempts to unify diffusion models, edge-level tokenization, graph prompt learning, and graph foundation models. The modeling perspective is reasonable, and the engineering implementation appears relatively complete.

  2. The paper covers three types of tasks and eight datasets, and includes main results, ablations and efficiency analysis studies. The experimental scope is broad, and the reported results are attractive.

  3. The paper provides theoretical analysis from several perspectives, including ordering gap, permutation invariance, edge co-occurrence expressiveness, computational complexity, and WL expressiveness. It also provides formal arguments to support the proposed framework.

Weaknesses:

  1. Although the authors claim to propose Relational Diffusion, from the methodological structure, the model appears more like a combination of a GNN edge tokenizer, Transformer denoising, and a prompt head. The paper should more clearly distinguish which aspects are genuinely novel relative to existing graph denoising, masked graph modeling, graph prompt learning, and diffusion-on-graph methods.

  2. The paper reports MRR on WN18RR and FB15K-237 and claims the best link prediction performance. However, based on the method description, the model seems to formulate link prediction as a binary classification problem rather than standard knowledge graph completion. Therefore, the link prediction results currently cannot be regarded as standard WN18RR/FB15K-237 results.

  3. The paper explicitly states that all datasets are re-split randomly into 60/20/20 train/validation/test partitions and acknowledges that the absolute numbers are not directly comparable with prior results using official splits. Although this choice may have some justification for internal fairness, it substantially weakens the credibility of the benchmark comparison.

  4. The paper states that Stage 1 pre-training uses all eight datasets jointly, and that “all datasets are used jointly.” However, it is not clearly explained whether pre-training uses only the training split or the entire dataset, including validation/test graph structures, edges, and node texts.

  5. The paper feeds all node textual descriptions into a frozen Llama-3.1-8B encoder and obtains 4096-dimensional text embeddings. This is a very strong feature source. Although the authors claim that all baselines use the same Llama features, more controlled experiments are still needed. Otherwise, it is difficult to determine whether the performance gains come from graph relational diffusion or from the LLM features.

Questions
  1. During inference, the paper performs single-step masked result token completion. Why should this be called a diffusion model? Is a multi-step reverse process used? If not, is the T=1000T=1000 diffusion schedule merely serving as noise augmentation during training? The authors should provide fair comparisons with Gaussian denoising autoencoders, masked graph autoencoders, and multi-step diffusion sampling.

  2. Is the link prediction task a standard knowledge graph completion task? Since WN18RR and FB15K-237 are multi-relational KG benchmarks, the authors should clarify: whether relation types are used; whether the prompt contains relation information; whether MRR is computed using filtered ranking over all entities; and, if the task is only binary classification over node pairs, why it can be called the WN18RR/FB15K-237 link prediction benchmark. If the current setup is not standard KG completion, then claims about SOTA or best link prediction performance should be toned down.

  3. The random 60/20/20 split makes Table 1 difficult to compare with standard benchmarks. Could the authors provide representative standard-protocol results for each task type, or otherwise clearly mark Table 1 as an internally controlled comparison and tone down claims of benchmark-level superiority?

  4. Since all models use frozen Llama-3.1-8B node embeddings, could the authors add a small set of controls, such as Llama+MLP, Llama+GAT/GraphTransformer, and one reduced setting with original or weaker text features, to clarify whether the gains come from relational diffusion rather than the text encoder?

  5. Is the current method applicable to global modeling on large graphs? For example, on million-edge graphs such as ogbn-Arxiv, does the model actually observe the full graph or only local ego-nets? Is the method scalable to dense graphs?

Limitations

Yes.

Paper formatting concerns

No major formatting concerns.

Final justification

The rebuttal and subsequent discussion substantially addressed my main technical and empirical concerns. My remaining reservation concerns the degree of methodological originality: the framework is still largely an effective integration of edge tokenization, Transformer denoising, and prompt completion, rather than a clearly distinct new modeling paradigm. Nevertheless, given the broad evaluation, strong controlled results, theoretical motivation, and substantive rebuttal, I now believe that the reasons to accept slightly outweigh the remaining novelty concern. I therefore update my rating to 4: Borderline Accept.

1 comment

We thank Reviewer oenU for the thorough and constructive review. We appreciate the recognition of our modeling perspective, engineering completeness, and experimental breadth. Below we address each concern.

W1 & Q1: Novelty and the Meaning of "Diffusion"

We respectfully disagree that Relational Diffusion is merely a combination of existing components. This work addresses the central challenge of building graph foundation models that respect the relational nature of graphs, via a conceptual shift—from node-sequential to edge-co-occurrence modeling—absent from all prior work.

Distinction from graph denoising / masked graph modeling (e.g., GraphMAE): These methods corrupt and reconstruct node features on a fixed topology. Our diffusion operates in edge embedding space, corrupting and reconstructing relational structure. The ablation (w/o D, Table 11) shows diffusion contributes −3.80 on average beyond a deterministic Transformer.

Distinction from diffusion-on-graph methods (e.g., DiGress, EDP-GNN): As discussed in Appendix G.1 (lines 851–862), these target unconditional graph generation by diffusing over adjacency matrices or node/edge categories. We target discriminative graph reasoning through compact edge-token sequences with a task-conditioning mechanism (relational prompt completion) absent in generative graph diffusion.

Distinction from graph prompt learning (e.g., GraphPrompt, GPPT): These add learnable prompts to GNN node representations. Our prompts operate over edge representations within a diffusion framework, enabling a unified completion interface. The ablation (w/o R, Table 11) shows this contributes up to −9.31 points on Cora.

The genuine novelty lies in the integration principle: treating edges as first-class diffusion objects, proving this avoids the ordering gap (Theorem 5.1), and unifying three task types under a single denoising objective. No prior work achieves this combination.

On "diffusion" and single-step vs. multi-step inference:

We clarify the distinct roles diffusion plays during training versus inference:

  • Training: The model is trained under the standard continuous-time diffusion paradigm with T=1000 steps and a cosine noise schedule (Appendix C.3). At each training iteration, the model must reconstruct all M edge tokens simultaneously from varying corruption levels—a high-dimensional joint denoising problem. The multi-step diffusion framework provides a principled curriculum: at high tt the model learns coarse global co-occurrence structure, while at low tt it refines fine-grained relational dependencies.

  • Inference: The task structure is fundamentally different. The input contains MqM_q fully observed, noise-free edge tokens plus one task prompt—only the single result token is initialized as noise. This creates a dramatic conditioning asymmetry: whereas pre-training requires joint denoising of MM corrupted positions, inference requires predicting a single position conditioned on many clean observations. The conditional entropy H(r∣zG,pT)≪H(z0)H(r | z_G, p^T) \ll H(z_0) means the posterior is sharply peaked, and the denoising network can resolve this well-conditioned completion in a single forward pass—analogous to how a masked language model predicts a single [MASK] token in one step despite being trained with stochastic masking.

We provide the following ablation:

Inference StrategyCora (Acc.)WN18RR (MRR)PCBA (AP)
Single-step (T → 0)88.7189.4230.63
5-step DDIM88.4389.6730.36
10-step DDIM88.9489.1830.55
Gaussian DAE (no schedule)86.9387.8428.91
Masked Autoencoder86.2187.3628.47

Multi-step DDIM yields small dataset-dependent fluctuations around single-step without consistent advantage. The Gaussian DAE and Masked Autoencoder variants obtain lower results, indicating the diffusion noise schedule provides a more effective training signal than generic denoising or masking. The schedule is thus better understood as a structured training objective for learning robust joint edge distributions, not merely noise augmentation.

We will clarify this training-vs-inference asymmetry in the paper and adjust terminology to avoid implying full multi-step reverse diffusion at inference.

W2 & Q2: Link Prediction Evaluation Protocol

We believe this concern rests on a misunderstanding. Our link prediction on WN18RR and FB15K-237 is not binary classification.

The confusion arises from a presentational gap in Section 4.3: lines 188–190 describe the default link prediction formulation for homogeneous graphs using binary result tokens {rexist,rnot-exist}\{r^{\text{exist}}, r^{\text{not-exist}}\}. For multi-relational benchmarks, this vocabulary is extended to relation types:

Pre-training (Stage 1) learns general edge co-occurrence structure. Edge tokens are relatively homogeneous at this stage because pre-training must span citation graphs, molecular graphs, and KGs under a unified objective. Introducing dataset-specific relation vocabularies at pre-training would break this cross-domain unification.

Fine-tuning (Stage 2) performs multi-class relation-type prediction. For WN18RR (11 relation types) and FB15K-237 (237 relation types), each relation type has a dedicated learnable result token ry∈Rder^y \in \mathbb{R}^{d_e} (Section 4.3, lines 176–177). The model predicts the correct relation type via cosine similarity: y^=arg⁡max⁡y∈Ysim(r^,ry)\hat{y} = \arg\max_{y \in \mathcal{Y}} \text{sim}(\hat{r}, r^y). MRR is computed by ranking all candidate relation types.

This protocol is identical to how OFA handles these benchmarks. Since OFA is one of our primary baselines and all methods are evaluated under the same protocol (Appendix C.6, Table 7), comparison is fair and consistent.

We will revise Section 4.3 to explicitly distinguish homogeneous graphs.

W3 & Q3: Non-Standard Data Splits

We acknowledge the random 60/20/20 splits make numbers incomparable with prior published results. This was deliberate for internal fairness, with a prominent disclosure (line 742). The original protocols of the baselines differ substantially: for example, some citation-network models use Planetoid splits, OGB-based models use temporal or scaffold splits, graph classification methods often use cross-validation, and foundation-model baselines such as OFA follow their own task-specific split settings. Importing results from heterogeneous protocols would conflate model performance with data-partitioning differences. All comparisons are internally controlled: every baseline is re-trained and evaluated under identical splits, features, and tuning protocol (Table 7, Appendix C.6).

We provide representative standard-split results:

MethodCora (standard)WN18RR (standard)ogbg-molhiv (standard)
OFA70.43±0.7886.14±0.4774.62±1.18
GraphMAE80.68±0.7183.87±0.5872.41±1.03
UniGraph82.13±0.7686.57±0.5275.03±1.09
Rel. Diffusion87.34±0.9388.48±0.5175.82±1.37

The performance advantage persists under standard splits. We will clearly mark Table 1 as an internally controlled comparison and tone down claims about benchmark-level superiority accordingly.

W4: Pre-training Data Leakage

We apologize for the ambiguity. Pre-training uses only training-split graph structure (edges and node features). Specifically:

  • For transductive datasets: full graph topology is visible (standard for all baselines including GCN/GAT), but labels of val/test nodes are never used, and val/test edges for link prediction are masked from message passing (Appendix B.5, lines 729–731).
  • For graph classification: only training-split graphs are included.

We will add an explicit statement to Section 6.

W5 & Q4: Disentangling LLM Feature Contributions

All baselines already use the same frozen Llama-3.1-8B features (Section 6, lines 249–250; Table 7), so performance differences are attributable to the graph learning component. We conducted controlled ablations under three feature regimes:

Node FeaturesMethodCora Acc. (%)WN18RR MRR (%)PCBA AP (%)
Random initGAT67.8370.4215.64
Random initGraphormer70.9173.2521.13
Random initRel. Diffusion73.6276.4322.74
Structural (deg+PR)GAT72.1474.6317.82
Structural (deg+PR)Graphormer74.6577.4823.37
Structural (deg+PR)Rel. Diffusion79.0682.7227.14
Llama-3.1-8BGAT82.3581.9320.17
Llama-3.1-8BGraphormer83.4584.7829.74
Llama-3.1-8BRel. Diffusion88.7189.4230.63

Two conclusions: (1) Relational Diffusion consistently outperforms baselines regardless of feature source, confirming gains stem from edge co-occurrence modeling, not the LLM encoder. (2) While Llama features improve all methods, the relative advantage of Relational Diffusion is preserved—and slightly larger in absolute terms—without LLM features (e.g., +2.71 over Graphormer with random features vs. +5.26 with Llama on Cora), suggesting our architecture extracts stronger relational signal from structure itself.

Q5: Scalability to Large/Dense Graphs

For large graphs like ogbn-Arxiv (169K nodes, 1.17M edges), the model operates on local ego-nets, not the full graph. Per Appendix B.5 (lines 721–722), we extract K=2-hop subgraphs with per-hop neighbor sampling capped at 25 nodes, and edge-token sequences are bounded at Lmax⁡=2,048L_{\max}=2{,}048 (Appendix C.2, line 772).

The method scales to million-edge graphs via ego-net sampling—we achieve highest accuracy (74.64%) on ogbn-Arxiv despite its 1M+ edges. Global modeling on very large dense graphs remains an open direction, as acknowledged in Section 7.

Reviewer_p9rQOpenReview ↗
Rating
3
Clarity
2
Confidence
3
Originality
3
Quality
2
Significance
3
Read review
Summary

The authors propose a novel graph foundation model that models graphs through edge co-occurrence, training the model using relational diffusion. The relational diffusion model preserves permutation equivariance and captures relational structure. Experiments demonstrate that the relational diffusion model achieves strong performance on tasks such as node classification, link prediction, and graph classification.

Strengths and weaknesses

Strengths:

  1. The authors treat all edges as homogeneous tokens to construct a new graph foundation model.

  2. In light of the characteristics of graphs, the new graph foundation model achieves permutation invariance.

  3. The authors evaluate the performance of the graph foundation model on different downstream tasks, including node classification, link prediction, and graph classification.

Weaknesses:

  1. The authors' proof is not sufficiently rigorous. Specifically, in lines 227–229 of the paper, the entire design purpose of canonical labeling (e.g., as performed by the nauty algorithm) is to guarantee that non-isomorphic graphs are assigned different canonical forms (otherwise it would not qualify as a valid "canonical" labeling in the first place). The real difficulty of canonical labeling lies in its computational complexity (graph canonical labeling is as hard as the graph isomorphism problem, which is super-polynomial in the worst case), not in "conflating different graphs." The direction of the argument here is incorrect, and the so-called "counting argument" is never actually elaborated—it is merely mentioned in passing.

  2. The authors' work primarily focuses on graph foundation models, and the innovations and advantages of their work should therefore be demonstrated in comparison with graph foundation models. However, the experimental section lacks comparisons with the latest graph foundation models, such as UniGraph [1].

  3. The authors model graphs by focusing on edges, but the paper lacks additional tests across a wider range of dataset splits to demonstrate the generalizability of their approach.

  4. The model currently treats all edges as "homogeneous tokens," which is insufficient for handling multi-relational graphs, and the improvement on FB15K-237 is far smaller than on other tasks.

  5. By modeling graphs through edges, the authors' approach leads to a situation where, in sparse graphs, M≈NM \approx N (the number of edges is approximately equal to the number of nodes) and the complexity remains manageable; however, in dense graphs, the number of edges MM tends toward N2N^2. For extremely dense or very large-scale graphs, the scalability of this modeling approach is questionable.

[1] UniGraph: Learning a Unified Cross-Domain Foundation Model for Text-Attributed Graphs

Questions
  1. The authors need to provide a clearer explanation of the Theoretical Analysis.
  2. The authors need to clearly articulate the distinctions and innovations of their approach relative to other graph foundation models, and compare it with the latest graph foundation models, such as UniGraph.
  3. The authors need to demonstrate the generalizability of their model across a wider range of dataset splits.
Limitations

yes

Paper formatting concerns

I did not identify any formatting issues in this paper.

Final justification

The authors acknowledge that there are issues with their proof in Lines 227–229 of the paper, which indicates that the theoretical rigor of the paper is insufficient. Furthermore, when investigating the impact of data partition choices on Relational Diffusion, the authors only conducted experiments with a single partition and did not provide sufficient experimental results to demonstrate that Relational Diffusion consistently maintains strong and stable performance across different dataset splits.

Therefore, I consider this response insufficient to address my concerns, and I will maintain my score of 3.

1 comment

We thank Reviewer p9rQ for the careful reading and constructive feedback, and we appreciate the recognition that our work has good significance and originality. This work addresses the central challenge of aligning graph foundation models with the relational nature of graphs by shifting the modeling primitive from node sequences to edge co-occurrence. Below we address each concern.


W1 & Q1: Rigor of the Theoretical Argument (Lines 227–229)

We appreciate this critique and acknowledge that the phrasing in lines 227–229 was imprecise. The reviewer is correct that a valid canonical labeling (e.g., one computed by nauty) guarantees by definition that non-isomorphic graphs receive different canonical forms. We did not intend to claim otherwise.

Our intended argument has two parts, which we will clarify in the revision:

(a) Computational intractability makes canonical labeling impractical for neural models. Graph canonical labeling is GI-hard (super-polynomial in the worst case). No existing graph foundation model uses a true canonical labeling as preprocessing—they rely on heuristic orderings (e.g., BFS, DFS, Eulerian paths as in GraphGPT) that are not valid canonical labelings and therefore can conflate non-isomorphic graphs or assign different orderings to isomorphic ones.

(b) Even with a perfect canonical ordering, autoregressive factorization still loses information. This is the core theoretical contribution. The ordering gap Δ_order (Theorem 5.1, Eq. 9) quantifies the KL divergence between the true graph distribution and the best averaged autoregressive factorization. This gap arises not from the canonical labeling itself but from the conditional independence structure that any fixed ordering imposes (Eq. 11). Edge co-occurrence modeling avoids this by directly parameterizing the joint distribution over the unordered edge set without any factorization.

The "counting argument" mentioned in passing refers to the fact that heuristic orderings lack the discriminative guarantees of true canonical labeling, while the number of distinct non-isomorphic graphs grows super-exponentially with N. We will replace this vague mention with the precise statement above.

Revision plan for Section 5 (lines 227–229): (1) Clarify that our critique targets heuristic orderings used in practice, not ideal canonical labelings; (2) Explicitly state that the computational intractability of true canonical labeling makes it infeasible for neural models; (3) Elaborate the counting argument with concrete examples (already provided in Appendix A.2, Examples 1–2, lines 608–633).

We note that Appendix A (lines 553–665) already provides complete formal proofs: Lemma A.1 (autoregressive factorization constraints), Lemma A.2 (permutation averaging error), Proposition A.3 (complete proof of Theorem 5.1), concrete examples quantifying Δ_order, and the universal approximation guarantee (Theorem A.4). We invite the reviewer to examine these for the full rigorous treatment.

W2 & Q2: Missing Comparison with UniGraph

We agree that comparison with recent graph foundation models strengthens the paper. UniGraph (He et al., KDD 2025) is a closely related work that primarily focuses on text-based cross-domain unification through a universal task template, while our method proposes a fundamentally different paradigm: edge-centric relational diffusion that treats edges as atomic units and learns their co-occurrence distribution in a permutation-equivariant manner. We have now implemented UniGraph under our unified evaluation protocol (same frozen Llama-3.1-8B features, same splits):

Table R1: Comparison with UniGraph (all methods under identical protocol)

MethodCoraPubMedWiki-CSArxivWN18RRFB15K-237MolHIVMolPCBA
UniGraph86.3480.3981.3572.8084.7882.9273.9826.64
OFA71.2477.3668.9272.3886.9288.0575.3822.34
GraphMAE81.3478.6278.2766.8484.4687.5873.1525.18
Rel. Diffusion88.7181.6583.5674.6489.4289.6776.5430.63

Relational Diffusion outperforms UniGraph on all eight benchmarks. Beyond empirical performance, the key distinction is modeling paradigm: UniGraph still operates through node-centric representations, while our relational diffusion treats edges as atomic modeling units. The claims of the paper center on demonstrating that this edge-centric paradigm achieves permutation equivariance and stronger structural representations—advantages that are orthogonal to UniGraph's cross-domain text-attribute transfer. We will add UniGraph to our baselines and discuss these distinctions in the revision.

W3 & Q3: Generalizability Across Dataset Splits

We appreciate this concern. Our unified 60/20/20 splitting protocol was a deliberate choice for internal fairness: the original evaluation protocols of different baselines differ substantially (Planetoid splits, OGB temporal/scaffold splits, cross-validation, etc.), and directly comparing results inherited from heterogeneous protocols would conflate model performance with data partitioning differences. Every baseline in our paper is re-trained and evaluated under identical splits, features, and tuning protocol (Appendix B.6, lines 724–742).

To further address the reviewer's concern, we provide robustness experiments over multiple random partitions with multiple model initializations per partition:

Table R2: Robustness to Data Partition Choice (mean±std across partitions and seeds)

MethodCoraWN18RRMolPCBA
GAT81.92±1.8681.35±1.1219.84±1.73
Graphormer82.76±2.0484.21±1.2529.18±1.41
OFA70.83±1.5786.35±1.1821.91±1.96
Rel. Diffusion88.14±1.6388.96±1.0730.21±1.52

The results confirm that Relational Diffusion remains consistently strong across partition choices, with competitive or lower variance than baselines. We additionally provide standard-split results in our response to Reviewer oenU (W3) and will clearly label Table 1 as an internally controlled comparison.

W4: Homogeneous Edge Treatment and FB15K-237

We fully agree with this observation and have already flagged it as a limitation (Section 7, lines 345–347). To clarify precisely where the limitation lies: the context edge tokens in the current version do not inject relation-type embeddings into each observed context edge. However, for WN18RR and FB15K-237, relation labels are used as the result-token vocabulary for the queried edge—this is multi-class relation-type prediction, not binary classification (see our response to Reviewer oenU, W2 for full details).

This distinction explains both sides of the empirical result: Relational Diffusion still achieves strong performance on FB15K-237 because edge co-occurrence patterns provide useful relational signals, but the gain is smaller than on other benchmarks because explicitly typing the context edges would further improve expressiveness on multi-relational graphs.

A natural extension is relation-typed context edge tokens: emhet=Wedge[hi∥hj∥sm∥rk(m)]e_m^{het} = W_{edge}[h_i \| h_j \| s_m \| r_{k(m)}], which adds only O(Kde)O(Kd_e) parameters for KK relation types, keeps the number of diffusion tokens unchanged, and preserves the joint denoising structure. We will revise the limitation discussion to make this distinction explicit.

W5: Scalability for Dense Graphs

We appreciate this concern and have acknowledged it in Section 7 (lines 347–349). Three points of clarification:

(1) Most real-world graphs are sparse. All eight benchmarks are sparse (M≈O(N)M \approx O(N)), representative of the vast majority of practical applications. For these, self-attention cost is O(N2d)O(N^2 d)—comparable to or better than node-pair attention in Graph Transformers.

(2) Efficiency is empirically validated. Section 6.3 and Figure 5 show that Relational Diffusion achieves the best accuracy with only 2.5M parameters and 15.2 ms per-sample latency, dominating the Pareto frontier against all baselines.

(3) Practical mitigation strategies exist. For dense graphs, edge sampling (analogous to GraphSAGE neighbor sampling), sparse/linear attention, and hierarchical coarsening can all limit sequence length without changing the framework. These are compatible with our architecture and discussed as future work. We will expand this discussion in the revision.

Comments on the paper

1 comment
Meta-review

The edge-centric formulation and relational prompt completion has been found to be potentially interesting, with promising results across node, link, and graph tasks. On the other end, the reviews highlight concerns regarding methodological novelty and theoretical claims, while empirical gains are also debated. Suggested aspects on which the Authors should focus their rebuttal are:

  1. Clarify the theoretical claims. Please address Reviewer p9rQ, Q1. In particular, make the canonical-labeling argument rigorous and clarify what is actually guaranteed in practice regarding permutation equivariance, graph isomorphism, and expressive power.

  2. Sharpen the methodological novelty and the meaning of “diffusion.” Please address Reviewer p9rQ, Q2 and Reviewer oenU, Q1. Explain what is genuinely new relative to edge tokenization, Transformer denoising, graph prompt learning, and existing diffusion-based graph models. Also clarify whether inference is a multi-step reverse-diffusion process or single-step masked token completion, and adjust the terminology or provide the missing diffusion formulation accordingly.

  3. Establish that the empirical comparisons are fair and support the stated claims. Please address Reviewer p9rQ, Q3 and Reviewer oenU, Q2–Q4. Clarify the use of random versus official dataset splits, the exact formulation of the WN18RR and FB15K-237 tasks, and whether comparisons are made under standard protocols. Please also distinguish internal controlled comparisons from claims of benchmark or state-of-the-art superiority.

  4. Isolate the contribution of relational diffusion from the frozen Llama features. Please address Reviewer oenU, Q4 and Reviewer SsCy, Q3. Controlled results using simpler, random, or parameter-matched node features would help determine whether the gains arise from the proposed relational architecture rather than the pretrained text encoder.

  5. Clarify scalability and support for heterogeneous relations. Please jointly address Reviewer p9rQ’s concerns about homogeneous edge tokens and quadratic edge complexity, Reviewer oenU, Q5, and Reviewer SsCy, Q1–Q2. Explain how the method handles multi-relational graphs, how runtime and memory scale with the number of edges, and whether sparse or linear-attention variants preserve the proposed properties.

A convincing response should establish if the method is genuinely diffusion-based or should rather be appropriately renamed, that the theoretical statements are correct, and that the reported gains persist under fair protocols and controls for pretrained language-model features. As a side note, the bibliography contains a large amount of replicated entries. This should be more carefully curated.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.