Permutation-Invariant Spectral Learning via Dyson Diffusion
Tassilo Schwarz, Cai Dieball, Constantin Kogler, Renaud Lambiotte, Arnaud Doucet, Aljaz Godec, George Deligiannidis
NeurIPS 2026
TL;DR. We design a diffusion model focused on Dyson's Brownian motion to learn spectra without the need for permutation-equivariant learning architectures, while preserving all remaining information. The remainder is learnt with Lie group diffusion.
Abstract. Diffusion models are central to generative modeling and have been adapted to graphs by diffusing adjacency matrix representations. The challenge of having up to such representations for graphs with nodes is only partially mitigated by using permutation-equivariant learning architectures. Despite their computational efficiency, existing graph diffusion models struggle to distinguish certain graph families and their spectra, unless graph data are augmented with ad hoc features. This shortcoming stems from enforcing the inductive bias within the learning architecture. In this work, we leverage random matrix theory to analytically extract the spectral properties of the diffusion process, allowing us to push most of the inductive bias from the architecture into the dynamics. Building on this, we introduce the Dyson Diffusion Model, which employs Dyson's Brownian motion to capture the spectral dynamics of an Ornstein-Uhlenbeck process on the adjacency matrix. Furthermore, conditioned on the spectral dynamics, we formulate a Lie group diffusion, appropriately modeling the remaining degrees of freedom. Strikingly, the resulting learning problem becomes permutation invariant at the Lie algebra level. We demonstrate that the Dyson Diffusion Model learns graph spectra accurately and outperforms existing graph diffusion models.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
(a) Summary. The paper proposes a permutation-invariant generative model for graphs built on their spectrum. A diffusion process governed by Dyson Brownian motion generates the eigenvalues, and a coupled Lie-group (orthogonal) diffusion generates the eigenvectors conditioned on those eigenvalues.
(b) Strengths. Reviewers found the formulation elegant and principled, with a clear symmetry argument and solid theoretical grounding (the eigenvalue and eigenvector SDEs, and the treatment of eigenvalue repulsion). The approach is novel relative to standard node-space diffusion models, and the writing is generally clear.
(c) Weaknesses. The main empirical evidence validates the spectrum on small graphs (about 20 nodes); the full eigenvector and graph-reconstruction pipeline is demonstrated mainly on toy or controlled cases, so the central graph-generation claim is under-evidenced at realistic scale. The cospectral (isomorphism) ambiguity of a spectrum-only view is addressed through the eigenvector step rather than resolved outright, and this limitation deserves clearer discussion. Baselines and larger-scale comparisons are thin.
(d) What could change the assessment. Authors are asked, in priority order: (1) clarify the intended scope and state plainly which claims are spectrum-only versus full-graph; (2) provide evidence that the eigenvector and reconstruction stage scales beyond toy cases, ideally on graphs used by the cited baselines; (3) address the cospectral limitation and any failure modes. Extensive new large-scale benchmarks are not required for rebuttal.
Final justification
I have read the authors' responses and the full discussion. All reviewers converged on acceptance after the rebuttal. The shared concerns, namely cospectral ambiguity, absence of full graph generation evidence, scalability, and sensitivity to numerical choices, were addressed convincingly. Scaling beyond roughly 20 nodes remains an honestly acknowledged limitation that does not outweigh this principled, novel contribution. I suggest accept.
Read meta-review
Meta-review
(a) Summary. The paper proposes a permutation-invariant generative model for graphs built on their spectrum. A diffusion process governed by Dyson Brownian motion generates the eigenvalues, and a coupled Lie-group (orthogonal) diffusion generates the eigenvectors conditioned on those eigenvalues.
(b) Strengths. Reviewers found the formulation elegant and principled, with a clear symmetry argument and solid theoretical grounding (the eigenvalue and eigenvector SDEs, and the treatment of eigenvalue repulsion). The approach is novel relative to standard node-space diffusion models, and the writing is generally clear.
(c) Weaknesses. The main empirical evidence validates the spectrum on small graphs (about 20 nodes); the full eigenvector and graph-reconstruction pipeline is demonstrated mainly on toy or controlled cases, so the central graph-generation claim is under-evidenced at realistic scale. The cospectral (isomorphism) ambiguity of a spectrum-only view is addressed through the eigenvector step rather than resolved outright, and this limitation deserves clearer discussion. Baselines and larger-scale comparisons are thin.
(d) What could change the assessment. Authors are asked, in priority order: (1) clarify the intended scope and state plainly which claims are spectrum-only versus full-graph; (2) provide evidence that the eigenvector and reconstruction stage scales beyond toy cases, ideally on graphs used by the cited baselines; (3) address the cospectral limitation and any failure modes. Extensive new large-scale benchmarks are not required for rebuttal.
Final justification
I have read the authors' responses and the full discussion. All reviewers converged on acceptance after the rebuttal. The shared concerns, namely cospectral ambiguity, absence of full graph generation evidence, scalability, and sensitivity to numerical choices, were addressed convincingly. Scaling beyond roughly 20 nodes remains an honestly acknowledged limitation that does not outweigh this principled, novel contribution. I suggest accept.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper describes how to generate spectra of graph adjacency matrices by using an approach inspired from denoising diffusion models. Whereas the standard approach relies on the Ornstein-Uhlenbeck SDE and its time-reversal, this work relies on the well-known Dyson Brownian motion (non-intersecting trajectories repelling each other with a Coulomb potential). The authors learn a score network by solving a quadratic minimization problem. At inference time, by starting from the spectrum of a random GOE matrix, this score network is used to generate a spectrum of eigenvalues by discretizing the time-reverse Dyson SDE. Numerical simulations highlight the performance of this method by comparing an empirical distribution of spectra with the distribution of a test set thanks to a Wasserstein distance.
Strengths and weaknesses
Strengths. This paper is written in a pedagogical way, and the supplementary information is detailed. It tackles the interesting problem of generating spectra of adjacency matrices in an innovative manner. I could not find any obvious mistake in the derivation of the theoretical results. This work makes a significant step in the direction of the generation of graph adjacency matrices.
Weaknesses
- My understanding is that the proposed technique actually concerns spectra of symmetric matrices, and not specifically graph adjacency matrices. Then, the case of adjacency matrices comes as a possible application. An essential next step is to use the SDE over the eigenvectors (given by Allez et al [25], and quoted in Thm 3) to generate adjacency matrices. It is a bit disappointing that the authors mainly discuss the eigenvector SDE in the supplement and say very little about it in the bulk of the paper (also, Theorem 3 is not used). In particular, it is unclear to me whether the inference stage over eigenvectors produces sparse matrices with non-negative entries if the score is trained on a dataset of sparse adjacency matrices.
- Concerning the simulation results, I understand that it is particularly challenging to deal with the repulsive singular potential and the constraint to remain into the Weyl chamber. The numerical tricks to solve these issues -- described in the supplement -- may appear a bit unnatural.
Questions
My main questions concern the choice of time grid (K1) and the rescaling procedure in K2.
- Could you be a bit more explicit about these procedures? How is the final time chosen? Did you use the statistics of the eigenvalues of the GOE to check whether the process is close to the stationary distribution?
- What is exactly the rescaling procedure of Section K2? Does it mean that the generated eigenvalues are always e.g. upper bounded by a fixed constant?
If those two questions are answered, I am happy to increase my score. Here are a few extra comments.
- In the notation section, the authors consider real weights . Does it mean that the authors also consider adjacency matrices with negative entries?
- In Theorem 2, nothing is said about and . It is essential that the authors write something like "Let and let .
- Concerning the extensions, the authors mention at line 329 a recent paper about quaternions and complex edge weights. Several earlier papers describe this type of objects, in particular, Spanning forests and the vector bundle Laplacian, Ann. Probab. 39(5): 1983-2017 (September 2011). It would be good to also mention similar papers as references.
- Is there a missing square at line 1079 (p 41)? (which should be a squared 2-norm?)
Limitations
Yes.
Final justification
The authors provided a detailed answer to my questions. Consequently, I increase my score to 5.
Formatting concerns
I have not found any formatting issue.
4 comments
Response to rebuttal
I thank the authors for providing a detailed response to my comments. I will increase my score.
We thank the Reviewer for responding to our rebuttal, and for raising their score to accept.
We would like to take this opportunity to mention that we now have full end-to-end graph generation for the Brain dataset (see Section 4.1 and Appendix P for details on the dataset). In summary, it consists of 10,500 training graphs, 2,250 validation graphs, and 2,250 test graphs.
We report the results in a new official comment -- and observe that DyDM obtains the lowest value on all four MMD distances (and on their average), even compared to the feature-augmented DiGress. If accepted, we will include those new end-to-end graph generation results in the final version of the paper.
We thank again for the thorough reading of our manuscript and for the positive response to our rebuttal.
Thank you. I maintain my score.
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The research proposes a new framework on using diffusion models to generate graphs, that removes the GNN noise reduction step which is not ideal as GNN can only capture local features and mistake non-isomorphic as isomorphic; the GNN modules were employed because they are permutation equivariant. Using the Ornstein-Uhlenbeck (de)noising process and Dyson's Brownian motion, the authors proved that the eigenvalues of the adjacency matrix during the OU process are non-crossing, creating unique, unambiguous eigenvalue vector for each graph's matrix and removing the permutation ambiguity that required GNN, allowing MLP modules to replace them. The experiments showed that their proposed framework DyDM outperforms GNN, graph transformer baselines and especially on adversarial WL-equivalent cases, on graphs of up to 20 nodes on both real-world and synthetic data.
Strengths and weaknesses
Strengths
-
The paper aims to solve the existing issue using mathematical and theoretical foundations to find the ideal representation that is permutation-invariant, allowing the replacement of GNN. The use of Dyson's Brownian Motion makes the paper a highly creative and effective cross-discipline research that is valued in both ML engineering and mathematical perspectives.
-
The adversarial WL-equivalent experiment supplements to the theory and acts as empirical proof of the failure mode of GNNs that is the basics and motivation of this paper, on both synthetic and real-world data.
-
The performance of DyDM over hand-engineered eigenvalue augmentation methods also supported the claims made.
Weaknesses
-
Citations justified that non-isomorphic WL-equivalent graphs typically have distinct spectra, however it could help to discuss on the case when non-isomorphic graphs do share the same spectrum; like if the case was rare in real-world scenarios.
-
The experiments are limited to graphs of up to 20 nodes, while practical use cases of graph diffusion models could have more nodes; empirical or theoretical evidence of how DyDM could perform on more nodes could be useful.
Questions
-
As is mentioned in weaknesses, could the authors comment on how frequent cospectral exceptions arise in practice and if that is encountered in the datasets used in experiments?
-
Are there insights (theoritical or empirical) insight into how DyDM behaves at larger node counts?
-
While theorem 3 derives the full -dependent eigenvector SDE, coefficients are dropped in Appendix S.7. It would help to clarify how much this could affect the theoretical guarantees (empirically is also fine)?
Limitations
Yes
Final justification
The authors' rebuttal addressed my concerns by reworking the eigenvector-based disambiguation argument, adding end-to-end graph generation experiments, and clarifying Theorem 3's guarantees under the dropped coefficient, while honestly reporting scaling to larger graphs as an open limitation. These responses resolve my core concerns without overstating what remains untested. I therefore maintain my rating of 5.
Formatting concerns
No such concerns
4 comments
Rebuttal
We thank the Reviewer for their positive and constructive engagement with our manuscript and for the critical questions, which we all answer below. We enumerate questions by (Q*) and weaknesses by (W*).
W1) We resolve this with both a theoretical discussion and a new experiment in Q1 below.
W2) We address this in our response to Q2.
To resolve (Q1) on non-isomorphic but isospectral graphs, we partition the question into two parts: (Q1a) How often do non-isomorphic but isospectral graphs appear in the dataset, and (Q1b) Can our diffusion model deal with them?
(Q1a) In Community Small, we found no non-isomorphic cospectral graphs. In the Brain training set, 28 of 10,500 graph instances, or 0.27%, are involved in such cases. Thus, they are rare in these two evaluated datasets.
However, our diffusion model can adequately handle this case, addressing point (Q1b): From a theoretical perspective, note that our diffusion model learns graphs by (1) learning the spectra, let’s call it , and by learning the conditioned eigenvectors, let’s call it . A graph is fully described by its spectrum and tuple of eigenvectors , and this can be decomposed into:
Even though the spectrum is identical for (the few) isospectral but non-isomorphic graphs, the eigenvectors will be different, thus sampling from the eigenvector SDE resolves this ambiguity.
In addition, we constructed a simple experiment, where our model should learn to distinguish two of the isospectral but non-isomorphic graphs from the Brain dataset, say graph G and graph H. Our training set consists of:
- 50% graph G,
- 50% graph H.
We trained (without hyperparameter tuning for this illustrative run) and obtained during sampling in all cases (i.e., 100%) the same spectrum, as expected, but combined with the eigenvector sampling, we obtained graphs which are in our small experiment:
- 54% isomorphic to G
- 46 % isomorphic to graph H
- 0% isomorphic to neither.
Thus, the model can distinguish the graphs even though they are isospectral. Although these graphs are rare, our model can thus adequately handle them. Due to the Reviewer’s questions on this point, we believe that a discussion would be helpful for the Reader. We will thus include a discussion on this in the revised version if accepted. In our perspective, this also resolves the Meta Review’s weakness “The cospectral (isomorphism) ambiguity of a spectrum-only view is addressed through the eigenvector step rather than resolved outright, and this limitation deserves clearer discussion.”
On (Q2), we agree that we focused in the evaluation on expressivity rather than scaling to extremely large graphs. Note that, sparked by the Reviewers’ comments, we now demonstrate full graph generation (spectrum and eigenvectors) not only on the n=10 WL-dataset, but also on learning the 100 graphs in the commonly used n=20 “Community Small” dataset. Thus, beyond the reported spectral distances, we can now report full graph MMD distances (lower is better):
| Model | Degree MMD | Clustering MMD | Orbit MMD | Spectral MMD | Mean ↓ |
|---|---|---|---|---|---|
| DyDM, end-to-end | 0.0002 | 0.0031 | 0.0021 | 0.0011 | 0.0016 |
| DiGress | 0.0001 | 0.0052 | 0.0034 | 0.0024 | 0.0028 |
| ConGress | 0.0025 | 0.0735 | 0.0042 | 0.0279 | 0.0270 |
| EDP-GNN | 0.027 | 0.0741 | 0.0170 | 0.0280 | 0.0304 |
| GDSS | 0.0057 | 0.0755 | 0.0232 | 0.0340 | 0.0346 |
| DiGress without features | 0.0117 | 0.0796 | 0.4308 | 0.0420 | 0.1410 |
As these results reveal, we achieve the lowest MMD distance average, and improve on the DiGress model not only in the MMD graph distance average, but also in 3 out of 4 metrics. (For robustness: We followed our rigorous sampling procedure by sampling from our model with 5 different seeds, and drew 1000 sample graphs per seed, totalling 5000 sampled graphs.) Our intended scope is to generate full graphs, and we hope that these new full-graph benchmark results clarify our intended scope further, and thereby also resolve the meta-review’s “clarify the intended scope and state plainly which claims are spectrum-only versus full-graph”.
We believe that those results strengthen our stated contribution. We believe that the moderately large graph sizes are sufficient and of interest in many applications, such as chemistry, yielding 20 + 20 choose 2 = 210 many degrees of freedom.
Nonetheless, we acknowledge that we have not focused on scaling to very large graphs; we will state large-node full-graph generation as a limitation. To provide an outlook, we believe that the information captured in different parts of the spectrum and eigenvectors might be useful in a follow up work focusing on scaling: While some eigenmodes tend to capture coarse structure, other eigenmodes might be noise of the dataset. Hence, a follow up work could focus on how to exploit this intrinsic structure of the spectral decomposition. Beyond these considerations, we believe that if going to very large dimensions, some architectural updates could be beneficial: At the moment, time in the Dyson Spectral Model is just one input parameter to the MLP (see line 812); however, as the dimension increases, it would be beneficial to encode time using fourier features, so that the time component does not “vanish” in contrast to the very high dimension. We employ this technique already for the eigenvector learning with great success, and would recommend implementing this in very high dimensions for the spectral model as well. However, we want to stress that this is only a preliminary idea and would deserve to be analysed in greater depth in a follow up project.
To answer Q3, note that dropping the coefficient still ensures the key theoretical guarantee of orthogonality, as we detail in the following, and has the beneficial numerical effect that one input dependency gets dropped. In particular, the key property of orthogonality is preserved, since tracking through our proof of orthonormality preservation (lines 661-675), the only difference will be that Eqn. 61 will result in 1+ O(dt), and Eqn. 62 will result in 0 + O(dt), thus still ensuring orthonormality with a numerical error of O(dt), instead of the previous O(dt^{3/2}). We verified this orthonormality preservation empirically, and in fact used this simplified eigenvector SDE in the new numerical experiments above.
We thank the Reviewer for their insightful questions and hope that our new experiments and clarifications strengthen the Reviewer’s recommendation for acceptance.
Dear authors,
Thank you for your response. In your rebuttal, you showed both theoretically and empirically that cospectral non-isomorphic graphs are not an issue for your method, since the eigenvector step disambiguates them even when the spectrum coincides. You also added end-to-end graph generation experiments, which helps address the concern on graph size, while being appropriately transparent that scaling to larger graphs remains untested. Finally, you provided a theoretical account of how dropping the -dependent coefficient affects the guarantees of Theorem 3, showing the orthogonality property is preserved at a slightly weaker order.
These clarifications and additions have strengthened my confidence in the paper's contribution. I will maintain my rating of 5.
Dear Reviewer,
Thank you for your thorough reading of the manuscript and rebuttal.
We would like to take this opportunity to mention that we now have full end-to-end graph generation for the Brain dataset (see Section 4.1 and Appendix P for details on the dataset). In summary, it consists of 10,500 training graphs, 2,250 validation graphs, and 2,250 test graphs.
We report the results in a new official comment -- and observe that DyDM obtains the lowest value on all four MMD distances (and on their average), even compared to the feature-augmented DiGress. If accepted, we will include those new end-to-end graph generation results in the final version of the paper.
We thank again for the thorough reading and the constructive feedback.
Dear authors,
Thank you for your update. This solidifies the quality of the paper; the rating maintains at 5.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes the Dyson Diffusion Model (DyDM), a spectrum-first framework for learning graph distributions. Starting from an Ornstein–Uhlenbeck diffusion on symmetric adjacency matrices, the authors show that the eigenvalues follow Dyson Brownian motion independently of the eigenvectors. Since graph spectra are invariant to node permutations, the spectral score can be learned with a standard neural network rather than a permutation-equivariant GNN or graph transformer. The paper further derives the conditional eigenvector dynamics on the orthogonal group and formulates the corresponding updates in the Lie algebra.
To handle the singular eigenvalue dynamics, the method uses a local score-matching objective, adaptive numerical integration, and a correction mechanism that prevents eigenvalue crossings. Experiments on WL-equivalent synthetic graphs, Community Small, and brain ego-graphs show improved spectral-distribution matching over several graph diffusion baselines without manually adding spectral features. The main empirical contribution is convincing spectral generation, while the end-to-end generation of complete graphs through eigenvector diffusion is demonstrated only in relatively controlled settings.
Strengths and weaknesses
Strengths: This paper presents a theoretically motivated approach to permutation-invariant graph generation by decomposing a matrix-valued diffusion into eigenvalue and eigenvector dynamics. Its main technical contribution is to show that the eigenvalues of an Ornstein–Uhlenbeck diffusion on symmetric adjacency matrices follow Dyson Brownian motion independently of the eigenvectors. This enables the spectral score to be learned using a generic neural network, rather than requiring a permutation-equivariant GNN or graph transformer. The paper further derives the conditional eigenvector dynamics on the orthogonal group and formulates the corresponding reverse process in the Lie algebra. These derivations make the work substantially more than a simple application of spectral features or an architectural modification.
Another strength is that the paper clearly motivates the limitations of existing message-passing-based graph diffusion models through WL-equivalent, non-isomorphic graphs. The controlled WL-Bimodal experiment provides a useful illustration: several GNN- and graph-transformer-based baselines learn the broad WL-equivalence class but fail to recover the correct distribution over the two target graphs, and may generate other graphs from the same equivalence class. DyDM achieves more accurate spectral distribution matching without requiring manually added spectral features. The paper also addresses several nontrivial numerical issues arising from the singular Dyson dynamics, including adaptive step-size control and a correction mechanism for preventing eigenvalue crossings.
Weaknesses: The strongest results concern spectral generation rather than complete graph generation. A graph spectrum does not uniquely determine the underlying graph, since non-isomorphic cospectral graphs exist. The paper does not quantify how frequently such cases occur in the evaluated datasets or in practical graph distributions. Moreover, although the eigenvector SDE is derived theoretically, the higher-dimensional experiment uses oracle spectra and drops the original eigenvalue-dependent coefficients. It therefore remains unclear whether the complete eigenvalue–eigenvector pipeline can reliably generate valid adjacency matrices with properties such as sparsity, nonnegative or discrete entries.
The empirical evaluation is limited to relatively small graphs and leaves several scalability and numerical-robustness questions open. The experiments consider graphs with at most approximately 20 nodes, while the full eigenvector update has cubic per-step complexity. The method also relies on spectral rescaling, a manually selected nonuniform time grid, adaptive integration, and a shooting mechanism. Additional evidence on larger graphs or sensitivity analyses of the final diffusion time, time grid, rescaling procedure, and correction mechanism would strengthen the practical significance of the method.
Questions
How frequent are non-isomorphic cospectral graphs in the evaluated datasets and in the practical graph distributions targeted by DyDM? A brief empirical count or discussion would help clarify the scope of the spectral approach and whether the claimed reduction of graph hallucination mainly applies to WL-equivalent graphs that are spectrally distinguishable.
How does the simplified eigenvector experiment relate to the full conditional eigenvector SDE? In Appendix S.7, the spectra are provided by an oracle and the eigenvalue-dependent coefficients are omitted. Please clarify how these simplifications affect the theoretical guarantees and whether the complete eigenvalue–eigenvector pipeline can generate valid adjacency matrices while preserving sparsity and discrete or nonnegative edge constraints. A more explicit justification or a small end-to-end experiment would strengthen my confidence.
How sensitive is DyDM to its numerical and preprocessing choices? In particular, please clarify how the final diffusion time, nonuniform time grid, spectral rescaling, and shooting mechanism are selected. A compact sensitivity analysis or principled selection rule would help assess robustness and scalability beyond the small graphs considered here. The full eigenvector update has cubic per-step complexity, making this issue especially relevant for larger graphs.
Limitations
Yes.
Formatting concerns
I did not identify any major concerns regarding formatting, anonymity, or compliance with the submission guidelines.
2 comments
Rebuttal
We thank the Reviewer for their constructive engagement with our manuscript. We answer the Reviewer’s questions (numbered with Q*) and weaknesses (numbered by paragraph with W*).
W1) We resolve this with new, full end-to-end graph generation results, which we detail in Q2 below. Further, we provide a theoretical discussion and new experiment for isospectral but non-isomorphic graphs in Q1 below, which shows that our model has no issues with those. We resolve the question of sparsity with another new, instructive experiment in Q2 below.
W2) We address the mentioned numerical robustness and scalability questions in responses to Q2 and Q3 below.
Q1) We answer this question on non-isomorphic but isospectral graphs in two parts. First, on the considered datasets, we counted how many graphs are non-isomorphic but isospectral: In Community Small, we found no non-isomorphic cospectral graphs. In the Brain training set, 28 of 10,500 graph instances, or 0.27%, are involved in such cases. Thus, they are rare in these two evaluated datasets.
Nevertheless, the question arises whether these pose a challenge for our diffusion model. We can answer this clearly with no, they do not pose a challenge. From a theoretical perspective, note that our diffusion model learns graphs by (1) learning the spectra, let’s call it , and by learning the conditioned eigenvectors, let’s call it . A graph is fully described by its spectrum and the tuple of eigenvectors , which can be decomposed into:
Even though the spectrum is identical for (the few) isospectral but non-isomorphic graphs, the eigenvectors will be different, thus sampling from the eigenvector SDE resolves this ambiguity. In addition, we constructed a simple experiment, where our model should learn to distinguish two of the isospectral but non-isomorphic graphs from the Brain dataset, say graph G and graph H. Our training set consists of:
- 50% graph G,
- 50% graph H.
We trained (without hyperparameter tuning for this illustrative run) and obtained during sampling in all cases (i.e., 100%) the same spectrum, as expected, but combined with the eigenvector sampling, we obtained graphs which are in our small experiment:
- 54% isomorphic to G
- 46 % isomorphic to graph H
- 0% isomorphic to neither.
Thus, the model can distinguish the graphs even though they are isospectral. Although these graphs are rare, our model can thus adequately handle them. We will include a discussion on this in the revised version if accepted. In our perspective, this also resolves the Meta Review’s weakness “The cospectral (isomorphism) ambiguity of a spectrum-only view is addressed through the eigenvector step rather than resolved outright, and this limitation deserves clearer discussion.”
Q2) We appreciate that the Reviewer wants more clarity on “spectral only” vs “full graph” generation. Our model allows to generate full graphs. To illustrate this, we moved beyond the toy graph generation on the 10-node WL-equivalent dataset reported in Figure 12 and Table 5, by learning full graph generation on the 20-node “Community Small” dataset. That is, we generate spectra with the Dyson SDE and generate eigenvectors as described in the Appendix conditioned on the spectra. Combining the spectra and eigenvectors, gives the full matrices, representing the graphs. We measure the commonly chosen maximum mean discrepancy metrics in terms of degree, orbit and spectral distance (see Ref. 31 for details on the distances) and report the results here (lower is better):
| Model | Degree MMD | Clustering MMD | Orbit MMD | Spectral MMD | Mean ↓ |
|---|---|---|---|---|---|
| DyDM, end-to-end | 0.0002 | 0.0031 | 0.0021 | 0.0011 | 0.0016 |
| DiGress | 0.0001 | 0.0052 | 0.0034 | 0.0024 | 0.0028 |
| ConGress | 0.0025 | 0.0735 | 0.0042 | 0.0279 | 0.0270 |
| EDP-GNN | 0.027 | 0.0741 | 0.0170 | 0.0280 | 0.0304 |
| GDSS | 0.0057 | 0.0755 | 0.0232 | 0.0340 | 0.0346 |
| DiGress without features | 0.0117 | 0.0796 | 0.4308 | 0.0420 | 0.1410 |
As the results show, we achieve the lowest MMD distance average, and improve on the DiGress model not only in the MMD graph distance average, but also in 3 out of 4 metrics. (For robustness: We followed our rigorous sampling procedure by sampling from our model with 5 different seeds, and drew 1000 sample graphs per seed, totalling 5000 sampled graphs.)
We hope that this end-to-end experiment resolves the Reviewer’s question on full-graph generation. We also believe that this resolves the Meta Review’s point “provide evidence that the eigenvector and reconstruction stage scales beyond toy cases, ideally on graphs used by the cited baselines”. We understand that it would be beneficial to the Reader to move more core details of the Eigenvector learning from the Appendix to the main part, as well as to include the novel end-to-end graph generation experiment at a prominent location, such that, if our manuscript gets accepted, we would use the extra page to do so.
To address the effect of the simplified eigenvector SDE on theoretical guarantees, we note that when dropping the coefficient, the key property of orthogonality is preserved, since tracking through our proof of orthonormality preservation (lines 661-675), the only difference will be that Eqn. 61 will result in 1+ O(dt), and Eqn. 62 will result in 0 + O(dt), thus still ensuring orthonormality. This distinction matters only at a fine asymptotic level: The numerical error becomes rather than which remains negligible in practice. We verified this orthonormality preservation empirically, and in fact used this simplified eigenvector SDE in the new numerical experiments above.
To further address the Reviewer’s question whether the model, if trained on sparse (non-negative) adjacency matrices, produces sparse (non-negative) adjacency matrices, the short answer is yes.
In more depth, we provide two detailed answers: (1) a theoretical discussion, and (2) by means of a new numerical experiment. For (1), note that we generate for each sample a spectrum (from the Dyson-SDE) and a tuple of eigenvectors (from the eigenvector SDE). Due to early-stopping of diffusion models and Lie-algebra Gaussian noise, the inference distribution of the eigenvectors will have full support on the O(n) manifold, rather than the exact subset of eigenvectors corresponding to sparse adjacency matrices. However, this support will be tightly concentrated, at order where is the early stopping time (first non-zero time point of the time grid), around the correct subset. Notice that in any case, we threshold the matrices produced from the eigenvector/eigenvalue diffusion model to ensure that they are valid adjacency matrices. This is common in graph diffusion models (see for instance EDP-GNN).
(2) We conducted a simple experiment with a model trained on a small dataset of sparse graphs to illustrate this: We learned the path graph with 10 nodes, and sampled 1000 spectra and eigenvectors, to obtain 1000 adjacency matrices. We measured the following: (a) the matrices produced by the diffusion model (before the thresholding) have a mean squared error, calculated per entry and averaged over all 10 x 10 entries, of 0.000732. So, they are very close to valid, sparse adjacency matrices. (b) Note that the thresholding step would in any case generate valid adjacency matrices: after thresholding, 100% are adjacency matrices isomorphic to the 10-node-target-graph. Thus, in particular all generated adjacency matrices are sparse. But this experiment shows even further that the diffusion model output is already very close to the correct subset, and the thresholding plays the role of simply truncating small noise terms.
Q3) On the question of sensitivity to parameters, we proceed parameter by parameter. The rescaling of the spectra is simply to ensure equal magnitude across datasets. We use it as a standard machine learning trick and the rescaling is once chosen – in our case rescaling happens to the interval [-5,+5] as detailed in the Appendix – so that we can compare across datasets. For the shooting mechanism, note first that it is a parameter of inference, and not of training. Therefore, since inference is with our reported times very fast (on the order of seconds per thousands of samples), it could be very easily tuned in post-training. However, we found that keeping the triggering threshold (i.e. the minimal distance where shooting triggers) at works very well for all our datasets with n=3 nodes, n=10 and n=20, so that we do not even identify a need to perform (fast) tuning of said post-training parameter. For the final diffusion time, this is indeed a parameter we chose depending on the dataset, but we have as simple metric for this: We compute for each the (empirical) autocorrelation of with as a function of . At final time , this autocorrelation must decay to . This auto-correlation is also a motivation for the exponential time grid, since we find empirically that the autocorrelation drops exponentially. Note that this is not surprising, since interestingly, although we have a different SDE than standard diffusion models, the “exponential” phenomenon also occurs in standard diffusion models, motivating their use of so-called exponential noise schedules, see for instance see Appendix C in Ref. 2. So far, the autocorrelation function as a signal for choosing the right parameters is not included in the manuscript, but we will include a discussion on it together with figures (in lin-log scale showing the exponential decay) in the manuscript if accepted.
We thank the Reviewer for their questions and hope that our responses together with the new experiments strengthen their recommendation for acceptance.
We thank the Reviewer again for their detailed and constructive Review. We hope to have addressed all of the Reviewer's questions in our Rebuttal. We would be happy to answer any further questions in the remaining discussion period.
As an additional experiment, we now have full end-to-end graph generation also for the Brain dataset (see Section 4.1 and appendix P for details on the dataset). In summary, it consists of 10,500 training graphs, 2,250 validation graphs, and 2,250 test graphs.
We reported in a new official comment the results -- and observe that DyDM obtains the lowest value on all four MMD distances (and on their average), even compared to the feature-augmented DiGress. If accepted, we will include those new end-to-end graph generation results in the final version of the paper.
Comments on the paper
1 comment
Additional end-to-end graph generation experiment
As an additional experiment, we now evaluate full end-to-end graph generation also for the Brain dataset (10,500 training graphs, 2,250 validation graphs, 2,250 test graphs). We generated samples (both spectra and eigenvectors, and from those the graphs) using five different random seeds and averaged the results across the five runs.
All MMD distances are reported in units of , lower is better.
| Model | Degree MMD | Clustering MMD | Orbit MMD | Spectral MMD | Mean ↓ |
|---|---|---|---|---|---|
| DyDM, end-to-end | 0.2 | 1.7 | 0.5 | 0.5 | 0.7 (± 0.2) |
| DiGress (trick) | 0.9 | 1.9 | 1.2 | 0.7 | 1.2 (± 0.4) |
| EDP-GNN | 1.2 | 2.2 | 1.4 | 1.1 | 1.5 |
| ConGress | 1.3 | 2.2 | 2.0 | 1.1 | 1.7 |
| DiGress (no trick) | 2.0 | 6.3 | 13.9 | 11.5 | 8.4 |
| GDSS | 12.0 | 18.6 | 3.6 | 5.2 | 9.9 |
DyDM obtains the lowest reported value for all four graph statistics, including relative to feature-augmented DiGress, (it achieves an average MMD of 0.7, compared with 1.2 for feature-augmented DiGress).
For calibration, the average MMD between the training and test sets over the same four MMD statistics is . We report for our model and the runner-up ± empirical standard deviation over the samples obtained with the different seed values. Training the eigenvector model took 18.5 minutes on a single NVIDIA GH200 GPU.
If accepted, we will include this additional end-to-end graph generation experiment in the final version of the paper.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the Reviewer for their thorough reading of our manuscript and for their constructive and positive comments. We answer the Reviewer’s questions (numbered with Q*) and weaknesses (numbered with W*) in the following.
(W1) We agree with the Reviewer that more core details of the eigenvector SDE need to be moved from the Appendix to the main paper, and we will use the additional page to do so if our manuscript is accepted. We have now used the eigenvector SDE to generate adjacency matrices, not only for our WL-bimodal graph dataset, which we report already in Figure 12 and Table 5, but also for the commonly used “Community Small” dataset. We measure the commonly chosen maximum mean discrepancy metrics in terms of degree, orbit and spectral distance (see Ref. 31 for details on the distances) and obtain the following results (lower is better):
As the results show, we obtain the lowest MMD distance average, and improve on the DiGress model not only in the MMD graph distance average, but also in 3 out of 4 metrics. (For robustness: We followed our rigorous sampling procedure by sampling from our model with 5 different seeds, and drew 1000 sample graphs per seed, totalling 5000 sampled graphs.)
We will include this benchmark in the final version if accepted. We hope that this resolves what the Reviewer describes as an “essential next step”.
To address the Reviewer’s question whether the model, if trained on sparse (non-negative) adjacency matrices, produces sparse (non-negative) adjacency matrices, the short answer is yes.
In more depth, we provide two detailed answers: (1) a theoretical discussion, and (2) by means of a new numerical experiment. For (1), note that we generate for each sample a spectrum (from the Dyson-SDE) and a tuple of eigenvectors (from the eigenvector SDE). Due to early-stopping of diffusion models and Lie-algebra Gaussian noise, the inference distribution of the eigenvectors will have full support on the O(n) manifold, rather than the exact subset of eigenvectors corresponding to sparse adjacency matrices. However, this support will be tightly concentrated, at order σϵ where ϵ is the early stopping time (first non-zero time point of the time grid), around the correct subset. Notice that in any case, we threshold the matrices produced from the eigenvector/eigenvalue diffusion model to ensure that they are valid adjacency matrices. This is common in graph diffusion models (see for instance EDP-GNN).
(2) We conducted a simple experiment with a model trained on a small dataset of sparse graphs to illustrate this: We learned the path graph with 10 nodes, and sampled 1000 spectra and eigenvectors, to obtain 1000 adjacency matrices. We measured the following: (a) the matrices produced by the diffusion model (before the thresholding) have a mean squared error, calculated per entry and averaged over all 10 x 10 entries, of
0.000732. So, they are very close to valid, sparse adjacency matrices. (b) Note that the thresholding step would in any case generate valid adjacency matrices: after thresholding, 100% are adjacency matrices isomorphic to the 10-node-target-graph. Thus, in particular all generated adjacency matrices are sparse. But this experiment shows even further that the diffusion model output is already very close to the correct subset, and the thresholding plays the role of simply truncating small noise terms.As a side remark, we note that this experiment does not only generate fixed adjacency matrix of the particular target path graph, but it does generate random permutations thereof, confirming again that our diffusion model indeed can fully learn graphs invariant to permutation of the nodes, rather than “just” matrices.
We thank the Reviewer for raising this important point and we will include a discussion thereof in the revised version if accepted, since we agree that this is an insightful point and, in particular, the experiment demonstrates the accuracy of the model very well. (W2) About the numerical techniques to constrain the SDE to the Weyl Chamber described in the Appendix, we are happy to provide in a revised version more intuition:
We hope that the above intuition makes these techniques appear more natural and resolves the Reviewer’s W2. If accepted, we will include this intuition in the revised version.
(Q1) To determine the final time T, we want that the distribution pT is close to the invariant distribution, and we do this exactly as the Reviewer suggests: We compare pT with the statistics of the eigenvalues of the GOE, pinv. We do the same for the eigenvectors. Beyond comparing these two distributions, we also compute, for each component k∈[n], the (empirical) autocorrelation of pt(λk) with p0(λk) as a function of t. At final time T, this autocorrelation must decay to 0.
For the choice of time grid, there are two insights motivating our exponential time grid described in Appendix K1: First, through Dyson’s conjecture on mixing, we know that much information is contained at early times, hence a finer time grid will be needed for small t. A deeper look at the empirical autocorrelation function mentioned above, shows that the decay of the autocorrelation is exponential in t, supporting the particular choice of exponential time grid. Interestingly, although we have a different SDE than standard diffusion models, this “exponential” phenomenon also occurs in standard diffusion models, motivating their use of so-called exponential noise schedules, see for instance Appendix C in Ref. 2. While we discuss Dyson’s conjecture in the manuscript, we appreciate the Reviewer’s interest in more depth on this topic, and would thus add, in a revised version, the autocorrelation with explicit plots and the above discussion of the exponential time grid.
(Q2) The motivation for doing the affine rescaling in the preprocessing step is solely to ensure similar magnitudes across different datasets. We affinely map the training spectra to [−5,5] (as described on line 843) before training and invert this transformation after sampling. This preprocessing does not impose a hard bound on generated eigenvalues. Such an input rescaling is a standard procedure in machine learning to ensure training on different datasets remains comparable.
Minor questions:
(Q3): Yes, negative weights are perfectly possible with our model. We are aware that negative weights are of recent interest in the networks research community, and we are therefore happy to include this explicitly in a revised version if accepted.
(Q4) The Reviewer is correct about the missing (but very important) assumptions α,β>0 and we will fix this in the revised version.
(Q5) We thank the Reviewer for the additional reference, we will include it along with earlier references.
(Q6) Yes, we missed the square in said line, we thank the Reviewer for spotting this.
In summary, we thank the Reviewer for their insightful questions, which lead to multiple clarifications that we believe to be useful for the Reader. Because the Reviewer indicated that Q1 and Q2 would affect the score, we hope that our response fully addresses their concerns. Since we further addressed all the weaknesses raised by the Reviewer and carried out the new experiment to address the question of sparsity, as well as executed the “essential next step” mentioned in (W1), we hope these clarifications and additional results support reconsideration.