ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with Rademacher Averages

Matteo Riondato, Eli Upfal

TL;DR

ABRA is a new suite of algorithms that uses Rademacher averages—a tool from statistical learning theory—to approximate Betweenness Centrality (BC) in massive graphs. It provides rigorous probabilistic guarantees while being significantly faster and more sample-efficient than previous state-of-the-art methods, supporting both static and rapidly changing dynamic networks.

What Problem Does This Paper Address?

Betweenness Centrality (BC) is a cornerstone of network analysis, quantifying a node's importance based on how many shortest paths pass through it. While useful for identifying "bottlenecks" or influential spreaders, calculating exact BC is computationally expensive: Brandes’ algorithm, the standard approach, takes $O(VE)$ time. On modern networks with millions of nodes and edges, this is prohibitively slow.

Furthermore, real-world networks are dynamic—edges appear and disappear constantly. Recomputing BC from scratch after every change is impossible, and previous approximation methods often relied on knowing global graph properties (like the "vertex diameter") that are themselves difficult to maintain as the graph evolves. The authors sought a way to provide high-quality BC approximations with strict error bounds without needing to know these global properties upfront.

Methods

The authors introduce ABRA (Approximating Betweenness with Rademacher Averages), which treats BC estimation as a machine learning problem.

  • Progressive Sampling: Instead of picking a fixed number of samples, ABRA uses an iterative approach. It draws a batch of samples (pairs of nodes), computes the shortest paths, and checks a "stopping condition."
  • Rademacher Averages: This is the "secret sauce." ABRA uses Rademacher averages to bound the maximum deviation between the estimated BC (from the sample) and the true BC (of the whole graph). Crucially, this bound can be computed efficiently from the sample itself.
  • Pseudodimension: The authors use this concept from computational learning theory to analyze the sample complexity of the BC task, providing a theoretical foundation for why their sampling approach works.
  • Algorithmic Variants:
    • ABRA-s: For static graphs, using an adaptive sampling schedule.
  • ABRA-d: For dynamic graphs, leveraging "Hypergraph Sketches" to update BC values efficiently as edges are added or removed.
  • ABRA-k: A specialized version for finding the top-$k$ most central nodes with relative error guarantees.

Datasets

The authors evaluated ABRA using several real-world datasets from the SNAP repository:

  • Soc-Epinions1: A directed social network (who-trusts-whom).
  • P2p-Gnutella31: A directed snapshot of a peer-to-peer file-sharing network.
  • Email-Enron: An undirected communication network.
  • Cit-HepPh: An undirected citation network from high-energy physics.

These represent diverse graph structures, including both directed and undirected edges, with node counts ranging from ~34k to ~75k and edges up to ~500k.

Key Insights and Ideas

  • Cross-Pollination of Fields: This is the first work to apply Rademacher averages and pseudodimension to graph analysis. It bridges the gap between statistical learning theory and network science.
  • Eliminating Global Knowledge: Unlike previous state-of-the-art algorithms (like the RK algorithm), ABRA does not need to know the graph's diameter to determine sample size. The stopping condition is "data-dependent," meaning the algorithm learns how many samples it needs based on the paths it actually sees.
  • Adaptive Scheduling: ABRA uses a cubic equation to "jump" to the next optimal sample size, typically reaching its stopping condition in just two iterations. This minimizes the overhead of checking the stopping condition.

Key Results

  • Speed and Efficiency: ABRA is consistently faster than the previous state-of-the-art (RK). In many cases, it achieved a 2x to 7x speedup over RK and was orders of magnitude faster than exact computation (BA).
  • Smaller Samples: ABRA requires significantly fewer samples—up to 4x fewer than previous methods—to achieve the same probabilistic guarantees.
  • High Accuracy: While the theory guarantees the error will be less than $\epsilon$ with high probability, experimental results showed that the actual error was often an order of magnitude smaller than the requested $\epsilon$.
  • Dynamic Performance: ABRA-d successfully maintains approximations in dynamic settings without the expensive diameter-tracking required by earlier methods.

Limitations and Future Work

  • Conservative Bounds: The authors note that their bounds are "conservative," meaning the algorithm often does more work than strictly necessary to meet the error target. They suggest that tightening these bounds is a promising research direction.
  • Directed Graphs: While ABRA handles directed graphs, the authors note that deriving a sample size independent of graph properties for directed networks remains an open theoretical question.
  • Broader Application: The authors plan to explore whether these statistical learning tools can be applied to other graph metrics beyond Betweenness Centrality, such as Closeness Centrality or PageRank.

Summary updated

BibTeX
@article{riondato2016abra,
  author = {Matteo Riondato and Eli Upfal},
  title = {{ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with Rademacher Averages}},
  journal = {ACM Trans. Knowl. Discov. Data},
  year = {2016},
  doi = {10.1145/3208351},
}
Figure