Novel Adaptive Algorithms for Estimating Betweenness, Coverage and k-path Centralities

Mostafa Haghir Chehreghani, Albert Bifet, Talel AbdessalemarXiv 2018

Abstract

Estimating centrality indices in massive directed graphs is a significant computational challenge. This paper introduces two novel adaptive algorithms, ABAD (Adaptive Betweenness Approximation for Directed graphs) and APAD (Adaptive k-Path Approximation for Directed graphs). By leveraging reachability pruning to restrict the sampling space and employing adaptive stopping conditions, these algorithms provide high-accuracy estimates with significantly fewer samples and lower computational overhead than existing state-of-the-art methods like KADABRA and RA-kpath.

Introduction

Centrality indices serve as critical "influence scores" in networks, identifying essential nodes in social networks, transportation systems, or infrastructure grids. Betweenness centrality, for example, quantifies how often a node lies on the shortest paths between other node pairs. However, computing exact scores for large-scale graphs is computationally prohibitive, often requiring $O(VE)$ time for unweighted graphs.

While random sampling offers an alternative, traditional methods often sample paths from the entire graph, leading to inefficiencies when only specific node importance is required. This paper addresses these challenges by proposing "adaptive" algorithms that prune the search space and terminate sampling once a statistically robust estimate is achieved.

Methodology

The authors propose two primary algorithms designed for directed graphs:

1. ABAD (Adaptive Betweenness Approximation for Directed graphs)

ABAD improves upon standard sampling by introducing Reachability Pruning. Instead of sampling arbitrary node pairs $(s, t)$, ABAD identifies the set of nodes that can reach the target $r$ ($RF(r)$) and those reachable from $r$ ($RT(r)$). Sampling is then restricted to paths where the start point is in $RF(r)$ and the end point is in $RT(r)$, drastically reducing noise from irrelevant paths. Furthermore, ABAD utilizes an Adaptive Stopping condition based on sample variance, allowing it to terminate as soon as the desired error bound $(\lambda, \delta)$ is met.

2. APAD (Adaptive k-Path Approximation for Directed graphs)

APAD extends this logic to $k$-path centrality, which considers paths of length at most $k$ rather than just shortest paths. It defines a domain $D(r)$ as the union of reachable sets and the target node, ensuring the sampler focuses only on relevant graph segments.

Experimental Results

The proposed algorithms were evaluated using real-world directed graph datasets from the SNAP repository, including com-amazon, com-dblp, email-EuAll, p2p-Gnutella31, and web-NotreDame.

Betweenness Centrality Performance

ABAD demonstrated significant improvements in both accuracy and speed. In tests on the com-amazon dataset, ABAD achieved an error rate of approximately 0.45%, whereas KADABRA yielded ~29% for the same time budget. Across 42 test cases, ABAD outperformed the BCD algorithm in 38 instances. The efficiency is largely driven by the parameter $\alpha$, representing the ratio of reachable sets to total graph size; in many real-world networks, $\alpha$ is less than 0.04, meaning 96% of the graph is irrelevant to a specific node's score.

Table 1: Performance comparison of ABAD against KADABRA and BCD for betweenness centrality estimation.

k-Path Centrality Performance

For $k$-path centrality, APAD consistently outperformed the RA-kpath algorithm. By restricting the search to the domain $D(r)$, which is typically much smaller than the total vertex set $V$, APAD achieved faster execution times while maintaining competitive or superior accuracy across varying sample sizes.

Table 2: Performance comparison of APAD against RA-kpath for k-path centrality estimation.

Conclusion and Future Work

While ABAD and APAD offer substantial improvements for single-node or small-set centrality estimation, they currently focus on individual vertices. Future research could explore "fully parallel" versions that share computations across all nodes in the graph. Additionally, while reachability pruning is highly effective in directed graphs, its benefits in extremely dense or undirected graphs may be more limited, presenting an area for further optimization.

Summary updated

BibTeX
@misc{chehreghani2018novel,
  author = {Mostafa Haghir Chehreghani and Albert Bifet and Talel Abdessalem},
  title = {{Novel Adaptive Algorithms for Estimating Betweenness, Coverage and k-path Centralities}},
  year = {2018},
  eprint = {1810.10094},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.10094},
}
Figure