Improving Power of 2-Sample Random Graph Tests with Applications in Connectomics

Bijan Varjavand, Jesús Arroyo, Minh Tang, Carey E. Priebe, Joshua T VogelsteinarXiv 2019

Abstract

In many applications, there is an interest in testing whether two graphs come from the same distribution, but due to the nature of the data, classic statistical methods are not directly applicable. When the distribution of the two graphs depends on a set of vertex latent positions, in particular under the random dot product graph model, a statistical test is derived by determining whether the set of latent positions are equally distributed. We empirically analyze several methods for this problem, and show that adapting multiscale graph correlation (MGC) to answer this question results in an equivalent test which outperforms several existing methods. We then demonstrate that on a real brain network, MGC is able to detect differences between two sides of a larval Drosophila brain network, whereas other methods fail to detect a difference.

Introduction

Determining whether two distinct networks originate from the same underlying statistical distribution is a fundamental challenge in fields such as neuroscience and social network analysis. For instance, researchers may need to compare brain networks between control and diseased groups or analyze structural symmetries between brain hemispheres. Traditional statistical methods, like the t-test, are ill-suited for complex, non-Euclidean graph data, particularly when graphs vary in size or lack node-to-node correspondence.

This paper introduces a powerful statistical test by combining Adjacency Spectral Embedding (ASE) with Multiscale Graph Correlation (MGC). This approach outperforms traditional Distance Correlation (DCorr) methods, especially in detecting subtle, nonlinear differences in graph structure.

Methodology

The proposed framework operates under the Random Dot Product Graph (RDPG) model. In this model, the probability of an edge between two nodes is determined by the dot product of their latent positions. The problem of comparing two graphs is thus transformed into testing whether their latent positions are equally distributed.

The testing procedure involves three main steps:

  1. Adjacency Spectral Embedding (ASE): Latent positions are estimated from the adjacency matrices of the graphs using Singular Value Decomposition.
  2. Multiscale Graph Correlation (MGC): MGC is applied to the estimated latent positions. Unlike global metrics, MGC evaluates local data scales by examining nearest neighbors, allowing it to capture nonlinear and non-monotonic relationships.
  3. Permutation Test: A permutation test on the MGC statistic generates a null distribution to calculate the final p-value.

Experimental Results

The authors evaluated the method using both synthetic simulations and real-world connectomics data.

Simulation Studies

Synthetic graphs were generated under three conditions: identical distributions (null case), distributions with a shifted mean (linear case), and distributions with nonlinear differences (Beta distribution case).

Power comparison across three simulation scenarios: (a) Equal distribution, (b) Difference in mean, and (c) Nonlinear distribution difference.

As shown in the simulations, all methods maintained the expected Type I error rate in the null case. While all methods performed well for simple linear shifts, MGC demonstrated significantly higher statistical power for nonlinear differences, particularly at smaller sample sizes.

Drosophila Connectome Analysis

The method was applied to the synaptic wiring diagram of a larval Drosophila melanogaster brain, comparing the left hemisphere (209 nodes) to the right hemisphere (213 nodes).

Null distributions and test statistics for the Drosophila brain hemispheres. MGC successfully detects structural differences (p=0.001) where DCorr methods fail.

While visually similar, the two hemispheres proved to be statistically distinct. Both biased and unbiased DCorr failed to reject the null hypothesis (p-values of 0.314 and 0.444). In contrast, MGC successfully detected the structural asymmetry with a highly significant p-value of 0.001.

Discussion and Conclusion

The primary advantage of MGC lies in its ability to adapt to optimal local scales, making it robust against nonlinear dependencies that global metrics like DCorr often miss. Furthermore, because the test compares distributions of latent positions rather than direct node mappings, it remains effective even when graph sizes do not match.

While MGC offers no significant advantage in strictly linear or monotonic cases, its superior performance in complex scenarios makes it a valuable tool for modern network analysis. Future work may explore the biological implications of the detected asymmetries in the Drosophila brain and extend this methodology to other complex biological networks.

Summary updated

BibTeX
@misc{varjavand2019improving,
  author = {Bijan Varjavand and Jesús Arroyo and Minh Tang and Carey E. Priebe and Joshua T Vogelstein},
  title = {{Improving Power of 2-Sample Random Graph Tests with Applications in Connectomics}},
  year = {2019},
  eprint = {1911.02741},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.02741},
}
Figure