Skip to main content
QUICK REVIEW

[Paper Review] KADABRA is an ADaptive Algorithm for Betweenness via Random Approximation

Michele Borassi, Emanuele Natale|arXiv (Cornell University)|Apr 28, 2016
Complex Network Analysis TechniquesPhysics and Astronomy10 citations
TL;DR

KADABRA is a novel adaptive algorithm for approximating betweenness centrality in large-scale directed and undirected graphs, leveraging balanced bidirectional BFS for efficient shortest path sampling and adaptive sampling to reduce computation. It achieves over 100x speedup on real-world networks and enables scalable computation of top-k central nodes in graphs with millions of nodes, such as the IMDB and Wikipedia networks.

ABSTRACT

We present KADABRA, a new algorithm to approximate betweenness centrality in directed and undirected graphs, which significantly outperforms all previous approaches on real-world complex networks. The efficiency of the new algorithm relies on two new theoretical contributions, of independent interest. The first contribution focuses on sampling shortest paths, a subroutine used by most algorithms that approximate betweenness centrality. We show that, on realistic random graph models, we can perform this task in time $|E|^{\frac{1}{2}+o(1)}$ with high probability, obtaining a significant speedup with respect to the $Θ(|E|)$ worst-case performance. We experimentally show that this new technique achieves similar speedups on real-world complex networks, as well. The second contribution is a new rigorous application of the adaptive sampling technique. This approach decreases the total number of shortest paths that need to be sampled to compute all betweenness centralities with a given absolute error, and it also handles more general problems, such as computing the $k$ most central nodes. Furthermore, our analysis is general, and it might be extended to other settings.

Motivation & Objective

  • Address the computational bottleneck of exact betweenness centrality computation in large real-world networks, which scales as O(mn) and is infeasible for massive graphs.
  • Overcome the inefficiency of uniform sampling in prior approximation methods by introducing adaptive sampling that reduces the number of required samples based on node centrality variance.
  • Enable scalable computation of the k most central nodes—previously infeasible with uniform error bounds—by allowing variable confidence intervals per node.
  • Theoretical analysis aims to generalize beyond betweenness centrality, with applications to other network centrality and sampling problems.
  • Develop a practical algorithm that outperforms existing methods on real-world complex networks while maintaining rigorous probabilistic error guarantees.

Proposed method

  • Use balanced bidirectional BFS (bb-BFS) to sample shortest paths between random node pairs, ensuring both search fronts grow symmetrically and terminate when they meet.
  • Prove that on realistic random graph models (e.g., Configuration Model, Chung-Lu), bb-BFS runs in time |E|^{1/2 + o(1)} with high probability, significantly faster than the standard O(|E|) worst-case.
  • Introduce an adaptive sampling strategy that dynamically adjusts the number of samples per node based on estimated centrality and variance, reducing total samples needed for a given error tolerance.
  • Apply concentration inequalities to bound the confidence intervals for each node’s betweenness centrality, ensuring a 1−δ probability that all estimates lie within their respective intervals.
  • Design a framework that allows non-uniform error bounds—smaller for nodes with similar centrality values, larger for well-separated nodes—enabling efficient top-k centrality ranking.
  • Implement the algorithm to support both undirected and directed graphs, with experimental validation on real-world networks like IMDB and Wikipedia citation graphs.

Experimental results

Research questions

  • RQ1Can shortest path sampling be accelerated beyond the standard O(|E|) worst-case complexity in realistic random graph models?
  • RQ2Can adaptive sampling reduce the total number of sampled paths required to achieve a given absolute error in betweenness centrality estimation?
  • RQ3Is it possible to compute the k most central nodes efficiently with high confidence, even when the full centrality ranking is not required?
  • RQ4Can the theoretical guarantees of adaptive sampling be extended to general network centrality problems beyond betweenness?
  • RQ5How does the performance of balanced bidirectional BFS compare to standard BFS in real-world complex networks with power-law degree distributions?

Key findings

  • KADABRA achieves over 100x speedup compared to prior algorithms on graphs with approximately 10,000 nodes, significantly outperforming existing methods in practice.
  • On real-world complex networks, the balanced bidirectional BFS reduces path sampling time to |E|^{1/2 + o(1)} in practice, matching theoretical expectations on random graph models.
  • The adaptive sampling technique reduces the total number of sampled paths required to achieve a given absolute error, especially benefiting cases where only top-k nodes are needed.
  • KADABRA successfully computes the top-k betweenness central nodes in networks with up to 1.8 million nodes (e.g., IMDB 2014 snapshot), a task previously infeasible with uniform-error methods.
  • For the IMDB collaboration network (1.8M nodes), KADABRA computed top-10 central nodes with λ = 0.0002 and δ = 0.1, achieving confidence intervals of width ~0.0006.
  • The algorithm maintains rigorous probabilistic guarantees: with probability at least 1−δ, all betweenness centrality estimates lie within their respective confidence intervals.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.