Lune

VLDB2022Top-tier venue

Succinct Graph Representations as Distance Oracles: An Experimental Evaluation

Arpit Merchant, Aristides Gionis, Michael Mathioudakis

Abstract

Distance oracles answer shortest-path queries between any pair of nodes in a graph. They are often built using succinct graph representations such as spanners, sketches, and compressors to minimize oracle size and query answering latency. Node embeddings, in particular, offer graph representations that place adjacent nodes nearby each other in a low-rank space. However, their use in the design of distance oracles has not been sufficiently studied. In this paper, we empirically compare exact distance oracles constructed based on a variety of node embeddings and other succinct representations. We evaluate twelve such oracles along three measures of efficiency: construction time, memory requirements, and query-processing time over fourteen real datasets and four synthetic graphs. We show that distances between embedding vectors are excellent estimators of graph distances when graphs are well-structured, but less so for more unstructured graphs. Overall, our findings suggest that exact oracles based on embeddings can be constructed faster than multi-dimensional scaling (MDS) but slower than compressed adjacency indexes, require less memory than landmark oracles but more than sparsifiers or indexes, can answer queries faster than indexes but slower than MDS, and are exact more often with a smaller additive error than spanners (that have multiplicative error) while not being lossless like adjacency lists. Finally, while the exactness of such oracles is infeasible to maintain for huge graphs even under large amounts of resources, we empirically demonstrate that approximate oracles based on GOSH embeddings can efficiently scale to graphs of 100M+ nodes with only small additive errors in distance estimations.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. X-Wim: Massive Parallelization of Weighted Matching in Bipartite GraphsDayi Fan, Simon Zhang, Rubao Lee, Hanqi Guo et al.VLDB 2026

Builds on3

  1. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  2. FREDE: Anytime Graph EmbeddingsAnton Tsitsulin, Marina Munkhoeva, Davide Mottin, Panagiotis Karras et al.VLDB 2021 · 40 citations
  3. Optimal Vertex Fault-Tolerant Spanners in Polynomial TimeGreg Bodwin, Michael Dinitz, Caleb RobelleSODA 2021 · 17 citations

Related papers

  1. Nearly 2-Approximate Distance Oracles in Subquadratic TimeShiri Chechik, Tianyi ZhangSODA 2022 · 5 citations
  2. Optimal Approximate Distance Oracle for Planar GraphsHung Le, Christian Wulff-NilsenFOCS 2021 · 7 citations
  3. Shortest-Path Queries on Complex Networks: Experiments, Analyses, and ImprovementJunhua Zhang, Wentao Li, Long Yuan, Lu Qin et al.VLDB 2022 · 19 citations
  4. Hub Labeling for Shortest Path CountingYikai Zhang, Jeffrey Xu YuSIGMOD 2020 · 22 citations
  5. Path-Reporting Distance Oracles with Logarithmic Stretch and Size O(n log log n)Michael Elkin, Idan ShabatFOCS 2023 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines