Valid Bootstraps for Network Embeddings with Applications to Network Visualisation

Emerald Dilworth, Edward Davis, Daniel J. Lawson · DOI

Abstract

Quantifying uncertainty in networks is an important step in modelling relationships and interactions between entities. We consider the challenge of bootstrapping an inhomogeneous random graph when only a single observation of the network is made and the underlying data generating function is unknown. We address this problem by considering embeddings of the observed and bootstrapped network that are statistically indistinguishable. We utilise an exchangeable network test that can empirically validate bootstrap samples generated by any method. Existing methods fail this test, so we propose a principled, distribution-free network bootstrap using k-nearest neighbour smoothing, that can pass this exchangeable network test in many synthetic and real-data scenarios. We demonstrate the utility of this work in combination with the popular data visualisation method t-SNE, where uncertainty estimates from bootstrapping are used to explain whether visible structures represent real statistically sound structures.

Introduction

In many fields—from cybersecurity to biology—data is frequently represented as networks (graphs). A major hurdle in network science is uncertainty quantification. When only a single observation of a social network or a protein interaction map is available, it is difficult to determine if observed structures, such as clusters, are "real" or merely artifacts of random noise.

The gold standard for uncertainty in statistics is the bootstrap, which involves resampling data to assess variance. However, standard bootstrapping assumes data points are independent and identically distributed (i.i.d.). Networks violate this assumption as edges are highly dependent. Existing network bootstraps often rely on rigid theoretical models that struggle with finite, real-world datasets. This paper addresses the gap by providing a way to generate "valid" bootstrapped networks that are statistically indistinguishable from the original observation.

Methodology

The paper contributes two primary tools to the field of network analysis:

1. Bootstrap Exchangeability Test

This serves as a "sanity check" for any network bootstrap method. It utilizes Unfolded Adjacency Spectral Embedding (UASE) to place the original network and its bootstrapped version into a shared latent space. A permutation test then determines if the two are "exchangeable"—meaning they are statistically indistinguishable from one another.

2. ASE-kNN Bootstrap

We propose a new resampling method that avoids global structural assumptions. Instead, it embeds the network and uses k-nearest neighbors (kNN) to estimate the probability of an edge existing between any two nodes. By averaging the behavior of a node’s neighbors in the embedding space, the model creates a "smoothed" probability matrix used to sample new, bootstrapped graphs. This approach is "distribution-free," requiring no prior knowledge of the underlying graph-generating process.

Overview of the network bootstrap and validation pipeline.

Experimental Evaluation

The authors evaluated their methods using both synthetic and real-world data:

  • Synthetic Data: Using Stochastic Block Models (SBM) and Mixed Membership Stochastic Block Models (MMSBM), the authors demonstrated that the ASE-kNN bootstrap consistently passes the exchangeability test where "naïve" linear estimators fail due to overdispersion.
  • Real-World Data: The Lyon School Social Interaction Network, which tracks face-to-face interactions between 242 students and teachers, was used to demonstrate practical utility.

Visualizing Uncertainty

A significant application of this framework is in improving t-SNE visualizations. t-SNE is known for creating clusters even in random data. By bootstrapping the network, the authors can calculate a "fuzziness" score and draw uncertainty ellipses around nodes. This tells the researcher which visual clusters are statistically sound and which represent overlapping distributions.

Uncertainty quantification in the Lyon School interaction network.

On the school dataset, this "Fuzziness Score" helped identify optimal perplexity settings for t-SNE, demonstrating that common low-perplexity plots often misleadingly separate nodes that actually have overlapping uncertainty distributions.

Conclusion

This work provides a robust framework for quantifying uncertainty in single-observation networks. By combining local kNN smoothing with a rigorous exchangeability test, we can generate valid bootstrap samples that enhance the reliability of downstream tasks like community detection and visualization. Future work will focus on extending these methods to weighted networks and improving computational scalability for massive datasets.

Summary updated

BibTeX
@inproceedings{dilworth2025valid,
  author = {Emerald Dilworth and Edward Davis and Daniel J. Lawson},
  title = {{Valid Bootstraps for Network Embeddings with Applications to Network Visualisation}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=1FnVknbqkQ},
}
Figure