- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 4
- Quality
- 3
- Significance
- 4
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.
Paper formatting concerns
I have not found any formatting issue.
Final justification
The authors provided a detailed answer to my questions. Consequently, I increase my score to 5.
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.