[Paper Review] Practical methods for graph two-sample testing
This paper proposes two new asymptotic distribution-based graph two-sample tests—Asymp-Normal and Asymp-TW—for detecting differences between populations of large graphs, especially when sample sizes are small (m=1 or m>1). The methods are computationally efficient and more reliable than bootstrapped alternatives, demonstrating higher power in semi-synthetic experiments on real-world networks like the Oregon router dataset, with p-values decreasing exponentially as graph perturbations increase.
Hypothesis testing for graphs has been an important tool in applied research fields for more than two decades, and still remains a challenging problem as one often needs to draw inference from few replicates of large graphs. Recent studies in statistics and learning theory have provided some theoretical insights about such high-dimensional graph testing problems, but the practicality of the developed theoretical methods remains an open question. In this paper, we consider the problem of two-sample testing of large graphs. We demonstrate the practical merits and limitations of existing theoretical tests and their bootstrapped variants. We also propose two new tests based on asymptotic distributions. We show that these tests are computationally less expensive and, in some cases, more reliable than the existing methods.
Motivation & Objective
- To address the challenge of graph two-sample testing when only a few large graphs are available, particularly in high-dimensional settings with limited replicates.
- To develop computationally efficient alternatives to existing bootstrapped tests that are slow and unreliable in small-sample regimes.
- To improve statistical reliability and power in detecting differences between populations of large graphs, especially in neuroimaging and molecular networks.
- To make theoretical graph testing methods more accessible to applied researchers by providing Matlab implementations.
Proposed method
- Proposes Asymp-Normal, a test based on the asymptotic normal distribution of graph statistics under the null hypothesis for m>1 samples.
- Introduces Asymp-TW, a test using the asymptotic distribution of a test statistic under the null for the m=1 case, relying on community structure.
- Uses spectral clustering and BigClam for community detection in large, sparse networks to enable approximation in Asymp-TW.
- Applies asymptotic theory to derive p-values without resampling, reducing computational cost compared to bootstrapping.
- Employs graph statistics such as edge counts and subgraph counts as test statistics, with theoretical justification under model assumptions.
- Validates the methods through semi-synthetic experiments on real network data, including the Oregon router dataset, with controlled perturbations.
Experimental results
Research questions
- RQ1Can asymptotic null distributions be used to construct reliable, fast graph two-sample tests in small-sample regimes (m=1 or m>1)?
- RQ2How do asymptotic tests compare in power and reliability to bootstrapped variants in high-dimensional graph testing?
- RQ3What is the performance of asymptotic tests when applied to real-world sparse, large networks with no vertex correspondence?
- RQ4Can community detection methods like BigClam be effectively integrated into asymptotic graph tests for large-scale networks?
- RQ5How do p-values behave under increasing graph perturbations, and do they reflect true statistical significance?
Key findings
- Asymp-Normal showed a linear decrease in p-values (exponential increase in -ln(p-value)) as edge density in planted Erdős-Rényi subgraphs increased from 0.2 to 0.4, indicating strong detection power.
- For sparse planted graphs with constant average degree, -ln(p-value) increased slightly super-linearly with subgraph size, confirming sensitivity to structural changes.
- Asymp-TW detected edge perturbations effectively: -ln(p-value) rapidly increased with the number of toggled edges (up to 300), even when perturbations were a tiny fraction of total possible edges.
- The Oregon-2 networks, being denser, showed slightly lower test statistics than Oregon-1, suggesting sensitivity to baseline network structure.
- The use of BigClam for community detection enabled reliable application of Asymp-TW in large, sparse networks, validating its practicality.
- Overall, the proposed asymptotic tests outperformed bootstrapped methods in both computational efficiency and reliability, especially in low-sample regimes.
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.