[Paper Review] Two-Sample Tests for Large Random Graphs Using Network Statistics
This paper proposes a general, nonparametric two-sample hypothesis test for large random graphs using network statistics, leveraging concentration inequalities to enable consistent testing when only one graph sample is available per distribution. The method is minimax optimal for key statistics like triangle counts and singular values of the adjacency matrix, achieving detection near fundamental limits of distinguishability in semi-sparse Erdős–Rényi models.
We consider a two-sample hypothesis testing problem, where the distributions are defined on the space of undirected graphs, and one has access to only one observation from each model. A motivating example for this problem is comparing the friendship networks on Facebook and LinkedIn. The practical approach to such problems is to compare the networks based on certain network statistics. In this paper, we present a general principle for two-sample hypothesis testing in such scenarios without making any assumption about the network generation process. The main contribution of the paper is a general formulation of the problem based on concentration of network statistics, and consequently, a consistent two-sample test that arises as the natural solution for this problem. We also show that the proposed test is minimax optimal for certain network statistics.
Motivation & Objective
- To address the challenge of two-sample hypothesis testing for large random graphs when only one graph sample is available per distribution, a common scenario in network analysis.
- To formalize a general testing framework that does not assume specific network models or i.i.d. sampling, relying instead on network statistics.
- To establish conditions under which consistent and minimax optimal tests can be constructed using concentration properties of network statistics.
- To demonstrate that the proposed test achieves near-optimal detection rates for semi-sparse Erdős–Rényi models using common statistics like triangle counts and spectral features.
Proposed method
- The method is based on a general assumption that network statistics concentrate around their mean in large graphs, enabling reliable comparison between two graphs.
- It formulates the two-sample test as a comparison of the point of concentration of a network statistic f under the null and alternative hypotheses.
- The test uses a thresholding rule based on the estimated concentration point of f, with consistency proven under separation conditions.
- For triangle-based statistics fΔ, the method leverages variance bounds under uncorrelatedness of non-overlapping triangles and maximum expected degree.
- For spectral statistics fλ, the method uses concentration of the largest k singular values of the adjacency matrix, with bounds derived via trace moments and matrix concentration.
- The test is shown to be uniformly consistent and minimax optimal under separation conditions that match the fundamental limits of distinguishability.
Experimental results
Research questions
- RQ1Can a consistent two-sample test be constructed for large random graphs when only one sample is available from each distribution, without assuming a specific network model?
- RQ2How can network statistics be used to define a general, nonparametric testing framework for graph comparison?
- RQ3What are the fundamental limits of distinguishability for two random graph models using common network statistics?
- RQ4Can the proposed test achieve minimax optimality for specific statistics like triangle counts and spectral features?
- RQ5How does the test perform under semi-sparse Erdős–Rényi models, and what separation conditions are necessary for consistent detection?
Key findings
- The proposed two-sample test is uniformly consistent: it achieves arbitrarily small error rates for large graphs when the null and alternative hypotheses are separated by a sufficient margin.
- For the triangle count statistic fΔ, the test achieves minimax optimality up to a logarithmic factor, matching the fundamental detection limit in semi-sparse Erdős–Rényi models.
- For the largest k singular values of the adjacency matrix (fλ), the test is minimax optimal when k=2, with separation conditions that exactly match the sufficient conditions in the theoretical analysis.
- The method is robust to graph size differences and does not require vertex correspondence between graphs, making it applicable to real-world comparisons like brain networks or social media graphs.
- Theoretical results show that if the separation between distributions is below the derived minimax threshold, no test can achieve bounded error rates, confirming the sharpness of the bounds.
- The framework applies broadly to any network statistic that concentrates in large graphs, with explicit validation for triangle counts and spectral statistics.
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.