[Paper Review] Nonparametric two-sample hypothesis testing for low-rank random graphs of differing sizes
This paper proposes a nonparametric two-sample hypothesis test for low-rank random graphs with differing sizes, negative eigenvalues, and repeated eigenvalues. It uses maximum mean discrepancy (MMD) on rotated graph embeddings, where rotation is estimated via optimal transport, achieving consistency under sufficient density and improved performance over naive alignment in practice.
Given two networks of differing sizes, it is of interest to test whether the two networks belong to the same distribution. We formalize the notion of "equality of distribution" under the framework of the generalized random dot product graph, which considers as special cases a number of popular network models with low-rank expectations. We then propose a nonparametric two-sample test statistic to conduct this test, assuming only that the networks have independent edges generated from low-rank probability matrices. Our proposed test statistic involves using the maximum mean discrepancy applied to suitably rotated rows of a graph embedding, where the rotation is estimated using optimal transport. We show that our test statistic, appropriately scaled, is consistent for sufficiently dense graphs, and we study its convergence under different sparsity regimes, and our results are demonstrated in numerical simulations.
Motivation & Objective
- To address the challenge of testing differences between low-rank random graphs with varying sizes, negative eigenvalues, and arbitrarily close eigenvalues.
- To develop a nonparametric test statistic that remains valid under these complex spectral conditions.
- To improve alignment of graph embeddings beyond the naive eigengap assumption, particularly in the presence of repeated or negative eigenvalues.
- To establish theoretical consistency of the test statistic under sufficient graph density.
- To empirically evaluate the performance of the proposed optimal transport-based alignment against standard eigengap-based alignment.
Proposed method
- The method applies the maximum mean discrepancy (MMD) to rows of a graph embedding derived from the adjacency matrix.
- It estimates the optimal rotation of the embedded rows using optimal transport to align them meaningfully before MMD computation.
- The test statistic is scaled appropriately to ensure consistency for sufficiently dense graphs.
- The approach handles negative eigenvalues and repeated eigenvalues by avoiding reliance on eigengap assumptions.
- Theoretical analysis examines convergence under different sparsity regimes, including dense and sparse graph settings.
- Empirical validation compares the proposed rotation method with naive alignment based on eigengaps in simulated and real-world graph data.
Experimental results
Research questions
- RQ1Can a nonparametric two-sample test be consistently applied to low-rank random graphs with negative and repeated eigenvalues?
- RQ2Does optimal transport-based alignment of graph embeddings outperform the standard eigengap-based alignment in practice?
- RQ3How does the test statistic behave under varying sparsity regimes, particularly in sparse versus dense graphs?
- RQ4Is the proposed MMD-based test statistic consistent when applied to graphs of differing sizes?
- RQ5What is the impact of spectral degeneracy (negative and repeated eigenvalues) on the performance of standard graph comparison methods?
Key findings
- The proposed test statistic, when appropriately scaled, is consistent for sufficiently dense low-rank random graphs with negative and repeated eigenvalues.
- Empirical results suggest that the optimal transport-based alignment procedure outperforms the naive eigengap-based alignment in terms of test power and robustness.
- The method remains valid even when the edge probability matrix has negative eigenvalues, which invalidates standard spectral approaches.
- The test maintains good performance across different sparsity regimes, with theoretical convergence established under dense graph assumptions.
- The use of MMD on rotated embeddings enables a nonparametric comparison that is robust to spectral degeneracy and size differences in graphs.
- The framework provides a principled alternative to traditional graph comparison methods that rely on eigengap detection or positive-definite assumptions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.