Efficient Estimation of Shortest-Path Distance Distributions to Samples in Graphs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhu, Alan, Ma, Jiaqi, Mei, Qiaozhu
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913703130038272
author Zhu, Alan
Ma, Jiaqi
Mei, Qiaozhu
author_facet Zhu, Alan
Ma, Jiaqi
Mei, Qiaozhu
contents As large graph datasets become increasingly common across many fields, sampling is often needed to reduce the graphs into manageable sizes. This procedure raises critical questions about representativeness as no sample can capture the properties of the original graph perfectly, and different parts of the graph are not evenly affected by the loss. Recent work has shown that the distances from the non-sampled nodes to the sampled nodes can be a quantitative indicator of bias and fairness in graph machine learning. However, to our knowledge, there is no method for evaluating how a sampling method affects the distribution of shortest-path distances without actually performing the sampling and shortest-path calculation. In this paper, we present an accurate and efficient framework for estimating the distribution of shortest-path distances to the sample, applicable to a wide range of sampling methods and graph structures. Our framework is faster than empirical methods and only requires the specification of degree distributions. We also extend our framework to handle graphs with community structures. While this introduces a decrease in accuracy, we demonstrate that our framework remains highly accurate on downstream comparison-based tasks. Code is publicly available at https://github.com/az1326/shortest_paths.
format Preprint
id arxiv_https___arxiv_org_abs_2502_15890
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient Estimation of Shortest-Path Distance Distributions to Samples in Graphs
Zhu, Alan
Ma, Jiaqi
Mei, Qiaozhu
Social and Information Networks
Machine Learning
As large graph datasets become increasingly common across many fields, sampling is often needed to reduce the graphs into manageable sizes. This procedure raises critical questions about representativeness as no sample can capture the properties of the original graph perfectly, and different parts of the graph are not evenly affected by the loss. Recent work has shown that the distances from the non-sampled nodes to the sampled nodes can be a quantitative indicator of bias and fairness in graph machine learning. However, to our knowledge, there is no method for evaluating how a sampling method affects the distribution of shortest-path distances without actually performing the sampling and shortest-path calculation. In this paper, we present an accurate and efficient framework for estimating the distribution of shortest-path distances to the sample, applicable to a wide range of sampling methods and graph structures. Our framework is faster than empirical methods and only requires the specification of degree distributions. We also extend our framework to handle graphs with community structures. While this introduces a decrease in accuracy, we demonstrate that our framework remains highly accurate on downstream comparison-based tasks. Code is publicly available at https://github.com/az1326/shortest_paths.
title Efficient Estimation of Shortest-Path Distance Distributions to Samples in Graphs
topic Social and Information Networks
Machine Learning
url https://arxiv.org/abs/2502.15890